Function at 0x140008300
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
sub rsp, 0xb8
mov rdi, qword [0x1401dd210]
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 0x140008367
mov r8d, 0x1106
lea rdx, [0x1400519d0]
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 [0x1401dd210]
mov esi, dword [rdi + 0x5be8]
sub esi, 1
js 0x140008460
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
cmp esi, dword [rdi + 0x5be8]
jl 0x1400083a2
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x5bf0]
cmp dword [rax + rbp + 4], 7
jne 0x14000844f
mov eax, dword [rdi + 0x5be8]
cmp esi, eax
jl 0x1400083de
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x5be8]
mov rcx, qword [rdi + 0x5bf0]
lea rbx, [rcx + r14]
cmp rbx, rcx
jb 0x1400083fc
cdqe
shl rax, 5
add rax, rcx
cmp rbx, rax
jb 0x140008416
mov r8d, 0x719
lea rdx, [0x1400517b0]
lea rcx, [0x140056e48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5bf0]
movsxd r8, dword [rdi + 0x5be8]
sub rbx, rcx
sar rbx, 5
sub r8, rbx
mov rax, rbx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rdi + 0x5be8]
sub r14, 0x20
sub rbp, 0x20
sub esi, 1
jns 0x140008380
xor edx, edx
mov rcx, rdi
call fcn.1400067e0
call fcn.140015730
mov rbx, qword [0x1401dd210]
xor esi, esi
cmp byte [rbx + 0x5ba1], sil
jne 0x140008504
cmp dword [rbx + 0x5bc8], esi
je 0x1400084a7
mov r8d, 0x3143
lea rdx, [0x1400519d0]
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 0x1400084fd
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.140003450
mov rbp, rax
test rax, rax
je 0x1400084fd
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1400084e2
mov rcx, rax
call fcn.14001d580
mov rcx, qword [0x1401dd210]
test rcx, rcx
je 0x1400084f4
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ba1], 1
movss xmm0, dword [rbx + 0x5ba4]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x1400085a3
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5ba4], xmm0
jb 0x1400085a3
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x140008596
mov rax, qword [0x1401dd210]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
mov dword [rax + 0x5ba4], esi
call fcn.14001d950
lea rdx, [0x140056b1c]
mov rcx, rbp
mov r14, rax
call fcn.1400032a0
mov rbp, rax
test rax, rax
je 0x14000859d
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 0x14000859d
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5ba4], esi
inc dword [rdi + 0x3e48]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e54], 1
mov word [rdi + 0x5b5a], si
mov dword [rdi + 0x3eb8], esi
addsd xmm0, qword [rdi + 0x3e40]
movsd qword [rdi + 0x3e40], xmm0
mov ecx, dword [rdi + 0x5b74]
test ecx, ecx
jns 0x1400085fb
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5b70]
test eax, eax
cmovg edx, eax
call fcn.14001fc90
movss xmm11, dword [0x14005f3d0]
movss xmm10, dword [0x14005f244]
mov dword [rdi + 0x5b70], esi
movsxd rax, dword [rdi + 0x5de0]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5cf0]
addss xmm0, dword [rdi + 0x5de8]
movss dword [rdi + 0x5de8], xmm0
movss dword [rdi + rax*4 + 0x5cf0], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5de0]
movss xmm2, dword [rdi + 0x5de8]
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 + 0x5de4]
inc eax
mov dword [rdi + 0x5de0], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5de4], ecx
jbe 0x1400086a5
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400086a9
movaps xmm1, xmm11
movss dword [rdi + 0xe0], xmm1
mov ecx, dword [rdi + 0x37e4]
test ecx, ecx
jns 0x1400086d7
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.14001fac0
mov dword [rdi + 0x37e0], esi
movzx ecx, byte [rdi + 0x7a]
call fcn.140014ca0
mov r14, qword [0x1401dd210]
cmp dword [r14 + 0x4898], 1
je 0x140008711
mov r8d, 0x32ad
lea rdx, [0x1400519d0]
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [r14 + 0x4898], esi
jg 0x140008734
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x48a0]
mov ebp, esi
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [r14 + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [r14 + 0x4898]
test eax, eax
jle 0x140008834
mov rbx, rsi
test rbx, rbx
js 0x140008770
cmp ebp, eax
jl 0x14000878a
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x48a0]
movaps xmm3, xmm12
inc ebp
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 [r14 + 0x4898]
cmp ebp, eax
jl 0x140008767
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x1401dd210]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008876
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], esi
jg 0x14000886f
mov r8d, 0x701
lea rdx, [0x1400517b0]
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.140011f80
mov rax, qword [rdi + 0x3c20]
cmp qword [rax + 0x40], rsi
jne 0x1400088a2
mov r8d, 0x112f
lea rdx, [0x1400519d0]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x14005f40c]
movaps xmm6, xmm11
mov eax, dword [rdi + 0x4898]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov ebx, esi
test eax, eax
jle 0x14000894f
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x1400088db
mov edx, eax
cmp ebx, eax
jl 0x1400088fb
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rdi + 0x4898]
mov rax, qword [rdi + 0x48a0]
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 0x140008928
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x140008932
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x14000893a
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x140008944
movaps xmm8, xmm1
inc ebx
inc rbp
mov eax, edx
cmp ebx, edx
jl 0x1400088d0
mov eax, dword [rdi + 0x38c4]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm9
mov dword [rdi + 0x3c44], 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 + 0x3c4c], xmm6
movss xmm0, dword [rdi + 0x3c48]
movups xmmword [rsp + 0x20], xmm6
movss xmm6, dword [rdi + 0x38c8]
ucomiss xmm0, xmm6
jp 0x1400089b7
je 0x140008a87
comiss xmm6, xmm12
ja 0x1400089d7
mov r8d, 0x1a0
lea rdx, [0x14005c080]
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rdi + 0x3c48], xmm6
lea r14, [rdi + 0x3df4]
movss xmm6, dword [0x14005f284]
mov ebx, esi
mov ebp, 0x800
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x140008a4c
movss xmm1, dword [rdi + 0x3c48]
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 0x140008a45
mov eax, 0x64
jmp 0x140008a51
cmp eax, ebp
cmovg eax, ebp
jmp 0x140008a51
mov eax, 0x30
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x1400089f5
movss xmm0, dword [0x14005f1e4]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c48]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3df0], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c5c], esi
cmp byte [rdi + 0x38c0], sil
je 0x140008ab1
mov dword [rdi + 0x3c5c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x38c1], sil
je 0x140008ad6
mov rax, qword [rdi + 0x3c20]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140008ad6
or edx, 2
mov dword [rdi + 0x3c5c], edx
cmp byte [rdi + 0x38c2], sil
je 0x140008ae8
or edx, 4
mov dword [rdi + 0x3c5c], edx
test byte [rdi + 0xc], 8
je 0x140008af7
or edx, 8
mov dword [rdi + 0x3c5c], edx
mov eax, dword [rdi + 0x4898]
mov ebx, esi
test eax, eax
jle 0x140008b52
mov rbp, rsi
test rbp, rbp
js 0x140008b0f
cmp ebx, eax
jl 0x140008b29
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x48a0]
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 + 0x4898]
cmp ebx, eax
jl 0x140008b06
cmp byte [rdi + 0x4a4c], sil
je 0x140008b8d
mov eax, dword [rdi + 0x4a6c]
cmp eax, dword [rdi + 0x3f28]
jne 0x140008b8d
mov rcx, qword [0x1401dd210]
cmp dword [rcx + 0x3f28], eax
jne 0x140008b7e
mov dword [rcx + 0x3f2c], eax
cmp dword [rcx + 0x3f58], eax
jne 0x140008b8d
mov byte [rcx + 0x3f5c], 1
lea rax, [rdi + 0x3f14]
mov ecx, dword [rax]
cmp dword [rdi + 0x3f18], esi
jne 0x140008ba6
mov dword [rdi + 0x3f20], esi
jmp 0x140008bb7
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x140008bc2
cmp dword [rdi + 0x3f28], ecx
jne 0x140008bc2
mov dword [rdi + 0x3f24], esi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x140008bf9
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f20]
movss dword [rdi + 0x3f20], xmm0
cmp dword [rdi + 0x3f28], edx
je 0x140008bf9
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f24]
movss dword [rdi + 0x3f24], xmm0
mov eax, dword [rdi + 0x3f28]
movaps xmm2, xmm1
mov dword [rdi + 0x3f18], edx
mov dword [r8], esi
mov word [rdi + 0x3f1c], si
test eax, eax
je 0x140008c45
cmp dword [rdi + 0x3f2c], eax
je 0x140008c45
cmp dword [rdi + 0x3f58], eax
jne 0x140008c45
test byte [rdi + 0x5c7c], 1
je 0x140008c3b
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001e4d0
call fcn.140007450
movss xmm2, dword [rdi + 0x18]
mov ebx, dword [rdi + 0x3f28]
test ebx, ebx
je 0x140008c62
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x3f30]
movss dword [rdi + 0x3f30], xmm0
mov rax, qword [rdi + 0x3f48]
addss xmm2, dword [rdi + 0x3f6c]
mov qword [rdi + 0x3f60], rax
movzx eax, byte [rdi + 0x3f38]
mov byte [rdi + 0x3f5d], al
mov eax, dword [rdi + 0x5ae0]
movss dword [rdi + 0x3f6c], xmm2
mov dword [rdi + 0x3f58], ebx
mov dword [rdi + 0x3f2c], esi
mov byte [rdi + 0x3f39], sil
mov byte [rdi + 0x3f5c], sil
mov byte [rdi + 0x3f34], sil
test eax, eax
je 0x140008cc2
cmp ebx, eax
je 0x140008cc2
mov dword [rdi + 0x5ae0], esi
test ebx, ebx
jne 0x140008cdb
mov dword [rdi + 0x4738], esi
mov byte [rdi + 0x473c], sil
mov dword [rdi + 0x4740], esi
jmp 0x140008d22
mov eax, dword [rdi + 0x4740]
test eax, eax
je 0x140008d22
test al, 2
je 0x140008cfc
mov ecx, 0x20e
call fcn.1400022d0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], si
test dword [rdi + 0x4740], 0xfffffffd
je 0x140008d22
mov r8d, 0x1182
lea rdx, [0x1400519d0]
lea rcx, [0x1400519a0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4bc0]
movss xmm0, dword [rdi + 0x4bc8]
mov dword [rdi + 0x4bc4], eax
test eax, eax
je 0x140008d55
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bcc], esi
mov dword [rdi + 0x4bc0], esi
movss dword [rdi + 0x4bc8], xmm0
jmp 0x140008d8f
comiss xmm0, xmm12
jbe 0x140008d8f
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x14005f1f8]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bcc]
addss xmm2, xmm2
movss dword [rdi + 0x4bcc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140008d8f
mov qword [rdi + 0x4bc8], rsi
mov eax, dword [rdi + 0x4abc]
mov dword [rdi + 0x4ac0], eax
mov qword [rdi + 0x4ab8], 0x7f7fffff
mov word [rdi + 0x4a4d], si
mov dword [rdi + 0x4ac8], esi
call fcn.1400136d0
call fcn.1400199b0
call fcn.140013e40
call fcn.140007ed0
mov rbx, qword [0x1401dd210]
mov rcx, qword [rbx + 0x3ee0]
test rcx, rcx
je 0x140008eec
mov eax, dword [rbx + 0x3f28]
mov dword [rbx + 0x3f2c], eax
cmp dword [rbx + 0x3f58], eax
jne 0x140008df9
mov byte [rbx + 0x3f5c], 1
cmp qword [rcx + 0x378], rsi
jne 0x140008e1c
mov r8d, 0x1062
lea rdx, [0x1400519d0]
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 + 0x3ee0]
mov r14, qword [rax + 0x378]
cmp byte [rbx + 0xe10], sil
je 0x140008ee3
cmp qword [0x1401dd210], rsi
lea rbp, [rbx + 0xe08]
jne 0x140008e61
mov r8d, 0x2048
lea rdx, [0x1400519d0]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
je 0x140008e6b
mov rax, rbp
jmp 0x140008e78
mov rax, qword [0x1401dd210]
add rax, 0xe08
movss xmm0, dword [rax]
movss xmm1, dword [0x14005f408]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140008ee3
comiss xmm2, xmm1
jb 0x140008ee3
movss xmm0, dword [rbp]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbp + 4]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f3c]
subss xmm1, dword [rbx + 0x3f40]
mov rcx, r14
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140012410
mov rcx, qword [rbx + 0x3ee0]
call fcn.140011d50
jmp 0x140008f26
mov qword [rbx + 0x3ee0], rsi
jmp 0x140008f21
mov rcx, qword [rbx + 0x3f48]
test rcx, rcx
je 0x140008f26
mov eax, dword [rbx + 0x3f28]
cmp dword [rcx + 0x7c], eax
jne 0x140008f26
mov dword [rbx + 0x3f2c], eax
cmp dword [rbx + 0x3f58], eax
jne 0x140008f18
mov byte [rbx + 0x3f5c], 1
cmp byte [rbx + 0xe10], sil
jne 0x140008f26
call fcn.140007450
mov r8, qword [0x1401dd210]
mov eax, dword [r8 + 0x4870]
sub eax, 1
js 0x140008f6b
mov r8, qword [r8 + 0x4878]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x140008f61
test dword [rax + 0x14], 0x8000000
jne 0x140008f82
sub r8, 0x38
sub rdx, 1
jns 0x140008f50
cmp qword [rdi + 0x4a10], rsi
je 0x140008f9e
movss xmm0, dword [rdi + 0x4a2c]
comiss xmm0, xmm12
jbe 0x140008f9e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14005f2ac]
addss xmm1, dword [rdi + 0x4a44]
minss xmm1, xmm10
jmp 0x140008fbc
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14005f2e0]
movss xmm1, dword [rdi + 0x4a44]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a44], xmm1
movups xmm0, xmmword [rdi + 0x5b80]
mov dword [rdi + 0x4a48], esi
mov qword [rdi + 0x5df0], 0xffffffffffffffff
movups xmmword [rdi + 0x5b90], xmm0
mov dword [rdi + 0x5dec], 0xffffffff
mov byte [rdi + 0x5b80], sil
call fcn.140014460
mov eax, dword [rdi + 0x3e68]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e78], eax
jle 0x14000902d
mov r8d, 0x11c9
lea rdx, [0x1400519d0]
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 + 0x3e68]
cmp byte [rdi + 0x3e57], sil
jne 0x140009057
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140009057
movsd xmm11, qword [rdi + 0x3e40]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x1400091ec
mov r14, rsi
test r14, r14
js 0x14000906d
cmp ebp, eax
jl 0x140009087
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x3e70]
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 0x1400091d9
cmp byte [rbx + 0x3d4], sil
jne 0x1400091d9
comiss xmm11, dword [rbx + 0x264]
jbe 0x1400091d9
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 0x140009137
mov rax, qword [0x1401dd210]
mov qword [rbx + 0xf0], rsi
test rax, rax
je 0x14000912a
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.140029120
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140009175
mov rax, qword [0x1401dd210]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140009168
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 0x1400091a7
mov rax, qword [0x1401dd210]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x14000919a
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 0x1400091d9
mov rax, qword [0x1401dd210]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x1400091cc
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 + 0x3e68]
inc ebp
inc r14
cmp ebp, eax
jne 0x140009064
mov ecx, dword [rdi + 0x4b50]
mov ebx, esi
test ecx, ecx
jle 0x1400092ba
mov rbp, rsi
nop
test ebx, ebx
js 0x140009208
cmp ebx, ecx
jl 0x140009228
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rdi + 0x4b50]
mov rax, qword [rdi + 0x4b58]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm12
jb 0x1400092a6
test ebx, ebx
js 0x140009242
cmp ebx, ecx
jl 0x14000925c
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x4b58]
comiss xmm11, dword [rax + rbp]
jbe 0x1400092a6
test ebx, ebx
js 0x140009276
cmp ebx, dword [rdi + 0x4b28]
jl 0x140009290
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x4b30]
call fcn.140033a60
mov ecx, dword [rdi + 0x4b50]
inc ebx
add rbp, 4
cmp ebx, ecx
jl 0x140009200
mov ecx, dword [rdi + 0x4b18]
mov ebp, esi
mov qword [rsp + 0xb0], r15
test ecx, ecx
jle 0x1400093a3
mov r15, rsi
mov r14, rsi
test r15, r15
js 0x1400092e1
cmp ebp, ecx
jl 0x140009301
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rdi + 0x4b18]
mov rax, qword [rdi + 0x4b20]
movss xmm0, dword [r14 + rax + 4]
comiss xmm0, xmm12
jb 0x14000938c
test r15, r15
js 0x14000931e
cmp ebp, ecx
jl 0x14000933e
mov r8d, 0x701
lea rdx, [0x1400517b0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rdi + 0x4b18]
mov rax, qword [rdi + 0x4b20]
comiss xmm11, dword [r14 + rax + 4]
jbe 0x14000938c
test r15, r15
js 0x140009356
cmp ebp, ecx
jl 0x140009370
mov r8d, 0x701
lea rdx, [0x1400517b0]
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 + 0x4b20]
lea rcx, [rbx + 0x10]
add rcx, r14
call fcn.14002c6f0
mov dword [r14 + rbx + 4], 0xbf800000
mov ecx, dword [rdi + 0x4b18]
inc ebp
inc r15
add r14, 0x70
cmp ebp, ecx
jl 0x1400092d8
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e57], sil
je 0x140009424
mov rax, qword [0x1401dd210]
mov rbx, rax
mov rcx, qword [rax + 0x4858]
test rcx, rcx
je 0x1400093f4
mov qword [rax + 0x4850], rsi
test rax, rax
je 0x1400093e0
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401dd210]
mov qword [rbx + 0x4858], rsi
mov rcx, qword [rbx + 0x4868]
test rcx, rcx
je 0x14000941f
mov qword [rbx + 0x4860], rsi
test rax, rax
je 0x140009412
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4868], rsi
call fcn.140033c30
mov rax, qword [rdi + 0x48a8]
mov byte [rdi + 0x3e57], sil
test rax, rax
je 0x140009447
cmp byte [rax + 0xb7], sil
jne 0x140009447
xor ecx, ecx
call fcn.140011e70
mov ecx, dword [rdi + 0x3e9c]
test ecx, ecx
jns 0x14000946d
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3e98]
test eax, eax
cmovg edx, eax
call fcn.14001fa30
mov dword [rdi + 0x3e98], esi
mov ecx, dword [rdi + 0x4884]
test ecx, ecx
jns 0x140009499
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x4880]
test eax, eax
cmovg edx, eax
call fcn.14001f9a0
lea rbx, [rdi + 0x4850]
mov dword [rdi + 0x4880], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x1400094c5
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.14001fc90
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x1400094d9
mov edx, 8
mov rcx, rbx
call fcn.14001fc90
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x4860]
inc dword [rbx]
call fcn.14001f050
mov rbp, qword [0x1401dd210]
mov dword [rbp + 0x5cb0], esi
cmp byte [rbp + 0x5cab], sil
je 0x140009684
mov r15d, dword [rbp + 0x3f18]
xor edx, edx
mov ecx, 0x20e
mov dword [rbp + 0x4a48], 7
lea r8d, [rdx + 1]
call fcn.140013240
test al, al
je 0x140009539
mov byte [rbp + 0x5cab], sil
mov r14d, dword [rbp + 0xe24]
cmp r14d, 0x3000
je 0x140009571
movzx ecx, byte [rbp + 0x5cac]
xor r8d, r8d
xor edx, edx
call fcn.140013410
test al, al
je 0x140009571
test r15d, r15d
je 0x140009571
mov dword [rbp + 0x5cb0], r15d
mov byte [rbp + 0x5cab], sil
mov ebx, esi
cmp r14d, 0x3000
jne 0x140009592
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140013410
test al, al
je 0x140009592
mov byte [rbp + 0x5cac], bl
inc ebx
cmp ebx, 3
jl 0x140009573
mov rax, qword [0x1401dd210]
xor ecx, ecx
or dword [rax + 0x47a0], 0x40
mov dword [rax + 0x4800], 0x3f333333
call fcn.140016f80
test al, al
je 0x140009684
mov edx, r15d
lea rcx, str.HoveredId:_0x_08X
call fcn.140034e50
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140034e50
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 0x140009616
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140034e50
jmp 0x14000964e
movzx r8d, byte [rbp + 0x5cac]
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 [0x1401dd210]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38cc
add rcx, rax
call fcn.140034f90
mov rax, qword [0x1401dd210]
mov rcx, qword [rax + 0x3ec8]
test dword [rcx + 0x14], 0x2000000
jne 0x14000967f
mov r8d, 0x2717
lea rdx, [0x1400519d0]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140011380
call fcn.14001e780
movzx eax, byte [rdi + 0x5ca9]
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x1400096c4
sub al, 1
mov byte [rdi + 0x5ca9], al
jne 0x1400096c4
mov dword [rdi + 0x474c], esi
movzx eax, byte [rdi + 0x5ca8]
test al, al
je 0x1400096ec
sub al, 1
mov byte [rdi + 0x5ca8], al
jne 0x1400096ec
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14001e4d0
and dword [rdi + 0x5c7c], 0xffffffef
mov rax, qword [0x1401dd210]
lea rcx, str.DebugDefault
movss xmm1, dword [0x14005f398]
xor r8d, r8d
mov byte [rdi + 0x3e55], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47a0], 2
movsd qword [rax + 0x47c0], xmm0
mov dword [rax + 0x47a8], 4
call fcn.14000e860
mov rax, qword [rdi + 0x3ec8]
cmp byte [rax + 0xbe], 1
je 0x14000975c
mov r8d, 0x1201
lea rdx, [0x1400519d0]
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 0x1400097a7
movsx ecx, byte [rdi + 0x5caa]
cmp cl, 0xff
je 0x1400097aa
mov eax, dword [rdi + 0x3e48]
and eax, 0x80000003
jge 0x140009785
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, ecx
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 0x1400097aa
mov sil, 0xff
mov edx, 1
mov byte [rdi + 0x5caa], sil
mov rcx, rdi
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.1400067e0