Function at 0x404c87
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x74
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
mov edi, dword [esp + 0x88]
mov dword [esp + 0x6c], 0
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
test ebx, ebx
je 0x404e59
test edi, edi
je 0x404e59
mov dword [esp], 0
lea esi, [esp + 0x10]
mov dword [esp + 4], 0
cmp ebx, 0x3f
ja 0x404f31
mov edx, esi
mov eax, edi
cmp ebx, 4
jae 0x404e29
xor ecx, ecx
test bl, 2
jne 0x404e09
test bl, 1
jne 0x404df9
mov dword [esp + 0x60], ebx
lea ecx, [ebx + 1]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
cmp ebx, 0x37
jbe 0x404f71
mov byte [esp + ebx + 0x10], 0x80
cmp ecx, 0x40
je 0x404d7e
mov edx, 0x3f
add ecx, esi
sub edx, ebx
je 0x404d7e
xor eax, eax
test dl, 1
je 0x404d6e
mov eax, 1
mov byte [ecx], 0
cmp eax, edx
jae 0x404d7e
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
add eax, 2
cmp eax, edx
jb 0x404d6e
mov ecx, 1
mov edx, esi
mov eax, esi
mov edi, esi
call fcn.00404faf
xor eax, eax
mov ecx, 0xe
mov edx, dword [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp]
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
shld edx, eax, 3
shl eax, 3
mov dword [esp + 0x68], eax
mov ecx, 1
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], eax
mov eax, esi
mov dword [esp + 0x4c], edx
mov edx, esi
call fcn.00404faf
mov eax, dword [esp + 0x50]
mov dword [ebp], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0xc], eax
add esp, 0x74
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
movzx eax, byte [eax + ecx]
mov byte [edx + ecx], al
jmp 0x404d2a
movzx ecx, word [eax]
mov word [edx], cx
mov ecx, 2
test bl, 1
je 0x404d2a
jmp 0x404df9
mov edx, ebx
xor eax, eax
and edx, 0xfffffffc
mov ecx, dword [edi + eax]
mov dword [esi + eax], ecx
add eax, 4
cmp eax, edx
jb 0x404e30
lea edx, [esi + eax]
xor ecx, ecx
add eax, edi
test bl, 2
je 0x404d21
jmp 0x404e09
xor eax, eax
xor edx, edx
lea esi, [esp + 0x10]
mov byte [esp + 0x10], 0x80
mov ecx, 1
mov edi, 0x38
sub edi, ecx
add ecx, esi
cmp edi, 4
jae 0x404ea1
test edi, edi
je 0x404dad
mov byte [ecx], 0
test edi, 2
je 0x404dad
xor ebx, ebx
mov word [ecx + edi - 2], bx
jmp 0x404dad
lea ebx, [ecx + 4]
mov dword [ecx], 0
and ebx, 0xfffffffc
mov dword [ecx + edi - 4], 0
sub ecx, ebx
add ecx, edi
and ecx, 0xfffffffc
cmp ecx, 4
jb 0x404dad
mov edi, ecx
and edi, 0xfffffffc
mov dword [esp], edi
lea edi, [ecx - 1]
shr edi, 2
and edi, 1
mov dword [esp + 8], edi
mov edi, 4
mov dword [ebx], 0
cmp edi, ecx
jae 0x404dad
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x404f99
mov dword [ebx + 4], 0
mov ecx, dword [esp]
mov edi, 8
cmp edi, ecx
jae 0x404dad
mov dword [ebx + edi], 0
mov dword [ebx + edi + 4], 0
add edi, 8
cmp edi, ecx
jb 0x404f10
jmp 0x404dad
mov ecx, ebx
mov eax, esi
mov edx, edi
shr ecx, 6
call fcn.00404faf
mov eax, ebx
xor ecx, ecx
and eax, 0xffffffc0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
and ebx, 0x3f
je 0x404fa1
add edi, eax
mov edx, esi
mov eax, edi
cmp ebx, 4
jb 0x404d16
jmp 0x404e29
xor edx, edx
mov eax, ebx
add eax, dword [esp + 0x68]
adc edx, dword [esp + 0x6c]
shld edx, eax, 3
mov byte [esp + ebx + 0x10], 0x80
shl eax, 3
cmp ecx, 0x38
jne 0x404e6b
jmp 0x404dad
mov ecx, dword [esp]
jmp 0x404f10
mov edx, ecx
shld edx, eax, 3
shl eax, 3
jmp 0x404e61