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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539eec
sub esp, 0x80
call fcn.00553860
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [0x5cd8e0]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call fcn.0040a970
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004940e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004381f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
call fcn.00553970
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
call fcn.00553a80
call fcn.004746a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
call fcn.00553b80
call fcn.004746a0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
call fcn.00553c80
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea edi, [0x5cd8e0]
mov dword [esp + 0x70], edi
lea ebp, [esp + 0x58]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edi
lea ebp, [esp + 0x50]
mov dword [esp + 0x7c], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00539c10
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x539e73
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x539dfd
add esp, 0x80
ret
call fcn.00553e90
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.00437fb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x1a4
call fcn.0052eba0
jmp 0x539df6
call fcn.00553d90
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
call fcn.00437fb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x1a4
call fcn.0052eba0
jmp 0x539dee
call fcn.00446b60
jmp fcn.00539c30