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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x560565
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x560452
mov eax, dword [esp + 0x6c]
cmp ecx, eax
jae 0x560452
mov eax, 0xffffffff
sub eax, ecx
mov edx, 0x7fffffff
sbb edx, 0
test edx, edx
sete bl
mov byte [esp + 0x26], bl
mov ebp, dword [esp + 0x64]
cmp eax, ebp
setae al
mov byte [esp + 0x25], al
test edx, edx
setg dl
mov byte [esp + 0x24], dl
mov esi, dword [esp + 0x60]
mov edi, dword [esi + 4]
mov dword [esp + 0x3c], edi
mov esi, dword [esi]
lea edi, [0x6a80e0]
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00409930
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
movzx ecx, byte [esp + 0x26]
movzx edx, byte [esp + 0x25]
and ecx, edx
movzx edx, byte [esp + 0x24]
or edx, ecx
test dl, dl
je 0x560233
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add ecx, edx
mov ebx, 0
adc ebx, 0
jmp 0x56023d
mov ebx, 0x7fffffff
mov ecx, 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ecx
lea eax, [0x6c4e00]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x560270
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
jmp 0x560280
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00465d80
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
lea ecx, [0x7853a4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00524c30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x560422
mov dword [esp + 0x38], ebp
test byte [esi], al
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x560570]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jl 0x56033f
mov edx, dword [esp + 0x70]
jmp 0x56036d
mov dword [esp + 0x48], esi
lea eax, [0x69be80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edx, eax
mov eax, ecx
cmp ecx, eax
ja 0x560554
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
lea eax, [0x6a8080]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00409930
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0048e040
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x5603e5
mov eax, 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x40]
jmp 0x5604dd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x5c
ret
mov eax, dword [esp + 0x78]
cmp eax, ecx
jl 0x560460
mov edx, dword [esp + 0x70]
jmp 0x560482
lea eax, [0x69be80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, eax
mov eax, ecx
cmp ecx, eax
ja 0x56054d
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov ebp, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x56051d
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
test al, 1
je 0x560519
and eax, 0xfffffffe
mov byte [esp + 0x27], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x5c
ret
mov edx, eax
call fcn.00465e50
mov edx, eax
call fcn.00465e50
nop
call fcn.004362d0
add esp, 0x5c
ret
call fcn.004649b0
jmp fcn.00560140