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

Disassembly:
mov rax, rsp
push rbx
push rdi
push r15
sub rsp, 0xb0
mov rbx, qword [0x14008b010]
mov qword [rax - 0x30], r12
mov qword [rax - 0x40], r14
movaps xmmword [rax - 0x78], xmm8
mov ecx, dword [rbx + 0x1dc8]
cmp dword [rbx + 0x1630], ecx
jle 0x14001c240
mov r8d, 0x2b6d
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.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 ecx, dword [rbx + 0x1dc8]
mov r14d, dword [rbx + 0x1aac]
xor r15d, r15d
shr r14d, 0xa
mov eax, ecx
and r14b, 1
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0xd0], r14d
mov qword [rsp + 0xa0], rsi
je 0x14001c2e5
mov ebp, r15d
test ecx, ecx
jle 0x14001c2e5
mov esi, r15d
test rsi, rsi
js 0x14001c281
cmp ebp, ecx
jl 0x14001c29b
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1dd0]
mov rdi, qword [rax + rsi*8]
mov rax, qword [rbx + 0x15a0]
test rax, rax
je 0x14001c2d4
cmp byte [rdi + 0x92], r15b
je 0x14001c2d4
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x14001c2cd
bts ecx, 7
jmp 0x14001c2d1
btr ecx, 7
mov dword [rdi + 4], ecx
mov eax, dword [rbx + 0x1dc8]
inc ebp
inc rsi
mov ecx, eax
cmp ebp, eax
jl 0x14001c278
test eax, eax
jg 0x14001c303
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1dd0]
mov rdi, qword [rax]
mov qword [rsp + 0xe8], rdi
cmp dword [rdi], 0x11111111
je 0x14001c337
mov r8d, 0x2b85
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.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 [rdi + 0x98], r15
je 0x14001c35a
mov r8d, 0x2b86
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.cpp
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 r14b, r14b
je 0x14001c3a4
mov rax, qword [rbx + 0x1578]
lea rcx, [rsp + 0xd8]
mov rdx, rdi
call rax
test byte [rdi + 4], 0x80
movsd xmm1, qword [rbx + 0x10]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xe0], xmm0
movsd qword [rsp + 0xd8], xmm1
je 0x14001c3cf
movsd xmm0, qword [rdi + 8]
movsd xmm1, qword [rdi + 0x10]
jmp 0x14001c3bd
movsd xmm1, qword [rbx + 0x10]
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd8], r15
movsd xmm0, qword [rax]
movsd qword [rsp + 0xd8], xmm1
movsd qword [rsp + 0xe0], xmm0
lea r9, [rsp + 0xd8]
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0xe0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.14001cc90
mov eax, dword [rbx + 0x1dc8]
mov r12d, r15d
mov dword [rbx + 0x1dd8], r15d
mov qword [rbx + 0x1de0], r15
mov qword [rbx + 0x1de8], r15
test eax, eax
jle 0x14001c920
mov qword [rsp + 0x90], r13
mov r13, r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x14007b7b0]
movaps xmmword [rsp + 0x60], xmm7
nop dword [rax]
test r12d, r12d
js 0x14001c44a
cmp r12d, eax
jl 0x14001c464
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1dd0]
mov rsi, qword [rax + r13]
mov dword [rsi + 0x68], r12d
test r12d, r12d
jle 0x14001c653
mov eax, dword [rbx + 0x1ba8]
sub eax, 2
cmp dword [rsi + 0x6c], eax
jge 0x14001c653
mov edx, dword [rbx + 0x1bc8]
mov ebp, r15d
mov rdi, r15
test edx, edx
jle 0x14001c55a
test rdi, rdi
js 0x14001c4ab
cmp ebp, edx
jl 0x14001c4cb
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbx + 0x1bc8]
mov rax, qword [rbx + 0x1bd0]
mov rcx, qword [rax + rdi*8]
cmp qword [rcx + 0x30], rsi
jne 0x14001c547
test rdi, rdi
js 0x14001c4e5
cmp ebp, edx
jl 0x14001c4ff
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1bd0]
mov rcx, qword [rax + rdi*8]
mov qword [rcx + 0x30], r15
test rdi, rdi
js 0x14001c51b
cmp ebp, dword [rbx + 0x1bc8]
jl 0x14001c535
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1bd0]
mov rcx, qword [rax + rdi*8]
mov byte [rcx + 0xbe], r15b
mov edx, dword [rbx + 0x1bc8]
inc ebp
inc rdi
cmp ebp, edx
jl 0x14001c4a2
cmp rsi, qword [rbx + 0x1df0]
jne 0x14001c56a
mov qword [rbx + 0x1df0], r15
mov rax, qword [rbx + 0x1dd0]
movsxd rcx, r12d
lea rdi, [rax + rcx*8]
mov rcx, rax
cmp rdi, rax
jb 0x14001c590
movsxd rax, dword [rbx + 0x1dc8]
lea rcx, [rcx + rax*8]
cmp rdi, rcx
jb 0x14001c5aa
mov r8d, 0x5e0
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d90]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1dd0]
movsxd r8, dword [rbx + 0x1dc8]
sub rdi, rax
sar rdi, 3
sub r8, rdi
lea rcx, [rax + rdi*8]
lea r8, [r8*8 - 8]
lea rdx, [rcx + 8]
call sub.VCRUNTIME140.dll_memmove
dec dword [rbx + 0x1dc8]
mov rcx, rsi
call fcn.14001dd80
mov rcx, qword [rbx + 0x1638]
movsxd rax, dword [rbx + 0x1630]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
jae 0x14001c63f
nop dword [rax]
mov rax, qword [rcx]
add rcx, 8
cmp rax, rsi
je 0x14001c625
cmp rcx, rdx
jb 0x14001c600
mov rcx, rsi
call fcn.14002a060
dec r12d
sub r13, 8
jmp 0x14001c8ea
mov r8d, 0x2ba9
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.cpp
lea rcx, str.g.PlatformIO.Viewports.contains_viewport___false
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, rsi
call fcn.14002a060
dec r12d
sub r13, 8
jmp 0x14001c8ea
movzx edi, byte [rsi + 0x92]
test r14b, r14b
je 0x14001c6de
test byte [rsi + 4], 0x80
jne 0x14001c6de
test dil, dil
je 0x14001c6de
cmp byte [rsi + 0x60], r15b
je 0x14001c6a4
mov rdx, rsi
lea rcx, [rsp + 0xd8]
call qword [rbx + 0x1578]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x110], xmm0
movss dword [rsi + 0x114], xmm1
movss dword [rsi + 8], xmm0
movss dword [rsi + 0xc], xmm1
cmp byte [rsi + 0x61], r15b
je 0x14001c6de
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call qword [rbx + 0x1588]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x118], xmm0
movss dword [rsi + 0x11c], xmm1
movss dword [rsi + 0x10], xmm0
movss dword [rsi + 0x14], xmm1
movss xmm0, dword [rsi + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rsi + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rsi + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rsi + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.14001db80
test dword [rsi + 4], 0x200
lea rdx, [rsi + 0x80]
movups xmm0, xmmword [rsi + 0x128]
mov word [rsi + 0x90], ax
mov qword [rsi + 0x130], r15
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x128], r15
mov dword [rsi + 0x88], 0x3f800000
movss xmm0, dword [rsi + 8]
movss xmm1, dword [rsi + 0xc]
subss xmm0, dword [rdx]
subss xmm1, dword [rdx + 4]
je 0x14001c77d
ucomiss xmm0, xmm8
jp 0x14001c771
jne 0x14001c771
ucomiss xmm1, xmm8
jp 0x14001c771
je 0x14001c77d
lea r8, [rsi + 8]
mov rcx, rsi
call fcn.14001bcb0
mov rax, qword [rbx + 0x15d0]
test rax, rax
je 0x14001c798
test dil, dil
je 0x14001c798
mov rcx, rsi
call rax
movaps xmm7, xmm0
jmp 0x14001c7f3
movsx rax, word [rsi + 0x90]
cmp ax, 0xffff
je 0x14001c7e2
mov rdi, rax
test eax, eax
js 0x14001c7b5
cmp edi, dword [rbx + 0x1618]
jl 0x14001c7cf
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1620]
lea rcx, [rdi + rdi*8]
movss xmm7, dword [rax + rcx*4 + 0x20]
jmp 0x14001c7f3
movss xmm7, dword [rsi + 0x28]
ucomiss xmm7, xmm8
jp 0x14001c7f3
jne 0x14001c7f3
movaps xmm7, xmm9
movss xmm0, dword [rsi + 0x28]
ucomiss xmm0, xmm8
jp 0x14001c804
je 0x14001c8e5
ucomiss xmm7, xmm0
jp 0x14001c80f
je 0x14001c8e5
test dword [rbx + 8], 0x4000
movaps xmm6, xmm7
divss xmm6, xmm0
je 0x14001c8e5
mov rcx, qword [rsi + 0x98]
mov r14, qword [0x14008b010]
test rcx, rcx
je 0x14001c843
movaps xmm1, xmm6
call fcn.140007760
jmp 0x14001c8dd
mov edx, dword [r14 + 0x1bc8]
mov ebp, r15d
mov rdi, r15
test edx, edx
je 0x14001c8dd
test rdi, rdi
js 0x14001c861
cmp ebp, edx
jl 0x14001c882
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [r14 + 0x1bc8]
mov rax, qword [r14 + 0x1bd0]
mov rcx, qword [rax + rdi*8]
cmp qword [rcx + 0x30], rsi
jne 0x14001c8c9
test rdi, rdi
js 0x14001c89c
cmp ebp, edx
jl 0x14001c8b6
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r14 + 0x1bd0]
movaps xmm1, xmm6
mov rcx, qword [rcx + rdi*8]
call fcn.140007760
mov edx, dword [r14 + 0x1bc8]
inc ebp
inc rdi
cmp ebp, edx
jne 0x14001c858
mov r14d, dword [rsp + 0xd0]
movss dword [rsi + 0x28], xmm7
mov eax, dword [rbx + 0x1dc8]
inc r12d
add r13, 8
cmp r12d, eax
jl 0x14001c440
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa8]
jne 0x14001c94f
mov qword [rbx + 0x1de8], rdi
jmp 0x14001ca96
test dword [rbx + 0xc], 0x800
je 0x14001c98f
mov ecx, dword [rbx + 0x138]
test ecx, ecx
je 0x14001c9b8
call fcn.14001b870
mov rdi, rax
test rax, rax
je 0x14001c99e
test byte [rax + 4], 0x10
je 0x14001c99e
mov r8d, 0x2bf6
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.cpp
lea rcx, [0x14006ce74]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x120]
call fcn.14001c0f0
mov rdi, rax
lea rax, [rbx + 0x1df0]
mov rsi, rax
test rdi, rdi
je 0x14001c9c5
mov qword [rax], rdi
mov rcx, rdi
mov rax, rdi
jmp 0x14001ca03
lea rax, [rbx + 0x1df0]
mov rdi, r15
mov rsi, rax
mov rax, qword [rax]
mov rcx, rax
test rax, rax
jne 0x14001ca03
cmp dword [rbx + 0x1dc8], r15d
jg 0x14001c9f3
mov r8d, 0x5c8
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.h
lea rcx, [0x140072d68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1dd0]
mov rax, qword [rax]
mov qword [rsi], rax
mov rcx, rax
mov rdx, qword [rbx + 0x1c48]
test rdx, rdx
je 0x14001ca13
mov rax, qword [rdx + 0x30]
mov qword [rbx + 0x1de8], rax
cmp byte [rbx + 0x1f84], r15b
je 0x14001ca2c
test rdi, rdi
cmove rdi, rcx
jmp 0x14001ca5b
cmp dword [rbx + 0x1c78], r15d
je 0x14001ca5b
mov rax, qword [0x14008b010]
nop dword [rax]
cmp byte [r15 + rax + 0x128], 0
jne 0x14001ca72
inc r15
cmp r15, 5
jl 0x14001ca40
mov rax, qword [rbx + 0x1de8]
test rdi, rdi
je 0x14001ca72
cmp rdi, rax
je 0x14001ca72
test byte [rdi + 4], 0x10
jne 0x14001ca72
mov qword [rbx + 0x1de8], rdi
cmp qword [rbx + 0x1de8], 0
jne 0x14001ca96
mov r8d, 0x2c18
lea rdx, str.C:UsersArgonjkeeeDocumentsLeaked_Rust_Script_mainimguiimgui.cpp
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop rdi
pop rbx
ret