Function at 0x40f5b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x4ac
mov eax, dword [0x42a8c0]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
mov ebx, dword [esp + 0x4bc]
push ebp
push esi
mov esi, dword [esp + 0x4cc]
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x40f5e0
mov edi, dword [esp + 0x4cc]
push edi
push 0
push ebx
sub esi, ecx
call fcn.004109f0
mov ebp, dword [esp + 0x4d0]
add esp, 0xc
cmp edi, ebp
jge 0x40f60b
mov ebp, edi
lea eax, [esp + 0xb8]
sub eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x30], eax
lea eax, [esp + esi + 0xb8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xa8]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c0]
lea ecx, [eax + 3]
mov dword [esp + 0x10], ecx
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x38], ecx
mov ecx, 1
sub ecx, ebx
mov dword [esp + 0x3c], ecx
mov ecx, 2
sub ecx, ebx
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
sub ecx, ebx
mov dword [esp + 0x2c], ecx
add esi, 0x10
mov ecx, 0xfffffffe
lea edx, [ebp + 1]
sub ecx, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
lea esi, [ebx + 1]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
jmp 0x40f6aa
mov edi, dword [esp + 0x98]
push 0x400
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.004109f0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov cl, byte [eax]
mov edx, dword [esp + 0x30]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40f6c5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
push edx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x48]
xor edi, edi
push ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.0040f400
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.0040f4d0
add esp, 0x14
xor eax, eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + eax + 0xa8]
add edx, ecx
cmp edx, ebp
jge 0x40f7c8
mov edx, dword [esp + 0x10]
mov dl, byte [edx + eax - 3]
xor dl, byte [ecx]
mov edi, dword [esp + 0x10]
mov byte [esi + eax - 1], dl
mov edx, dword [esp + 0x20]
add edx, edi
add edx, eax
cmp edx, ebp
jge 0x40f7c8
mov edx, dword [esp + 0x38]
add edx, esi
mov dl, byte [edx + eax]
xor dl, byte [ecx + 1]
mov byte [esi + eax], dl
mov edx, dword [esp + 0x3c]
add edx, esi
add edx, eax
cmp edx, ebp
jge 0x40f7c8
mov edx, edi
mov dl, byte [edx + eax - 1]
xor dl, byte [ecx + 2]
mov byte [esi + eax + 1], dl
mov edx, dword [esp + 0x24]
add edx, esi
add edx, eax
cmp edx, ebp
jge 0x40f7c8
mov edx, edi
mov dl, byte [edx + eax]
xor dl, byte [ecx + 3]
add eax, 4
cmp eax, 0x10
mov byte [esi + eax - 2], dl
jl 0x40f751
mov eax, dword [esp + 0x2c]
mov ecx, 0x10
add dword [esp + 0x14], ecx
add dword [esp + 0x10], ecx
sub dword [esp + 0x18], ecx
add esi, ecx
lea edi, [eax + esi]
cmp edi, ebp
jge 0x40f857
xor eax, eax
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
jge 0x40f829
mov ecx, ebp
sub ecx, edi
add ecx, 1
push ecx
lea edx, [edi + ebx - 0x10]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.004118f0
add esp, 0xc
jmp 0x40f855
mov ecx, dword [edi + ebx - 0x10]
mov edx, dword [edi + ebx - 0xc]
mov eax, dword [edi + ebx - 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [edi + ebx - 4]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
cmp edi, ebp
jle 0x40f6a3
mov ecx, dword [esp + 0x4b8]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00410c90
add esp, 0x4ac
ret