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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a957c
sub esp, 0x5c
mov edx, dword [esp + 0x60]
test edx, edx
je 0x5a92fe
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5a92fe
jl 0x5a9576
mov eax, 4
mul ecx
jo 0x5a9571
mov edx, dword [esp + 0x60]
mov ebx, edx
neg edx
cmp eax, edx
ja 0x5a9571
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x5a956c
mov edx, dword [ebx + ecx*4 - 4]
mov eax, dword [edx + 0xc]
test eax, eax
jl 0x5a9567
mov dword [esp + 0x50], edx
mov ebx, 4
mov ecx, eax
mul ebx
jo 0x5a9561
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0x10]
mov ebp, ebx
neg ebx
cmp eax, ebx
ja 0x5a9550
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], ebp
xor eax, eax
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x5a936a
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x771ab9]
mov dword [eax], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x7caa44]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov eax, dword [esp + 0x28]
lea edi, [eax + 1]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov eax, ebx
mov ebx, ecx
mov esi, edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
cmp dword [edx + 0xc], edi
jle 0x5a9512
cmp edi, ecx
jae 0x5a9549
mov ebp, dword [ebp + edi*4]
mov ebp, dword [ebp + 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
jl 0x5a9544
mov ebp, dword [ebp + 4]
mov dword [esp + 0x48], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ecx, ebp
ja 0x5a9532
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x5a9448
test ecx, ecx
ja 0x5a93de
mov dword [esp + 0x3c], eax
lea eax, [0x901b24]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x5a942a
mov dword [esp + 0x2c], ecx
lea eax, [0x901b24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00457450
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
jmp 0x5a9454
xor ecx, ecx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005a8b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x5a94ee
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x5a948f
mov ecx, dword [esp + 0x54]
jmp 0x5a94cd
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x75e320]
mov dword [esp + 0x10], eax
call fcn.00442820
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [0x901e80]
lea edi, [ecx + edx*4 - 4]
test ebp, ebp
jne 0x5a94e4
mov dword [ecx + edx*4 - 4], eax
jmp 0x5a9349
call fcn.00456ac0
jmp 0x5a9349
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x5c
ret
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5a953f
call fcn.00450480
call fcn.004504c0
call fcn.00450480
mov eax, edi
call fcn.00456b40
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5a955c
call fcn.00450480
call fcn.004504c0
mov edx, dword [esp + 0x50]
jmp 0x5a9550
call fcn.00450480
call fcn.00456b40
call fcn.00450480
call fcn.00450480
nop
call fcn.00455690
jmp fcn.005a9260