Function at 0x4056bc
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 0x40588e
test edi, edi
je 0x40588e
mov dword [esp], 0
lea esi, [esp + 0x10]
mov dword [esp + 4], 0
cmp ebx, 0x3f
ja 0x405966
mov edx, esi
mov eax, edi
cmp ebx, 4
jae 0x40585e
xor ecx, ecx
test bl, 2
jne 0x40583e
test bl, 1
jne 0x40582e
mov dword [esp + 0x60], ebx
lea ecx, [ebx + 1]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
cmp ebx, 0x37
jbe 0x4059a6
mov byte [esp + ebx + 0x10], 0x80
cmp ecx, 0x40
je 0x4057b3
mov edx, 0x3f
add ecx, esi
sub edx, ebx
je 0x4057b3
xor eax, eax
test dl, 1
je 0x4057a3
mov eax, 1
mov byte [ecx], 0
cmp eax, edx
jae 0x4057b3
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
add eax, 2
cmp eax, edx
jb 0x4057a3
mov ecx, 1
mov edx, esi
mov eax, esi
mov edi, esi
call fcn.004059e4
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.004059e4
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 0x40575f
movzx ecx, word [eax]
mov word [edx], cx
mov ecx, 2
test bl, 1
je 0x40575f
jmp 0x40582e
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 0x405865
lea edx, [esi + eax]
xor ecx, ecx
add eax, edi
test bl, 2
je 0x405756
jmp 0x40583e
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 0x4058d6
test edi, edi
je 0x4057e2
mov byte [ecx], 0
test edi, 2
je 0x4057e2
xor ebx, ebx
mov word [ecx + edi - 2], bx
jmp 0x4057e2
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 0x4057e2
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 0x4057e2
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4059ce
mov dword [ebx + 4], 0
mov ecx, dword [esp]
mov edi, 8
cmp edi, ecx
jae 0x4057e2
mov dword [ebx + edi], 0
mov dword [ebx + edi + 4], 0
add edi, 8
cmp edi, ecx
jb 0x405945
jmp 0x4057e2
mov ecx, ebx
mov eax, esi
mov edx, edi
shr ecx, 6
call fcn.004059e4
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 0x4059d6
add edi, eax
mov edx, esi
mov eax, edi
cmp ebx, 4
jb 0x40574b
jmp 0x40585e
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 0x4058a0
jmp 0x4057e2
mov ecx, dword [esp]
jmp 0x405945
mov edx, ecx
shld edx, eax, 3
shl eax, 3
jmp 0x405896