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

Disassembly:
mov rax, rsp
push rbx
push rsi
push r12
sub rsp, 0xb0
mov rsi, qword [0x140208858]
mov qword [rax - 0x20], rbp
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x78], xmm8
mov ecx, dword [rsi + 0x4208]
cmp dword [rsi + 0x38d8], ecx
jle 0x140063370
mov r8d, 0x31ce
lea rdx, [0x1401e2930]
lea rcx, str.g.PlatformIO.Viewports.Size___g.Viewports.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rsi + 0x4208]
mov ebp, dword [rsi + 0x3d40]
xor r12d, r12d
shr ebp, 0xa
mov eax, ecx
and bpl, 1
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xd0], ebp
je 0x140063415
mov ebp, r12d
test ecx, ecx
jle 0x14006340e
mov edi, r12d
test rdi, rdi
js 0x1400633aa
cmp ebp, ecx
jl 0x1400633c4
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x4210]
mov rbx, qword [rax + rdi*8]
mov rax, qword [rsi + 0x3858]
test rax, rax
je 0x1400633fd
cmp byte [rbx + 0x82], r12b
je 0x1400633fd
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x1400633f6
bts ecx, 0xa
jmp 0x1400633fa
btr ecx, 0xa
mov dword [rbx + 4], ecx
mov eax, dword [rsi + 0x4208]
inc ebp
inc rdi
mov ecx, eax
cmp ebp, eax
jl 0x1400633a1
mov ebp, dword [rsp + 0xd0]
test eax, eax
jg 0x140063433
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x4210]
mov rbx, qword [rax]
mov qword [rsp + 0xe8], rbx
cmp dword [rbx], 0x11111111
je 0x140063467
mov r8d, 0x31e6
lea rdx, [0x1401e2930]
lea rcx, str.main_viewport__ID__IMGUI_VIEWPORT_DEFAULT_ID
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rbx + 0x88], r12
je 0x14006348a
mov r8d, 0x31e7
lea rdx, [0x1401e2930]
lea rcx, str.main_viewport__Window__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm8, xmm8
test bpl, bpl
je 0x1400634d7
mov rax, qword [rsi + 0x3830]
lea rcx, [rsp + 0xd8]
mov rdx, rbx
call rax
test dword [rbx + 4], 0x400
movsd xmm1, qword [rsi + 0x10]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xe0], xmm0
movsd qword [rsp + 0xd8], xmm1
je 0x140063502
movsd xmm0, qword [rbx + 8]
movsd xmm1, qword [rbx + 0x10]
jmp 0x1400634f0
movsd xmm1, qword [rsi + 0x10]
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd8], r12
movsd xmm0, qword [rax]
movsd qword [rsp + 0xd8], xmm1
movsd qword [rsp + 0xe0], xmm0
lea r9, [rsp + 0xd8]
mov dword [rsp + 0x20], 0x1004
lea r8, [rsp + 0xe0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.140063ca0
mov eax, dword [rsi + 0x4208]
mov r15d, r12d
mov dword [rsi + 0x4218], r12d
mov qword [rsi + 0x4220], r12
mov qword [rsi + 0x4228], r12
test eax, eax
jle 0x14006391f
mov qword [rsp + 0x98], r13
mov r13, r12
mov qword [rsp + 0x90], r14
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x1401ef348]
movaps xmmword [rsp + 0x60], xmm7
test r15d, r15d
js 0x140063582
cmp r15d, eax
jl 0x14006359c
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x4210]
mov rbx, qword [rax + r13]
mov dword [rbx + 0x60], r15d
test r15d, r15d
jle 0x1400635d2
mov eax, dword [rsi + 0x3f60]
sub eax, 2
cmp dword [rbx + 0x64], eax
jge 0x1400635d2
mov rcx, rbx
call fcn.140064030
dec r15d
sub r13, 8
jmp 0x1400638e1
movzx edi, byte [rbx + 0x82]
test bpl, bpl
je 0x140063664
test dword [rbx + 4], 0x400
jne 0x140063664
test dil, dil
je 0x140063664
cmp byte [rbx + 0x58], r12b
je 0x14006362a
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call qword [rsi + 0x3830]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x100], xmm0
movss dword [rbx + 0x104], xmm1
movss dword [rbx + 8], xmm0
movss dword [rbx + 0xc], xmm1
cmp byte [rbx + 0x59], r12b
je 0x140063664
mov rdx, rbx
lea rcx, [rsp + 0xe0]
call qword [rsi + 0x3840]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x108], xmm0
movss dword [rbx + 0x10c], xmm1
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
movss xmm0, dword [rbx + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rbx + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rbx + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rbx + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140064fd0
test dword [rbx + 4], 0x1000
lea rdx, [rbx + 0x70]
movsd xmm4, qword [rbx + 0x128]
movsd xmm3, qword [rbx + 0x130]
movaps xmm0, xmm4
movss xmm6, dword [rbx + 0xc]
movaps xmm2, xmm4
movss xmm5, dword [rbx + 8]
movaps xmm1, xmm6
shufps xmm0, xmm0, 0x55
addss xmm2, xmm5
addss xmm1, xmm0
mov word [rbx + 0x80], ax
movss xmm0, dword [rbx + 0x10]
subss xmm0, xmm4
mov qword [rbx + 0x130], r12
mov qword [rbx + 0x128], r12
movss dword [rbx + 0x18], xmm2
movaps xmm2, xmm8
movss dword [rbx + 0x1c], xmm1
movss xmm1, dword [rbx + 0x14]
addss xmm0, xmm3
movsd qword [rbx + 0x120], xmm3
movsd qword [rbx + 0x118], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm8
addss xmm1, dword [rbx + 0x124]
movss dword [rbx + 0x20], xmm2
mov dword [rbx + 0x78], 0x3f800000
maxss xmm0, xmm1
movss dword [rbx + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x140063770
ucomiss xmm5, xmm8
jp 0x140063764
jne 0x140063764
ucomiss xmm6, xmm8
jp 0x140063764
je 0x140063770
lea r8, [rbx + 8]
mov rcx, rbx
call fcn.140062e60
mov rax, qword [rsi + 0x3888]
test rax, rax
je 0x14006378b
test dil, dil
je 0x14006378b
mov rcx, rbx
call rax
movaps xmm7, xmm0
jmp 0x1400637e6
movsx rax, word [rbx + 0x80]
cmp ax, 0xffff
je 0x1400637d5
mov rdi, rax
test eax, eax
js 0x1400637a8
cmp edi, dword [rsi + 0x38c8]
jl 0x1400637c2
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x38d0]
lea rcx, [rdi + rdi*8]
movss xmm7, dword [rax + rcx*4 + 0x20]
jmp 0x1400637e6
movss xmm7, dword [rbx + 0x28]
ucomiss xmm7, xmm8
jp 0x1400637e6
jne 0x1400637e6
movaps xmm7, xmm9
movss xmm0, dword [rbx + 0x28]
ucomiss xmm0, xmm8
jp 0x1400637f7
je 0x1400638d5
ucomiss xmm7, xmm0
jp 0x140063802
je 0x1400638d5
test dword [rsi + 8], 0x4000
movaps xmm6, xmm7
divss xmm6, xmm0
je 0x1400638d5
mov rcx, qword [rbx + 0x88]
mov r14, qword [0x140208858]
test rcx, rcx
je 0x140063836
movaps xmm1, xmm6
call fcn.14004be50
jmp 0x1400638d5
mov edx, dword [r14 + 0x3f80]
mov ebp, r12d
mov rdi, r12
test edx, edx
je 0x1400638d5
nop dword [rax + rax]
test rdi, rdi
js 0x140063859
cmp ebp, edx
jl 0x14006387a
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [r14 + 0x3f80]
mov rax, qword [r14 + 0x3f88]
mov rcx, qword [rax + rdi*8]
cmp qword [rcx + 0x30], rbx
jne 0x1400638c1
test rdi, rdi
js 0x140063894
cmp ebp, edx
jl 0x1400638ae
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r14 + 0x3f88]
movaps xmm1, xmm6
mov rcx, qword [rcx + rdi*8]
call fcn.14004be50
mov edx, dword [r14 + 0x3f80]
inc ebp
inc rdi
cmp ebp, edx
jne 0x140063850
mov ebp, dword [rsp + 0xd0]
movss dword [rbx + 0x28], xmm7
mov eax, dword [rsi + 0x4208]
inc r15d
add r13, 8
cmp r15d, eax
jl 0x140063578
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x88]
cmp dword [rsi + 0x38c8], r12d
jne 0x140063973
movsd xmm0, qword [rbx + 8]
movsd qword [rsi + 0x423c], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rsi + 0x4244], xmm1
movsd xmm0, qword [rbx + 0x18]
movsd qword [rsi + 0x424c], xmm0
movsd xmm1, qword [rbx + 0x20]
movsd qword [rsi + 0x4254], xmm1
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0x425c], eax
test bpl, bpl
mov rbp, qword [rsp + 0xa8]
jne 0x14006398c
mov qword [rsi + 0x4228], rbx
jmp 0x140063a8e
test dword [rsi + 0xc], 0x800
je 0x1400639b2
mov ecx, dword [rsi + 0xdb4]
test ecx, ecx
je 0x1400639db
call fcn.1400629d0
mov rbx, rax
test rax, rax
je 0x1400639c1
test byte [rax + 4], 0x80
je 0x1400639c1
lea rcx, [rsi + 0xd9c]
call fcn.140063230
mov rbx, rax
lea rcx, [rsi + 0x4230]
mov rdi, rcx
test rbx, rbx
je 0x1400639e8
mov qword [rcx], rbx
mov rdx, rbx
mov rcx, rbx
jmp 0x140063a26
lea rcx, [rsi + 0x4230]
mov rbx, r12
mov rdi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x140063a26
cmp dword [rsi + 0x4208], r12d
jg 0x140063a16
mov r8d, 0x74e
lea rdx, [0x1401e2710]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x4210]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rdx, rcx
mov rax, qword [rsi + 0x4000]
test rax, rax
je 0x140063a3b
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x140063a3e
mov rax, rcx
mov qword [rsi + 0x4228], rax
movzx ecx, byte [rsi + 0x43fc]
test cl, cl
je 0x140063aa6
test rbx, rbx
jne 0x140063aa2
mov rbx, rdx
mov rcx, rax
test rbx, rbx
je 0x140063a6f
cmp rbx, rax
je 0x140063a6f
test byte [rbx + 4], 0x80
je 0x140063980
test rcx, rcx
jne 0x140063a8e
mov r8d, 0x3276
lea rdx, [0x1401e2930]
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xb0
pop r12
pop rsi
pop rbx
ret
test cl, cl
jne 0x140063a58
cmp dword [rsi + 0x4034], r12d
je 0x140063a58
mov rax, qword [0x140208858]
nop word [rax + rax]
cmp byte [r12 + rax + 0xda4], 0
jne 0x140063ae0
inc r12
cmp r12, 5
jl 0x140063ac0
mov rax, qword [rsi + 0x4228]
jmp 0x140063a58
mov rcx, qword [rsi + 0x4228]
jmp 0x140063a6f