Function at 0x40f880
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x4ac
mov eax, dword [0x42a8c0]
xor eax, esp
mov dword [esp + 0x4a8], eax
mov ecx, dword [esp + 0x4b0]
mov eax, dword [esp + 0x4b8]
push ebx
mov ebx, dword [esp + 0x4c4]
push ebp
push esi
mov esi, ebx
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ebx
lea edi, [esi + 1]
lea ebx, [ebx]
mov dl, byte [esi]
add esi, 1
test dl, dl
jne 0x40f8c0
mov ebp, dword [esp + 0x4c4]
sub esi, edi
mov edx, esi
mov esi, dword [esp + 0x4cc]
cmp esi, ebp
jge 0x40f8e1
mov ebp, esi
lea esi, [esp + 0xb8]
sub esi, ebx
mov dword [esp + 0x3c], esi
lea esi, [esp + edx + 0xb8]
add edx, 0x10
mov dword [esp + 0x34], edx
lea edx, [esp + 0xa8]
neg edx
mov dword [esp + 0x14], edx
lea edx, [ebp + 1]
mov dword [esp + 0x10], edx
mov edx, ecx
sub edx, eax
mov dword [esp + 0x38], edx
mov edx, 1
sub edx, eax
mov dword [esp + 0x20], edx
mov edx, 2
sub edx, eax
mov dword [esp + 0x24], edx
or edx, 0xffffffff
xor edi, edi
sub edx, eax
mov dword [esp + 0x28], esi
lea esi, [eax + 1]
mov eax, 0xfffffffe
sub eax, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
lea ebx, [ecx + 3]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
jmp 0x40f977
mov edi, dword [esp + 0x98]
push 0x400
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.004109f0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov cl, byte [eax]
mov edx, dword [esp + 0x3c]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40f992
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 edi, edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + eax + 0xa8]
add edx, ecx
cmp edx, ebp
jge 0x40fa8b
mov dl, byte [ebx + eax - 3]
xor dl, byte [ecx]
mov byte [esi + eax - 1], dl
mov edx, dword [esp + 0x1c]
add edx, ebx
add edx, eax
cmp edx, ebp
jge 0x40fa8b
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 + 0x20]
add edx, esi
add edx, eax
cmp edx, ebp
jge 0x40fa8b
mov dl, byte [ebx + 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 0x40fa8b
mov dl, byte [ebx + eax]
xor dl, byte [ecx + 3]
add eax, 4
cmp eax, 0x10
mov byte [esi + eax - 2], dl
jl 0x40fa20
mov eax, dword [esp + 0x2c]
mov ecx, 0x10
add dword [esp + 0x14], ecx
sub dword [esp + 0x10], ecx
add esi, ecx
lea edi, [eax + esi]
add ebx, ecx
cmp edi, ebp
jge 0x40fb20
xor eax, eax
cmp dword [esp + 0x10], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
jge 0x40faee
mov edx, dword [esp + 0x18]
mov ecx, ebp
sub ecx, edi
add ecx, 1
push ecx
lea eax, [edi + edx - 0x10]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.004118f0
add esp, 0xc
jmp 0x40fb1e
mov eax, dword [esp + 0x18]
mov edx, dword [edi + eax - 0x10]
mov ecx, dword [edi + eax - 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [edi + eax - 8]
mov eax, dword [edi + eax - 4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
cmp edi, ebp
jle 0x40f970
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