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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x604623
sub esp, 0x50
movzx eax, word [esp + 0x80]
cmp ax, 0x300
jne 0x6045e6
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x60460a
cmp ax, 0x300
jne 0x60443b
movzx eax, byte [esp + 0x88]
cmp al, 0xe1
je 0x6042b8
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x9a5c41]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0xa4d860]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x50
ret
nop
lea eax, [0x933d00]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], 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, [0xa54c60]
test byte [ecx], al
mov dword [esp], eax
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0055e9d0
nop
lea eax, [0x933e80]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [esp + 0x48], 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, [0xa54ca0]
test byte [ecx], al
mov dword [esp], eax
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.005a99c0
lea eax, [0xa54c60]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [0xa54ca0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00603b40
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x50
ret
movzx ecx, byte [esp + 0x88]
cmp cl, 0xe4
je 0x6045ab
cmp ax, 0x303
jae 0x604509
cmp cl, 0xe3
jne 0x6044be
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x50
ret
mov edi, esp
lea esi, [esp + 0x54]
call fcn.0045773e
call fcn.00603a40
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00535b20
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x50
ret
cmp ax, 0x303
jae 0x60423b
movzx ecx, byte [esp + 0x88]
cmp cl, 0xe4
je 0x60423b
cmp ax, 0x300
jmp 0x60424b
lea eax, [0x8eba40]
mov dword [esp], eax
lea eax, [0xa44cd0]
mov dword [esp + 4], eax
call fcn.0042cff0
nop
call fcn.004557a0
jmp fcn.00604210