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

Disassembly:
push rbx
push r13
push r15
sub rsp, 0x90
mov rbx, qword [0x14024e750]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4cb8]
cmp dword [rbx + 0x39e8], eax
jle 0x1400434dd
mov r8d, 0x3968
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.g.PlatformIO.Viewports.Size___g.Viewports.Size
call fcn.140114334
mov r12d, dword [rbx + 0x3ea4]
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 0x14004372f
mov rsi, qword [rbx + 0x4cc0]
mov r14d, r15d
movsxd rax, dword [rbx + 0x4cb8]
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x140043727
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140043561
test bpl, bpl
je 0x140043561
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x14004355a
bts ecx, 0xc
jmp 0x14004355e
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x14004358e
test bpl, bpl
je 0x14004358e
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140043587
bts ecx, 0xd
mov r14, rdi
jmp 0x14004358b
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140043530
test r14, r14
je 0x140043727
mov edx, dword [rbx + 0x4ce8]
mov r8d, dword [r14]
cmp edx, r8d
je 0x140043708
test dword [rbx + 0x62d4], 0x200
je 0x1400435ca
lea rcx, str._viewport__Focused_viewport_changed__08X_____08X__attempting_to_apply_our_focus._n
call fcn.140051060
mov rsi, qword [0x14024e750]
mov rcx, qword [rsi + 0x4cc0]
movsxd rax, dword [rsi + 0x4cb8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140043601
mov r8d, dword [rbx + 0x4ce8]
nop
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x140043665
add rcx, 8
cmp rcx, rdx
jne 0x1400435f0
mov cl, 1
mov eax, dword [rbx + 0x4d38]
cmp dword [r14 + 0x70], eax
je 0x14004361b
inc eax
mov dword [rbx + 0x4d38], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov dword [rbx + 0x4ce8], eax
mov rax, r15
nop word [rax + rax]
cmp byte [rsi + rax + 0xe50], r15b
jne 0x140043708
inc rax
cmp rax, 5
jl 0x140043630
test cl, cl
jne 0x140043708
mov rax, qword [rbx + 0x4d40]
test rax, rax
je 0x14004366f
cmp qword [rax + 0x40], r14
jne 0x14004366f
mov al, 1
jmp 0x140043671
cmp byte [rax + 0x58], r15b
je 0x140043601
xor cl, cl
jmp 0x140043603
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x1400436fe
test al, al
je 0x1400436fc
mov edi, dword [rsi + 0x4130]
sub edi, 1
movsxd rbp, edi
js 0x1400436f7
nop word [rax + rax]
cmp edi, dword [rsi + 0x4130]
jl 0x1400436c1
mov r8d, 0x7df
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.140114334
mov rax, qword [rsi + 0x4138]
mov rcx, qword [rax + rbp*8]
test rcx, rcx
je 0x1400436ef
cmp byte [rcx + 0xf4], r15b
je 0x1400436ef
cmp qword [rcx + 0x40], r14
jne 0x1400436ef
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1400436fe
dec edi
sub rbp, 1
jns 0x1400436a0
mov rcx, r15
jmp 0x1400436fe
xor ecx, ecx
mov edx, 3
call fcn.1400354d0
mov rax, qword [rbx + 0x4d40]
test rax, rax
je 0x14004371e
cmp qword [rax + 0x40], r14
jne 0x14004371e
mov al, 1
jmp 0x140043720
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4cb8], r15d
jg 0x140043751
mov r8d, 0x7df
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.140114334
mov rax, qword [rbx + 0x4cc0]
mov r13, qword [rax]
cmp dword [r13], 0x11111111
je 0x14004377e
mov r8d, 0x39b0
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.main_viewport__ID__IMGUI_VIEWPORT_DEFAULT_ID
call fcn.140114334
cmp qword [r13 + 0x60], r15
je 0x14004379d
mov r8d, 0x39b1
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.main_viewport__Window__0
call fcn.140114334
xorps xmm7, xmm7
test r12b, r12b
je 0x1400437c8
mov rax, qword [rbx + 0x3940]
lea rcx, [rsp + 0xb8]
mov rdx, r13
call rax
movsd xmm0, qword [rax]
movsd qword [rsp + 0xb8], xmm0
jmp 0x1400437d0
mov qword [rsp + 0xb8], r15
movsd xmm1, qword [rbx + 0x10]
lea rax, [rsp + 0xb8]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xc0], xmm0
movsd qword [rsp + 0xb8], xmm1
test r12b, r12b
je 0x140043820
test dword [r13 + 4], 0x1000
je 0x140043820
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
movsd qword [rsp + 0xc0], xmm0
movsd qword [rsp + 0xb8], xmm1
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x20], 0x804
lea r8, [rsp + 0xc0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.1400442a0
mov eax, dword [rbx + 0x4cb8]
mov esi, r15d
mov dword [rbx + 0x4cc8], r15d
mov qword [rbx + 0x4cd0], r15
mov qword [rbx + 0x4cd8], r15
test eax, eax
jle 0x140043b78
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x14022bae4]
movaps xmmword [rsp + 0x60], xmm6
test esi, esi
js 0x140043889
cmp esi, eax
jl 0x1400438a2
mov r8d, 0x7df
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.140114334
mov rax, qword [rbx + 0x4cc0]
mov rdi, qword [r14 + rax]
mov dword [rdi + 0x68], esi
test esi, esi
jle 0x1400438dc
mov eax, dword [rbx + 0x40d8]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x1400438dc
mov rcx, rdi
call fcn.140044740
mov r9, qword [0x14024e750]
dec esi
sub r14, 8
jmp 0x140043b57
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x140043949
test dword [rdi + 4], 0x1000
jne 0x140043949
test bpl, bpl
je 0x140043949
cmp byte [rdi + 0x59], r15b
je 0x14004391e
mov rax, qword [rbx + 0x3940]
lea rcx, [rsp + 0xb8]
mov rdx, rdi
call rax
movsd xmm0, qword [rax]
movsd qword [rdi + 0x108], xmm0
movsd qword [rdi + 8], xmm0
cmp byte [rdi + 0x5a], r15b
je 0x140043949
mov rax, qword [rbx + 0x3950]
lea rcx, [rsp + 0xc0]
mov rdx, rdi
call rax
movsd xmm0, qword [rax]
movsd qword [rdi + 0x110], xmm0
movsd qword [rdi + 0x10], xmm0
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.140045300
test dword [rdi + 4], 0x800
lea rdx, [rdi + 0x78]
movsd xmm3, qword [rdi + 0x130]
movsd xmm4, qword [rdi + 0x138]
movss xmm6, dword [rdi + 0xc]
movss xmm5, dword [rdi + 8]
movaps xmm1, xmm6
mov qword [rdi + 0x138], r15
movaps xmm2, xmm5
movsd xmm0, qword [rdi + 0x138]
addss xmm2, xmm3
movsd qword [rdi + 0x130], xmm0
movaps xmm0, xmm3
shufps xmm0, xmm0, 0x55
addss xmm1, xmm0
mov word [rdi + 0x8a], ax
movss xmm0, dword [rdi + 0x10]
movss dword [rdi + 0x18], xmm2
subss xmm0, xmm3
movsd qword [rdi + 0x120], xmm3
movaps xmm2, xmm7
movsd qword [rdi + 0x128], xmm4
movss dword [rdi + 0x1c], xmm1
movaps xmm1, xmm7
addss xmm0, xmm4
maxss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
subss xmm0, dword [rdi + 0x124]
addss xmm0, dword [rdi + 0x12c]
movss dword [rdi + 0x20], xmm2
mov dword [rdi + 0x80], 0x3f800000
maxss xmm1, xmm0
movss dword [rdi + 0x24], xmm1
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x140043a5a
ucomiss xmm5, xmm7
jp 0x140043a4e
jne 0x140043a4e
ucomiss xmm6, xmm7
jp 0x140043a4e
je 0x140043a5a
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.140043180
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x140043a75
test bpl, bpl
je 0x140043a75
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x140043ad8
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x140043ac8
mov rbp, rax
test eax, eax
js 0x140043a92
cmp ebp, dword [rbx + 0x39d8]
jl 0x140043aab
mov r8d, 0x7df
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.140114334
mov rax, qword [rbx + 0x39e0]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x140043ad8
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x140043ad8
jne 0x140043ad8
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
mov r9, qword [0x14024e750]
jp 0x140043aeb
je 0x140043b4a
ucomiss xmm6, xmm0
jp 0x140043af2
je 0x140043b4a
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x140043b4a
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140043b15
movaps xmm1, xmm5
call fcn.14002a4e0
jmp 0x140043b4a
mov rdx, qword [r9 + 0x4128]
movsxd rax, dword [r9 + 0x4120]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140043b4a
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rcx + 0x40], rdi
jne 0x140043b41
movaps xmm1, xmm5
call fcn.14002a4e0
add rdx, 8
cmp rdx, r8
jne 0x140043b30
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4cb8]
inc esi
add r14, 8
cmp esi, eax
jl 0x140043881
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x140043b7f
mov r9, qword [0x14024e750]
movaps xmm0, xmmword [0x14022c0b0]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xc8]
movups xmmword [rbx + 0x4d20], xmm0
cmp dword [rbx + 0x39d8], r15d
jne 0x140043cc9
movsd xmm0, qword [r13 + 8]
movsd qword [rbx + 0x4cf0], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rbx + 0x4cf8], xmm1
movsd xmm0, qword [r13 + 0x18]
movsd qword [rbx + 0x4d00], xmm0
movsd xmm1, qword [r13 + 0x20]
movsd qword [rbx + 0x4d08], xmm1
mov eax, dword [r13 + 0x28]
mov dword [rbx + 0x4d10], eax
movss xmm3, dword [rbx + 0x4d20]
movss xmm0, dword [rbx + 0x4d00]
comiss xmm3, xmm0
jbe 0x140043c16
movss dword [rbx + 0x4d20], xmm0
movaps xmm3, xmm0
movss xmm1, dword [rbx + 0x4d04]
movss xmm0, dword [rbx + 0x4d24]
comiss xmm0, xmm1
jbe 0x140043c33
movss dword [rbx + 0x4d24], xmm1
movss xmm0, dword [rbx + 0x4d00]
comiss xmm0, dword [rbx + 0x4d28]
jbe 0x140043c4c
movss dword [rbx + 0x4d28], xmm0
movss xmm0, dword [rbx + 0x4d04]
comiss xmm0, dword [rbx + 0x4d2c]
jbe 0x140043c65
movss dword [rbx + 0x4d2c], xmm0
movss xmm2, dword [rbx + 0x4d08]
addss xmm2, dword [rbx + 0x4d00]
movss xmm1, dword [rbx + 0x4d04]
addss xmm1, dword [rbx + 0x4d0c]
comiss xmm3, xmm2
jbe 0x140043c92
movss dword [rbx + 0x4d20], xmm2
movss xmm0, dword [rbx + 0x4d24]
comiss xmm0, xmm1
jbe 0x140043ca7
movss dword [rbx + 0x4d24], xmm1
comiss xmm2, dword [rbx + 0x4d28]
jbe 0x140043cb8
movss dword [rbx + 0x4d28], xmm2
comiss xmm1, dword [rbx + 0x4d2c]
jbe 0x140043cc9
movss dword [rbx + 0x4d2c], 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 0x140043db6
movss xmm3, dword [rbx + 0x4d20]
movss xmm0, dword [rcx + 0x10]
comiss xmm3, xmm0
jbe 0x140043d08
movss dword [rbx + 0x4d20], xmm0
movaps xmm3, xmm0
movss xmm1, dword [rcx + 0x14]
movss xmm0, dword [rbx + 0x4d24]
comiss xmm0, xmm1
jbe 0x140043d22
movss dword [rbx + 0x4d24], xmm1
movss xmm0, dword [rcx + 0x10]
comiss xmm0, dword [rbx + 0x4d28]
jbe 0x140043d38
movss dword [rbx + 0x4d28], xmm0
movss xmm0, dword [rcx + 0x14]
comiss xmm0, dword [rbx + 0x4d2c]
jbe 0x140043d4e
movss dword [rbx + 0x4d2c], xmm0
movss xmm1, dword [rcx + 0x18]
addss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0x14]
addss xmm2, dword [rcx + 0x1c]
comiss xmm3, xmm1
jbe 0x140043d72
movss dword [rbx + 0x4d20], xmm1
movaps xmm3, xmm1
movss xmm0, dword [rbx + 0x4d24]
comiss xmm0, xmm2
jbe 0x140043d87
movss dword [rbx + 0x4d24], xmm2
comiss xmm1, dword [rbx + 0x4d28]
jbe 0x140043d98
movss dword [rbx + 0x4d28], xmm1
comiss xmm2, dword [rbx + 0x4d2c]
jbe 0x140043da9
movss dword [rbx + 0x4d2c], xmm2
add rcx, 0x30
cmp rcx, rdx
jne 0x140043cf3
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x140043dcc
mov qword [rbx + 0x4cd8], r13
jmp 0x14004402e
test dword [rbx + 0xc], 0x800
je 0x140043f38
mov edx, dword [rbx + 0xe64]
test edx, edx
je 0x140043eac
mov rcx, qword [r9 + 0x4cc0]
movsxd rax, dword [r9 + 0x4cb8]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140043e10
nop
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140043e13
add rcx, 8
cmp rcx, r8
jne 0x140043e00
mov rdi, r15
test rdi, rdi
je 0x140043eaf
test byte [rdi + 4], 0x80
je 0x140043fb5
mov rdx, qword [r9 + 0x4cc0]
mov rdi, r15
movsxd rax, dword [r9 + 0x4cb8]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140043fb5
mov rcx, qword [rdx]
test dword [rcx + 4], 0x1080
jne 0x140043e9e
movss xmm0, dword [rcx + 8]
movss xmm3, dword [rcx + 0xc]
movaps xmm1, xmm0
movss xmm4, dword [rbx + 0xe48]
movaps xmm2, xmm3
comiss xmm4, xmm0
addss xmm1, dword [rcx + 0x10]
addss xmm2, dword [rcx + 0x14]
jb 0x140043e9e
movss xmm0, dword [rbx + 0xe4c]
comiss xmm0, xmm3
jb 0x140043e9e
comiss xmm1, xmm4
jbe 0x140043e9e
comiss xmm2, xmm0
jbe 0x140043e9e
test rdi, rdi
je 0x140043e9b
mov eax, dword [rcx + 0x70]
cmp dword [rdi + 0x70], eax
jge 0x140043e9e
mov rdi, rcx
add rdx, 8
cmp rdx, r8
jne 0x140043e44
jmp 0x140043fb5
mov rdi, r15
mov rax, qword [rbx + 0x4ce0]
mov rdx, rax
test rax, rax
jne 0x140043efb
cmp dword [rbx + 0x4cb8], r15d
jg 0x140043ee7
mov r8d, 0x7df
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.140114334
mov r9, qword [0x14024e750]
mov rax, qword [rbx + 0x4cc0]
mov rax, qword [rax]
mov qword [rbx + 0x4ce0], rax
mov rdx, rax
mov rcx, qword [rbx + 0x4198]
test rcx, rcx
je 0x140043f10
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x140043f13
mov rcx, rax
mov qword [rbx + 0x4cd8], rcx
cmp byte [rbx + 0x4f74], r15b
je 0x140043fd0
test rdi, rdi
jne 0x140043ff9
mov rdi, rdx
jmp 0x140043ff4
mov rdx, qword [r9 + 0x4cc0]
mov rdi, r15
movsxd rax, dword [r9 + 0x4cb8]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140043fb5
mov rcx, qword [rdx]
test dword [rcx + 4], 0x1080
jne 0x140043fac
movss xmm0, dword [rcx + 8]
movss xmm3, dword [rcx + 0xc]
movaps xmm1, xmm0
movss xmm4, dword [rbx + 0xe48]
movaps xmm2, xmm3
comiss xmm4, xmm0
addss xmm1, dword [rcx + 0x10]
addss xmm2, dword [rcx + 0x14]
jb 0x140043fac
movss xmm0, dword [rbx + 0xe4c]
comiss xmm0, xmm3
jb 0x140043fac
comiss xmm1, xmm4
jbe 0x140043fac
comiss xmm2, xmm0
jbe 0x140043fac
test rdi, rdi
je 0x140043fa9
mov eax, dword [rcx + 0x70]
cmp dword [rdi + 0x70], eax
jge 0x140043fac
mov rdi, rcx
add rdx, 8
cmp rdx, r8
jne 0x140043f52
test rdi, rdi
je 0x140043eaf
mov qword [rbx + 0x4ce0], rdi
mov rax, rdi
mov rdx, rdi
jmp 0x140043efb
cmp dword [rbx + 0x41e4], r15d
je 0x140043ff4
nop dword [rax]
cmp byte [r15 + r9 + 0xe50], 0
jne 0x14004400b
inc r15
cmp r15, 5
jl 0x140043fe0
test rdi, rdi
je 0x14004400b
cmp rdi, rcx
je 0x14004400b
test byte [rdi + 4], 0x80
jne 0x14004400b
mov qword [rbx + 0x4cd8], rdi
cmp qword [rbx + 0x4cd8], 0
jne 0x14004402e
mov r8d, 0x3a48
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.g.MouseViewport___0
call fcn.140114334
mov rdi, qword [rsp + 0x80]
add rsp, 0x90
pop r15
pop r13
pop rbx
ret