Function at 0x140006e50
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbx, qword [0x140106410]
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 0x140006eb5
mov r8d, 0xf00
lea rdx, [0x140098450]
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 [0x140106410]
mov edi, dword [rbx + 0x2f48]
sub edi, 1
js 0x140006fad
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop
cmp edi, dword [rbx + 0x2f48]
jl 0x140006ef2
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x2f50]
cmp dword [rax + rbp + 4], 7
jne 0x140006f9c
cmp edi, dword [rbx + 0x2f48]
jl 0x140006f26
mov r8d, 0x675
lea rdx, [0x140098300]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x2f50]
lea rsi, [r14 + rcx]
cmp rsi, rcx
jb 0x140006f49
movsxd rax, dword [rbx + 0x2f48]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140006f63
mov r8d, 0x68d
lea rdx, [0x140098300]
lea rcx, [0x14009b310]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x2f50]
movsxd r8, dword [rbx + 0x2f48]
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 + 0x2f48]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x140006ed0
xor edx, edx
mov rcx, rbx
call fcn.140005860
call fcn.140010090
mov rdi, qword [0x140106410]
xor esi, esi
cmp byte [rdi + 0x2f01], sil
jne 0x140007048
cmp dword [rdi + 0x2f28], esi
je 0x140006ff0
mov r8d, 0x27b1
lea rdx, [0x140098450]
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 0x140007041
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
call fcn.140002c60
mov rbp, rax
test rax, rax
je 0x140007041
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140016650
mov rcx, qword [0x140106410]
test rcx, rcx
je 0x140007038
dec dword [rcx + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x2f01], 1
movss xmm0, dword [rdi + 0x2f04]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1400070e4
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f04], xmm0
jb 0x1400070e4
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x1400070d7
mov rax, qword [0x140106410]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
mov dword [rax + 0x2f04], esi
call fcn.140016b30
lea rdx, [0x14009b1f4]
mov rcx, rbp
mov r14, rax
call fcn.140002ab0
mov rbp, rax
test rax, rax
je 0x1400070de
mov r8, qword [rsp + 0xb0]
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 0x1400070de
mov byte [rdi + 0x39c], 1
mov dword [rdi + 0x2f04], esi
inc dword [rbx + 0x1a68]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1a74], 1
mov dword [rbx + 0x2ec8], esi
mov dword [rbx + 0x1ad8], esi
addsd xmm0, qword [rbx + 0x1a60]
movsd qword [rbx + 0x1a60], xmm0
mov ecx, dword [rbx + 0x2ee4]
test ecx, ecx
jns 0x14000713b
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2ee0]
test eax, eax
cmovg edx, eax
call fcn.1400184f0
movss xmm11, dword [0x1400d3554]
movss xmm12, dword [0x1400d3498]
mov dword [rbx + 0x2ee0], esi
movsxd rax, dword [rbx + 0x319c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2fbc]
addss xmm0, dword [rbx + 0x31a0]
movss dword [rbx + 0x31a0], xmm0
movss dword [rbx + rax*4 + 0x2fbc], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x319c]
movss xmm1, dword [rbx + 0x31a0]
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 + 0x319c], ecx
jbe 0x1400071c9
divss xmm1, dword [0x1400d3514]
movaps xmm0, xmm12
divss xmm0, xmm1
jmp 0x1400071cd
movaps xmm0, xmm11
mov rbp, qword [0x140106410]
movss dword [rbx + 0x3a0], xmm0
cmp dword [rbp + 0x1c90], 1
je 0x1400071ff
mov r8d, 0x28e0
lea rdx, [0x140098450]
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbp + 0x1c90], esi
jg 0x140007221
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1c98]
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 + 0x1c90]
test eax, eax
jle 0x14000731f
mov rdi, rsi
test rdi, rdi
js 0x14000725d
cmp r14d, eax
jl 0x140007277
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1c98]
movaps xmm3, xmm6
inc r14d
mov rcx, qword [rax + rdi*8]
inc rdi
movsd xmm2, qword [rcx + 0xa0]
movsd xmm5, qword [rcx + 0xa8]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 4]
movaps xmm4, xmm2
movsd qword [rcx + 0x90], xmm2
shufps xmm4, xmm4, 0x55
movaps xmm0, xmm4
mov qword [rcx + 0xa8], rsi
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
subss xmm1, xmm2
mov qword [rcx + 0xa0], rsi
movss xmm2, dword [rcx + 0x10]
movss dword [rcx + 0x18], xmm0
subss xmm2, xmm4
movaps xmm0, xmm5
movsd qword [rcx + 0x98], xmm5
shufps xmm0, xmm0, 0x55
addss xmm1, xmm5
addss xmm2, xmm0
maxss xmm3, xmm1
movaps xmm1, xmm6
maxss xmm1, xmm2
movss dword [rcx + 0x1c], xmm3
movss dword [rcx + 0x20], xmm1
mov eax, dword [rbp + 0x1c90]
cmp r14d, eax
jl 0x140007253
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x140106410]
mov byte [rax], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x140007369
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x40], esi
jg 0x140007362
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x48]
mov rcx, qword [rax]
call fcn.14000f670
mov rax, qword [rbx + 0x1978]
cmp qword [rax + 0x40], rsi
jne 0x140007395
mov r8d, 0xf23
lea rdx, [0x140098450]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400d3570]
movaps xmm10, xmm11
mov eax, dword [rbx + 0x1c90]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov edi, esi
test eax, eax
jle 0x14000743d
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x1400073c9
cmp edi, eax
jl 0x1400073e3
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1c98]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 4]
comiss xmm10, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x140007412
movaps xmm10, xmm3
comiss xmm9, xmm2
jbe 0x14000741c
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140007424
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x14000742e
movaps xmm8, xmm1
mov eax, dword [rbx + 0x1c90]
inc edi
inc rbp
cmp edi, eax
jl 0x1400073c0
movss dword [rbx + 0x19a4], xmm10
movss dword [rbx + 0x19a8], xmm9
movss dword [rbx + 0x19ac], xmm7
movss dword [rbx + 0x19b0], xmm8
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
mov dword [rbx + 0x199c], eax
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x140007483
je 0x1400074fa
movss xmm7, dword [0x1400d34dc]
lea r14, [rbx + 0x1a18]
movss dword [rbx + 0x19a0], xmm1
mov edi, esi
mov ebp, 0x200
movd xmm1, edi
cvtdq2ps xmm1, xmm1
test edi, edi
je 0x1400074de
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x19a0]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x1400074d7
mov edx, ntohs
jmp 0x1400074e0
cmp edx, ebp
cmovg edx, ebp
jmp 0x1400074e0
mov edx, esi
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc edi
mov byte [r14], cl
inc r14
cmp edi, 0x40
jl 0x1400074a1
mov r8d, esi
mov dword [rbx + 0x19b4], esi
cmp byte [rbx + 0x1618], sil
je 0x14000751c
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], sil
je 0x140007542
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140007542
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], sil
je 0x140007554
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x140007563
or edx, 8
mov dword [rbx + 0x19b4], edx
mov eax, dword [rbx + 0x1c90]
mov edi, esi
test eax, eax
jle 0x1400075be
mov rbp, rsi
test rbp, rbp
js 0x14000757b
cmp edi, eax
jl 0x140007595
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1c98]
xorps xmm0, xmm0
inc edi
mov rcx, qword [rax + rbp*8]
inc rbp
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rbx + 0x1c90]
cmp edi, eax
jl 0x140007572
mov r8, qword [0x140106410]
cmp byte [rbx + 0x1e24], sil
je 0x1400075fd
mov eax, dword [rbx + 0x1e44]
cmp eax, dword [rbx + 0x1b30]
jne 0x1400075fd
cmp dword [r8 + 0x1b30], eax
jne 0x1400075ec
mov dword [r8 + 0x1b34], eax
cmp dword [r8 + 0x1b70], eax
jne 0x1400075fd
mov byte [r8 + 0x1b74], 1
cmp dword [rbx + 0x1b20], esi
jne 0x14000760d
mov dword [rbx + 0x1b28], esi
jmp 0x14000761f
mov eax, dword [rbx + 0x1b1c]
test eax, eax
je 0x140007625
cmp dword [rbx + 0x1b30], eax
jne 0x140007625
mov dword [rbx + 0x1b2c], esi
mov eax, dword [rbx + 0x1b1c]
test eax, eax
je 0x14000765f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1b28]
movss dword [rbx + 0x1b28], xmm0
cmp dword [rbx + 0x1b30], eax
je 0x14000765f
addss xmm1, dword [rbx + 0x1b2c]
movss dword [rbx + 0x1b2c], xmm1
mov dword [rbx + 0x1b20], eax
movzx eax, byte [rbx + 0x1b25]
mov byte [rbx + 0x1b26], al
mov eax, dword [rbx + 0x1b30]
mov dword [rbx + 0x1b1c], esi
mov word [rbx + 0x1b24], si
mov byte [rbx + 0x1b27], sil
cmp dword [rbx + 0x1b34], eax
je 0x1400076f2
cmp dword [rbx + 0x1b70], eax
jne 0x1400076f2
test eax, eax
je 0x1400076f2
mov ecx, dword [r8 + 0x1b30]
test ecx, ecx
setne al
mov byte [r8 + 0x1b3c], al
test ecx, ecx
je 0x1400076c6
mov dword [r8 + 0x1b38], esi
mov word [r8 + 0x1b3f], si
mov dword [r8 + 0x1b30], esi
mov word [r8 + 0x1b3d], si
mov qword [r8 + 0x1b60], rsi
mov word [r8 + 0x1b41], si
mov qword [r8 + 0x1b44], rsi
mov qword [r8 + 0x1b50], rsi
mov ecx, dword [rbx + 0x1b30]
test ecx, ecx
je 0x140007711
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1b38]
movss dword [rbx + 0x1b38], xmm0
mov rax, qword [rbx + 0x1b60]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1b84]
mov qword [rbx + 0x1b78], rax
movzx eax, byte [rbx + 0x1b40]
mov byte [rbx + 0x1b75], al
mov eax, dword [rbx + 0x2e88]
movss dword [rbx + 0x1b84], xmm0
mov dword [rbx + 0x1b70], ecx
mov dword [rbx + 0x1b34], esi
mov byte [rbx + 0x1b41], sil
mov byte [rbx + 0x1b74], sil
mov byte [rbx + 0x1b3c], sil
test eax, eax
je 0x140007776
cmp ecx, eax
je 0x140007776
mov dword [rbx + 0x2e88], esi
test ecx, ecx
jne 0x140007788
mov qword [rbx + 0x1b44], rsi
mov qword [rbx + 0x1b50], rsi
mov eax, dword [rbx + 0x1e94]
mov dword [rbx + 0x1e98], eax
mov eax, esi
mov qword [rbx + 0x1e90], 0x7f7fffff
mov word [rbx + 0x1e25], si
mov dword [rbx + 0x1ea0], esi
cmp byte [r8 + 0x140], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x141], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x142], sil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x143], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400d3560]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x14000783c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140007835
movaps xmm0, xmm6
jmp 0x14000783f
addss xmm0, dword [rbx + 0x18]
jmp 0x14000783f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x14000785e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140007857
movaps xmm0, xmm6
jmp 0x140007861
addss xmm0, dword [rbx + 0x18]
jmp 0x140007861
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140007881
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14000787a
movaps xmm0, xmm6
jmp 0x140007884
addss xmm0, dword [rbx + 0x18]
jmp 0x140007884
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x1400078a5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14000789e
movaps xmm0, xmm6
jmp 0x1400078a8
addss xmm0, dword [rbx + 0x18]
jmp 0x1400078a8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140007820
call fcn.140013380
call fcn.140006180
call fcn.140006b20
call fcn.140005bd0
mov r8, qword [0x140106410]
mov eax, dword [r8 + 0x1c70]
sub eax, 1
js 0x14000791b
mov r8, qword [r8 + 0x1c78]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x140007911
test dword [rax + 0xc], 0x8000000
jne 0x140007931
sub r8, 0x30
sub rdx, 1
jns 0x140007900
cmp qword [rbx + 0x1dd0], rsi
je 0x14000794d
movss xmm0, dword [rbx + 0x1dec]
comiss xmm0, xmm6
jbe 0x14000794d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400d34d8]
addss xmm1, dword [rbx + 0x1e1c]
minss xmm1, xmm12
jmp 0x14000796a
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400d34e4]
movss xmm1, dword [rbx + 0x1e1c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1e1c], xmm1
mov dword [rbx + 0x1e20], esi
mov qword [rbx + 0x31a8], 0xffffffffffffffff
mov dword [rbx + 0x31a4], 0xffffffff
mov dword [rbx + 0x2ef0], 0x3f800000
mov dword [rbx + 0x2ef4], 0x3f800000
call fcn.140006660
mov rdi, qword [0x140106410]
mov rax, qword [rdi + 0x1ca0]
test rax, rax
je 0x1400079e8
cmp byte [rax + 0x8e], sil
je 0x1400079e8
test dword [rax + 0xc], 0x40000
jne 0x1400079e8
cmp byte [rdi + 0x140], sil
jne 0x1400079e8
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x1400079e8
call fcn.140009e00
test al, al
je 0x1400079e8
mov al, 1
jmp 0x1400079ea
xor al, al
mov byte [rdi + 0x1e18], al
cmp dword [rdi + 0x1b30], esi
jne 0x140007a54
test al, al
je 0x140007a54
mov rax, qword [rdi + 0x1ca0]
mov qword [rdi + 0x1e00], rax
mov dword [rdi + 0x1e10], 0x7fffffff
cmp dword [rdi + 0x1ca8], esi
je 0x140007a43
mov ecx, dword [rdi + 0x1cf0]
cmp ecx, 0x7fffffff
je 0x140007a43
cmp byte [rdi + 0x141], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rdi + 0x1e14], eax
jmp 0x140007a54
movzx eax, byte [rdi + 0x141]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1e14], ecx
mov r8, qword [rdi + 0x1e00]
mov qword [rdi + 0x1df8], rsi
mov dword [rdi + 0x1e0c], 0x7fffffff
mov dword [rdi + 0x1e08], 0x7fffffff
test r8, r8
je 0x140007ae9
mov eax, dword [rdi + 0x1e10]
mov qword [rdi + 0x1df8], r8
cmp eax, 0x7fffffff
je 0x140007aa8
mov ecx, dword [r8 + 0x1c4]
cmp ecx, 0xffffffff
je 0x140007aa8
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1e08], edx
mov eax, dword [rdi + 0x1e14]
cmp eax, 0x7fffffff
je 0x140007ace
mov ecx, dword [r8 + 0x1c8]
cmp ecx, 0xffffffff
je 0x140007ace
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1e0c], edx
mov qword [rdi + 0x1e00], rsi
mov dword [rdi + 0x1e14], 0x7fffffff
mov dword [rdi + 0x1e10], 0x7fffffff
mov dword [rdi + 0x1cf0], 0x7fffffff
mov eax, dword [rbx + 0x1a88]
cmp dword [rbx + 0x1a98], eax
je 0x140007b21
mov r8d, 0xf92
lea rdx, [0x140098450]
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 + 0x1a88]
cmp byte [rbx + 0x1a77], sil
jne 0x140007b4a
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x140007b4a
movsd xmm11, qword [rbx + 0x1a60]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x140007cd1
mov r14, rsi
test r14, r14
js 0x140007b60
cmp ebp, eax
jl 0x140007b7a
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1a90]
mov rdi, qword [rax + r14*8]
movzx eax, byte [rdi + 0x8e]
mov byte [rdi + 0x8f], al
mov word [rdi + 0x9a], si
mov byte [rdi + 0x8e], sil
mov byte [rdi + 0x90], sil
test al, al
jne 0x140007cbe
cmp byte [rdi + 0x3e0], sil
jne 0x140007cbe
comiss xmm11, dword [rdi + 0x284]
jbe 0x140007cbe
mov rcx, qword [rdi + 0x2b8]
mov byte [rdi + 0x3e0], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3d8], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3dc], eax
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x140007c1c
mov rax, qword [0x140106410]
mov qword [rdi + 0xc8], rsi
test rax, rax
je 0x140007c0f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0xd0], rsi
mov rcx, qword [rdi + 0x2b8]
call fcn.140020dc0
mov rcx, qword [rdi + 0x1a0]
test rcx, rcx
je 0x140007c5a
mov rax, qword [0x140106410]
mov qword [rdi + 0x198], rsi
test rax, rax
je 0x140007c4d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1a0], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140007c8c
mov rax, qword [0x140106410]
mov qword [rdi + 0x1d8], rsi
test rax, rax
je 0x140007c7f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1e0], rsi
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x140007cbe
mov rax, qword [0x140106410]
mov qword [rdi + 0x1e8], rsi
test rax, rax
je 0x140007cb1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1f0], rsi
mov eax, dword [rbx + 0x1a88]
inc ebp
inc r14
cmp ebp, eax
jne 0x140007b57
mov eax, dword [rbx + 0x1f08]
mov edi, esi
test eax, eax
jle 0x140007d9b
mov rbp, rsi
test edi, edi
js 0x140007cec
cmp edi, eax
jl 0x140007d06
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1f10]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm6
jb 0x140007d87
test edi, edi
js 0x140007d23
cmp edi, dword [rbx + 0x1f08]
jl 0x140007d3d
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1f10]
comiss xmm11, dword [rax + rbp]
jbe 0x140007d87
test edi, edi
js 0x140007d57
cmp edi, dword [rbx + 0x1ed0]
jl 0x140007d71
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1ed8]
call fcn.14002af30
mov eax, dword [rbx + 0x1f08]
inc edi
add rbp, 4
cmp edi, eax
jl 0x140007ce4
cmp byte [rbx + 0x1a77], sil
je 0x140007e0d
mov rdi, qword [0x140106410]
mov rcx, qword [rdi + 0x1c58]
test rcx, rcx
je 0x140007dd6
mov qword [rdi + 0x1c50], rsi
test rdi, rdi
je 0x140007dc9
dec dword [rdi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1c58], rsi
mov rcx, qword [rdi + 0x1c68]
test rcx, rcx
je 0x140007e08
mov rax, qword [0x140106410]
mov qword [rdi + 0x1c60], rsi
test rax, rax
je 0x140007dfb
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1c68], rsi
call fcn.14002b110
mov rax, qword [rbx + 0x1ca0]
mov byte [rbx + 0x1a77], sil
test rax, rax
je 0x140007eb4
cmp byte [rax + 0x8f], sil
jne 0x140007eb4
mov r14, qword [0x140106410]
mov edi, dword [r14 + 0x1a98]
sub edi, 1
movsxd rbp, edi
js 0x140007ead
cmp edi, dword [r14 + 0x1a98]
jl 0x140007e6a
mov r8d, 0x675
lea rdx, [0x140098300]
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 + 0x1aa0]
mov r8, qword [rax + rbp*8]
test r8, r8
je 0x140007ea5
cmp byte [r8 + 0x8f], sil
je 0x140007ea5
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x14000811d
dec edi
sub rbp, 1
jns 0x140007e47
xor ecx, ecx
call fcn.14000f280
mov ecx, dword [rbx + 0x1abc]
test ecx, ecx
jns 0x140007eda
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ab8]
test eax, eax
cmovg edx, eax
call fcn.140017e20
mov dword [rbx + 0x1ab8], esi
mov ecx, dword [rbx + 0x1c84]
test ecx, ecx
jns 0x140007f06
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1c80]
test eax, eax
cmovg edx, eax
call fcn.140018450
lea rdi, [rbx + 0x1c50]
mov dword [rbx + 0x1c80], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140007f32
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.1400184f0
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x140007f46
mov edx, 8
mov rcx, rdi
call fcn.1400184f0
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x1c60]
inc dword [rdi]
call fcn.140017b50
mov rcx, qword [rbx + 0x1ca0]
xor edx, edx
call fcn.140011600
mov rdi, qword [0x140106410]
mov dword [rdi + 0x2fa8], esi
cmp byte [rdi + 0x2fa4], sil
je 0x140008066
mov ebp, dword [rdi + 0x1b20]
mov dword [rdi + 0x1e20], 7
mov ecx, dword [rdi + 0x74]
test ecx, ecx
js 0x140007faf
call fcn.140009e00
test al, al
je 0x140007faf
mov byte [rdi + 0x2fa4], sil
mov rax, qword [0x140106410]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x140007fd6
jne 0x140007fd6
test ebp, ebp
je 0x140007fd6
mov dword [rdi + 0x2fa8], ebp
mov byte [rdi + 0x2fa4], sil
or dword [rax + 0x1b88], 0x40
xor edx, edx
mov dword [rax + 0x1be8], 0x3f19999a
call fcn.140010fa0
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.14002c410
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14002c410
mov rcx, qword [0x140106410]
lea rdx, str.Click_to_break_in_debugger_
mov eax, reloc.WS2_32.dll_recv
test ebp, ebp
cmove rsi, rax
add rcx, 0x1624
add rcx, rsi
call fcn.14002c510
mov rax, qword [0x140106410]
mov rcx, qword [rax + 0x1ae0]
test dword [rcx + 0xc], 0x2000000
jne 0x140008061
mov r8d, 0x1f01
lea rdx, [0x140098450]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14000ee40
mov rax, qword [0x140106410]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1400d3528]
xor r8d, r8d
mov byte [rbx + 0x1a75], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x1b88], 2
movsd qword [rax + 0x1ba8], xmm0
mov dword [rax + 0x1b90], 4
call fcn.14000c7c0
mov rax, qword [rbx + 0x1ae0]
cmp byte [rax + 0x96], 1
je 0x1400080d6
mov r8d, 0xfbf
lea rdx, [0x140098450]
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
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.140005860
mov rcx, qword [r8 + 0x3a8]
test rcx, rcx
je 0x140008136
cmp byte [rcx + 0x8f], sil
jne 0x140007eaf
mov rcx, r8
jmp 0x140007eaf