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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57364e
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x5735db
xor ecx, ecx
test cl, cl
jne 0x573553
mov dword [esp], 3
call fcn.004eadd0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x6c]
mov dword [esp], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00541d60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test edx, edx
jne 0x573536
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea eax, [0x5a5da0]
mov dword [esp], eax
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0x28
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
nop
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
lea ebx, [0x5a5da0]
mov dword [esp], ebx
shl edx, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004e6120
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x573648
mov dword [esp + 0x38], eax
nop
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
lea edx, [0x5a5da0]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004e6120
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
jb 0x57363f
lea ebp, [edx - 0x14]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sub ebx, ecx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
mov edi, dword [esp + 0x4c]
add edi, ecx
cmp ebp, 0x14
ja 0x573633
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], edi
lea edi, [edx + 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ebp, edi
mov edi, dword [esp + 0x54]
add ebp, edi
cmp eax, ebp
je 0x573456
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045eba0
mov edx, dword [esp + 0x38]
lea eax, [edx - 0x28]
neg eax
cmp eax, 0x28
ja 0x573629
mov ecx, dword [esp + 0x34]
and eax, ecx
mov ecx, dword [esp + 0x54]
add eax, ecx
mov ebx, dword [esp + 0x44]
cmp ebx, eax
je 0x57348c
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0045eba0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
test byte [eax], al
mov dword [esp], eax
call fcn.00572980
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edx, [0x5b0620]
mov dword [esp], edx
call fcn.0040b910
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x71e9f0]
test eax, eax
jne 0x57352b
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [edi + 0xc], 0x28
mov dword [edi + 0x10], 0x28
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x573515
mov eax, dword [esp + 0x54]
mov dword [edi + 8], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x64
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0045e220
mov edi, edx
jmp 0x5734f4
mov eax, dword [esp + 0x58]
call fcn.0045e220
jmp 0x5734d5
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
add esp, 0x64
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x5a5ba0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x5dab91]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b95e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
test byte [ecx], al
mov dword [esp], ecx
call fcn.00572980
mov eax, dword [esp + 0x84]
cmp dword [esp + 8], eax
je 0x573602
mov ecx, 1
jmp 0x57322a
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004028f0
movzx ecx, byte [esp + 0xc]
xor ecx, 1
mov eax, dword [esp + 0x84]
jmp 0x57322a
mov ecx, 0x28
call fcn.0045e300
mov eax, ebp
mov ecx, 0x14
call fcn.0045e300
mov eax, ecx
mov ecx, ebx
call fcn.0045e300
call fcn.0045e300
nop
call fcn.0045ccc0
jmp fcn.00573200