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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5b0566
sub esp, 0x9c
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.0044f1c3
movzx ecx, word [esp + 0xa0]
cmp cx, 0x300
jne 0x5b0554
lea eax, [0x799380]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
movzx ecx, word [esp + 0xa0]
mov word [esp], cx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
call fcn.005af9d0
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5b039f
mov dword [esp + 0x10], ecx
mov dword [esp], ecx
call fcn.004ff1c0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp], edx
call fcn.004ff1c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x68]
lea esi, [0x8bb680]
call fcn.0044f65e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
movzx eax, word [esp + 0xa0]
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x98], eax
lea edi, [esp + 0xa8]
lea esi, [esp + 0x68]
call fcn.0044f65e
add esp, 0x9c
ret
nop
lea eax, [0x7e0d80]
mov dword [esp], eax
call fcn.00409f80
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
nop
lea ecx, [0x7e0d80]
mov dword [esp], ecx
call fcn.00409f80
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 + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
nop
lea ecx, [0x7e0c00]
mov dword [esp], ecx
call fcn.00409f80
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
nop
lea ecx, [0x7e0c00]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 4]
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 + 0x34]
lea esi, [0x8bb6c0]
call fcn.0044f65e
lea ecx, [0x8b9180]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
lea ecx, [0x8b9140]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movzx eax, word [esp + 0xa0]
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
lea edi, [esp + 0xa8]
lea esi, [esp + 0x34]
call fcn.0044f65e
add esp, 0x9c
ret
cmp cx, 0x303
jae 0x5b0281
xor eax, eax
jmp 0x5b0293
call fcn.0044d880
jmp fcn.005b0240