Help Me Please....
Problems == 3
Solved ==
0
Problem 1.
This are in MASM (I'm using MASM7).. I don't understand procs completely.. I have founded one function (proc) online and I want to test it. It's on encryption, it have 3 variables, V,K,N and they are marked as DWORD. I have the Here are some lines from the source.
---snip---
.DATA? hInstance HINSTANCE ? hEdit HWND ? hButton HWND ? SerialBuffer db 32 dup(?) CharPointer db 32 dup(?) CodeLength db 32 dup(?) FinishedResult db 512 dup(?)
.Code
.IF ax==BN_CLICKED
xor eax,eax ; Encrypt Sum
xor ecx,ecx ; Encrypt z
xor ebx,ebx ; Encrypt y
xor esi,esi ; Encrypt xx
xor edx,edx ;
xor edi,edi ; T
invoke GetDlgItemText,\ ; Gets the text , and stores it in Text Buffer
hWnd,\
EditID1,\
ADDR Text Buffer,\
32
mov dword ptr Text Length,eax ; Text Length == Length of entered code
mov dword ptr CharPointer,0 ; CharPointer == value is pointing to the char to be encrypted.
@@Crypting Text :
mov edx, [dword ptr CharPointer + dword ptr Text Buffer]
invoke Encrypt,2951,ECX,8
add dword ptr FinishedResult,eax
inc dword ptr CharPointer
dec dword ptr Text Length
jnz @@Crypting Text
.ENDIF
Encrypt PROC v:DWORD, k:DWORD, n:DWORD
mov edi,v
mov esi,k
mov ebx,[edi]
mov ecx,[edi+4]
xor eax,eax
.WHILE n > 0
--- cut cut ---
dec n
.ENDW
mov [edi],ebx
mov [edi+4],ecx
ret
Encrypt endp
---snip--
As you can see so aren't this the easies work for me.. IF you can help me on this one then please mail me at acid_cool_178@hotmail.com
Problem 2
Can anyone tell me what's happening with Hellforge ?? dead ?? IF so, someone that will help me to get them alive again ??
Problem 3
I don't have a brain, please mail me one :D
You can reach me at acid_cool_178@hotmail.com just mail and I WILL MAYBE answer in less that 8 days..
End Of File