Function at 0x4a4760
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4bb8
sub esp, 0x50
mov eax, 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x4c6948]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00494420
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x4c6035]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 9
call fcn.00444f30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00496880
mov eax, dword [0x55d250]
mov ecx, dword [0x55d254]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00494510
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a4a72
nop
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00495590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4a4a4e
mov dword [esp + 0x44], ebx
lea eax, [0x4cf0ac]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x2f], 1
nop
lea eax, [0x4ba2c0]
mov dword [esp], eax
call fcn.0040b0e0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], 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, [0x4b6780]
mov dword [esp], ecx
call fcn.0040b0e0
mov eax, dword [esp + 4]
lea ecx, [0x4e89b4]
mov dword [eax], ecx
mov ecx, dword [0x579ba0]
test ecx, ecx
jne 0x4a4a39
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov dword [esp + 0x3c], eax
mov dword [eax + 8], 0x400
mov dword [eax + 0xc], 0
lea ecx, [0x4b43c0]
mov dword [esp], ecx
lea ecx, [0x4e8f4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.00408be0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4e898c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0047bb60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x4a4a04
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004a24f0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp edx, 0x10
jb 0x4a4b9b
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov byte [esp + 0x2f], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004a4c90
add esp, 0x50
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov byte [esp + 0x2f], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004a4c90
add esp, 0x50
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.004593e0
mov eax, ecx
jmp 0x4a491a
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x50
ret
lea eax, [0x4b28c0]
mov dword [esp], eax
mov dword [esp + 4], 0x400
mov dword [esp + 8], 0x400
call fcn.00441bc0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], 0x400
mov dword [esp + 8], 0x400
call fcn.004a1e50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4a4b77
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0x1a4
call fcn.00495640
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4a4b53
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0047eae0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4a4b4b
xor ecx, ecx
test eax, eax
jne 0x4a4848
mov dword [esp], ecx
mov dword [esp + 4], 3
call fcn.00480ae0
jmp 0x4a4848
test edx, edx
jbe 0x4a4ba5
xor eax, eax
jmp 0x4a4b2e
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x50
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x50
ret
mov ecx, 0x10
call fcn.004594a0
xor eax, eax
mov ecx, edx
call fcn.00459460
nop
call fcn.0042f2c0
add esp, 0x50
ret
call fcn.00457e80
jmp fcn.004a4760