Function at 0x40a980
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x41f050]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
cmp dword [ebp + 0x10], 0
jne 0x40a9d0
mov eax, dword [ebp + 0xc]
push eax
call 0x40f970
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x10]
ja 0x40ab62
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x68]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0x40
jbe 0x40aa25
mov dword [ebp - 0x84], 0x40
mov dword [ebp - 0x18], 0
jmp 0x40aa37
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x84]
jae 0x40aa57
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov byte [ebp + eax - 0x5c], dl
jmp 0x40aa2e
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x84], 0x40
jae 0x40ab02
cmp dword [ebp - 0x84], 0
ja 0x40aa7f
cmp dword [ebp + 0x10], 0
jne 0x40aa90
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x5c], 0x80
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x40aa9b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x40
jae 0x40aaab
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x5c], 0
jmp 0x40aa92
cmp dword [ebp - 0x84], 0x38
jae 0x40ab02
mov edx, dword [ebp + 0x10]
shl edx, 3
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x18], 0x38
jmp 0x40aade
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x3c
jae 0x40aaf9
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov cl, byte [edx - 0x38]
mov byte [ebp + eax - 0x5c], cl
jmp 0x40aad5
mov edx, dword [ebp + 0x10]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.00409e70
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
jmp 0x40a9fa
push 0x41a642
lea ecx, [ebp - 0x60]
call fcn.004025cc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0
jmp 0x40ab8e
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x10
jae 0x40abb1
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
push ecx
push 0x41a714
lea edx, [ebp - 0x60]
push edx
call fcn.00407aed
add esp, 0xc
jmp 0x40ab85
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040294f
mov ecx, dword [ebp - 0x90]
or ecx, 1
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00402a59
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040dee5
mov esp, ebp
pop ebp
ret 0xc