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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a1da9
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.005a1dc0
mov eax, dword [esp + 4]
test eax, eax
jg 0x5a1d5b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
lea ebp, [0x801f40]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040a740
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0059da30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5a1c88
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
jmp 0x5a1902
mov eax, ebp
test eax, eax
jle 0x5a18c0
lea ebp, [eax - 1]
cmp ebp, ecx
jae 0x5a1d9b
movzx esi, byte [eax + edx - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5a18a3
mov ebp, dword [esp + 0x34]
cmp eax, ebp
ja 0x5a1d94
mov dword [esp + 0x48], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.005a2030
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5a197d
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
call fcn.005a0560
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test ebx, ebx
je 0x5a1c6b
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x3a
call fcn.00402370
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5a1bf2
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov ebx, eax
jmp 0x5a18a5
mov edx, dword [esp + 0x48]
inc edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
jmp 0x5a198d
inc edx
cmp edx, ebp
jge 0x5a19ab
jae 0x5a1d8d
movzx esi, byte [ebx + edx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5a198c
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5a198c
cmp edx, ebp
ja 0x5a1d86
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x34]
sub eax, edx
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebx
mov dword [esp + 4], eax
sub ebp, edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0043beb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [0x801f40]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], esi
call fcn.0040e5b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x5a1b42
lea ebx, [eax + 1]
cmp ebx, ecx
jg 0x5a1b08
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
lea ebp, [edx + eax*8 + 4]
mov esi, dword [esp + 0x24]
mov dword [ebp], esi
mov ebp, dword [0xb92b90]
lea edi, [edx + eax*8]
test ebp, ebp
jne 0x5a1afa
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x801f40]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040ec90
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0xb92b90]
test eax, eax
jne 0x5a1aef
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x5a1ace
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x5a18fc
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x64]
call fcn.0044c990
jmp 0x5a1aaf
mov eax, dword [esp + 0x4c]
call fcn.0044c990
jmp 0x5a1a67
mov dword [esp + 0x20], eax
lea ebp, [0x7b48a0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00438ba0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x5a1a39
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5a1a2e
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x50], ecx
mov ebp, dword [0xb92b90]
test ebp, ebp
jne 0x5a1be7
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x801f40]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040ec90
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0xb92b90]
test eax, eax
jne 0x5a1bdc
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov ebx, dword [esp + 0x28]
lea eax, [ebx - 1]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x5a1abb
mov eax, dword [esp + 0x68]
call fcn.0044c990
jmp 0x5a1bc8
mov eax, dword [esp + 0x4c]
call fcn.0044c990
jmp 0x5a1b80
mov dword [esp], 0
lea eax, [0x841f3a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0043bd30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x8b3c50]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00407790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
test eax, eax
jbe 0x5a1da2
movzx eax, byte [ecx]
cmp al, 0x20
jne 0x5a1d4d
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.005a01c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x5a1cdc
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov dword [esp], 0
lea eax, [0x8465b7]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0043bd30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x8b3c50]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
cmp al, 9
je 0x5a1c9c
jmp 0x5a1895
mov dword [esp + 0x3c], eax
lea ecx, [0x7b48a0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00438a20
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
jmp 0x5a183a
call fcn.004265e0
ud2
call fcn.004264e0
ud2
call fcn.004265e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.0044b230
jmp fcn.005a1800