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

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rbx, qword [0x1400baf00]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4cb0]
cmp dword [rbx + 0x39e8], eax
jle 0x14003019d
mov r8d, 0x3aad
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
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 eax, dword [rbx + 0x4cb0]
mov r12d, dword [rbx + 0x3e8c]
xor r15d, r15d
shr r12d, 0xa
mov qword [rsp + 0xc8], rbp
and r12b, 1
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x70], r14
je 0x1400303f0
mov rsi, qword [rbx + 0x4cb8]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x1400303e8
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140030221
test bpl, bpl
je 0x140030221
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x14003021a
bts ecx, 0xc
jmp 0x14003021e
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x14003024e
test bpl, bpl
je 0x14003024e
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140030247
bts ecx, 0xd
mov r14, rdi
jmp 0x14003024b
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x1400301f0
test r14, r14
je 0x1400303e8
mov edx, dword [rbx + 0x4cd8]
mov r8d, dword [r14]
cmp edx, r8d
je 0x1400303c9
test dword [rbx + 0x62a4], 0x200
je 0x14003028a
lea rcx, str._viewport__Focused_viewport_changed__08X_____08X__attempting_to_apply_our_focus._n
call fcn.14003e740
mov rbp, qword [0x1400baf00]
mov rcx, qword [rbp + 0x4cb8]
movsxd rax, dword [rbp + 0x4cb0]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1400302c1
mov r8d, dword [rbx + 0x4cd8]
nop
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x140030325
add rcx, 8
cmp rcx, rdx
jne 0x1400302b0
mov cl, 1
mov eax, dword [rbx + 0x4d28]
cmp dword [r14 + 0x70], eax
je 0x1400302db
inc eax
mov dword [rbx + 0x4d28], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov dword [rbx + 0x4cd8], eax
mov rax, r15
nop word [rax + rax]
cmp byte [rax + rbp + 0x108], r15b
jne 0x1400303c9
inc rax
cmp rax, 5
jl 0x1400302f0
test cl, cl
jne 0x1400303c9
mov rax, qword [rbx + 0x4d30]
test rax, rax
je 0x14003032f
cmp qword [rax + 0x40], r14
jne 0x14003032f
mov al, 1
jmp 0x140030331
cmp byte [rax + 0x58], r15b
je 0x1400302c1
xor cl, cl
jmp 0x1400302c3
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x1400303bf
test al, al
je 0x1400303bd
mov edi, dword [rbp + 0x4120]
sub edi, 1
movsxd rsi, edi
js 0x1400303b8
nop word [rax + rax]
cmp edi, dword [rbp + 0x4120]
jl 0x140030382
mov r8d, 0x828
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x4128]
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x1400303b0
cmp byte [rcx + 0x100], r15b
je 0x1400303b0
cmp qword [rcx + 0x40], r14
jne 0x1400303b0
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1400303bf
dec edi
sub rsi, 1
jns 0x140030360
mov rcx, r15
jmp 0x1400303bf
xor ecx, ecx
mov edx, 3
call fcn.140020d20
mov rax, qword [rbx + 0x4d30]
test rax, rax
je 0x1400303df
cmp qword [rax + 0x40], r14
jne 0x1400303df
mov al, 1
jmp 0x1400303e1
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4cb0], r15d
jg 0x140030413
mov r8d, 0x828
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4cb8]
mov r13, qword [rax]
cmp dword [r13], 0x11111111
je 0x140030441
mov r8d, 0x3af5
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
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 [r13 + 0x60], r15
je 0x140030461
mov r8d, 0x3af6
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.main_viewport__Window__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm7, xmm7
test r12b, r12b
je 0x1400304c2
mov rdx, r13
lea rcx, [rsp + 0xb8]
call qword [rbx + 0x3940]
test dword [r13 + 4], 0x1000
movsd xmm0, qword [rax]
lea rax, [rsp + 0xb8]
movsd qword [rsp + 0xb8], xmm0
movsd xmm1, qword [rax]
movsd xmm0, qword [rbx + 0x10]
movsd qword [rsp + 0xc0], xmm1
movsd qword [rsp + 0xb8], xmm0
je 0x1400304ed
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x1400304db
movsd xmm1, qword [rbx + 0x10]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xb8], r15
movsd xmm0, qword [rax]
movsd qword [rsp + 0xb8], xmm1
movsd qword [rsp + 0xc0], xmm0
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x20], 0x804
lea r8, [rsp + 0xc0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.140030e70
mov eax, dword [rbx + 0x4cb0]
mov esi, r15d
mov dword [rbx + 0x3ea8], r15d
mov qword [rbx + 0x4cc0], r15
mov qword [rbx + 0x4cc8], r15
test eax, eax
jle 0x140030858
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x1400aca80]
movaps xmmword [rsp + 0x60], xmm6
nop
test esi, esi
js 0x140030558
cmp esi, eax
jl 0x140030572
mov r8d, 0x828
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4cb8]
mov rdi, qword [r14 + rax]
mov dword [rdi + 0x68], esi
test esi, esi
jle 0x1400305a5
mov eax, dword [rbx + 0x40c8]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x1400305a5
mov rcx, rdi
call fcn.140031290
dec esi
sub r14, 8
jmp 0x140030839
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x140030634
test dword [rdi + 4], 0x1000
jne 0x140030634
test bpl, bpl
je 0x140030634
cmp byte [rdi + 0x59], r15b
je 0x1400305fa
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call qword [rbx + 0x3940]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x108], xmm0
movss dword [rdi + 0x10c], xmm1
movss dword [rdi + 8], xmm0
movss dword [rdi + 0xc], xmm1
cmp byte [rdi + 0x5a], r15b
je 0x140030634
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call qword [rbx + 0x3950]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x110], xmm0
movss dword [rdi + 0x114], xmm1
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm0, dword [rdi + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rdi + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rdi + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.1400322f0
test dword [rdi + 4], 0x800
lea rdx, [rdi + 0x78]
movsd xmm4, qword [rdi + 0x130]
movsd xmm3, qword [rdi + 0x138]
movaps xmm0, xmm4
movss xmm6, dword [rdi + 0xc]
movaps xmm2, xmm4
movss xmm5, dword [rdi + 8]
movaps xmm1, xmm6
shufps xmm0, xmm0, 0x55
addss xmm2, xmm5
addss xmm1, xmm0
mov word [rdi + 0x8a], ax
movss xmm0, dword [rdi + 0x10]
subss xmm0, xmm4
mov qword [rdi + 0x138], r15
mov qword [rdi + 0x130], r15
movss dword [rdi + 0x18], xmm2
movaps xmm2, xmm7
movss dword [rdi + 0x1c], xmm1
movss xmm1, dword [rdi + 0x14]
addss xmm0, xmm3
movsd qword [rdi + 0x128], xmm3
movsd qword [rdi + 0x120], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, dword [rdi + 0x12c]
movss dword [rdi + 0x20], xmm2
mov dword [rdi + 0x80], 0x3f800000
maxss xmm0, xmm1
movss dword [rdi + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x14003073f
ucomiss xmm5, xmm7
jp 0x140030733
jne 0x140030733
ucomiss xmm6, xmm7
jp 0x140030733
je 0x14003073f
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.14002fdb0
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x14003075a
test bpl, bpl
je 0x14003075a
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x1400307be
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x1400307ae
mov rbp, rax
test eax, eax
js 0x140030777
cmp ebp, dword [rbx + 0x39d8]
jl 0x140030791
mov r8d, 0x828
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x39e0]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x1400307be
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x1400307be
jne 0x1400307be
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
jp 0x1400307ca
je 0x14003082c
ucomiss xmm6, xmm0
jp 0x1400307d1
je 0x14003082c
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x14003082c
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400307f4
movaps xmm1, xmm5
call fcn.140015c10
jmp 0x14003082c
mov rax, qword [0x1400baf00]
mov r8, qword [rax + 0x4118]
movsxd rax, dword [rax + 0x4110]
lea r9, [r8 + rax*8]
cmp r8, r9
je 0x14003082c
mov rcx, qword [r8]
cmp qword [rcx + 0x40], rdi
jne 0x140030823
movaps xmm1, xmm5
call fcn.140015c10
add r8, 8
cmp r8, r9
jne 0x140030812
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4cb0]
inc esi
add r14, 8
cmp esi, eax
jl 0x140030550
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm0, xmmword [0x1400acf70]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc8]
movups xmmword [rbx + 0x4d10], xmm0
cmp dword [rbx + 0x39d8], r15d
jne 0x14003099f
movsd xmm0, qword [r13 + 8]
movsd qword [rbx + 0x4ce0], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rbx + 0x4ce8], xmm1
movsd xmm0, qword [r13 + 0x18]
movsd qword [rbx + 0x4cf0], xmm0
movsd xmm0, qword [r13 + 0x20]
movsd qword [rbx + 0x4cf8], xmm0
mov eax, dword [r13 + 0x28]
mov dword [rbx + 0x4d00], eax
movss xmm1, dword [rbx + 0x4cf0]
movss xmm0, dword [rbx + 0x4d10]
comiss xmm0, xmm1
jbe 0x1400308e4
movss dword [rbx + 0x4d10], xmm1
movss xmm1, dword [rbx + 0x4cf4]
movss xmm0, dword [rbx + 0x4d14]
comiss xmm0, xmm1
jbe 0x140030901
movss dword [rbx + 0x4d14], xmm1
movss xmm0, dword [rbx + 0x4cf0]
comiss xmm0, dword [rbx + 0x4d18]
jbe 0x14003091a
movss dword [rbx + 0x4d18], xmm0
movss xmm0, dword [rbx + 0x4cf4]
comiss xmm0, dword [rbx + 0x4d1c]
jbe 0x140030933
movss dword [rbx + 0x4d1c], xmm0
movss xmm2, dword [rbx + 0x4cf0]
addss xmm2, dword [rbx + 0x4cf8]
movss xmm0, dword [rbx + 0x4d10]
movss xmm1, dword [rbx + 0x4cf4]
addss xmm1, dword [rbx + 0x4cfc]
comiss xmm0, xmm2
jbe 0x140030968
movss dword [rbx + 0x4d10], xmm2
movss xmm0, dword [rbx + 0x4d14]
comiss xmm0, xmm1
jbe 0x14003097d
movss dword [rbx + 0x4d14], xmm1
comiss xmm2, dword [rbx + 0x4d18]
jbe 0x14003098e
movss dword [rbx + 0x4d18], xmm2
comiss xmm1, dword [rbx + 0x4d1c]
jbe 0x14003099f
movss dword [rbx + 0x4d1c], xmm1
mov rcx, qword [rbx + 0x39e0]
movsxd rax, dword [rbx + 0x39d8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, rcx
cmp rcx, rdx
je 0x140030a9d
nop dword [rax]
nop word [rax + rax]
movss xmm1, dword [rcx + 0x10]
movss xmm0, dword [rbx + 0x4d10]
comiss xmm0, xmm1
jbe 0x1400309ea
movss dword [rbx + 0x4d10], xmm1
movss xmm1, dword [rcx + 0x14]
movss xmm0, dword [rbx + 0x4d14]
comiss xmm0, xmm1
jbe 0x140030a04
movss dword [rbx + 0x4d14], xmm1
movss xmm0, dword [rcx + 0x10]
comiss xmm0, dword [rbx + 0x4d18]
jbe 0x140030a1a
movss dword [rbx + 0x4d18], xmm0
movss xmm0, dword [rcx + 0x14]
comiss xmm0, dword [rbx + 0x4d1c]
jbe 0x140030a30
movss dword [rbx + 0x4d1c], xmm0
movss xmm2, dword [rcx + 0x18]
addss xmm2, dword [rcx + 0x10]
movss xmm0, dword [rbx + 0x4d10]
movss xmm1, dword [rcx + 0x14]
addss xmm1, dword [rcx + 0x1c]
comiss xmm0, xmm2
jbe 0x140030a59
movss dword [rbx + 0x4d10], xmm2
movss xmm0, dword [rbx + 0x4d14]
comiss xmm0, xmm1
jbe 0x140030a6e
movss dword [rbx + 0x4d14], xmm1
comiss xmm2, dword [rbx + 0x4d18]
jbe 0x140030a7f
movss dword [rbx + 0x4d18], xmm2
comiss xmm1, dword [rbx + 0x4d1c]
jbe 0x140030a90
movss dword [rbx + 0x4d1c], xmm1
add rcx, 0x30
cmp rcx, rdx
jne 0x1400309d0
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x140030ab3
mov qword [rbx + 0x4cc8], r13
jmp 0x140030cba
test dword [rbx + 0xc], 0x800
je 0x140030ba5
mov edx, dword [rbx + 0x11c]
test edx, edx
je 0x140030b22
mov rax, qword [0x1400baf00]
mov rcx, qword [rax + 0x4cb8]
movsxd rax, dword [rax + 0x4cb0]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140030af8
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140030afb
add rcx, 8
cmp rcx, r8
jne 0x140030ae8
mov rdi, r15
test rdi, rdi
je 0x140030c33
test byte [rdi + 4], 0x80
je 0x140030c33
lea rcx, [rbx + 0x100]
call fcn.1400300c0
mov rdi, rax
jmp 0x140030c33
lea rcx, [rbx + 0x4cd0]
mov rdi, r15
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x140030b6d
cmp dword [rbx + 0x4cb0], r15d
jg 0x140030b5d
mov r8d, 0x828
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4cb8]
mov rcx, qword [rax]
mov qword [rsi], rcx
mov rdx, rcx
mov rax, qword [rbx + 0x4188]
test rax, rax
je 0x140030b82
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x140030b85
mov rax, rcx
mov qword [rbx + 0x4cc8], rax
cmp byte [rbx + 0x4f3c], r15b
je 0x140030c54
test rdi, rdi
cmove rdi, rdx
jmp 0x140030c7f
mov rax, qword [0x1400baf00]
mov rdi, r15
mov rdx, qword [rax + 0x4cb8]
movsxd rax, dword [rax + 0x4cb0]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140030c33
nop word [rax + rax]
mov rcx, qword [rdx]
test dword [rcx + 4], 0x1080
jne 0x140030c2a
movss xmm0, dword [rcx + 8]
movss xmm3, dword [rcx + 0xc]
movaps xmm1, xmm0
movss xmm4, dword [rbx + 0x100]
movaps xmm2, xmm3
comiss xmm4, xmm0
addss xmm1, dword [rcx + 0x10]
addss xmm2, dword [rcx + 0x14]
jb 0x140030c2a
movss xmm0, dword [rbx + 0x104]
comiss xmm0, xmm3
jb 0x140030c2a
comiss xmm1, xmm4
jbe 0x140030c2a
comiss xmm2, xmm0
jbe 0x140030c2a
test rdi, rdi
je 0x140030c27
mov eax, dword [rcx + 0x70]
cmp dword [rdi + 0x70], eax
jge 0x140030c2a
mov rdi, rcx
add rdx, 8
cmp rdx, r8
jne 0x140030bd0
lea rcx, [rbx + 0x4cd0]
mov rsi, rcx
test rdi, rdi
je 0x140030b2f
mov qword [rcx], rdi
mov rdx, rdi
mov rcx, rdi
jmp 0x140030b6d
cmp dword [rbx + 0x41d4], r15d
je 0x140030c7f
mov rax, qword [0x1400baf00]
cmp byte [rax + r15 + 0x108], 0
jne 0x140030c96
inc r15
cmp r15, 5
jl 0x140030c64
mov rax, qword [rbx + 0x4cc8]
test rdi, rdi
je 0x140030c96
cmp rdi, rax
je 0x140030c96
test byte [rdi + 4], 0x80
jne 0x140030c96
mov qword [rbx + 0x4cc8], rdi
cmp qword [rbx + 0x4cc8], 0
jne 0x140030cba
mov r8d, 0x3b8d
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r13
pop rsi
pop rbx
ret