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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539e7e
sub esp, 0x60
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.004718d0
lea edi, [esp + 0x4c]
mov esi, esp
call fcn.0044c2ce
mov eax, dword [esp + 0x64]
test byte [eax], al
mov dword [esp], eax
call fcn.00459480
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp], 4
lea ecx, [0x6093cc]
mov dword [esp + 4], ecx
call fcn.00425b80
test eax, eax
jne 0x539e66
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
test ecx, 0x18
jne 0x539e01
xor ecx, ecx
xor edx, edx
mov ebx, edx
mov dword [esp + 0x3c], ecx
mov dword [eax + 0x20], 0
lea ebp, [eax + 0x1c]
mov dword [esp + 0x48], ebp
mov dword [esp + 4], ebp
mov dword [esp], eax
lea edi, [esp + 8]
lea esi, [esp + 0x4c]
call fcn.0044c2ce
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
call fcn.005390e0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x70]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0x24]
mov esi, eax
mov eax, dword [eax + 0x1c]
cmp ebx, ebp
ja 0x539dc2
cmp ebx, ebp
ja 0x539e77
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], eax
add ecx, eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044c4f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x24], eax
mov eax, dword [0x728500]
test eax, eax
jne 0x539da1
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x539d7f
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx + 1]
cmp ebp, edx
jg 0x539d10
lea edx, [ebx + 1]
mov dword [ecx + 0x20], edx
mov byte [eax + ebx], 0xa
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x14]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
nop
call fcn.00426370
add esp, 0x60
ret
lea ecx, [0x5be360]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00438700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x24], edx
mov edx, dword [0x728500]
test edx, edx
jne 0x539d59
mov dword [ebx + 0x1c], eax
mov edx, ecx
mov ecx, ebx
mov ebx, edx
jmp 0x539cc9
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ec50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
jmp 0x539d4e
lea ebx, [edx - 1]
cmp ebx, edx
jae 0x539e70
mov ebx, dword [esp + 0x6c]
movzx edx, byte [edx + ebx - 1]
cmp dl, 0xa
jne 0x539cbc
jmp 0x539cd3
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040ec50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x539cb0
mov dword [esp + 0x34], ecx
lea edx, [0x5be360]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00438700
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
jmp 0x539c63
mov dword [esp], eax
call fcn.00459780
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00405c30
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test cl, cl
je 0x539e57
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
call fcn.00459480
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x539c06
lea ebx, [0x5f6713]
mov edx, 3
xor eax, eax
jmp 0x539e2a
nop
call fcn.00426370
add esp, 0x60
ret
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.0044a1d0
jmp fcn.00539b80