Function at 0x404ce8
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 0x404eba
test edi, edi
je 0x404eba
mov dword [esp], 0
lea esi, [esp + 0x10]
mov dword [esp + 4], 0
cmp ebx, 0x3f
ja 0x404f92
mov edx, esi
mov eax, edi
cmp ebx, 4
jae 0x404e8a
xor ecx, ecx
test bl, 2
jne 0x404e6a
test bl, 1
jne 0x404e5a
mov dword [esp + 0x60], ebx
lea ecx, [ebx + 1]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
cmp ebx, 0x37
jbe 0x404fd2
mov byte [esp + ebx + 0x10], 0x80
cmp ecx, 0x40
je 0x404ddf
mov edx, 0x3f
add ecx, esi
sub edx, ebx
je 0x404ddf
xor eax, eax
test dl, 1
je 0x404dcf
mov eax, 1
mov byte [ecx], 0
cmp eax, edx
jae 0x404ddf
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
add eax, 2
cmp eax, edx
jb 0x404dcf
mov ecx, 1
mov edx, esi
mov eax, esi
mov edi, esi
call fcn.00405010
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.00405010
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 0x404d8b
movzx ecx, word [eax]
mov word [edx], cx
mov ecx, 2
test bl, 1
je 0x404d8b
jmp 0x404e5a
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 0x404e91
lea edx, [esi + eax]
xor ecx, ecx
add eax, edi
test bl, 2
je 0x404d82
jmp 0x404e6a
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 0x404f02
test edi, edi
je 0x404e0e
mov byte [ecx], 0
test edi, 2
je 0x404e0e
xor ebx, ebx
mov word [ecx + edi - 2], bx
jmp 0x404e0e
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 0x404e0e
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 0x404e0e
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x404ffa
mov dword [ebx + 4], 0
mov ecx, dword [esp]
mov edi, 8
cmp edi, ecx
jae 0x404e0e
mov dword [ebx + edi], 0
mov dword [ebx + edi + 4], 0
add edi, 8
cmp edi, ecx
jb 0x404f71
jmp 0x404e0e
mov ecx, ebx
mov eax, esi
mov edx, edi
shr ecx, 6
call fcn.00405010
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 0x405002
add edi, eax
mov edx, esi
mov eax, edi
cmp ebx, 4
jb 0x404d77
jmp 0x404e8a
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 0x404ecc
jmp 0x404e0e
mov ecx, dword [esp]
jmp 0x404f71
mov edx, ecx
shld edx, eax, 3
shl eax, 3
jmp 0x404ec2