Function at 0x409960
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439a18
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x446824]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xc0], edx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], eax
mov eax, ecx
lea edx, [eax + 2]
jmp 0x4099e0
mov di, word [eax]
add eax, 2
test di, di
jne 0x4099e0
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x2c]
call fcn.0040e360
xor edi, edi
cmp esi, edi
je 0x409a1d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409a04
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x2c]
call fcn.0040e360
cmp ebx, edi
je 0x409a3f
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409a26
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [ebp - 0x2c]
call fcn.0040e360
mov edx, dword [ebp - 0xc8]
cmp edx, edi
je 0x409a69
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409a50
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.0040e360
push 3
push 0x440104
lea eax, [ebp - 0x2c]
call fcn.0040e360
mov edx, dword [ebp - 0xbc]
cmp edx, edi
je 0x409aa0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409a87
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.0040e360
mov edx, dword [ebp - 0xc0]
cmp edx, edi
je 0x409ac9
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409ab0
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.0040e360
mov edx, dword [ebp - 0xb8]
cmp edx, edi
je 0x409af9
mov eax, edx
lea esi, [eax + 2]
jmp 0x409ae0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409ae0
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.0040e360
mov ecx, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x409b09
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
push ecx
lea esi, [ebp - 0xb4]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xb4], 0x67452301
mov dword [ebp - 0xb0], 0xefcdab89
mov dword [ebp - 0xac], 0x98badcfe
mov dword [ebp - 0xa8], 0x10325476
call fcn.0040ea80
lea edi, [ebp - 0x48]
mov eax, esi
call fcn.0040f510
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x409b6e
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x409b8c
lea ecx, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0xc4]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
cmp dword [ebp - 0x34], edi
jb 0x409bae
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0041fce3
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], ebx
jb 0x409bd1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041fce3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fcee
mov esp, ebp
pop ebp
ret