Function at 0x140008230
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
mov rbx, qword [0x1401ad830]
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], 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 + 0x20], xmm12
test rbx, rbx
jne 0x140008296
mov r8d, 0xfb9
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 rbx, qword [0x1401ad830]
mov edi, dword [rbx + 0x3240]
sub edi, 1
mov qword [rsp + 0xb8], rbp
js 0x1400083a6
movsxd rbp, edi
lea r14, [rbx + 0x3248]
shl rbp, 5
mov qword [rsp + 0x90], r15
mov r15, rbp
cmp edi, dword [rbx + 0x3240]
jl 0x1400082e8
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 [r14]
cmp dword [rax + rbp + 4], 7
jne 0x14000838d
cmp edi, dword [rbx + 0x3240]
jl 0x140008318
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 [r14]
lea rsi, [rcx + r15]
cmp rsi, rcx
jb 0x140008337
movsxd rax, dword [rbx + 0x3240]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140008351
mov r8d, 0x6df
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.h
lea rcx, [0x1400e27e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0x3240]
lea r14, [rbx + 0x3248]
mov rcx, qword [r14]
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 [rbx + 0x3240]
sub r15, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x1400082c6
mov r15, qword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
call fcn.140006a10
mov eax, dword [rbx + 0x1a6c]
mov dword [rbx + 0x1a70], eax
call fcn.140013600
mov rdi, qword [0x1401ad830]
xor r14d, r14d
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a6c], eax
cmp byte [rdi + 0x31f8], r14b
jne 0x140008458
cmp dword [rdi + 0x3220], r14d
je 0x140008400
mov r8d, 0x2af5
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140008451
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], r14
call fcn.1400034f0
mov rsi, rax
test rax, rax
je 0x140008451
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.14001b0e0
mov rcx, qword [0x1401ad830]
test rcx, rcx
je 0x140008448
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x31f8], 1
movss xmm0, dword [rdi + 0x31fc]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1400084f6
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x31fc], xmm0
jb 0x1400084f6
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x1400084e8
mov rax, qword [0x1401ad830]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], r14
mov dword [rax + 0x31fc], r14d
call fcn.14001b5c0
lea rdx, [0x1400e0a6c]
mov rcx, rsi
mov rbp, rax
call fcn.140003340
mov rsi, rax
test rax, rax
je 0x1400084ef
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400084ef
mov byte [rdi + 0x398], 1
mov dword [rdi + 0x31fc], r14d
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x3190]
inc dword [rbx + 0x1c90]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1ca0], 1
mov dword [rbx + 0x3178], r14d
mov dword [rbx + 0x1d08], r14d
addsd xmm0, qword [rbx + 0x1c88]
movsd qword [rbx + 0x1c88], xmm0
call fcn.140029b20
movsxd rax, dword [rbx + 0x3494]
movss xmm1, dword [rbx + 0x18]
movss xmm12, dword [0x1400ec960]
movaps xmm0, xmm1
movss xmm11, dword [0x1400ec828]
subss xmm0, dword [rbx + rax*4 + 0x32b4]
addss xmm0, dword [rbx + 0x3498]
movss dword [rbx + 0x3498], xmm0
movss dword [rbx + rax*4 + 0x32b4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3494]
movss xmm1, dword [rbx + 0x3498]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rbx + 0x3494], ecx
jbe 0x1400085bf
divss xmm1, dword [0x1400ec908]
movaps xmm0, xmm11
divss xmm0, xmm1
jmp 0x1400085c3
movaps xmm0, xmm12
movss dword [rbx + 0x39c], xmm0
call fcn.14001c8f0
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x1401ad830]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x14000861c
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x48], r14d
jg 0x140008615
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x50]
mov rcx, qword [rax]
call fcn.1400129f0
mov rax, qword [rbx + 0x1a78]
cmp qword [rax + 0x40], r14
jne 0x140008648
mov r8d, 0xfdf
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400ec984]
movaps xmm10, xmm12
mov eax, dword [rbx + 0x1ef0]
movaps xmm8, xmm7
movaps xmm9, xmm12
mov edi, r14d
test eax, eax
jle 0x1400086ed
mov rsi, r14
test rsi, rsi
js 0x140008679
cmp edi, eax
jl 0x140008693
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x1ef8]
mov rcx, qword [rax + rsi*8]
movss xmm3, dword [rcx + 8]
comiss xmm10, xmm3
movss xmm2, dword [rcx + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x14]
jbe 0x1400086c2
movaps xmm10, xmm3
comiss xmm9, xmm2
jbe 0x1400086cc
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x1400086d4
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x1400086de
movaps xmm8, xmm1
mov eax, dword [rbx + 0x1ef0]
inc edi
inc rsi
cmp edi, eax
jl 0x140008670
movss dword [rbx + 0x1aa4], xmm10
movss dword [rbx + 0x1aa8], xmm9
movss dword [rbx + 0x1aac], xmm7
movss dword [rbx + 0x1ab0], xmm8
mov eax, dword [rbx + 0x16f4]
movss xmm7, dword [rbx + 0x16f8]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
mov dword [rbx + 0x1a9c], eax
movss xmm0, dword [rbx + 0x1aa0]
ucomiss xmm0, xmm7
jp 0x140008749
je 0x14000881f
comiss xmm7, xmm6
ja 0x140008768
mov r8d, 0x18d
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui_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 [rbx + 0x1aa0], xmm7
lea rsi, [rbx + 0x1c3c]
movss xmm7, dword [0x1400ec890]
mov edi, r14d
mov ebp, 0x200
nop word [rax + rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x1400087e7
movss xmm1, dword [rbx + 0x1aa0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm11
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
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, 4
jge 0x1400087e0
mov eax, 4
jmp 0x1400087ea
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400087ea
mov eax, r14d
mov byte [rsi], al
inc edi
inc rsi
cmp edi, 0x40
jl 0x140008790
movss xmm0, dword [0x1400ec7b4]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1aa0]
movaps xmm2, xmm11
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c38], xmm1
mov r8d, r14d
movaps xmm7, xmmword [rsp + 0x70]
mov dword [rbx + 0x1ab4], r14d
cmp byte [rbx + 0x16f0], r14b
je 0x140008847
mov dword [rbx + 0x1ab4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], r14b
je 0x14000886c
mov rax, qword [rbx + 0x1a78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14000886c
or edx, 2
mov dword [rbx + 0x1ab4], edx
cmp byte [rbx + 0x16f2], r14b
je 0x14000887e
or edx, 4
mov dword [rbx + 0x1ab4], edx
test byte [rbx + 0xc], 8
je 0x14000888d
or edx, 8
mov dword [rbx + 0x1ab4], edx
mov eax, dword [rbx + 0x1ef0]
mov edi, r14d
test eax, eax
jle 0x140008902
mov rsi, r14
nop dword [rax]
test rsi, rsi
js 0x1400088a9
cmp edi, eax
jl 0x1400088c3
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x1ef8]
xorps xmm0, xmm0
inc edi
mov rcx, qword [rax + rsi*8]
xor eax, eax
inc rsi
mov qword [rcx + 0x30], r14
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
mov eax, dword [rbx + 0x1ef0]
cmp edi, eax
jl 0x1400088a0
mov r8, qword [0x1401ad830]
cmp byte [rbx + 0x20d4], r14b
je 0x140008941
mov eax, dword [rbx + 0x20f4]
cmp eax, dword [rbx + 0x1d6c]
jne 0x140008941
cmp dword [r8 + 0x1d6c], eax
jne 0x140008930
mov dword [r8 + 0x1d70], eax
cmp dword [r8 + 0x1da8], eax
jne 0x140008941
mov byte [r8 + 0x1dac], 1
cmp dword [rbx + 0x1d5c], r14d
jne 0x140008953
mov dword [rbx + 0x1d64], r14d
jmp 0x140008965
mov eax, dword [rbx + 0x1d58]
test eax, eax
je 0x14000896c
cmp dword [rbx + 0x1d6c], eax
jne 0x14000896c
mov dword [rbx + 0x1d68], r14d
mov eax, dword [rbx + 0x1d58]
test eax, eax
je 0x1400089a6
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d64]
movss dword [rbx + 0x1d64], xmm0
cmp dword [rbx + 0x1d6c], eax
je 0x1400089a6
addss xmm1, dword [rbx + 0x1d68]
movss dword [rbx + 0x1d68], xmm1
mov dword [rbx + 0x1d5c], eax
movzx eax, byte [rbx + 0x1d61]
mov byte [rbx + 0x1d62], al
mov eax, dword [rbx + 0x1d6c]
mov dword [rbx + 0x1d58], r14d
mov word [rbx + 0x1d60], r14w
mov byte [rbx + 0x1d63], r14b
cmp dword [rbx + 0x1d70], eax
je 0x140008a46
cmp dword [rbx + 0x1da8], eax
jne 0x140008a46
test eax, eax
je 0x140008a46
mov ecx, dword [r8 + 0x1d6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1d78], al
test ecx, ecx
je 0x140008a1a
mov dword [r8 + 0x1d74], r14d
mov word [r8 + 0x1d7b], r14w
mov dword [r8 + 0x1da4], 0xffffffff
mov dword [r8 + 0x1d6c], r14d
mov word [r8 + 0x1d79], r14w
mov qword [r8 + 0x1d98], r14
mov word [r8 + 0x1d7d], r14w
mov qword [r8 + 0x1d80], r14
mov qword [r8 + 0x1d88], r14
mov ecx, dword [rbx + 0x1d6c]
test ecx, ecx
je 0x140008a65
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
mov rax, qword [rbx + 0x1d98]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1dbc]
mov qword [rbx + 0x1db0], rax
movzx eax, byte [rbx + 0x1d7c]
mov byte [rbx + 0x1dad], al
mov eax, dword [rbx + 0x3138]
movss dword [rbx + 0x1dbc], xmm0
mov dword [rbx + 0x1da8], ecx
mov dword [rbx + 0x1d70], r14d
mov byte [rbx + 0x1d7d], r14b
mov byte [rbx + 0x1dac], r14b
mov byte [rbx + 0x1d78], r14b
test eax, eax
je 0x140008acc
cmp ecx, eax
je 0x140008acc
mov dword [rbx + 0x3138], r14d
test ecx, ecx
jne 0x140008ade
mov qword [rbx + 0x1d80], r14
mov qword [rbx + 0x1d88], r14
mov eax, dword [rbx + 0x2144]
mov dword [rbx + 0x2148], eax
mov eax, r14d
mov qword [rbx + 0x2140], 0x7f7fffff
mov word [rbx + 0x20d5], r14w
mov dword [rbx + 0x2150], r14d
cmp byte [r8 + 0x13c], r14b
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x13d], r14b
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x13e], r14b
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x13f], r14b
mov r8d, 0x800
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400ec970]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], r14b
je 0x140008b9c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140008b95
movaps xmm0, xmm6
jmp 0x140008b9f
addss xmm0, dword [rbx + 0x18]
jmp 0x140008b9f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r14b
je 0x140008bbe
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140008bb7
movaps xmm0, xmm6
jmp 0x140008bc1
addss xmm0, dword [rbx + 0x18]
jmp 0x140008bc1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r14b
je 0x140008be1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140008bda
movaps xmm0, xmm6
jmp 0x140008be4
addss xmm0, dword [rbx + 0x18]
jmp 0x140008be4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r14b
je 0x140008c05
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140008bfe
movaps xmm0, xmm6
jmp 0x140008c08
addss xmm0, dword [rbx + 0x18]
jmp 0x140008c08
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140008b80
call fcn.140017720
call fcn.140007500
mov rcx, rbx
call fcn.14001e340
call fcn.140007e90
call fcn.140006e60
mov r8, qword [0x1401ad830]
mov eax, dword [r8 + 0x1ed0]
sub eax, 1
js 0x140008c82
mov r8, qword [r8 + 0x1ed8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140008c78
test dword [rax + 0xc], 0x8000000
jne 0x140008c98
sub r8, 0x30
sub rdx, 1
jns 0x140008c67
cmp qword [rbx + 0x2080], r14
je 0x140008cb4
movss xmm0, dword [rbx + 0x209c]
comiss xmm0, xmm6
jbe 0x140008cb4
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400ec8a8]
addss xmm1, dword [rbx + 0x20cc]
minss xmm1, xmm11
jmp 0x140008cd1
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400ec8b4]
movss xmm1, dword [rbx + 0x20cc]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x20cc], xmm1
mov dword [rbx + 0x20d0], r14d
mov qword [rbx + 0x34a0], 0xffffffffffffffff
mov dword [rbx + 0x349c], 0xffffffff
mov dword [rbx + 0x31a0], 0x3f800000
mov dword [rbx + 0x31a4], 0x3f800000
mov qword [rbx + 0x31b0], r14
call fcn.1400079e0
mov rdi, qword [0x1401ad830]
movaps xmm11, xmmword [rsp + 0x30]
mov rax, qword [rdi + 0x1f50]
test rax, rax
je 0x140008d5d
cmp byte [rax + 0xcf], r14b
je 0x140008d5d
test dword [rax + 0xc], 0x40000
jne 0x140008d5d
cmp byte [rdi + 0x13c], r14b
jne 0x140008d5d
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140008d5d
call fcn.14000b910
test al, al
je 0x140008d5d
mov al, 1
jmp 0x140008d5f
xor al, al
mov byte [rdi + 0x20c8], al
cmp dword [rdi + 0x1d6c], r14d
jne 0x140008dc1
test al, al
je 0x140008dc1
mov rax, qword [rdi + 0x1f50]
mov qword [rdi + 0x20b0], rax
mov dword [rdi + 0x20c0], 0x7fffffff
cmp dword [rdi + 0x1f58], r14d
je 0x140008db0
mov edx, dword [rdi + 0x1fa0]
cmp edx, 0x7fffffff
je 0x140008db0
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x140008dbb
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
mov dword [rdi + 0x20c4], ecx
mov r8, qword [rdi + 0x20b0]
mov qword [rdi + 0x20a8], r14
mov dword [rdi + 0x20bc], 0x7fffffff
mov dword [rdi + 0x20b8], 0x7fffffff
test r8, r8
je 0x140008e56
mov eax, dword [rdi + 0x20c0]
mov qword [rdi + 0x20a8], r8
cmp eax, 0x7fffffff
je 0x140008e15
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x140008e15
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20b8], edx
mov eax, dword [rdi + 0x20c4]
cmp eax, 0x7fffffff
je 0x140008e3b
mov ecx, dword [r8 + 0x200]
cmp ecx, 0xffffffff
je 0x140008e3b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20bc], edx
mov qword [rdi + 0x20b0], r14
mov dword [rdi + 0x20c4], 0x7fffffff
mov dword [rdi + 0x20c0], 0x7fffffff
mov dword [rdi + 0x1fa0], 0x7fffffff
mov eax, dword [rbx + 0x1cb8]
cmp dword [rbx + 0x1cc8], eax
jle 0x140008e8e
mov r8d, 0x1054
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 [rbx + 0x1cb8]
cmp byte [rbx + 0x1ca3], r14b
jne 0x140008eb7
movss xmm0, dword [rbx + 0xd8]
comiss xmm6, xmm0
ja 0x140008eb7
movsd xmm12, qword [rbx + 0x1c88]
cvtpd2ps xmm12, xmm12
subss xmm12, xmm0
mov esi, r14d
test eax, eax
je 0x140009040
mov rbp, r14
test rbp, rbp
js 0x140008ece
cmp esi, eax
jl 0x140008ee8
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x1cc0]
mov rdi, qword [rax + rbp*8]
movzx eax, byte [rdi + 0xcf]
mov byte [rdi + 0xd0], al
mov word [rdi + 0xda], r14w
mov byte [rdi + 0xcf], r14b
mov byte [rdi + 0xd1], r14b
test al, al
jne 0x14000902d
cmp byte [rdi + 0x428], r14b
jne 0x14000902d
comiss xmm12, dword [rdi + 0x2c0]
jbe 0x14000902d
mov rcx, qword [rdi + 0x2f8]
mov byte [rdi + 0x428], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x420], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x424], eax
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x140008f8b
mov rax, qword [0x1401ad830]
mov qword [rdi + 0x108], r14
test rax, rax
je 0x140008f7e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x110], r14
mov rcx, qword [rdi + 0x2f8]
call fcn.140032fd0
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x140008fc9
mov rax, qword [0x1401ad830]
mov qword [rdi + 0x1d0], r14
test rax, rax
je 0x140008fbc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d8], r14
mov rcx, qword [rdi + 0x218]
test rcx, rcx
je 0x140008ffb
mov rax, qword [0x1401ad830]
mov qword [rdi + 0x210], r14
test rax, rax
je 0x140008fee
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x218], r14
mov rcx, qword [rdi + 0x228]
test rcx, rcx
je 0x14000902d
mov rax, qword [0x1401ad830]
mov qword [rdi + 0x220], r14
test rax, rax
je 0x140009020
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x228], r14
mov eax, dword [rbx + 0x1cb8]
inc esi
inc rbp
cmp esi, eax
jne 0x140008ec5
mov eax, dword [rbx + 0x21b8]
mov edi, r14d
mov rbp, qword [rsp + 0xb8]
test eax, eax
jle 0x140009117
mov rsi, r14
nop dword [rax]
test edi, edi
js 0x140009068
cmp edi, eax
jl 0x140009082
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x21c0]
movss xmm0, dword [rsi + rax]
comiss xmm0, xmm6
jb 0x140009103
test edi, edi
js 0x14000909f
cmp edi, dword [rbx + 0x21b8]
jl 0x1400090b9
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.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 + 0x21c0]
comiss xmm12, dword [rsi + rax]
jbe 0x140009103
test edi, edi
js 0x1400090d3
cmp edi, dword [rbx + 0x2180]
jl 0x1400090ed
mov r8d, 0x6c7
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
imul rcx, rax, 0x258
add rcx, qword [rbx + 0x2188]
call fcn.1400420b0
mov eax, dword [rbx + 0x21b8]
inc edi
add rsi, 4
cmp edi, eax
jl 0x140009060
movaps xmm12, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x80]
mov rsi, qword [rsp + 0xc0]
cmp byte [rbx + 0x1ca3], r14b
je 0x14000919f
mov rdi, qword [0x1401ad830]
mov rcx, qword [rdi + 0x1eb8]
test rcx, rcx
je 0x140009168
mov qword [rdi + 0x1eb0], r14
test rdi, rdi
je 0x14000915b
dec dword [rdi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1eb8], r14
mov rcx, qword [rdi + 0x1ec8]
test rcx, rcx
je 0x14000919a
mov rax, qword [0x1401ad830]
mov qword [rdi + 0x1ec0], r14
test rax, rax
je 0x14000918d
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1ec8], r14
call fcn.140042290
mov rax, qword [rbx + 0x1f50]
mov byte [rbx + 0x1ca3], r14b
test rax, rax
je 0x1400091c2
cmp byte [rax + 0xd0], r14b
jne 0x1400091c2
xor ecx, ecx
call fcn.1400128d0
lea rcx, [rbx + 0x1ce8]
call fcn.1400298a0
mov ecx, dword [rbx + 0x1ee4]
test ecx, ecx
jns 0x1400091f5
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ee0]
test eax, eax
cmovg edx, eax
call fcn.14002a0a0
lea rdi, [rbx + 0x1eb0]
mov dword [rbx + 0x1ee0], r14d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140009223
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14002a140
mov dword [rdi], r14d
cmp dword [rdi + 4], r14d
jne 0x140009239
mov edx, 8
mov rcx, rdi
call fcn.14002a140
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], r14d
lea rcx, [rbx + 0x1ec0]
inc dword [rdi]
call fcn.140029370
mov rcx, qword [rbx + 0x1f50]
xor edx, edx
call fcn.140015560
mov rcx, rbx
call fcn.14001e530
mov rax, qword [0x1401ad830]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1400ec934]
xor r8d, r8d
mov byte [rbx + 0x1ca1], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x1dc0], 2
movsd qword [rax + 0x1de4], xmm0
mov dword [rax + 0x1dc8], 4
call fcn.14000ec90
mov rax, qword [rbx + 0x1d18]
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xc8]
cmp byte [rax + 0xd7], 1
je 0x1400092ea
mov r8d, 0x1083
lea rdx, str.C:UserszachaOneDriveDesktopSourceszachy_source__nightfn_zachyzachyimguiimgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 1
mov rcx, rbx
add rsp, 0xa0
pop rbx
jmp fcn.140006a10