Function at 0x5986e0
Capabilities:
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5989e8
sub esp, 0xa0
lea edi, [esp + 0xac]
xor eax, eax
call fcn.0045af83
movzx ecx, word [esp + 0xa4]
cmp cx, 0x303
jb 0x5989e1
lea edx, [0x8324a4]
mov dword [esp + 0x2c], edx
mov word [esp], cx
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.00598070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x59882c
mov dword [esp + 0x10], eax
mov dword [esp], eax
call fcn.00506930
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x10]
mov dword [esp], edx
call fcn.00506930
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x6c]
mov edx, eax
xor eax, eax
call fcn.0045af83
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
movzx eax, word [esp + 0xa4]
mov word [esp + 0x98], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
lea edi, [esp + 0xac]
lea esi, [esp + 0x6c]
call fcn.0045b41e
add esp, 0xa0
ret
lea eax, [0x650320]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
lea ecx, [0x650320]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
lea ecx, [0x6501a0]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
lea ecx, [0x6501a0]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
lea edi, [esp + 0x38]
xor eax, eax
call fcn.0045af83
lea eax, [0x6cafa0]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [0x6caf60]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movzx eax, word [esp + 0xa4]
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
lea edi, [esp + 0xac]
lea esi, [esp + 0x38]
call fcn.0045b41e
add esp, 0xa0
ret
xor edx, edx
jmp 0x598727
call fcn.00459790
jmp fcn.005986e0