Function at 0x140007d70
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
sub rsp, 0xb8
mov rdi, qword [0x14013b368]
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 0x140007dd7
mov r8d, 0x110d
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 [0x14013b368]
mov ebx, dword [rdi + 0x5c10]
sub ebx, 1
js 0x140007ecd
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
cmp ebx, dword [rdi + 0x5c10]
jl 0x140007e12
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x5c18]
cmp dword [rax + rbp + 4], 7
jne 0x140007ebc
cmp ebx, dword [rdi + 0x5c10]
jl 0x140007e46
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x5c18]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140007e69
movsxd rax, dword [rdi + 0x5c10]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140007e83
mov r8d, 0x71a
lea rdx, [0x1400cb840]
lea rcx, [0x1400d0878]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c18]
movsxd r8, dword [rdi + 0x5c10]
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 + 0x5c10]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x140007df0
xor edx, edx
mov rcx, rdi
call fcn.140006550
call fcn.140014290
mov rbx, qword [0x14013b368]
xor esi, esi
cmp byte [rbx + 0x5bc9], sil
jne 0x140007f71
cmp dword [rbx + 0x5bf0], esi
je 0x140007f14
mov r8d, 0x3150
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 0x140007f6a
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.140003500
mov rbp, rax
test rax, rax
je 0x140007f6a
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140007f4f
mov rcx, rax
call fcn.14001b8e0
mov rcx, qword [0x14013b368]
test rcx, rcx
je 0x140007f61
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5bc9], 1
movss xmm0, dword [rbx + 0x5bcc]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x140008010
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5bcc], xmm0
jb 0x140008010
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x140008003
mov rax, qword [0x14013b368]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
mov dword [rax + 0x5bcc], esi
call fcn.14001bc90
lea rdx, [0x1400d055c]
mov rcx, rbp
mov r14, rax
call fcn.140003350
mov rbp, rax
test rax, rax
je 0x14000800a
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 0x14000800a
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5bcc], esi
inc dword [rdi + 0x3e70]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e7c], 1
mov word [rdi + 0x5b82], si
mov dword [rdi + 0x3ee0], esi
addsd xmm0, qword [rdi + 0x3e68]
movsd qword [rdi + 0x3e68], xmm0
mov ecx, dword [rdi + 0x5b9c]
test ecx, ecx
jns 0x140008068
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5b98]
test eax, eax
cmovg edx, eax
call fcn.14001e020
movss xmm11, dword [0x1400d8538]
movss xmm10, dword [0x1400d8404]
mov dword [rdi + 0x5b98], esi
movsxd rax, dword [rdi + 0x5e08]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5d18]
addss xmm0, dword [rdi + 0x5e10]
movss dword [rdi + 0x5e10], xmm0
movss dword [rdi + rax*4 + 0x5d18], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5e08]
movss xmm2, dword [rdi + 0x5e10]
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 + 0x5e0c]
inc eax
mov dword [rdi + 0x5e08], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5e0c], ecx
jbe 0x140008112
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140008116
movaps xmm1, xmm11
movss dword [rdi + 0xe0], xmm1
mov ecx, dword [rdi + 0x37e4]
test ecx, ecx
jns 0x140008144
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x37e0]
test eax, eax
cmovg edx, eax
call fcn.14001de50
mov dword [rdi + 0x37e0], esi
movzx ecx, byte [rdi + 0x7a]
call fcn.140013800
mov rbp, qword [0x14013b368]
cmp dword [rbp + 0x48c0], 1
je 0x14000817d
mov r8d, 0x32ba
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 + 0x48c0], esi
jg 0x14000819f
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x48c8]
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 + 0x48c0]
test eax, eax
jle 0x1400082a0
mov rbx, rsi
test rbx, rbx
js 0x1400081db
cmp r14d, eax
jl 0x1400081f5
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x48c8]
movaps xmm3, xmm12
inc r14d
mov rcx, qword [rax + rbx*8]
inc rbx
movsd xmm4, qword [rcx + 0xa8]
movsd xmm2, qword [rcx + 0xb0]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0xa0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xb0], rsi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa8], rsi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x98], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm12
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
mov eax, dword [rbp + 0x48c0]
cmp r14d, eax
jl 0x1400081d1
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x14013b368]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400082e2
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], esi
jg 0x1400082db
mov r8d, 0x702
lea rdx, [0x1400cb840]
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.140010d60
mov rax, qword [rdi + 0x3c38]
cmp qword [rax + 0x40], rsi
jne 0x14000830e
mov r8d, 0x1136
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x1400d8550]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48c0]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, esi
test eax, eax
jle 0x1400083af
mov rbp, rsi
test rbp, rbp
js 0x14000833d
cmp ebx, eax
jl 0x140008357
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x48c8]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 4]
comiss xmm9, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x140008386
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x140008390
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x140008398
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x1400083a0
movaps xmm7, xmm1
mov eax, dword [rdi + 0x48c0]
inc ebx
inc rbp
cmp ebx, eax
jl 0x140008334
movss dword [rdi + 0x3c64], xmm9
movss dword [rdi + 0x3c68], xmm8
movss dword [rdi + 0x3c6c], xmm6
movss dword [rdi + 0x3c70], xmm7
mov eax, dword [rdi + 0x38c4]
movss xmm6, dword [rdi + 0x38c8]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov dword [rdi + 0x3c5c], eax
movss xmm0, dword [rdi + 0x3c60]
ucomiss xmm0, xmm6
jp 0x14000840f
je 0x1400084e2
comiss xmm6, xmm12
ja 0x14000842f
mov r8d, 0x186
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui_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 + 0x3c60], xmm6
lea r14, [rdi + 0x3e0c]
movss xmm6, dword [0x1400d8458]
mov ebx, esi
mov ebp, 0x800
nop dword [rax]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x1400084a7
movss xmm1, dword [rdi + 0x3c60]
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, 0x64
jge 0x1400084a0
mov eax, 0x64
jmp 0x1400084ac
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400084ac
mov eax, 0x30
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x140008450
movss xmm0, dword [0x1400d83a8]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c60]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3e08], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c74], esi
cmp byte [rdi + 0x38c0], sil
je 0x14000850c
mov dword [rdi + 0x3c74], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x38c1], sil
je 0x140008531
mov rax, qword [rdi + 0x3c38]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140008531
or edx, 2
mov dword [rdi + 0x3c74], edx
cmp byte [rdi + 0x38c2], sil
je 0x140008543
or edx, 4
mov dword [rdi + 0x3c74], edx
test byte [rdi + 0xc], 8
je 0x140008552
or edx, 8
mov dword [rdi + 0x3c74], edx
mov eax, dword [rdi + 0x48c0]
mov ebx, esi
test eax, eax
jle 0x1400085ad
mov rbp, rsi
test rbp, rbp
js 0x14000856a
cmp ebx, eax
jl 0x140008584
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x48c8]
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 + 0x48c0]
cmp ebx, eax
jl 0x140008561
cmp byte [rdi + 0x4a74], sil
je 0x1400085e8
mov eax, dword [rdi + 0x4a94]
cmp eax, dword [rdi + 0x3f50]
jne 0x1400085e8
mov rcx, qword [0x14013b368]
cmp dword [rcx + 0x3f50], eax
jne 0x1400085d9
mov dword [rcx + 0x3f54], eax
cmp dword [rcx + 0x3f80], eax
jne 0x1400085e8
mov byte [rcx + 0x3f84], 1
cmp dword [rdi + 0x3f40], esi
jne 0x1400085f8
mov dword [rdi + 0x3f48], esi
jmp 0x14000860a
mov eax, dword [rdi + 0x3f3c]
test eax, eax
je 0x140008610
cmp dword [rdi + 0x3f50], eax
jne 0x140008610
mov dword [rdi + 0x3f4c], esi
mov eax, dword [rdi + 0x3f3c]
test eax, eax
je 0x14000864a
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f48]
movss dword [rdi + 0x3f48], xmm0
cmp dword [rdi + 0x3f50], eax
je 0x14000864a
addss xmm1, dword [rdi + 0x3f4c]
movss dword [rdi + 0x3f4c], xmm1
mov dword [rdi + 0x3f40], eax
mov eax, dword [rdi + 0x3f50]
mov dword [rdi + 0x3f3c], esi
mov word [rdi + 0x3f44], si
test eax, eax
je 0x140008691
cmp dword [rdi + 0x3f54], eax
je 0x140008691
cmp dword [rdi + 0x3f80], eax
jne 0x140008691
test byte [rdi + 0x5ca4], 1
je 0x14000868c
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001c9e0
call fcn.140006fc0
mov ebx, dword [rdi + 0x3f50]
test ebx, ebx
je 0x1400086b0
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f58]
movss dword [rdi + 0x3f58], xmm0
mov rax, qword [rdi + 0x3f70]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f94]
mov qword [rdi + 0x3f88], rax
movzx eax, byte [rdi + 0x3f60]
mov byte [rdi + 0x3f85], al
mov eax, dword [rdi + 0x5b08]
movss dword [rdi + 0x3f94], xmm0
mov dword [rdi + 0x3f80], ebx
mov dword [rdi + 0x3f54], esi
mov byte [rdi + 0x3f61], sil
mov byte [rdi + 0x3f84], sil
mov byte [rdi + 0x3f5c], sil
test eax, eax
je 0x140008715
cmp ebx, eax
je 0x140008715
mov dword [rdi + 0x5b08], esi
test ebx, ebx
jne 0x14000872e
mov dword [rdi + 0x4760], esi
mov byte [rdi + 0x4764], sil
mov dword [rdi + 0x4768], esi
jmp 0x140008775
mov eax, dword [rdi + 0x4768]
test eax, eax
je 0x140008775
test al, 2
je 0x14000874f
mov ecx, 0x20e
call fcn.1400022c0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], si
test dword [rdi + 0x4768], 0xfffffffd
je 0x140008775
mov r8d, 0x1189
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.cpp
lea rcx, [0x1400cb9b0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4be8]
movss xmm0, dword [rdi + 0x4bf0]
mov dword [rdi + 0x4bec], eax
test eax, eax
je 0x1400087a8
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bf4], esi
mov dword [rdi + 0x4be8], esi
movss dword [rdi + 0x4bf0], xmm0
jmp 0x1400087e2
comiss xmm0, xmm12
jbe 0x1400087e2
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400d83b4]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bf4]
addss xmm2, xmm2
movss dword [rdi + 0x4bf4], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1400087e2
mov qword [rdi + 0x4bf0], rsi
mov eax, dword [rdi + 0x4ae4]
mov dword [rdi + 0x4ae8], eax
mov qword [rdi + 0x4ae0], 0x7f7fffff
mov word [rdi + 0x4a75], si
mov dword [rdi + 0x4af0], esi
call fcn.1400121c0
call fcn.140017f50
call fcn.1400129a0
call fcn.140007940
mov rbx, qword [0x14013b368]
mov rcx, qword [rbx + 0x3f08]
test rcx, rcx
je 0x140008942
mov eax, dword [rbx + 0x3f50]
mov dword [rbx + 0x3f54], eax
cmp dword [rbx + 0x3f80], eax
jne 0x14000884c
mov byte [rbx + 0x3f84], 1
cmp qword [rcx + 0x378], rsi
jne 0x14000886f
mov r8d, 0x1069
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 + 0x3f08]
mov r14, qword [rax + 0x378]
cmp byte [rbx + 0xe10], sil
je 0x140008939
cmp qword [0x14013b368], rsi
lea rbp, [rbx + 0xe08]
jne 0x1400088b4
mov r8d, 0x2055
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
jne 0x1400088c7
mov rbp, qword [0x14013b368]
add rbp, 0xe08
movss xmm0, dword [rbp]
movss xmm1, dword [0x1400d854c]
comiss xmm0, xmm1
movss xmm2, dword [rbp + 4]
jb 0x140008939
comiss xmm2, xmm1
jb 0x140008939
movss xmm0, dword [rbx + 0xe08]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe0c]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f64]
subss xmm1, dword [rbx + 0x3f68]
mov rcx, r14
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140010fc0
mov rcx, qword [rbx + 0x3f08]
call fcn.140010b30
jmp 0x14000897c
mov qword [rbx + 0x3f08], rsi
jmp 0x140008977
mov rcx, qword [rbx + 0x3f70]
test rcx, rcx
je 0x14000897c
mov eax, dword [rbx + 0x3f50]
cmp dword [rcx + 0x7c], eax
jne 0x14000897c
mov dword [rbx + 0x3f54], eax
cmp dword [rbx + 0x3f80], eax
jne 0x14000896e
mov byte [rbx + 0x3f84], 1
cmp byte [rbx + 0xe10], sil
jne 0x14000897c
call fcn.140006fc0
mov r8, qword [0x14013b368]
mov eax, dword [r8 + 0x4898]
sub eax, 1
js 0x1400089bf
mov r8, qword [r8 + 0x48a0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1400089b5
test dword [rax + 0x14], 0x8000000
jne 0x1400089d6
sub r8, 0x38
sub rdx, 1
jns 0x1400089a4
cmp qword [rdi + 0x4a38], rsi
je 0x1400089f2
movss xmm0, dword [rdi + 0x4a54]
comiss xmm0, xmm12
jbe 0x1400089f2
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1400d8478]
addss xmm1, dword [rdi + 0x4a6c]
minss xmm1, xmm10
jmp 0x140008a10
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400d848c]
movss xmm1, dword [rdi + 0x4a6c]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a6c], xmm1
movups xmm0, xmmword [rdi + 0x5ba8]
mov dword [rdi + 0x4a70], esi
mov qword [rdi + 0x5e18], 0xffffffffffffffff
movups xmmword [rdi + 0x5bb8], xmm0
mov dword [rdi + 0x5e14], 0xffffffff
mov byte [rdi + 0x5ba8], sil
call fcn.140012fc0
mov eax, dword [rdi + 0x3e90]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3ea0], eax
jle 0x140008a81
mov r8d, 0x11d0
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 + 0x3e90]
cmp byte [rdi + 0x3e7f], sil
jne 0x140008aab
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140008aab
movsd xmm11, qword [rdi + 0x3e68]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x140008c40
mov r14, rsi
test r14, r14
js 0x140008ac1
cmp ebp, eax
jl 0x140008adb
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x3e98]
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 0x140008c2d
cmp byte [rbx + 0x3d4], sil
jne 0x140008c2d
comiss xmm11, dword [rbx + 0x264]
jbe 0x140008c2d
mov rcx, qword [rbx + 0x298]
mov byte [rbx + 0x3d4], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3cc], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3d0], eax
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x140008b8b
mov rax, qword [0x14013b368]
mov qword [rbx + 0xf0], rsi
test rax, rax
je 0x140008b7e
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.14001fba0
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140008bc9
mov rax, qword [0x14013b368]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140008bbc
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 0x140008bfb
mov rax, qword [0x14013b368]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x140008bee
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 0x140008c2d
mov rax, qword [0x14013b368]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x140008c20
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 + 0x3e90]
inc ebp
inc r14
cmp ebp, eax
jne 0x140008ab8
mov eax, dword [rdi + 0x4b78]
mov ebx, esi
test eax, eax
jle 0x140008d0b
mov rbp, rsi
test ebx, ebx
js 0x140008c5b
cmp ebx, eax
jl 0x140008c75
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b80]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm12
jb 0x140008cf7
test ebx, ebx
js 0x140008c93
cmp ebx, dword [rdi + 0x4b78]
jl 0x140008cad
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b80]
comiss xmm11, dword [rax + rbp]
jbe 0x140008cf7
test ebx, ebx
js 0x140008cc7
cmp ebx, dword [rdi + 0x4b50]
jl 0x140008ce1
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b58]
call fcn.14002db00
mov eax, dword [rdi + 0x4b78]
inc ebx
add rbp, 4
cmp ebx, eax
jl 0x140008c53
mov eax, dword [rdi + 0x4b40]
mov ebp, esi
mov qword [rsp + 0xb0], r15
test eax, eax
jle 0x140008df7
mov r15, rsi
mov r14, rsi
nop dword [rax]
test r15, r15
js 0x140008d39
cmp ebp, eax
jl 0x140008d53
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b48]
movss xmm0, dword [r14 + rax + 4]
comiss xmm0, xmm12
jb 0x140008de0
test r15, r15
js 0x140008d74
cmp ebp, dword [rdi + 0x4b40]
jl 0x140008d8e
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b48]
comiss xmm11, dword [r14 + rax + 4]
jbe 0x140008de0
test r15, r15
js 0x140008daa
cmp ebp, dword [rdi + 0x4b40]
jl 0x140008dc4
mov r8d, 0x702
lea rdx, [0x1400cb840]
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 + 0x4b48]
lea rcx, [rbx + 0x10]
add rcx, r14
call fcn.140024710
mov dword [r14 + rbx + 4], 0xbf800000
mov eax, dword [rdi + 0x4b40]
inc ebp
inc r15
add r14, 0x70
cmp ebp, eax
jl 0x140008d30
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e7f], sil
je 0x140008e78
mov rax, qword [0x14013b368]
mov rbx, rax
mov rcx, qword [rax + 0x4880]
test rcx, rcx
je 0x140008e48
mov qword [rax + 0x4878], rsi
test rax, rax
je 0x140008e34
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14013b368]
mov qword [rbx + 0x4880], rsi
mov rcx, qword [rbx + 0x4890]
test rcx, rcx
je 0x140008e73
mov qword [rbx + 0x4888], rsi
test rax, rax
je 0x140008e66
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4890], rsi
call fcn.14002dcd0
mov rax, qword [rdi + 0x48d0]
mov byte [rdi + 0x3e7f], sil
test rax, rax
je 0x140008e9b
cmp byte [rax + 0xb7], sil
jne 0x140008e9b
xor ecx, ecx
call fcn.140010c50
mov ecx, dword [rdi + 0x3ec4]
test ecx, ecx
jns 0x140008ec1
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ec0]
test eax, eax
cmovg edx, eax
call fcn.14001ddc0
mov dword [rdi + 0x3ec0], esi
mov ecx, dword [rdi + 0x48ac]
test ecx, ecx
jns 0x140008eed
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x48a8]
test eax, eax
cmovg edx, eax
call fcn.14001dd30
lea rbx, [rdi + 0x4878]
mov dword [rdi + 0x48a8], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140008f19
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.14001e020
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140008f2d
mov edx, 8
mov rcx, rbx
call fcn.14001e020
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x4888]
inc dword [rbx]
call fcn.14001d3d0
mov rbp, qword [0x14013b368]
mov dword [rbp + 0x5cd8], esi
cmp byte [rbp + 0x5cd3], sil
je 0x1400090d8
mov r15d, dword [rbp + 0x3f40]
xor edx, edx
mov ecx, 0x20e
mov dword [rbp + 0x4a70], 7
lea r8d, [rdx + 1]
call fcn.140011d30
test al, al
je 0x140008f8d
mov byte [rbp + 0x5cd3], sil
mov r14d, dword [rbp + 0xe24]
cmp r14d, 0x3000
je 0x140008fc5
movzx ecx, byte [rbp + 0x5cd4]
xor r8d, r8d
xor edx, edx
call fcn.140011f00
test al, al
je 0x140008fc5
test r15d, r15d
je 0x140008fc5
mov dword [rbp + 0x5cd8], r15d
mov byte [rbp + 0x5cd3], sil
mov ebx, esi
cmp r14d, 0x3000
jne 0x140008fe6
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140011f00
test al, al
je 0x140008fe6
mov byte [rbp + 0x5cd4], bl
inc ebx
cmp ebx, 3
jl 0x140008fc7
mov rax, qword [0x14013b368]
xor ecx, ecx
or dword [rax + 0x47c8], 0x40
mov dword [rax + 0x4828], 0x3f333333
call fcn.1400159d0
test al, al
je 0x1400090d8
mov edx, r15d
lea rcx, str.HoveredId:_0x_08X
call fcn.14002ee20
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14002ee20
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 0x14000906a
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.14002ee20
jmp 0x1400090a2
movzx r8d, byte [rbp + 0x5cd4]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r15d, r15d
mov eax, 0x10
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x14013b368]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38d8
add rcx, rax
call fcn.14002ef60
mov rax, qword [0x14013b368]
mov rcx, qword [rax + 0x3ef0]
test dword [rcx + 0x14], 0x2000000
jne 0x1400090d3
mov r8d, 0x2724
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140010160
mov rbx, qword [0x14013b368]
mov r15, qword [rsp + 0xb0]
mov dword [rbx + 0x3f38], esi
mov eax, dword [rbx + 0x5cf0]
inc eax
cmp dword [rbx + 0x3e70], eax
jne 0x1400091ca
mov ebp, dword [rbx + 0x3f40]
test ebp, ebp
jne 0x140009111
mov ebp, dword [rbx + 0x3f50]
cmp dword [rbx + 0x5cf8], ebp
je 0x140009155
mov dword [rbx + 0x5cf8], ebp
mov dword [rbx + 0x5cf4], 0xffffffff
mov ecx, dword [rbx + 0x5d04]
test ecx, ecx
jns 0x14000914f
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5d00]
test eax, eax
cmovg edx, eax
call fcn.14001def0
mov dword [rbx + 0x5d00], esi
test ebp, ebp
je 0x1400091ca
movsxd rax, dword [rbx + 0x5cf4]
test eax, eax
js 0x14000918b
cmp eax, dword [rbx + 0x5d00]
jge 0x14000918b
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5d08]
cmp byte [rax + rcx*8 + 5], sil
jne 0x140009185
cmp byte [rax + rcx*8 + 4], 2
jle 0x14000918b
inc dword [rbx + 0x5cf4]
movsxd rdx, dword [rbx + 0x5cf4]
cmp edx, 0xffffffff
jne 0x14000919f
mov dword [rbx + 0x3f38], ebp
jmp 0x1400091ca
test edx, edx
js 0x1400091ca
cmp edx, dword [rbx + 0x5d00]
jge 0x1400091ca
mov rax, qword [rbx + 0x5d08]
lea rbp, [rdx + rdx*8]
mov ecx, dword [rax + rbp*8]
mov dword [rbx + 0x3f38], ecx
mov rax, qword [rbx + 0x5d08]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rdi + 0x5cd1]
mov r14, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x1400091fd
sub al, 1
mov byte [rdi + 0x5cd1], al
jne 0x1400091fd
mov dword [rdi + 0x4774], esi
movzx eax, byte [rdi + 0x5cd0]
test al, al
je 0x140009225
sub al, 1
mov byte [rdi + 0x5cd0], al
jne 0x140009225
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14001c9e0
and dword [rdi + 0x5ca4], 0xffffffef
mov rax, qword [0x14013b368]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1400d8514]
xor r8d, r8d
mov byte [rdi + 0x3e7d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47c8], 2
movsd qword [rax + 0x47e8], xmm0
mov dword [rax + 0x47d0], 4
call fcn.14000d730
mov rax, qword [rdi + 0x3ef0]
cmp byte [rax + 0xbe], 1
je 0x140009295
mov r8d, 0x1208
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 0x1400092e0
movsx edx, byte [rdi + 0x5cd2]
cmp dl, 0xff
je 0x1400092e3
mov eax, dword [rdi + 0x3e70]
and eax, 0x80000003
jge 0x1400092be
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 0x1400092e3
mov sil, 0xff
mov edx, 1
mov byte [rdi + 0x5cd2], sil
mov rcx, rdi
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.140006550