Function at 0x180007f80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov rdi, qword [0x18013da10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 0x18], r15
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 0x180007fea
mov r8d, 0x10e5
lea rdx, [0x1800c89e0]
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 [0x18013da10]
mov esi, dword [rdi + 0x5be8]
sub esi, 1
mov qword [rsp + 0xb8], r14
js 0x1800080f0
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
cmp esi, dword [rdi + 0x5be8]
jl 0x180008032
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 0x1800080df
mov eax, dword [rdi + 0x5be8]
cmp esi, eax
jl 0x18000806e
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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, [r14 + rcx]
cmp rbx, rcx
jb 0x18000808c
cdqe
shl rax, 5
add rax, rcx
cmp rbx, rax
jb 0x1800080a6
mov r8d, 0x716
lea rdx, [0x1800c87d0]
lea rcx, [0x1800cd958]
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 0x180008010
xor edx, edx
mov rcx, rdi
call fcn.1800066c0
call fcn.180014380
mov rbx, qword [0x18013da10]
xor r15d, r15d
cmp byte [rbx + 0x5ba1], r15b
jne 0x180008196
cmp dword [rbx + 0x5bc8], r15d
je 0x180008139
mov r8d, 0x30a9
lea rdx, [0x1800c89e0]
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 0x18000818f
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
call fcn.1800036b0
mov rsi, rax
test rax, rax
je 0x18000818f
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x180008174
mov rcx, rax
call fcn.18001b900
mov rcx, qword [0x18013da10]
test rcx, rcx
je 0x180008186
dec dword [rcx + 0xf4]
mov rcx, rsi
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 0x180008237
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5ba4], xmm0
jb 0x180008237
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x180008229
mov rax, qword [0x18013da10]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov dword [rax + 0x5ba4], r15d
call fcn.18001bcd0
lea rdx, [0x1800cd63c]
mov rcx, rsi
mov rbp, rax
call fcn.180003500
mov rsi, rax
test rax, rax
je 0x180008230
mov r8, qword [rsp + 0xd0]
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 0x180008230
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5ba4], r15d
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5b5a], r15w
mov dword [rdi + 0x3ec0], r15d
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5b74]
test ecx, ecx
jns 0x180008292
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5b70]
test eax, eax
cmovg edx, eax
call fcn.18001df50
movss xmm11, dword [0x1800d69b0]
movss xmm10, dword [0x1800d6870]
mov dword [rdi + 0x5b70], r15d
movsxd rax, dword [rdi + 0x5dd8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5ce8]
addss xmm0, dword [rdi + 0x5de0]
movss dword [rdi + 0x5de0], xmm0
movss dword [rdi + rax*4 + 0x5ce8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5dd8]
movss xmm2, dword [rdi + 0x5de0]
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 + 0x5ddc]
inc eax
mov dword [rdi + 0x5dd8], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5ddc], ecx
jbe 0x18000833d
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x180008341
movaps xmm1, xmm11
mov rsi, qword [0x18013da10]
movss dword [rdi + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x180008373
mov r8d, 0x31fa
lea rdx, [0x1800c89e0]
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rsi + 0x48a0], r15d
jg 0x180008396
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48a8]
mov ebp, r15d
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], r15d
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rsi + 0x48a0]
test eax, eax
jle 0x18000849c
mov rbx, r15
nop dword [rax]
test rbx, rbx
js 0x1800083d9
cmp ebp, eax
jl 0x1800083f3
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48a8]
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], r15
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa8], r15
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 [rsi + 0x48a0]
cmp ebp, eax
jl 0x1800083d0
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x18013da10]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1800084df
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], r15d
jg 0x1800084d8
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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.180010f60
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], r15
jne 0x18000850b
mov r8d, 0x1109
lea rdx, [0x1800c89e0]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x1800d69d0]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48a0]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, r15d
test eax, eax
jle 0x1800085b1
mov rsi, r15
test rsi, rsi
js 0x18000853d
mov edx, eax
cmp ebx, eax
jl 0x18000855d
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x48a0]
mov rax, qword [rdi + 0x48a8]
mov rcx, qword [rax + rsi*8]
movss xmm3, dword [rcx + 4]
comiss xmm9, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x18000858c
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x180008596
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x18000859e
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x1800085a6
movaps xmm7, xmm1
inc ebx
inc rsi
mov eax, edx
cmp ebx, edx
jl 0x180008532
movss dword [rdi + 0x3c44], xmm9
movss dword [rdi + 0x3c48], xmm8
movss dword [rdi + 0x3c4c], xmm6
movss dword [rdi + 0x3c50], xmm7
mov eax, dword [rdi + 0x38a0]
movss xmm6, dword [rdi + 0x38a4]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov dword [rdi + 0x3c3c], eax
movss xmm0, dword [rdi + 0x3c40]
ucomiss xmm0, xmm6
jp 0x180008611
je 0x1800086e1
comiss xmm6, xmm12
ja 0x180008631
mov r8d, 0x194
lea rdx, [0x1800d2ba0]
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rdi + 0x3c40], xmm6
lea rsi, [rdi + 0x3dec]
movss xmm6, dword [0x1800d6894]
mov ebx, r15d
mov ebp, 0x800
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x1800086a7
movss xmm1, dword [rdi + 0x3c40]
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 0x1800086a0
mov eax, 0x64
jmp 0x1800086ac
cmp eax, ebp
cmovg eax, ebp
jmp 0x1800086ac
mov eax, Ordinal_50
mov byte [rsi], al
inc ebx
inc rsi
cmp ebx, 0x40
jl 0x180008650
movss xmm0, dword [0x1800d6808]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c40]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3de8], xmm1
mov r8d, r15d
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c54], r15d
cmp byte [rdi + 0x389c], r15b
je 0x18000870c
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x389d], r15b
je 0x180008731
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180008731
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x389e], r15b
je 0x180008743
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x180008752
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48a0]
mov ebx, r15d
test eax, eax
jle 0x1800087ae
mov rsi, r15
test rsi, rsi
js 0x18000876b
cmp ebx, eax
jl 0x180008785
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x48a8]
xorps xmm0, xmm0
inc ebx
mov rcx, qword [rax + rsi*8]
inc rsi
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
mov eax, dword [rdi + 0x48a0]
cmp ebx, eax
jl 0x180008762
cmp byte [rdi + 0x4a5c], r15b
je 0x1800087e9
mov eax, dword [rdi + 0x4a7c]
cmp eax, dword [rdi + 0x3f30]
jne 0x1800087e9
mov rcx, qword [0x18013da10]
cmp dword [rcx + 0x3f30], eax
jne 0x1800087da
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x1800087e9
mov byte [rcx + 0x3f64], 1
lea rax, [rdi + 0x3f1c]
mov ecx, dword [rax]
cmp dword [rdi + 0x3f20], r15d
jne 0x180008804
mov dword [rdi + 0x3f28], r15d
jmp 0x180008815
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x180008821
cmp dword [rdi + 0x3f30], ecx
jne 0x180008821
mov dword [rdi + 0x3f2c], r15d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180008858
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f28]
movss dword [rdi + 0x3f28], xmm0
cmp dword [rdi + 0x3f30], edx
je 0x180008858
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f2c]
movss dword [rdi + 0x3f2c], xmm0
mov eax, dword [rdi + 0x3f30]
movaps xmm2, xmm1
mov dword [rdi + 0x3f20], edx
mov dword [r8], r15d
mov word [rdi + 0x3f24], r15w
test eax, eax
je 0x1800088a5
cmp dword [rdi + 0x3f34], eax
je 0x1800088a5
cmp dword [rdi + 0x3f60], eax
jne 0x1800088a5
test byte [rdi + 0x5c7c], 1
je 0x18000889b
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.18001c760
call fcn.1800071f0
movss xmm2, dword [rdi + 0x18]
mov ebx, dword [rdi + 0x3f30]
test ebx, ebx
je 0x1800088c2
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x3f38]
movss dword [rdi + 0x3f38], xmm0
mov rax, qword [rdi + 0x3f50]
addss xmm2, dword [rdi + 0x3f74]
mov qword [rdi + 0x3f68], rax
movzx eax, byte [rdi + 0x3f40]
mov byte [rdi + 0x3f65], al
mov eax, dword [rdi + 0x5ae8]
movss dword [rdi + 0x3f74], xmm2
mov dword [rdi + 0x3f60], ebx
mov dword [rdi + 0x3f34], r15d
mov byte [rdi + 0x3f41], r15b
mov byte [rdi + 0x3f64], r15b
mov byte [rdi + 0x3f3c], r15b
test eax, eax
je 0x180008924
cmp ebx, eax
je 0x180008924
mov dword [rdi + 0x5ae8], r15d
test ebx, ebx
jne 0x18000893f
mov dword [rdi + 0x4740], r15d
mov byte [rdi + 0x4744], r15b
mov dword [rdi + 0x4748], r15d
jmp 0x180008987
mov eax, dword [rdi + 0x4748]
test eax, eax
je 0x180008987
test al, 2
je 0x180008961
mov ecx, 0x20e
call fcn.1800025e0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r15w
test dword [rdi + 0x4748], 0xfffffffd
je 0x180008987
mov r8d, 0x115c
lea rdx, [0x1800c89e0]
lea rcx, [0x1800c89d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4bd0]
movss xmm0, dword [rdi + 0x4bd8]
mov dword [rdi + 0x4bd4], eax
test eax, eax
je 0x1800089bc
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bdc], r15d
mov dword [rdi + 0x4bd0], r15d
movss dword [rdi + 0x4bd8], xmm0
jmp 0x1800089f6
comiss xmm0, xmm12
jbe 0x1800089f6
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1800d6818]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bdc]
addss xmm2, xmm2
movss dword [rdi + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1800089f6
mov qword [rdi + 0x4bd8], r15
mov eax, dword [rdi + 0x4acc]
mov dword [rdi + 0x4ad0], eax
mov qword [rdi + 0x4ac8], 0x7f7fffff
mov word [rdi + 0x4a5d], r15w
mov dword [rdi + 0x4ad8], r15d
mov ecx, dword [rdi + 0x37d4]
test ecx, ecx
jns 0x180008a43
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x37d0]
test eax, eax
cmovg edx, eax
call fcn.18001dd80
mov dword [rdi + 0x37d0], r15d
movzx ecx, byte [rdi + 0x7a]
call fcn.1800137c0
call fcn.1800121b0
call fcn.180017f00
call fcn.180012980
call fcn.180007b50
mov rbx, qword [0x18013da10]
mov rcx, qword [rbx + 0x3ee8]
test rcx, rcx
je 0x180008b8b
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x180008a99
mov byte [rbx + 0x3f64], 1
cmp qword [rcx + 0x370], r15
jne 0x180008abc
mov r8d, 0x1041
lea rdx, [0x1800c89e0]
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 + 0x3ee8]
mov rbp, qword [rax + 0x370]
cmp byte [rbx + 0xe04], r15b
je 0x180008b82
cmp qword [0x18013da10], r15
lea rsi, [rbx + 0xdfc]
jne 0x180008b01
mov r8d, 0x1fd3
lea rdx, [0x1800c89e0]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x180008b0b
mov rax, rsi
jmp 0x180008b18
mov rax, qword [0x18013da10]
add rax, 0xdfc
movss xmm0, dword [rax]
movss xmm1, dword [0x1800d69cc]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180008b82
comiss xmm2, xmm1
jb 0x180008b82
movss xmm0, dword [rsi]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rsi + 4]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f44]
subss xmm1, dword [rbx + 0x3f48]
mov rcx, rbp
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.1800111d0
mov rcx, qword [rbx + 0x3ee8]
call fcn.180010d30
jmp 0x180008bc5
mov qword [rbx + 0x3ee8], r15
jmp 0x180008bc0
mov rcx, qword [rbx + 0x3f50]
test rcx, rcx
je 0x180008bc5
mov eax, dword [rbx + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x180008bc5
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x180008bb7
mov byte [rbx + 0x3f64], 1
cmp byte [rbx + 0xe04], r15b
jne 0x180008bc5
call fcn.1800071f0
mov r8, qword [0x18013da10]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x180008c0b
mov r8, qword [r8 + 0x4880]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180008c01
test dword [rax + 0xc], 0x8000000
jne 0x180008c22
sub r8, 0x38
sub rdx, 1
jns 0x180008bf0
cmp qword [rdi + 0x4a20], r15
je 0x180008c3e
movss xmm0, dword [rdi + 0x4a3c]
comiss xmm0, xmm12
jbe 0x180008c3e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800d68a8]
addss xmm1, dword [rdi + 0x4a54]
minss xmm1, xmm10
jmp 0x180008c5c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800d68c0]
movss xmm1, dword [rdi + 0x4a54]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a54], xmm1
movups xmm0, xmmword [rdi + 0x5b80]
mov dword [rdi + 0x4a58], r15d
mov qword [rdi + 0x5de8], 0xffffffffffffffff
movups xmmword [rdi + 0x5b90], xmm0
mov dword [rdi + 0x5de4], 0xffffffff
mov byte [rdi + 0x5b80], r15b
call fcn.180012f70
mov eax, dword [rdi + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e80], eax
jle 0x180008cce
mov r8d, 0x11a7
lea rdx, [0x1800c89e0]
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 + 0x3e70]
cmp byte [rdi + 0x3e5f], r15b
jne 0x180008cf8
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x180008cf8
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r15d
test eax, eax
je 0x180008e8f
mov rbp, r15
test rbp, rbp
js 0x180008d0f
cmp esi, eax
jl 0x180008d29
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x3e78]
mov rbx, qword [rax + rbp*8]
movzx ecx, byte [rbx + 0xae]
movzx eax, word [rbx + 0xba]
mov byte [rbx + 0xaf], cl
mov byte [rbx + 0xae], r15b
mov byte [rbx + 0xb0], r15b
mov word [rbx + 0xbc], ax
mov word [rbx + 0xba], r15w
test cl, cl
jne 0x180008e7c
cmp byte [rbx + 0x3cc], r15b
jne 0x180008e7c
comiss xmm11, dword [rbx + 0x25c]
jbe 0x180008e7c
mov rcx, qword [rbx + 0x290]
mov byte [rbx + 0x3cc], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3c4], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3c8], eax
mov rcx, qword [rbx + 0xf0]
test rcx, rcx
je 0x180008dda
mov rax, qword [0x18013da10]
mov qword [rbx + 0xe8], r15
test rax, rax
je 0x180008dcd
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xf0], r15
mov rcx, qword [rbx + 0x290]
call fcn.180026ad0
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x180008e18
mov rax, qword [0x18013da10]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x180008e0b
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x190], r15
mov rcx, qword [rbx + 0x1c8]
test rcx, rcx
je 0x180008e4a
mov rax, qword [0x18013da10]
mov qword [rbx + 0x1c0], r15
test rax, rax
je 0x180008e3d
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c8], r15
mov rcx, qword [rbx + 0x1d8]
test rcx, rcx
je 0x180008e7c
mov rax, qword [0x18013da10]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x180008e6f
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d8], r15
mov eax, dword [rdi + 0x3e70]
inc esi
inc rbp
cmp esi, eax
jne 0x180008d06
mov ecx, dword [rdi + 0x4b60]
mov ebx, r15d
test ecx, ecx
jle 0x180008f5d
mov rsi, r15
test ebx, ebx
js 0x180008eab
cmp ebx, ecx
jl 0x180008ecb
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x4b60]
mov rax, qword [rdi + 0x4b68]
movss xmm0, dword [rsi + rax]
comiss xmm0, xmm12
jb 0x180008f49
test ebx, ebx
js 0x180008ee5
cmp ebx, ecx
jl 0x180008eff
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x4b68]
comiss xmm11, dword [rsi + rax]
jbe 0x180008f49
test ebx, ebx
js 0x180008f19
cmp ebx, dword [rdi + 0x4b38]
jl 0x180008f33
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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, 0x228
add rcx, qword [rdi + 0x4b40]
call fcn.180034c70
mov ecx, dword [rdi + 0x4b60]
inc ebx
add rsi, 4
cmp ebx, ecx
jl 0x180008ea3
mov ecx, dword [rdi + 0x4b28]
mov esi, r15d
test ecx, ecx
jle 0x180009041
mov r14, r15
mov rbp, r15
test r14, r14
js 0x180008f7d
cmp esi, ecx
jl 0x180008f9d
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x4b28]
mov rax, qword [rdi + 0x4b30]
movss xmm0, dword [rax + rbp + 4]
comiss xmm0, xmm12
jb 0x18000902a
test r14, r14
js 0x180008fbd
cmp esi, ecx
jl 0x180008fdd
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x4b28]
mov rax, qword [rdi + 0x4b30]
comiss xmm11, dword [rax + rbp + 4]
jbe 0x18000902a
test r14, r14
js 0x180008ff5
cmp esi, ecx
jl 0x18000900f
mov r8d, 0x6fe
lea rdx, [0x1800c87d0]
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 + 0x4b30]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.18002c4c0
mov dword [rbx + rbp + 4], 0xbf800000
mov ecx, dword [rdi + 0x4b28]
inc esi
inc r14
add rbp, 0x70
cmp esi, ecx
jl 0x180008f74
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], r15b
je 0x1800090c2
mov rax, qword [0x18013da10]
mov rbx, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x180009092
mov qword [rax + 0x4858], r15
test rax, rax
je 0x18000907e
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18013da10]
mov qword [rbx + 0x4860], r15
mov rcx, qword [rbx + 0x4870]
test rcx, rcx
je 0x1800090bd
mov qword [rbx + 0x4868], r15
test rax, rax
je 0x1800090b0
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4870], r15
call fcn.180034e40
mov rax, qword [rdi + 0x48b0]
mov byte [rdi + 0x3e5f], r15b
test rax, rax
je 0x1800090e5
cmp byte [rax + 0xaf], r15b
jne 0x1800090e5
xor ecx, ecx
call fcn.180010e50
mov ecx, dword [rdi + 0x3ea4]
test ecx, ecx
jns 0x18000910c
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ea0]
test eax, eax
cmovg edx, eax
call fcn.18001dcf0
mov dword [rdi + 0x3ea0], r15d
mov ecx, dword [rdi + 0x488c]
test ecx, ecx
jns 0x18000913a
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x4888]
test eax, eax
cmovg edx, eax
call fcn.18001dc60
lea rbx, [rdi + 0x4858]
mov dword [rdi + 0x4888], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180009168
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18001df50
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x18000917e
mov edx, 8
mov rcx, rbx
call fcn.18001df50
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r15d
lea rcx, [rdi + 0x4868]
inc dword [rbx]
call fcn.18001d310
mov rsi, qword [0x18013da10]
mov dword [rsi + 0x5cac], r15d
cmp byte [rsi + 0x5ca9], r15b
je 0x180009327
mov r14d, dword [rsi + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rsi + 0x4a58], 7
lea r8d, [rdx + 1]
call fcn.180011d20
test al, al
je 0x1800091e0
mov byte [rsi + 0x5ca9], r15b
mov ebp, dword [rsi + 0xe18]
cmp ebp, 0x3000
je 0x180009216
movzx ecx, byte [rsi + 0x5caa]
xor r8d, r8d
xor edx, edx
call fcn.180011ef0
test al, al
je 0x180009216
test r14d, r14d
je 0x180009216
mov dword [rsi + 0x5cac], r14d
mov byte [rsi + 0x5ca9], r15b
mov ebx, r15d
nop dword [rax]
cmp ebp, 0x3000
jne 0x18000923e
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.180011ef0
test al, al
je 0x18000923e
mov byte [rsi + 0x5caa], bl
inc ebx
cmp ebx, 3
jl 0x180009220
mov rax, qword [0x18013da10]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.180015ae0
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.180036180
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180036180
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 ebp, 0x3000
jne 0x1800092b9
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.180036180
jmp 0x1800092f1
movzx r8d, byte [rsi + 0x5caa]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r14d, r14d
mov eax, reloc.WS2_32.dll_recv
mov rcx, r15
cmove rcx, rax
mov rax, qword [0x18013da10]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.180036280
mov rax, qword [0x18013da10]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x180009322
mov r8d, 0x2693
lea rdx, [0x1800c89e0]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.180010420
call fcn.18001ca40
movzx eax, byte [rdi + 0x5ca8]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x180009368
sub al, 1
mov byte [rdi + 0x5ca8], al
jne 0x180009368
mov dword [rdi + 0x4754], r15d
mov rax, qword [0x18013da10]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1800d6980]
xor r8d, r8d
mov byte [rdi + 0x3e5d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47a8], 2
movsd qword [rax + 0x47c8], xmm0
mov dword [rax + 0x47b0], 4
call fcn.18000db70
mov rax, qword [rdi + 0x3ed0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0xb6], 1
je 0x1800093e0
mov r8d, 0x11da
lea rdx, [0x1800c89e0]
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, rdi
add rsp, 0xc0
pop rdi
jmp fcn.1800066c0