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

Disassembly:
push 0xffffffffffffffff
push 0x5e5aac
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0xb0], 7
mov dword [esp + 0x98], 0x52f604
xor ecx, ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], cx
test ebp, ebp
je 0x5620a9
push eax
lea ecx, [esp + 0x9c]
call fcn.00597670
mov eax, edi
shr eax, 0x1f
test al, 1
jne 0x5622b6
push 0x44
lea eax, [esp + 0x58]
push 0
push eax
call fcn.005c55e0
xor eax, eax
mov dword [esp + 0x60], 0x52fa50
add esp, 0xc
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x60], 0x52f604
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x7c], 0x52f604
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x40]
mov edx, eax
mov byte [esp + 0xdc], 1
mov dword [esp + 0x58], edi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x562144
mov edi, edi
cmp dword [ecx + 0x14], edi
jae 0x56213a
mov ecx, dword [ecx + 8]
jmp 0x56213e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x562130
cmp edx, eax
je 0x562157
cmp edi, dword [edx + 0x14]
jb 0x562157
mov dword [esp + 0x14], edx
lea esi, [esp + 0x14]
jmp 0x56215f
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
mov esi, dword [esi]
cmp esi, eax
je 0x562357
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x14]
je 0x562357
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb8]
call fcn.00597300
cmp dword [esp + 0xb0], 8
lea eax, [esp + 0x9c]
mov dword [esp + 0xac], 0
cmovae eax, dword [esp + 0x9c]
xor ecx, ecx
mov byte [esp + 0xdc], 2
mov word [eax], cx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x3c]
call fcn.00597420
push 0x52fa54
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 3
call fcn.00597490
lea eax, [esi + 0x1c]
mov byte [esp + 0xdc], 4
test eax, eax
je 0x5621f3
add eax, 4
jmp 0x5621f5
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa8]
call fcn.00562ba0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xa8]
call fcn.00562ba0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa8]
call fcn.00562ba0
cmp dword [esp + 0x34], 8
mov dword [esp + 0x1c], 0x52f604
jb 0x56224b
push dword [esp + 0x20]
call fcn.005c40d3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x38], 0x52f604
jb 0x56227d
push dword [esp + 0x3c]
call fcn.005c40d3
add esp, 4
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0xb4], 0x52f2f8
jb 0x5622a1
push dword [esp + 0xb8]
call fcn.005c40d3
add esp, 4
mov eax, edi
mov byte [esp + 0xdc], 0
shr eax, 0x1f
test al, 1
je 0x5620b6
test edi, edi
jns 0x562360
push 0x44
lea eax, [esp + 0x58]
push 0
push eax
call fcn.005c55e0
xor eax, eax
mov dword [esp + 0x60], 0x52fa50
add esp, 0xc
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x60], 0x52f604
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x7c], 0x52f604
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x60]
lea eax, [esp + 0x98]
mov byte [esp + 0xdc], 5
push eax
mov dword [esp + 0x60], edi
call fcn.00597620
test ebp, ebp
je 0x56234a
push ebp
lea ecx, [esp + 0x80]
call fcn.00597670
lea eax, [esp + 0x54]
push eax
lea ecx, [ebx + 0x30]
call fcn.00562cb0
lea ecx, [esp + 0x54]
call fcn.00560670
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x98], 0x52f604
jb 0x562384
push dword [esp + 0x9c]
call fcn.005c40d3
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.005c4b26
add esp, 0xcc
ret 0xc