Function at 0x40e660
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4caef2
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x3b8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3cc]
mov ebp, dword [esp + 0x3c8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x40ea15
mov eax, ebp
lea ecx, [esp + 0x90]
call fcn.004bb4e0
mov dword [esp + 0x3c0], ebx
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
mov dword [esp + 0xac], 0x67452301
mov dword [esp + 0xb0], 0xefcdab89
mov dword [esp + 0xb4], 0x98badcfe
mov dword [esp + 0xb8], 0x10325476
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
jae 0x40e728
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + ecx]
push edx
push eax
lea edi, [esp + 0xb4]
call fcn.004b8cc0
xor eax, eax
mov dword [esp + 0x159], eax
mov dword [esp + 0x15d], eax
mov dword [esp + 0x161], eax
mov word [esp + 0x165], ax
mov byte [esp + 0x167], al
lea eax, [esp + 0x158]
push eax
mov esi, edi
mov byte [esp + 0x15c], bl
call fcn.004b8c10
add esp, 0xc
push 0x3f
lea ecx, [esp + 0x171]
push ebx
push ecx
mov byte [esp + 0x178], bl
call fcn.0049d900
add esp, 0xc
lea ecx, [esp + 0x16c]
lea eax, [esp + 0x150]
call fcn.004b8450
cmp dword [ebp + 0x18], 8
jb 0x40e7be
mov edx, dword [ebp + 4]
lea eax, [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x40e7c5
lea edx, [ebp + 4]
mov dword [esp + 0x18], edx
mov eax, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea esi, [eax + 2]
jmp 0x40e7e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e7e0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x44]
call fcn.004028c0
mov byte [esp + 0x3c0], 1
lea eax, [esp + 0x16c]
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40e825
sub eax, esi
push eax
lea edx, [esp + 0x170]
push edx
lea ecx, [esp + 0x158]
call fcn.00403fd0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c0], 2
call fcn.004bb820
mov esi, eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x154]
mov byte [esp + 0x3c4], 3
call fcn.004c34b0
add esp, 4
push esi
push eax
lea edi, [esp + 0x60]
mov byte [esp + 0x3c8], 4
call fcn.0040d920
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x98]
mov byte [esp + 0x3c8], 5
call fcn.00402780
mov edi, 8
cmp dword [esp + 0x70], edi
jb 0x40e8bd
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00493b60
add esp, 4
cmp dword [esp + 0x8c], edi
mov esi, 7
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x40e8e5
mov edx, dword [esp + 0x78]
push edx
call fcn.00493b60
add esp, 4
cmp dword [esp + 0x38], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x40e90b
mov eax, dword [esp + 0x24]
push eax
call fcn.00493b60
add esp, 4
cmp dword [esp + 0x168], 0x10
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x40e932
mov ecx, dword [esp + 0x154]
push ecx
call fcn.00493b60
add esp, 4
mov byte [esp + 0x3c0], bl
cmp dword [esp + 0x54], edi
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
jb 0x40e965
mov edx, dword [esp + 0x40]
push edx
call fcn.00493b60
add esp, 4
push 0x206
lea eax, [esp + 0x1b2]
push ebx
push eax
mov word [esp + 0x1b8], bx
call fcn.0049d900
lea ecx, [esp + 0x2c]
add esp, 0xc
push ecx
call fcn.0040e2c0
mov ecx, dword [esp + 0x98]
add esp, 4
cmp dword [esp + 0xa8], edi
jae 0x40e9a7
lea ecx, [esp + 0x94]
cmp dword [eax + 0x18], edi
jb 0x40e9b1
mov eax, dword [eax + 4]
jmp 0x40e9b4
add eax, 4
push ecx
push eax
lea edx, [esp + 0x1b4]
push edx
call dword [0x4cf420]
cmp dword [esp + 0x38], edi
jb 0x40e9d7
mov eax, dword [esp + 0x24]
push eax
call fcn.00493b60
add esp, 4
cmp dword [ebp + 0x18], edi
jb 0x40e9e4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
jmp 0x40e9e8
mov eax, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x1b0]
push edx
push eax
call dword [0x4cf374]
test eax, eax
jne 0x40ea19
cmp dword [esp + 0xa8], edi
jb 0x40ea15
mov eax, dword [esp + 0x94]
push eax
call fcn.00493b60
add esp, 4
xor eax, eax
jmp 0x40ea62
lea eax, [esp + 0x1ac]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ea23
mov esi, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1b0]
push ecx
call fcn.004028c0
cmp dword [esp + 0xa8], edi
jb 0x40ea5d
mov edx, dword [esp + 0x94]
push edx
call fcn.00493b60
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x3b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.00493b65
add esp, 0x3b0
ret