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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x559ac9
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00559ae0
mov eax, dword [esp + 4]
test eax, eax
jg 0x559a7b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
lea ebp, [0x602900]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040a530
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004cc780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5599a8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
jmp 0x559622
mov eax, ebp
test eax, eax
jle 0x5595e0
lea ebp, [eax - 1]
cmp ebp, ecx
jae 0x559abb
movzx esi, byte [eax + edx - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5595c3
mov ebp, dword [esp + 0x34]
cmp eax, ebp
ja 0x559ab4
mov dword [esp + 0x48], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00559d50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x55969d
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
call fcn.00558bc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test ebx, ebx
je 0x55998b
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x3a
call fcn.004022f0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x559912
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov ebx, eax
jmp 0x5595c5
mov edx, dword [esp + 0x48]
inc edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
jmp 0x5596ad
inc edx
cmp edx, ebp
jge 0x5596cb
jae 0x559aad
movzx esi, byte [ebx + edx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5596ac
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5596ac
cmp edx, ebp
ja 0x559aa6
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x34]
sub eax, edx
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebx
mov dword [esp + 4], eax
sub ebp, edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0043af60
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [0x602900]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], esi
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x559862
lea ebx, [eax + 1]
cmp ebx, ecx
jg 0x559828
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
lea ebp, [edx + eax*8 + 4]
mov esi, dword [esp + 0x24]
mov dword [ebp], esi
mov ebp, dword [0x7db370]
lea edi, [edx + eax*8]
test ebp, ebp
jne 0x55981a
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x602900]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040e320
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x55980f
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x5597ee
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x55961c
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x64]
call fcn.0044b680
jmp 0x5597cf
mov eax, dword [esp + 0x4c]
call fcn.0044b680
jmp 0x559787
mov dword [esp + 0x20], eax
lea ebp, [0x5dfce0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00437c50
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x559759
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x55974e
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x50], ecx
mov ebp, dword [0x7db370]
test ebp, ebp
jne 0x559907
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x602900]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040e320
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x7db370]
test eax, eax
jne 0x5598fc
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov ebx, dword [esp + 0x28]
lea eax, [ebx - 1]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x5597db
mov eax, dword [esp + 0x68]
call fcn.0044b680
jmp 0x5598e8
mov eax, dword [esp + 0x4c]
call fcn.0044b680
jmp 0x5598a0
mov dword [esp], 0
lea eax, [0x6243a9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0043ade0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x65fdb0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00407580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
test eax, eax
jbe 0x559ac2
movzx eax, byte [ecx]
cmp al, 0x20
jne 0x559a6d
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00558970
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x5599fc
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov dword [esp], 0
lea eax, [0x627064]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0043ade0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x65fdb0]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
cmp al, 9
je 0x5599bc
jmp 0x5595b5
mov dword [esp + 0x3c], eax
lea ecx, [0x5dfce0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00437b80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
jmp 0x55955a
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.00559520