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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a44a9
sub esp, 0x54
lea eax, [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00584840
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a41c5
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5a4235
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x7746f3]
mov dword [eax], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x54
ret
mov esi, ecx
mov ecx, ebx
mov ebx, edx
mov edx, eax
mov eax, edi
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x5a4416
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x58]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.005840c0
movzx eax, byte [esp + 8]
test al, al
je 0x5a43b0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [0x707a28]
mov ebp, dword [0x707a2c]
xor eax, eax
jmp 0x5a444b
mov eax, 0
jge 0x5a4318
mov ecx, dword [esp + 0x20]
inc ecx
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x5a42c7
mov ebp, dword [esp + 0x3c]
jmp 0x5a4303
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x7332e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, ebx
mov dword [ebp + ecx*4 - 4], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
jmp 0x5a422b
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x5a432d
mov eax, ecx
mov ecx, dword [esp + 0x40]
jmp 0x5a435f
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x740c20]
mov dword [esp + 0x10], eax
call fcn.00442820
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + eax*2]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edi, edx
mov edx, dword [esp + 0x50]
mov dword [ecx + ebx*4 - 8], esi
mov dword [ecx + ebx*4 - 4], edx
mov edx, dword [0x900e70]
lea esi, [ecx + ebx*4 - 0xc]
test edx, edx
jne 0x5a438c
mov dword [ecx + ebx*4 - 0xc], ebp
jmp 0x5a439d
mov edx, edi
mov edi, esi
mov ebx, eax
mov eax, ebp
call fcn.00456ac0
mov eax, ebx
mov edi, edx
mov ebx, ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
jmp 0x5a422b
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x7746f3]
mov dword [eax], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x7ca6cc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x54
ret
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
lea ebx, [esi + 0x10]
inc eax
mov ebp, edi
cmp eax, ebp
jge 0x5a42ad
mov esi, ebx
mov edi, ebp
mov ebp, dword [ebx]
mov dword [esp + 0x38], ebp
mov ebp, dword [ebx + 4]
cmp dword [ebx + 8], ecx
jne 0x5a4445
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], esi
xor ebx, ebx
jmp 0x5a4480
mov esi, dword [esp + 0x34]
jmp 0x5a4445
inc ebx
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
cmp ebx, ecx
jge 0x5a4496
cmp ebx, ecx
jae 0x5a44a1
mov esi, dword [edx + ebx*4]
lea ebp, [ebp + ebx*4]
cmp dword [ebp], esi
je 0x5a4477
jmp 0x5a4471
cmp eax, edi
mov eax, dword [esp + 0x38]
jmp 0x5a42b2
mov eax, ebx
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.005a4180