Function at 0x5f81d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push 0x875de6
push eax
mov dword fs:[0], esp
sub esp, 0xbc
cmp edx, 0x80
push ebp
mov ebp, ecx
jae 0x5f8214
xor al, al
pop ebp
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
add esp, 0xc8
ret 8
mov ecx, dword [esp + 0xd0]
push ebx
mov eax, ecx
mov ebx, ecx
add ecx, 0x80
mov dword [esp + 0xd4], ecx
lea ecx, [ebx + 0x10]
sub eax, ecx
add eax, edx
xor edx, edx
push esi
push edi
mov dword [esp + 0x40], 0x8a071c
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov byte [esp + 0x98], dl
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0xdc], edx
call fcn.0065b6e0
lea ecx, [esp + 0x40]
call fcn.0065b760
mov al, byte [esp + 0x98]
neg al
lea ecx, [esp + 0x40]
sbb eax, eax
and eax, 0x10
mov dword [esp + 0x10], eax
call fcn.0065b760
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5f82b8
xor al, al
jmp 0x5f8481
cmp dword [ebx + 0x10], 0x656d6147
jne 0x5f82b1
cmp dword [ebx + 0x14], 8
jb 0x5f82b1
mov ecx, ebp
call fcn.005f7730
mov eax, dword [ebx + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x5f8343
lea ecx, [ecx]
mov esi, dword [esp + 0xdc]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 1
lea edi, [eax + 0x17]
push eax
push ecx
and edi, 0xfffffff0
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.005f5f10
test eax, eax
je 0x5f8328
mov ecx, dword [esi + 4]
lea edx, [esi + 8]
mov esi, edx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x18]
add esi, edi
inc eax
cmp eax, ecx
mov dword [esp + 0xdc], esi
mov dword [esp + 0x10], eax
jb 0x5f82e0
jmp 0x5f834a
mov esi, dword [esp + 0xdc]
mov eax, dword [ebx + 0x1c]
add esi, 0xf
push eax
and esi, 0xfffffff0
push esi
mov ecx, ebp
call fcn.005e4c90
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
shl ecx, 5
lea esi, [ecx + esi + 0xf]
push edx
and esi, 0xfffffff0
push esi
mov ecx, ebp
call fcn.005f6430
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
shl eax, 4
lea esi, [eax + esi + 0xf]
push ecx
and esi, 0xfffffff0
push esi
mov ecx, ebp
call fcn.005ddbd0
mov eax, dword [ebx + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x28]
lea esi, [esi + edx*4 + 0xf]
push eax
and esi, 0xfffffff0
push esi
call fcn.005ddcb0
mov eax, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x30]
lea esi, [esi + ecx*4 + 0xf]
add eax, 7
shr eax, 3
and esi, 0xfffffff0
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov dword [esp + 0xdc], esi
lea edi, [ebp + 0x264]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xdc]
lea esi, [eax + ecx + 0xf]
mov ecx, dword [0x91e004]
and esi, 0xfffffff0
push esi
call fcn.005e98d0
mov edx, dword [ebx + 0x38]
lea esi, [eax + esi + 0xf]
push edx
and esi, 0xfffffff0
push esi
mov ecx, ebp
call fcn.005f50c0
mov eax, dword [ebx + 0x38]
lea eax, [esi + eax*4 + 0xf]
and eax, 0xfffffff0
mov edi, dword [eax]
push 0
push 0
lea esi, [eax + 0x13]
push edi
lea ecx, [esp + 0x38]
and esi, 0xfffffff0
call fcn.005e2580
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0xd4], 1
je 0x5f8441
mov ecx, dword [0x91e00c]
mov dword [ecx + 0x108], edi
mov esi, dword [esi]
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.005e2580
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5f8465
mov edx, dword [0x91e00c]
mov dword [edx + 0x10c], esi
lea ecx, [esp + 0x18]
call fcn.0045a430
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 0
call fcn.0045a430
mov al, 1
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0xc8
ret 8