Function at 0x61a2a0
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61a72a
sub esp, 0x58
movzx eax, word [esp + 0x88]
cmp ax, 0x300
jne 0x61a6fd
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x61a710
cmp ax, 0x300
jne 0x61a513
movzx eax, byte [esp + 0x90]
cmp al, 1
je 0x61a37d
lea eax, [0x7e6bc0]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
mov ecx, dword [0xcc2260]
test ecx, ecx
jne 0x61a361
lea ecx, [0x8624bc]
mov dword [eax], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x9b1540]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x58
ret
mov dword [esp + 0x54], eax
mov dword [esp], eax
lea ecx, [0x8624bc]
mov dword [esp + 4], ecx
call fcn.0040f360
mov eax, dword [esp + 0x54]
jmp 0x61a31d
lea eax, [0x805520]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
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, [0x9b4b00]
test byte [ecx], al
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.005842f0
lea eax, [0x8056a0]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
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, [0x9b4b40]
test byte [ecx], al
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.005b8fa0
lea eax, [0x9b4b00]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [0x9b4b40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.006199e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x58
ret
cmp ax, 0x303
jae 0x61a5ee
movzx eax, byte [esp + 0x90]
cmp al, 3
jne 0x61a598
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 3
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x58
ret
mov edi, esp
lea esi, [esp + 0x5c]
call fcn.0044e1fe
call fcn.006198e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x58
ret
movzx eax, word [esp + 0x92]
mov word [esp], ax
call fcn.00619250
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test edx, edx
je 0x61a64d
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
add esp, 0x58
ret
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
call fcn.005835b0
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x58
ret
cmp ax, 0x303
jae 0x61a2cb
cmp ax, 0x300
jmp 0x61a2db
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [0x9afd20]
mov dword [esp + 4], eax
call fcn.004278c0
ud2
call fcn.0044c200
jmp fcn.0061a2a0