Function at 0x1400090e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
mov rbx, qword [0x14020e490]
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 0x140009146
mov r8d, 0xfb9
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 [0x14020e490]
mov edi, dword [rbx + 0x3240]
sub edi, 1
mov qword [rsp + 0xb8], rbp
js 0x140009256
movsxd rbp, edi
lea r14, [rbx + 0x3248]
shl rbp, 5
mov qword [rsp + 0x90], r15
mov r15, rbp
cmp edi, dword [rbx + 0x3240]
jl 0x140009198
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x14000923d
cmp edi, dword [rbx + 0x3240]
jl 0x1400091c8
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x1400091e7
movsxd rax, dword [rbx + 0x3240]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140009201
mov r8d, 0x6df
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_source__nightfn_zachyzachyimguiimgui.h
lea rcx, [0x14011d4c8]
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 0x140009176
mov r15, qword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
call fcn.1400078c0
mov eax, dword [rbx + 0x1a6c]
mov dword [rbx + 0x1a70], eax
call fcn.1400144b0
mov rdi, qword [0x14020e490]
xor r14d, r14d
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a6c], eax
cmp byte [rdi + 0x31f8], r14b
jne 0x140009308
cmp dword [rdi + 0x3220], r14d
je 0x1400092b0
mov r8d, 0x2af5
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009301
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], r14
call fcn.1400043a0
mov rsi, rax
test rax, rax
je 0x140009301
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.14001bf90
mov rcx, qword [0x14020e490]
test rcx, rcx
je 0x1400092f8
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 0x1400093a6
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x31fc], xmm0
jb 0x1400093a6
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x140009398
mov rax, qword [0x14020e490]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], r14
mov dword [rax + 0x31fc], r14d
call fcn.14001c470
lea rdx, [0x14011b74c]
mov rcx, rsi
mov rbp, rax
call fcn.1400041f0
mov rsi, rax
test rax, rax
je 0x14000939f
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 0x14000939f
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.14002a9d0
movsxd rax, dword [rbx + 0x3494]
movss xmm1, dword [rbx + 0x18]
movss xmm12, dword [0x140132034]
movaps xmm0, xmm1
movss xmm11, dword [0x140131ef4]
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 0x14000946f
divss xmm1, dword [0x140131fd8]
movaps xmm0, xmm11
divss xmm0, xmm1
jmp 0x140009473
movaps xmm0, xmm12
movss dword [rbx + 0x39c], xmm0
call fcn.14001d7a0
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x14020e490]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x1400094cc
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x48], r14d
jg 0x1400094c5
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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.1400138a0
mov rax, qword [rbx + 0x1a78]
cmp qword [rax + 0x40], r14
jne 0x1400094f8
mov r8d, 0xfdf
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 [0x140132058]
movaps xmm10, xmm12
mov eax, dword [rbx + 0x1ef0]
movaps xmm8, xmm7
movaps xmm9, xmm12
mov edi, r14d
test eax, eax
jle 0x14000959d
mov rsi, r14
test rsi, rsi
js 0x140009529
cmp edi, eax
jl 0x140009543
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009572
movaps xmm10, xmm3
comiss xmm9, xmm2
jbe 0x14000957c
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140009584
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x14000958e
movaps xmm8, xmm1
mov eax, dword [rbx + 0x1ef0]
inc edi
inc rsi
cmp edi, eax
jl 0x140009520
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 0x1400095f9
je 0x1400096cf
comiss xmm7, xmm6
ja 0x140009618
mov r8d, 0x18d
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 [0x140131f60]
mov edi, r14d
mov ebp, 0x200
nop word [rax + rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x140009697
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 0x140009690
mov eax, 4
jmp 0x14000969a
cmp eax, ebp
cmovg eax, ebp
jmp 0x14000969a
mov eax, r14d
mov byte [rsi], al
inc edi
inc rsi
cmp edi, 0x40
jl 0x140009640
movss xmm0, dword [0x140131e80]
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 0x1400096f7
mov dword [rbx + 0x1ab4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], r14b
je 0x14000971c
mov rax, qword [rbx + 0x1a78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14000971c
or edx, 2
mov dword [rbx + 0x1ab4], edx
cmp byte [rbx + 0x16f2], r14b
je 0x14000972e
or edx, 4
mov dword [rbx + 0x1ab4], edx
test byte [rbx + 0xc], 8
je 0x14000973d
or edx, 8
mov dword [rbx + 0x1ab4], edx
mov eax, dword [rbx + 0x1ef0]
mov edi, r14d
test eax, eax
jle 0x1400097b2
mov rsi, r14
nop dword [rax]
test rsi, rsi
js 0x140009759
cmp edi, eax
jl 0x140009773
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009750
mov r8, qword [0x14020e490]
cmp byte [rbx + 0x20d4], r14b
je 0x1400097f1
mov eax, dword [rbx + 0x20f4]
cmp eax, dword [rbx + 0x1d6c]
jne 0x1400097f1
cmp dword [r8 + 0x1d6c], eax
jne 0x1400097e0
mov dword [r8 + 0x1d70], eax
cmp dword [r8 + 0x1da8], eax
jne 0x1400097f1
mov byte [r8 + 0x1dac], 1
cmp dword [rbx + 0x1d5c], r14d
jne 0x140009803
mov dword [rbx + 0x1d64], r14d
jmp 0x140009815
mov eax, dword [rbx + 0x1d58]
test eax, eax
je 0x14000981c
cmp dword [rbx + 0x1d6c], eax
jne 0x14000981c
mov dword [rbx + 0x1d68], r14d
mov eax, dword [rbx + 0x1d58]
test eax, eax
je 0x140009856
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d64]
movss dword [rbx + 0x1d64], xmm0
cmp dword [rbx + 0x1d6c], eax
je 0x140009856
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 0x1400098f6
cmp dword [rbx + 0x1da8], eax
jne 0x1400098f6
test eax, eax
je 0x1400098f6
mov ecx, dword [r8 + 0x1d6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1d78], al
test ecx, ecx
je 0x1400098ca
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 0x140009915
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 0x14000997c
cmp ecx, eax
je 0x14000997c
mov dword [rbx + 0x3138], r14d
test ecx, ecx
jne 0x14000998e
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 [0x140132044]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], r14b
je 0x140009a4c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140009a45
movaps xmm0, xmm6
jmp 0x140009a4f
addss xmm0, dword [rbx + 0x18]
jmp 0x140009a4f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r14b
je 0x140009a6e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140009a67
movaps xmm0, xmm6
jmp 0x140009a71
addss xmm0, dword [rbx + 0x18]
jmp 0x140009a71
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r14b
je 0x140009a91
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140009a8a
movaps xmm0, xmm6
jmp 0x140009a94
addss xmm0, dword [rbx + 0x18]
jmp 0x140009a94
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r14b
je 0x140009ab5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140009aae
movaps xmm0, xmm6
jmp 0x140009ab8
addss xmm0, dword [rbx + 0x18]
jmp 0x140009ab8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140009a30
call fcn.1400185d0
call fcn.1400083b0
mov rcx, rbx
call fcn.14001f1f0
call fcn.140008d40
call fcn.140007d10
mov r8, qword [0x14020e490]
mov eax, dword [r8 + 0x1ed0]
sub eax, 1
js 0x140009b32
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 0x140009b28
test dword [rax + 0xc], 0x8000000
jne 0x140009b48
sub r8, 0x30
sub rdx, 1
jns 0x140009b17
cmp qword [rbx + 0x2080], r14
je 0x140009b64
movss xmm0, dword [rbx + 0x209c]
comiss xmm0, xmm6
jbe 0x140009b64
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140131f78]
addss xmm1, dword [rbx + 0x20cc]
minss xmm1, xmm11
jmp 0x140009b81
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140131f84]
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.140008890
mov rdi, qword [0x14020e490]
movaps xmm11, xmmword [rsp + 0x30]
mov rax, qword [rdi + 0x1f50]
test rax, rax
je 0x140009c0d
cmp byte [rax + 0xcf], r14b
je 0x140009c0d
test dword [rax + 0xc], 0x40000
jne 0x140009c0d
cmp byte [rdi + 0x13c], r14b
jne 0x140009c0d
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140009c0d
call fcn.14000c7c0
test al, al
je 0x140009c0d
mov al, 1
jmp 0x140009c0f
xor al, al
mov byte [rdi + 0x20c8], al
cmp dword [rdi + 0x1d6c], r14d
jne 0x140009c71
test al, al
je 0x140009c71
mov rax, qword [rdi + 0x1f50]
mov qword [rdi + 0x20b0], rax
mov dword [rdi + 0x20c0], 0x7fffffff
cmp dword [rdi + 0x1f58], r14d
je 0x140009c60
mov edx, dword [rdi + 0x1fa0]
cmp edx, 0x7fffffff
je 0x140009c60
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x140009c6b
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 0x140009d06
mov eax, dword [rdi + 0x20c0]
mov qword [rdi + 0x20a8], r8
cmp eax, 0x7fffffff
je 0x140009cc5
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x140009cc5
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20b8], edx
mov eax, dword [rdi + 0x20c4]
cmp eax, 0x7fffffff
je 0x140009ceb
mov ecx, dword [r8 + 0x200]
cmp ecx, 0xffffffff
je 0x140009ceb
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 0x140009d3e
mov r8d, 0x1054
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009d67
movss xmm0, dword [rbx + 0xd8]
comiss xmm6, xmm0
ja 0x140009d67
movsd xmm12, qword [rbx + 0x1c88]
cvtpd2ps xmm12, xmm12
subss xmm12, xmm0
mov esi, r14d
test eax, eax
je 0x140009ef0
mov rbp, r14
test rbp, rbp
js 0x140009d7e
cmp esi, eax
jl 0x140009d98
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009edd
cmp byte [rdi + 0x428], r14b
jne 0x140009edd
comiss xmm12, dword [rdi + 0x2c0]
jbe 0x140009edd
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 0x140009e3b
mov rax, qword [0x14020e490]
mov qword [rdi + 0x108], r14
test rax, rax
je 0x140009e2e
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.140033e80
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x140009e79
mov rax, qword [0x14020e490]
mov qword [rdi + 0x1d0], r14
test rax, rax
je 0x140009e6c
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 0x140009eab
mov rax, qword [0x14020e490]
mov qword [rdi + 0x210], r14
test rax, rax
je 0x140009e9e
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 0x140009edd
mov rax, qword [0x14020e490]
mov qword [rdi + 0x220], r14
test rax, rax
je 0x140009ed0
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 0x140009d75
mov eax, dword [rbx + 0x21b8]
mov edi, r14d
mov rbp, qword [rsp + 0xb8]
test eax, eax
jle 0x140009fc7
mov rsi, r14
nop dword [rax]
test edi, edi
js 0x140009f18
cmp edi, eax
jl 0x140009f32
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009fb3
test edi, edi
js 0x140009f4f
cmp edi, dword [rbx + 0x21b8]
jl 0x140009f69
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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 0x140009fb3
test edi, edi
js 0x140009f83
cmp edi, dword [rbx + 0x2180]
jl 0x140009f9d
mov r8d, 0x6c7
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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.140042f60
mov eax, dword [rbx + 0x21b8]
inc edi
add rsi, 4
cmp edi, eax
jl 0x140009f10
movaps xmm12, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x80]
mov rsi, qword [rsp + 0xc0]
cmp byte [rbx + 0x1ca3], r14b
je 0x14000a04f
mov rdi, qword [0x14020e490]
mov rcx, qword [rdi + 0x1eb8]
test rcx, rcx
je 0x14000a018
mov qword [rdi + 0x1eb0], r14
test rdi, rdi
je 0x14000a00b
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 0x14000a04a
mov rax, qword [0x14020e490]
mov qword [rdi + 0x1ec0], r14
test rax, rax
je 0x14000a03d
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.140043140
mov rax, qword [rbx + 0x1f50]
mov byte [rbx + 0x1ca3], r14b
test rax, rax
je 0x14000a072
cmp byte [rax + 0xd0], r14b
jne 0x14000a072
xor ecx, ecx
call fcn.140013780
lea rcx, [rbx + 0x1ce8]
call fcn.14002a750
mov ecx, dword [rbx + 0x1ee4]
test ecx, ecx
jns 0x14000a0a5
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.14002af50
lea rdi, [rbx + 0x1eb0]
mov dword [rbx + 0x1ee0], r14d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14000a0d3
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.14002aff0
mov dword [rdi], r14d
cmp dword [rdi + 4], r14d
jne 0x14000a0e9
mov edx, 8
mov rcx, rdi
call fcn.14002aff0
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.14002a220
mov rcx, qword [rbx + 0x1f50]
xor edx, edx
call fcn.140016410
mov rcx, rbx
call fcn.14001f3e0
mov rax, qword [0x14020e490]
lea rcx, str.DebugDefault
movss xmm1, dword [0x140132004]
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.14000fb40
mov rax, qword [rbx + 0x1d18]
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xc8]
cmp byte [rax + 0xd7], 1
je 0x14000a19a
mov r8d, 0x1083
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_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.1400078c0