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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a746b
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
xor eax, eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x5a72a2
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
cmp esi, eax
jle 0x5a742e
mov esi, dword [esp + 0x2c]
cmp edx, esi
jb 0x5a7461
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
sub ebx, esi
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, esi
add ebx, ebp
mov dword [esp], ebx
sub edx, esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call fcn.005a7480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x5a73aa
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x5a7318
mov ecx, dword [esp + 0x44]
jmp 0x5a736e
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6aa5a0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
lea edx, [edx + edx*2]
mov dword [ecx + edx*4 - 8], esi
mov dword [ecx + edx*4 - 4], edi
mov esi, dword [0x1eaa9f0]
lea edi, [ecx + edx*4 - 0xc]
mov ebx, dword [esp + 0x2c]
add ebx, eax
test esi, esi
jne 0x5a739e
mov dword [ecx + edx*4 - 0xc], ebp
jmp 0x5a7275
mov eax, ebp
call fcn.00465d80
jmp 0x5a7275
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test edx, edx
je 0x5a73c1
mov edx, dword [edx + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
lea eax, [0x6f8bed]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
mov eax, esi
mov ecx, edx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.005a7230