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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5af296
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.004ef550
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5af153
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], ebx
lea eax, [0x62a000]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5aef7c
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5aef69
mov dword [eax + 0x2bc], ecx
jmp 0x5aefb7
lea edi, [eax + 0x2bc]
mov edx, eax
mov eax, ecx
call fcn.00462500
mov eax, edx
jmp 0x5aefb7
lea eax, [0x629740]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [0x81dcc0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5aefa4
mov eax, dword [esp + 0x60]
mov dword [eax + 0x2bc], ecx
jmp 0x5aefb7
mov edx, dword [esp + 0x60]
lea edi, [edx + 0x2bc]
mov eax, ecx
call fcn.00462500
mov eax, edx
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5aefcb
mov dword [ecx + 4], 0x10000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5aefdf
mov dword [ecx + 8], 0x1000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x5af069
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ecx
lea eax, [0x60d060]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [0x7f30b0]
mov edx, dword [0x7f30b4]
mov dword [eax + 0xc], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5af027
mov dword [eax + 8], ecx
jmp 0x5af035
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462500
mov eax, edx
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5af04e
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
jmp 0x5af05e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00462500
mov eax, ecx
mov dword [esp + 0x4c], eax
xor ecx, ecx
jmp 0x5af265
mov eax, dword [0x7f7c50]
lea ecx, [0x68bd4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f0830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
lea edx, [0x5af2a0]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x40], 2
mov dword [esp + 0x5c], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x5c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004efb00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
lea ecx, [0x60d060]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [0x7f30b0]
mov edx, dword [0x7f30b4]
mov dword [eax + 0xc], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5af112
mov dword [eax + 8], ecx
jmp 0x5af120
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462500
mov eax, edx
lea ecx, [0x68bc20]
mov dword [eax], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5af13b
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
jmp 0x5af14b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00462500
mov eax, ecx
mov dword [esp + 0x50], eax
xor ecx, ecx
jmp 0x5af1a5
nop
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5af176
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], ecx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00498db0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x64
ret
mov dword [esp + 0x34], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x50]
test ecx, ecx
jl 0x5af18a
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5af1bf
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x2c0], eax
jmp 0x5af1ce
mov ecx, dword [esp + 0x60]
lea edi, [ecx + 0x2c0]
call fcn.00462500
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x28c], edx
mov ebx, dword [esp + 0x30]
mov dword [ecx + 0x290], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5af1f8
mov ebx, dword [esp + 0x48]
mov dword [ecx + 0x288], ebx
jmp 0x5af207
lea edi, [ecx + 0x288]
mov eax, dword [esp + 0x48]
call fcn.00462500
mov dword [ecx + 0x2ac], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5af223
mov eax, dword [esp + 0x68]
mov dword [ecx + 0x2b8], eax
jmp 0x5af232
lea edi, [ecx + 0x2b8]
mov eax, dword [esp + 0x68]
call fcn.00462500
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov dword [esp + 0x34], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x4c]
test ecx, ecx
jl 0x5af24a
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5af282
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x2c0], eax
jmp 0x5af1ce
mov ecx, dword [esp + 0x60]
lea edi, [ecx + 0x2c0]
call fcn.00462500
jmp 0x5af1ce
call fcn.004610f0
jmp fcn.005aeec0