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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
call 0x563a2c
pop eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x40]
cmp eax, 1
je 0x563ad4
cmp eax, 2
jne 0x563c5c
lea eax, [edx + 0xa0]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x563b30
cmp eax, 2
jne 0x563b7c
cmp byte [edx + 0x49], 0
jne 0x563b5d
mov edx, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
mov ecx, ebx
push 0x2000
push dword [ebp + 8]
call fcn.00564724
add esp, 8
cmp dword [ebx], 0
jne 0x563b55
cmp dword [esp + 0x24], 0
je 0x563c0b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
test edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
sete byte [edi + 0x49]
jmp 0x563c23
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
mov esi, 3
add eax, 0xfffffffe
adc ecx, 0xffffffff
xor edx, edx
cmp esi, eax
sbb edx, ecx
jb 0x563b0a
test eax, eax
jne 0x563b0a
mov eax, dword [esp + 0x18]
mov edx, 0x7b776a
lea ecx, [eax + 0xb8]
push 0x19
call fcn.0060c14c
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [edx + 0x44], 0
mov dword [edx + 0x40], 2
push dword [ebp + 8]
call fcn.00563a18
add esp, 4
jmp 0x5645f2
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
or ecx, eax
je 0x563b5d
mov edx, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.00564724
add esp, 8
cmp dword [ebx], 0
je 0x563b97
xor esi, esi
inc esi
jmp 0x563c25
xor eax, eax
mov dword [esp + 0x40], 0x7b75d0
mov dword [esp + 0x44], 0x7f59e0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
jmp 0x56447f
mov al, byte [edx + 0x49]
mov dword [esp + 0x60], 0
movzx eax, al
mov eax, dword [eax*4 + 0x5645fc]
add eax, dword [esp + 0x38]
jmp eax
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ebx, ebx
je 0x563bd4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
cmp eax, ecx
mov esi, edx
sbb esi, 0
jae 0x563be6
xor eax, eax
xor edx, edx
jmp 0x563c33
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
jmp 0x563c23
test ecx, ecx
jne 0x563c2e
lea ecx, [esp + 0x44]
call fcn.005648d0
xor esi, esi
lea eax, [esp + 0x44]
mov dword [eax - 4], esi
push esi
push edi
lea eax, [esp + 0x1c]
push eax
call dword [ebx + 8]
add esp, 0xc
jmp 0x563c25
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
xor esi, esi
mov edx, dword [esp + 0x18]
jmp 0x56446c
sub eax, ecx
sbb edx, 0
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x10]
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x50], eax
mov edx, ecx
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
jmp 0x56447f
add edx, 0x40
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
mov dword [eax], edx
xor edx, edx
mov dword [ecx], 0x7b77cc
mov dword [eax + 4], 0x56468c
inc edx
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x7b77d4
call fcn.00652150
ud2
test esi, esi
je 0x56447f
mov eax, dword [esp + 0x54]
mov dword [eax], 2
jmp 0x5645f2
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea esi, [edx + 0x48]
test ebx, ebx
je 0x5644be
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test eax, eax
je 0x5644d5
cmp eax, 1
jne 0x564506
cmp byte [edx + 0x49], 0xb
jne 0x5644dd
jmp 0x56450c
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], edi
xor ecx, ecx
xor edi, edi
mov eax, 4
inc edi
jmp 0x5645a6
mov eax, dword [edx + 0x50]
or eax, dword [edx + 0x54]
je 0x56450c
test ecx, ecx
je 0x564548
movsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x54]
movsd xmm1, qword [esp + 0x28]
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm0
mov dword [eax], 1
jmp 0x5645f2
cmp byte [edx + 0x49], 0
je 0x5644dd
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
test ecx, ecx
mov eax, 3
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], edi
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
je 0x56457c
xor edi, edi
mov dword [esp + 0x1c], ecx
inc edi
jmp 0x5645a2
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 4
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
jmp 0x564584
mov dword [esp + 0x5c], 3
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
push ecx
push dword [esp + 0x3c]
push eax
call dword [ebx + 8]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
xor edi, edi
mov ecx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov dword [edx + 0x44], ecx
mov ecx, edx
mov dword [edx + 0x40], eax
mov esi, edx
call fcn.0055eed8
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0055ef69
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret