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

Disassembly:
push rsi
push rdi
push r13
push r15
sub rsp, 0x88
mov rdi, qword [0x1400be390]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rdi + 0x4c30]
cmp dword [rdi + 0x39f0], eax
jle 0x140023e9d
mov r8d, 0x384b
lea rdx, str.D:TheVaultimgui_dockingimgui.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 [rdi + 0x4c30]
mov r12d, dword [rdi + 0x3e6c]
xor r15d, r15d
shr r12d, 0xa
mov qword [rsp + 0xc8], rbx
and r12b, 1
mov qword [rsp + 0x80], rbp
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x70], r14
je 0x1400240f0
mov rsi, qword [rdi + 0x4c38]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x1400240e8
nop dword [rax + rax]
mov rbx, qword [rsi]
mov rax, qword [rdi + 0x3970]
movzx ebp, byte [rbx + 0x58]
test rax, rax
je 0x140023f21
test bpl, bpl
je 0x140023f21
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x140023f1a
bts ecx, 0xc
jmp 0x140023f1e
btr ecx, 0xc
mov dword [rbx + 4], ecx
mov rax, qword [rdi + 0x3968]
test rax, rax
je 0x140023f4e
test bpl, bpl
je 0x140023f4e
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x140023f47
bts ecx, 0xd
mov r14, rbx
jmp 0x140023f4b
btr ecx, 0xd
mov dword [rbx + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140023ef0
test r14, r14
je 0x1400240e8
mov edx, dword [rdi + 0x4c60]
mov r8d, dword [r14]
cmp edx, r8d
je 0x1400240c9
test dword [rdi + 0x61fc], 0x100
je 0x140023f8a
lea rcx, str._viewport__Focused_viewport_changed__08X_____08X__attempting_to_apply_our_focus._n
call fcn.1400328d0
mov rbp, qword [0x1400be390]
mov rcx, qword [rbp + 0x4c38]
movsxd rax, dword [rbp + 0x4c30]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140023fc1
mov r8d, dword [rdi + 0x4c60]
nop
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x140024025
add rcx, 8
cmp rcx, rdx
jne 0x140023fb0
mov cl, 1
mov eax, dword [rdi + 0x4ca0]
cmp dword [r14 + 0x70], eax
je 0x140023fdb
inc eax
mov dword [rdi + 0x4ca0], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov dword [rdi + 0x4c60], eax
mov rax, r15
nop word [rax + rax]
cmp byte [rax + rbp + 0xe58], r15b
jne 0x1400240c9
inc rax
cmp rax, 5
jl 0x140023ff0
test cl, cl
jne 0x1400240c9
mov rax, qword [rdi + 0x4ca8]
test rax, rax
je 0x14002402f
cmp qword [rax + 0x40], r14
jne 0x14002402f
mov al, 1
jmp 0x140024031
cmp byte [rax + 0x58], r15b
je 0x140023fc1
xor cl, cl
jmp 0x140023fc3
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x1400240bf
test al, al
je 0x1400240bd
mov ebx, dword [rbp + 0x40f8]
sub ebx, 1
movsxd rsi, ebx
js 0x1400240b8
nop word [rax + rax]
cmp ebx, dword [rbp + 0x40f8]
jl 0x140024082
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.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 + 0x4100]
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x1400240b0
cmp byte [rcx + 0xf4], r15b
je 0x1400240b0
cmp qword [rcx + 0x40], r14
jne 0x1400240b0
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1400240bf
dec ebx
sub rsi, 1
jns 0x140024060
mov rcx, r15
jmp 0x1400240bf
xor ecx, ecx
mov edx, 3
call fcn.1400158f0
mov rax, qword [rdi + 0x4ca8]
test rax, rax
je 0x1400240df
cmp qword [rax + 0x40], r14
jne 0x1400240df
mov al, 1
jmp 0x1400240e1
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rdi + 0x4c30], r15d
jg 0x140024113
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.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 [rdi + 0x4c38]
mov r13, qword [rax]
cmp dword [r13], 0x11111111
je 0x140024141
mov r8d, 0x3893
lea rdx, str.D:TheVaultimgui_dockingimgui.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 0x140024161
mov r8d, 0x3894
lea rdx, str.D:TheVaultimgui_dockingimgui.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 0x1400241c2
mov rdx, r13
lea rcx, [rsp + 0xb8]
call qword [rdi + 0x3948]
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 [rdi + 0x10]
movsd qword [rsp + 0xc0], xmm1
movsd qword [rsp + 0xb8], xmm0
je 0x1400241ed
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x1400241db
movsd xmm1, qword [rdi + 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.1400248e0
mov eax, dword [rdi + 0x4c30]
mov esi, r15d
mov dword [rdi + 0x4c40], r15d
mov qword [rdi + 0x4c48], r15
mov qword [rdi + 0x4c50], r15
test eax, eax
jle 0x140024558
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x1400b2e88]
movaps xmmword [rsp + 0x60], xmm6
nop
test esi, esi
js 0x140024258
cmp esi, eax
jl 0x140024272
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.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 [rdi + 0x4c38]
mov rbx, qword [r14 + rax]
mov dword [rbx + 0x68], esi
test esi, esi
jle 0x1400242a5
mov eax, dword [rdi + 0x40a0]
sub eax, 2
cmp dword [rbx + 0x6c], eax
jge 0x1400242a5
mov rcx, rbx
call fcn.140024d00
dec esi
sub r14, 8
jmp 0x140024539
movzx ebp, byte [rbx + 0x58]
test r12b, r12b
je 0x140024334
test dword [rbx + 4], 0x1000
jne 0x140024334
test bpl, bpl
je 0x140024334
cmp byte [rbx + 0x59], r15b
je 0x1400242fa
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call qword [rdi + 0x3948]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x108], xmm0
movss dword [rbx + 0x10c], xmm1
movss dword [rbx + 8], xmm0
movss dword [rbx + 0xc], xmm1
cmp byte [rbx + 0x5a], r15b
je 0x140024334
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call qword [rdi + 0x3958]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x110], xmm0
movss dword [rbx + 0x114], 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.140025d60
test dword [rbx + 4], 0x800
lea rdx, [rbx + 0x78]
movsd xmm4, qword [rbx + 0x130]
movsd xmm3, qword [rbx + 0x138]
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 + 0x8a], ax
movss xmm0, dword [rbx + 0x10]
subss xmm0, xmm4
mov qword [rbx + 0x138], r15
mov qword [rbx + 0x130], r15
movss dword [rbx + 0x18], xmm2
movaps xmm2, xmm7
movss dword [rbx + 0x1c], xmm1
movss xmm1, dword [rbx + 0x14]
addss xmm0, xmm3
movsd qword [rbx + 0x128], xmm3
movsd qword [rbx + 0x120], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, dword [rbx + 0x12c]
movss dword [rbx + 0x20], xmm2
mov dword [rbx + 0x80], 0x3f800000
maxss xmm0, xmm1
movss dword [rbx + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x14002443f
ucomiss xmm5, xmm7
jp 0x140024433
jne 0x140024433
ucomiss xmm6, xmm7
jp 0x140024433
je 0x14002443f
lea r8, [rbx + 8]
mov rcx, rbx
call fcn.140023ab0
mov rax, qword [rdi + 0x39a0]
test rax, rax
je 0x14002445a
test bpl, bpl
je 0x14002445a
mov rcx, rbx
call rax
movaps xmm6, xmm0
jmp 0x1400244be
movsx rax, word [rbx + 0x8a]
cmp ax, 0xffff
je 0x1400244ae
mov rbp, rax
test eax, eax
js 0x140024477
cmp ebp, dword [rdi + 0x39e0]
jl 0x140024491
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.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 [rdi + 0x39e8]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x1400244be
movss xmm6, dword [rbx + 0x28]
ucomiss xmm6, xmm7
jp 0x1400244be
jne 0x1400244be
movaps xmm6, xmm8
movss xmm0, dword [rbx + 0x28]
ucomiss xmm0, xmm7
jp 0x1400244ca
je 0x14002452c
ucomiss xmm6, xmm0
jp 0x1400244d1
je 0x14002452c
test dword [rdi + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x14002452c
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1400244f4
movaps xmm1, xmm5
call fcn.14000a870
jmp 0x14002452c
mov rax, qword [0x1400be390]
mov r8, qword [rax + 0x40f0]
movsxd rax, dword [rax + 0x40e8]
lea r9, [r8 + rax*8]
cmp r8, r9
je 0x14002452c
mov rcx, qword [r8]
cmp qword [rcx + 0x40], rbx
jne 0x140024523
movaps xmm1, xmm5
call fcn.14000a870
add r8, 8
cmp r8, r9
jne 0x140024512
mov r12d, dword [rsp + 0xb0]
movss dword [rbx + 0x28], xmm6
mov eax, dword [rdi + 0x4c30]
inc esi
add r14, 8
cmp esi, eax
jl 0x140024250
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
cmp dword [rdi + 0x39e0], r15d
jne 0x1400245b5
movsd xmm0, qword [r13 + 8]
movsd qword [rdi + 0x4c68], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rdi + 0x4c70], xmm1
movsd xmm0, qword [r13 + 0x18]
movsd qword [rdi + 0x4c78], xmm0
movsd xmm1, qword [r13 + 0x20]
movsd qword [rdi + 0x4c80], xmm1
mov eax, dword [r13 + 0x28]
mov dword [rdi + 0x4c88], eax
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x1400245cb
mov qword [rdi + 0x4c50], r13
jmp 0x140024729
test dword [rdi + 0xc], 0x800
je 0x14002461e
mov edx, dword [rdi + 0xe6c]
test edx, edx
je 0x140024647
mov rax, qword [0x1400be390]
mov rcx, qword [rax + 0x4c38]
movsxd rax, dword [rax + 0x4c30]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140024610
nop dword [rax]
mov rbx, qword [rcx]
cmp dword [rbx], edx
je 0x140024613
add rcx, 8
cmp rcx, r8
jne 0x140024600
mov rbx, r15
test rbx, rbx
je 0x14002462d
test byte [rbx + 4], 0x80
je 0x14002462d
lea rcx, [rdi + 0xe50]
call fcn.140023dc0
mov rbx, rax
lea rcx, [rdi + 0x4c58]
mov rsi, rcx
test rbx, rbx
je 0x140024654
mov qword [rcx], rbx
mov rdx, rbx
mov rcx, rbx
jmp 0x140024692
lea rcx, [rdi + 0x4c58]
mov rbx, r15
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x140024692
cmp dword [rdi + 0x4c30], r15d
jg 0x140024682
mov r8d, 0x7b6
lea rdx, str.D:TheVaultimgui_dockingimgui.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 [rdi + 0x4c38]
mov rcx, qword [rax]
mov qword [rsi], rcx
mov rdx, rcx
mov rax, qword [rdi + 0x4160]
test rax, rax
je 0x1400246a7
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1400246aa
mov rax, rcx
mov qword [rdi + 0x4c50], rax
cmp byte [rdi + 0x4ec0], r15b
je 0x1400246c3
test rbx, rbx
cmove rbx, rdx
jmp 0x1400246ee
cmp dword [rdi + 0x41ac], r15d
je 0x1400246ee
mov rax, qword [0x1400be390]
cmp byte [rax + r15 + 0xe58], 0
jne 0x140024705
inc r15
cmp r15, 5
jl 0x1400246d3
mov rax, qword [rdi + 0x4c50]
test rbx, rbx
je 0x140024705
cmp rbx, rax
je 0x140024705
test byte [rbx + 4], 0x80
jne 0x140024705
mov qword [rdi + 0x4c50], rbx
cmp qword [rdi + 0x4c50], 0
jne 0x140024729
mov r8d, 0x3923
lea rdx, str.D:TheVaultimgui_dockingimgui.cpp
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rsp + 0xc8]
add rsp, 0x88
pop r15
pop r13
pop rdi
pop rsi
ret