Function at 0x140009150
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
sub rsp, 0xb8
mov rdi, qword [0x140505bf0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r14
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x40], xmm12
test rdi, rdi
jne 0x1400091b7
mov r8d, 0x113f
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140505bf0]
mov ebx, dword [rdi + 0x5c30]
sub ebx, 1
js 0x1400092ad
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
cmp ebx, dword [rdi + 0x5c30]
jl 0x1400091f2
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x5c38]
cmp dword [rax + rbp + 4], 7
jne 0x14000929c
cmp ebx, dword [rdi + 0x5c30]
jl 0x140009226
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c38]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140009249
movsxd rax, dword [rdi + 0x5c30]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140009263
mov r8d, 0x72f
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.h
lea rcx, [0x140166ab8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c38]
movsxd r8, dword [rdi + 0x5c30]
sub rsi, rcx
sar rsi, 5
sub r8, rsi
mov rax, rsi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rdi + 0x5c30]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x1400091d0
xor edx, edx
mov rcx, rdi
call fcn.140007550
call fcn.140017100
mov rbx, qword [0x140505bf0]
xor esi, esi
cmp byte [rbx + 0x5be9], sil
jne 0x140009351
cmp dword [rbx + 0x5c10], esi
je 0x1400092f4
mov r8d, 0x327e
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000934a
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.1400041e0
mov rbp, rax
test rax, rax
je 0x14000934a
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x14000932f
mov rcx, rax
call fcn.14001f0d0
mov rcx, qword [0x140505bf0]
test rcx, rcx
je 0x140009341
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5be9], 1
movss xmm0, dword [rbx + 0x5bec]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x1400093f0
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5bec], xmm0
jb 0x1400093f0
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x1400093e3
mov rax, qword [0x140505bf0]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
mov dword [rax + 0x5bec], esi
call fcn.14001f480
lea rdx, [0x14016679c]
mov rcx, rbp
mov r14, rax
call fcn.140004030
mov rbp, rax
test rax, rax
je 0x1400093ea
mov r8, qword [rsp + 0xd0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400093ea
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5bec], esi
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5ba2], si
mov dword [rdi + 0x3ee8], esi
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5bbc]
test ecx, ecx
jns 0x140009448
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5bb8]
test eax, eax
cmovg edx, eax
call fcn.140021820
movss xmm11, dword [0x14017343c]
movss xmm10, dword [0x140173278]
mov dword [rdi + 0x5bb8], esi
movsxd rax, dword [rdi + 0x5e28]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5d38]
addss xmm0, dword [rdi + 0x5e30]
movss dword [rdi + 0x5e30], xmm0
movss dword [rdi + rax*4 + 0x5d38], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5e28]
movss xmm2, dword [rdi + 0x5e30]
inc ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub ecx, eax
mov eax, dword [rdi + 0x5e2c]
inc eax
mov dword [rdi + 0x5e28], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5e2c], ecx
jbe 0x1400094f2
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400094f6
movaps xmm1, xmm11
movss dword [rdi + 0xe0], xmm1
mov ecx, dword [rdi + 0x3e84]
test ecx, ecx
jns 0x140009524
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3e80]
test eax, eax
cmovg edx, eax
call fcn.140021660
mov dword [rdi + 0x3e80], esi
movzx ecx, byte [rdi + 0x7a]
call fcn.140016470
mov rbp, qword [0x140505bf0]
cmp dword [rbp + 0x48c8], 1
je 0x14000955d
mov r8d, 0x33e9
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbp + 0x48c8], esi
jg 0x14000957f
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x48d0]
mov r14d, esi
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rbp + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rbp + 0x48c8]
test eax, eax
jle 0x140009684
mov rbx, rsi
test rbx, rbx
js 0x1400095bb
cmp r14d, eax
jl 0x1400095d5
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x48d0]
inc r14d
mov rcx, qword [rax + rbx*8]
inc rbx
movsd xmm4, qword [rcx + 0xa8]
movsd xmm3, qword [rcx + 0xb0]
movaps xmm0, xmm4
movss xmm1, dword [rcx + 8]
movaps xmm2, xmm4
addss xmm2, dword [rcx + 4]
shufps xmm0, xmm0, 0x55
addss xmm1, xmm0
mov qword [rcx + 0xb0], rsi
movss xmm0, dword [rcx + 0xc]
subss xmm0, xmm4
mov qword [rcx + 0xa8], rsi
movss dword [rcx + 0x14], xmm2
movaps xmm2, xmm12
movsd qword [rcx + 0xa0], xmm3
movss dword [rcx + 0x18], xmm1
movss xmm1, dword [rcx + 0x10]
addss xmm0, xmm3
movsd qword [rcx + 0x98], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm12
addss xmm1, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm2
maxss xmm0, xmm1
movss dword [rcx + 0x20], xmm0
mov eax, dword [rbp + 0x48c8]
cmp r14d, eax
jl 0x1400095b1
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x140505bf0]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400096c6
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], esi
jg 0x1400096bf
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x60]
mov rcx, qword [rax]
call fcn.140013370
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], rsi
jne 0x1400096f2
mov r8d, 0x1168
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x140173490]
movaps xmm6, xmm11
mov eax, dword [rdi + 0x48c8]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov ebx, esi
test eax, eax
jle 0x14000979b
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x140009729
cmp ebx, eax
jl 0x140009743
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x48d0]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 4]
comiss xmm6, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x140009770
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x14000977a
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140009782
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x14000978c
movaps xmm8, xmm1
mov eax, dword [rdi + 0x48c8]
inc ebx
inc rbp
cmp ebx, eax
jl 0x140009720
mov eax, dword [rdi + 0x38a4]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm9
mov dword [rdi + 0x3c3c], eax
movaps xmm9, xmmword [rsp + 0x70]
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0x90]
shufps xmm6, xmm6, 0x27
movss xmm6, xmm8
movaps xmm8, xmmword [rsp + 0x80]
shufps xmm6, xmm6, 0x39
movups xmmword [rdi + 0x3c44], xmm6
movss xmm0, dword [rdi + 0x3c40]
movups xmmword [rsp + 0x20], xmm6
movss xmm6, dword [rdi + 0x38a8]
ucomiss xmm0, xmm6
jp 0x140009803
je 0x1400098d5
comiss xmm6, xmm12
ja 0x140009823
mov r8d, 0x1bd
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui_draw.cpp
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rdi + 0x3c40], xmm6
lea r14, [rdi + 0x3dec]
movss xmm6, dword [0x1401732b0]
mov ebx, esi
mov ebp, 0x800
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x14000989a
movss xmm1, dword [rdi + 0x3c40]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm10
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 0xc8
jge 0x140009893
mov eax, reloc.WLDAP32.dll_Ordinal_200
jmp 0x14000989f
cmp eax, ebp
cmovg eax, ebp
jmp 0x14000989f
mov eax, Ordinal_50
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x140009841
movss xmm0, dword [0x140173200]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c40]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3de8], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c54], esi
cmp byte [rdi + 0x38a0], sil
je 0x1400098ff
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x38a1], sil
je 0x140009924
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140009924
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x38a2], sil
je 0x140009936
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x140009945
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48c8]
mov ebx, esi
test eax, eax
jle 0x1400099a0
mov rbp, rsi
test rbp, rbp
js 0x14000995d
cmp ebx, eax
jl 0x140009977
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x48d0]
xorps xmm0, xmm0
inc ebx
mov rcx, qword [rax + rbp*8]
inc rbp
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
mov eax, dword [rdi + 0x48c8]
cmp ebx, eax
jl 0x140009954
cmp byte [rdi + 0x4a7c], sil
je 0x1400099db
mov eax, dword [rdi + 0x4a9c]
cmp eax, dword [rdi + 0x3f58]
jne 0x1400099db
mov rcx, qword [0x140505bf0]
cmp dword [rcx + 0x3f58], eax
jne 0x1400099cc
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x1400099db
mov byte [rcx + 0x3f8c], 1
cmp dword [rdi + 0x3f48], esi
jne 0x1400099eb
mov dword [rdi + 0x3f50], esi
jmp 0x1400099fd
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x140009a03
cmp dword [rdi + 0x3f58], eax
jne 0x140009a03
mov dword [rdi + 0x3f54], esi
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x140009a3d
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f50]
movss dword [rdi + 0x3f50], xmm0
cmp dword [rdi + 0x3f58], eax
je 0x140009a3d
addss xmm1, dword [rdi + 0x3f54]
movss dword [rdi + 0x3f54], xmm1
mov dword [rdi + 0x3f48], eax
mov eax, dword [rdi + 0x3f58]
mov dword [rdi + 0x3f44], esi
mov word [rdi + 0x3f4c], si
test eax, eax
je 0x140009a88
cmp dword [rdi + 0x3f5c], eax
je 0x140009a88
cmp dword [rdi + 0x3f88], eax
jne 0x140009a88
test byte [rdi + 0x5cc4], 1
je 0x140009a7f
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1400201d0
xor edx, edx
xor ecx, ecx
call fcn.1400082f0
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
je 0x140009aa7
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f60]
movss dword [rdi + 0x3f60], xmm0
mov rax, qword [rdi + 0x3f78]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f9c]
mov qword [rdi + 0x3f90], rax
movzx eax, byte [rdi + 0x3f68]
mov byte [rdi + 0x3f8d], al
mov eax, dword [rdi + 0x5b28]
movss dword [rdi + 0x3f9c], xmm0
mov dword [rdi + 0x3f88], ecx
mov dword [rdi + 0x3f5c], esi
mov byte [rdi + 0x3f69], sil
mov byte [rdi + 0x3f8c], sil
mov byte [rdi + 0x3f64], sil
test eax, eax
je 0x140009b0c
cmp ecx, eax
je 0x140009b0c
mov dword [rdi + 0x5b28], esi
test ecx, ecx
jne 0x140009b25
mov dword [rdi + 0x4768], esi
mov byte [rdi + 0x476c], sil
mov dword [rdi + 0x4770], esi
jmp 0x140009b97
mov eax, dword [rdi + 0x4770]
test eax, eax
je 0x140009b97
test al, 2
je 0x140009b71
mov ebx, dword [rdi + 0x3f58]
test ebx, ebx
jne 0x140009b57
mov r8d, 0x2394
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x140505bf0]
mov edx, 0x20e
call fcn.140002d50
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], si
test dword [rdi + 0x4770], 0xfffffffd
je 0x140009b97
mov r8d, 0x11bb
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, [0x140161610]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4bf0]
movss xmm0, dword [rdi + 0x4bf8]
mov dword [rdi + 0x4bf4], eax
test eax, eax
je 0x140009bca
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bfc], esi
mov dword [rdi + 0x4bf0], esi
movss dword [rdi + 0x4bf8], xmm0
jmp 0x140009c04
comiss xmm0, xmm12
jbe 0x140009c04
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x140173218]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bfc]
addss xmm2, xmm2
movss dword [rdi + 0x4bfc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140009c04
mov qword [rdi + 0x4bf8], rsi
mov eax, dword [rdi + 0x4aec]
mov dword [rdi + 0x4af0], eax
mov qword [rdi + 0x4ae8], 0x7f7fffff
mov word [rdi + 0x4a7d], si
mov dword [rdi + 0x4af8], esi
call fcn.140014cc0
call fcn.14001b3c0
call fcn.1400154f0
call fcn.140008d00
mov rbx, qword [0x140505bf0]
mov rcx, qword [rbx + 0x3f10]
test rcx, rcx
je 0x140009d66
mov eax, dword [rbx + 0x3f58]
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x140009c6e
mov byte [rbx + 0x3f8c], 1
cmp qword [rcx + 0x378], rsi
jne 0x140009c91
mov r8d, 0x109b
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.MovingWindow__g.MovingWindow__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x3f10]
mov r14, qword [rax + 0x378]
cmp byte [rbx + 0xe10], sil
je 0x140009d5d
cmp qword [0x140505bf0], rsi
lea rbp, [rbx + 0xe08]
jne 0x140009cd6
mov r8d, 0x2125
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
jne 0x140009ce9
mov rbp, qword [0x140505bf0]
add rbp, 0xe08
movss xmm0, dword [rbp]
movss xmm1, dword [0x14017348c]
comiss xmm0, xmm1
movss xmm2, dword [rbp + 4]
jb 0x140009d5d
comiss xmm2, xmm1
jb 0x140009d5d
movss xmm0, dword [rbx + 0xe08]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe0c]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f6c]
subss xmm1, dword [rbx + 0x3f70]
mov rcx, r14
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140013940
mov rcx, qword [rbx + 0x3f10]
xor edx, edx
call fcn.140012fc0
jmp 0x140009da4
mov qword [rbx + 0x3f10], rsi
jmp 0x140009d9b
mov rcx, qword [rbx + 0x3f78]
test rcx, rcx
je 0x140009da4
mov eax, dword [rbx + 0x3f58]
cmp dword [rcx + 0x7c], eax
jne 0x140009da4
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x140009d92
mov byte [rbx + 0x3f8c], 1
cmp byte [rbx + 0xe10], sil
jne 0x140009da4
xor edx, edx
xor ecx, ecx
call fcn.1400082f0
mov r8, qword [0x140505bf0]
mov eax, dword [r8 + 0x48a0]
sub eax, 1
js 0x140009deb
mov r8, qword [r8 + 0x48a8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140009de1
test dword [rax + 0x14], 0x8000000
jne 0x140009e02
sub r8, 0x38
sub rdx, 1
jns 0x140009dd0
cmp qword [rdi + 0x4a40], rsi
je 0x140009e1e
movss xmm0, dword [rdi + 0x4a5c]
comiss xmm0, xmm12
jbe 0x140009e1e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1401732d0]
addss xmm1, dword [rdi + 0x4a74]
minss xmm1, xmm10
jmp 0x140009e3c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1401732fc]
movss xmm1, dword [rdi + 0x4a74]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a74], xmm1
movups xmm0, xmmword [rdi + 0x5bc8]
mov dword [rdi + 0x4a78], esi
mov qword [rdi + 0x5e38], 0xffffffffffffffff
movups xmmword [rdi + 0x5bd8], xmm0
mov dword [rdi + 0x5e34], 0xffffffff
mov byte [rdi + 0x5bc8], sil
call fcn.140015ad0
mov eax, dword [rdi + 0x3e98]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3ea8], eax
jle 0x140009ead
mov r8d, 0x1202
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size___g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x3e98]
cmp byte [rdi + 0x3e5f], sil
jne 0x140009ed7
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140009ed7
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x14000a06c
mov r14, rsi
test r14, r14
js 0x140009eed
cmp ebp, eax
jl 0x140009f07
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x3ea0]
mov rbx, qword [rax + r14*8]
movzx ecx, byte [rbx + 0xb6]
movzx eax, word [rbx + 0xc2]
mov byte [rbx + 0xb7], cl
mov byte [rbx + 0xb6], sil
mov byte [rbx + 0xb8], sil
mov word [rbx + 0xc4], ax
mov word [rbx + 0xc2], si
test cl, cl
jne 0x14000a059
cmp byte [rbx + 0x3e4], sil
jne 0x14000a059
comiss xmm11, dword [rbx + 0x264]
jbe 0x14000a059
mov rcx, qword [rbx + 0x298]
mov byte [rbx + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3e0], eax
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x140009fb7
mov rax, qword [0x140505bf0]
mov qword [rbx + 0xf0], rsi
test rax, rax
je 0x140009faa
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xf8], rsi
mov rcx, qword [rbx + 0x298]
call fcn.14002a5c0
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140009ff5
mov rax, qword [0x140505bf0]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140009fe8
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x198], rsi
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x14000a027
mov rax, qword [0x140505bf0]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x14000a01a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d0], rsi
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x14000a059
mov rax, qword [0x140505bf0]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x14000a04c
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov eax, dword [rdi + 0x3e98]
inc ebp
inc r14
cmp ebp, eax
jne 0x140009ee4
mov eax, dword [rdi + 0x4b80]
mov ebx, esi
test eax, eax
jle 0x14000a138
mov rbp, rsi
nop
test ebx, ebx
js 0x14000a088
cmp ebx, eax
jl 0x14000a0a2
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x4b88]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm12
jb 0x14000a124
test ebx, ebx
js 0x14000a0c0
cmp ebx, dword [rdi + 0x4b80]
jl 0x14000a0da
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x4b88]
comiss xmm11, dword [rax + rbp]
jbe 0x14000a124
test ebx, ebx
js 0x14000a0f4
cmp ebx, dword [rdi + 0x4b58]
jl 0x14000a10e
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul rcx, rax, 0x238
add rcx, qword [rdi + 0x4b60]
call fcn.140038c30
mov eax, dword [rdi + 0x4b80]
inc ebx
add rbp, 4
cmp ebx, eax
jl 0x14000a080
mov eax, dword [rdi + 0x4b48]
mov ebp, esi
mov qword [rsp + 0xb0], r15
test eax, eax
jle 0x14000a21d
mov r15, rsi
mov r14, rsi
test r15, r15
js 0x14000a15f
cmp ebp, eax
jl 0x14000a179
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x4b50]
movss xmm0, dword [r14 + rax + 4]
comiss xmm0, xmm12
jb 0x14000a206
test r15, r15
js 0x14000a19a
cmp ebp, dword [rdi + 0x4b48]
jl 0x14000a1b4
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 + 0x4b50]
comiss xmm11, dword [r14 + rax + 4]
jbe 0x14000a206
test r15, r15
js 0x14000a1d0
cmp ebp, dword [rdi + 0x4b48]
jl 0x14000a1ea
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 0x4b50]
lea rcx, [rbx + 0x10]
add rcx, r14
call fcn.140030460
mov dword [r14 + rbx + 4], 0xbf800000
mov eax, dword [rdi + 0x4b48]
inc ebp
inc r15
add r14, 0x70
cmp ebp, eax
jl 0x14000a156
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], sil
je 0x14000a29e
mov rax, qword [0x140505bf0]
mov rbx, rax
mov rcx, qword [rax + 0x4888]
test rcx, rcx
je 0x14000a26e
mov qword [rax + 0x4880], rsi
test rax, rax
je 0x14000a25a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140505bf0]
mov qword [rbx + 0x4888], rsi
mov rcx, qword [rbx + 0x4898]
test rcx, rcx
je 0x14000a299
mov qword [rbx + 0x4890], rsi
test rax, rax
je 0x14000a28c
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4898], rsi
call fcn.140038e00
mov rax, qword [rdi + 0x48d8]
mov byte [rdi + 0x3e5f], sil
test rax, rax
je 0x14000a367
cmp byte [rax + 0xb7], sil
jne 0x14000a367
mov r15, qword [0x140505bf0]
mov r14d, dword [r15 + 0x3ea8]
sub r14d, 1
js 0x14000a35b
movsxd rbp, r14d
nop dword [rax]
test rbp, rbp
js 0x14000a2ee
cmp r14d, dword [r15 + 0x3ea8]
jl 0x14000a308
mov r8d, 0x717
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.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 [r15 + 0x3eb0]
mov rbx, qword [rax + rbp*8]
cmp rbx, qword [rbx + 0x378]
je 0x14000a336
mov r8d, 0x1c25
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0xb7], sil
je 0x14000a352
mov eax, dword [rbx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14000a49a
dec r14d
sub rbp, 1
jns 0x14000a2e0
xor ecx, ecx
mov edx, 1
call fcn.140012fc0
mov ecx, dword [rdi + 0x3ecc]
mov r15, qword [rsp + 0xb0]
test ecx, ecx
jns 0x14000a395
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ec8]
test eax, eax
cmovg edx, eax
call fcn.1400215d0
mov dword [rdi + 0x3ec8], esi
mov ecx, dword [rdi + 0x48b4]
test ecx, ecx
jns 0x14000a3c1
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x48b0]
test eax, eax
cmovg edx, eax
call fcn.140021540
lea rbx, [rdi + 0x4880]
mov dword [rdi + 0x48b0], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x14000a3ed
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140021820
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14000a401
mov edx, 8
mov rcx, rbx
call fcn.140021820
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x4890]
inc dword [rbx]
call fcn.140020be0
mov rbx, qword [0x140505bf0]
mov dword [rbx + 0x5cf8], esi
cmp byte [rbx + 0x5cf3], sil
je 0x14000a5d1
mov ebp, dword [rbx + 0x3f48]
xor edx, edx
mov ecx, 0x20e
mov dword [rbx + 0x4a78], 7
mov r8d, 1
call fcn.1400147e0
test al, al
je 0x14000a462
mov byte [rbx + 0x5cf3], sil
mov r14d, dword [rbx + 0xe28]
xor r8d, r8d
xor edx, edx
cmp r14d, 0x3000
je 0x14000a4a2
movzx ecx, byte [rbx + 0x5cf4]
call fcn.1400149c0
test al, al
je 0x14000a4e8
test ebp, ebp
je 0x14000a4e8
mov dword [rbx + 0x5cf8], ebp
mov byte [rbx + 0x5cf3], sil
jmp 0x14000a4e8
mov rcx, rbx
jmp 0x14000a35d
xor ecx, ecx
call fcn.1400149c0
test al, al
je 0x14000a4b4
mov byte [rbx + 0x5cf4], sil
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.1400149c0
test al, al
je 0x14000a4ce
mov byte [rbx + 0x5cf4], 1
xor r8d, r8d
xor edx, edx
mov ecx, 2
call fcn.1400149c0
test al, al
je 0x14000a4e8
mov byte [rbx + 0x5cf4], 2
mov rax, qword [0x140505bf0]
xor ecx, ecx
or dword [rax + 0x47d0], 0x40
mov dword [rax + 0x4830], 0x3f333333
call fcn.1400188f0
test al, al
je 0x14000a5d1
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.14003b560
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14003b560
lea rax, str.Left
mov qword [rsp + 0x20], rax
lea rax, str.Right
mov qword [rsp + 0x28], rax
lea rax, str.Middle
mov qword [rsp + 0x30], rax
cmp r14d, 0x3000
jne 0x14000a564
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.14003b560
jmp 0x14000a59b
movzx r8d, byte [rbx + 0x5cf4]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test ebp, ebp
mov eax, reloc.WS2_32.dll_recv
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x140505bf0]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b8
add rcx, rax
call fcn.14003b6a0
mov rax, qword [0x140505bf0]
mov rcx, qword [rax + 0x3ef8]
test dword [rcx + 0x14], 0x2000000
jne 0x14000a5cc
mov r8d, 0x2813
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400124c0
mov rbx, qword [0x140505bf0]
mov dword [rbx + 0x3f40], esi
mov eax, dword [rbx + 0x5d10]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x14000a6bb
mov ebp, dword [rbx + 0x3f48]
test ebp, ebp
jne 0x14000a602
mov ebp, dword [rbx + 0x3f58]
cmp dword [rbx + 0x5d18], ebp
je 0x14000a646
mov dword [rbx + 0x5d18], ebp
mov dword [rbx + 0x5d14], 0xffffffff
mov ecx, dword [rbx + 0x5d24]
test ecx, ecx
jns 0x14000a640
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5d20]
test eax, eax
cmovg edx, eax
call fcn.1400216f0
mov dword [rbx + 0x5d20], esi
test ebp, ebp
je 0x14000a6bb
movsxd rax, dword [rbx + 0x5d14]
test eax, eax
js 0x14000a67c
cmp eax, dword [rbx + 0x5d20]
jge 0x14000a67c
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5d28]
cmp byte [rax + rcx*8 + 5], sil
jne 0x14000a676
cmp byte [rax + rcx*8 + 4], 2
jle 0x14000a67c
inc dword [rbx + 0x5d14]
movsxd rdx, dword [rbx + 0x5d14]
cmp edx, 0xffffffff
jne 0x14000a690
mov dword [rbx + 0x3f40], ebp
jmp 0x14000a6bb
test edx, edx
js 0x14000a6bb
cmp edx, dword [rbx + 0x5d20]
jge 0x14000a6bb
mov rax, qword [rbx + 0x5d28]
lea rbp, [rdx + rdx*8]
mov ecx, dword [rax + rbp*8]
mov dword [rbx + 0x3f40], ecx
mov rax, qword [rbx + 0x5d28]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rdi + 0x5cf1]
mov r14, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x14000a6ee
sub al, 1
mov byte [rdi + 0x5cf1], al
jne 0x14000a6ee
mov dword [rdi + 0x477c], esi
movzx eax, byte [rdi + 0x5cf0]
test al, al
je 0x14000a716
sub al, 1
mov byte [rdi + 0x5cf0], al
jne 0x14000a716
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.1400201d0
and dword [rdi + 0x5cc4], 0xffffffef
mov rax, qword [0x140505bf0]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1401733f0]
xor r8d, r8d
mov byte [rdi + 0x3e5d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47d0], 2
movsd qword [rax + 0x47f0], xmm0
mov dword [rax + 0x47d8], 4
call fcn.14000fcc0
mov rax, qword [rdi + 0x3ef8]
cmp byte [rax + 0xbe], 1
je 0x14000a786
mov r8d, 0x123a
lea rdx, str.C:UsersJeremDesktopMAGIC_Ximgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0x85], sil
je 0x14000a7d1
movsx edx, byte [rdi + 0x5cf2]
cmp dl, 0xff
je 0x14000a7d4
mov eax, dword [rdi + 0x3e50]
and eax, 0x80000003
jge 0x14000a7af
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, edx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub esi, eax
jmp 0x14000a7d4
mov sil, 0xff
mov edx, 1
mov byte [rdi + 0x5cf2], sil
mov rcx, rdi
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.140007550