Function at 0x5a7160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a750a
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x254]
lea edx, [0x601320]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x6168c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00449ec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
xor ebp, ebp
xor esi, esi
jmp 0x5a71f7
mov edi, dword [esp + 0x34]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 2]
lea esi, [edx + ebx + 2]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, edi
cmp ebp, edx
jge 0x5a74b5
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], esi
lea edi, [ebx + 1]
cmp dword [ecx + 0x2ac], edi
jae 0x5a723d
mov dword [esp + 0x40], edi
mov esi, dword [0x7f8238]
mov edi, dword [0x7f823c]
cmp ebp, edx
mov dword [esp + 0x38], esi
mov ebp, 0
mov dword [esp + 0x58], edi
mov esi, ebx
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
jmp 0x5a728c
mov esi, dword [ecx + 0x290]
mov ebp, dword [ecx + 0x288]
cmp esi, edi
jb 0x5a7500
cmp ebx, edi
ja 0x5a74f7
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
movzx ebp, byte [esi + ebp]
mov esi, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
mov dword [esp + 0x50], eax
mov eax, 0
mov dword [esp + 0x38], eax
mov eax, 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
jae 0x5a74ee
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x3c], ebx
lea ebx, [eax + ebx*4]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x5a748e
mov dword [esp + 0x40], esi
lea ebx, [esi + 2]
cmp dword [ecx + 0x2ac], ebx
jae 0x5a72d7
mov ebp, dword [0x7f8238]
mov edi, dword [0x7f823c]
mov dword [esp + 0x48], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x48]
jmp 0x5a7317
mov ebp, dword [ecx + 0x290]
mov esi, dword [ecx + 0x288]
cmp ebp, ebx
jb 0x5a74e5
cmp ebx, edi
jb 0x5a74dc
mov edx, dword [esp + 0x40]
sub ebp, edx
lea edx, [ebp - 1]
neg edx
sar edx, 0x1f
and edi, edx
movzx edx, byte [edi + esi]
mov esi, dword [esp + 0x40]
xor ebp, ebp
mov byte [esp + 0x2b], dl
xor edi, edi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x3c]
lea edi, [eax + esi*4 + 1]
movzx edx, byte [esp + 0x2b]
mov byte [edi], dl
test ebp, ebp
jne 0x5a7462
movzx edx, byte [0x7f3700]
mov ebp, dword [0x7f3704]
mov edi, dword [0x7f3708]
mov eax, dword [0x7f370c]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x5c]
lea edx, [eax + esi*4 + 4]
mov dword [esp + 0x18], edx
call fcn.005a5430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5a7434
mov dword [esp + 0x30], eax
movzx ecx, byte [0x7f36a0]
mov edx, dword [0x7f36a4]
mov ebx, dword [0x7f36a8]
mov ebp, dword [0x7f36ac]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov byte [esp + 4], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
lea edx, [ebx + edx*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005a5430
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov edx, dword [esp + 0x2c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 2]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x5a71da
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
add esp, 0x60
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
add eax, 2
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov eax, edi
mov ecx, ebx
call fcn.004625f0
mov ecx, ebx
mov edx, ebp
call fcn.004625d0
mov eax, ebx
mov ecx, edx
call fcn.00462580
mov eax, ebx
mov ecx, edi
call fcn.004625f0
mov ecx, edi
mov edx, esi
call fcn.004625d0
nop
call fcn.004610f0
jmp fcn.005a7160