Function at 0x1800084c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov rdi, qword [0x1801a5900]
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 0x18000852a
mov r8d, 0x10e5
lea rdx, [0x1800c6980]
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 [0x1801a5900]
mov ebx, dword [rdi + 0x5be8]
sub ebx, 1
mov qword [rsp + 0xb8], r14
js 0x18000862d
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
cmp ebx, dword [rdi + 0x5be8]
jl 0x180008572
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x18000861c
cmp ebx, dword [rdi + 0x5be8]
jl 0x1800085a6
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5bf0]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x1800085c9
movsxd rax, dword [rdi + 0x5be8]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x1800085e3
mov r8d, 0x716
lea rdx, [0x1800c6740]
lea rcx, [0x1800cb858]
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 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 [rdi + 0x5be8]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x180008550
xor edx, edx
mov rcx, rdi
call fcn.180006c10
call fcn.180014a10
mov rbx, qword [0x1801a5900]
xor r15d, r15d
cmp byte [rbx + 0x5ba1], r15b
jne 0x1800086d3
cmp dword [rbx + 0x5bc8], r15d
je 0x180008676
mov r8d, 0x30a9
lea rdx, [0x1800c6980]
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 0x1800086cc
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
call fcn.180003bb0
mov rsi, rax
test rax, rax
je 0x1800086cc
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1800086b1
mov rcx, rax
call fcn.18001bf50
mov rcx, qword [0x1801a5900]
test rcx, rcx
je 0x1800086c3
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 0x180008774
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5ba4], xmm0
jb 0x180008774
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x180008766
mov rax, qword [0x1801a5900]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov dword [rax + 0x5ba4], r15d
call fcn.18001c300
lea rdx, [0x1800cb53c]
mov rcx, rsi
mov rbp, rax
call fcn.180003a00
mov rsi, rax
test rax, rax
je 0x18000876d
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 0x18000876d
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 0x1800087cf
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.18001e480
movss xmm11, dword [0x1800d4d00]
movss xmm10, dword [0x1800d4bdc]
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 0x18000887a
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000887e
movaps xmm1, xmm11
mov rsi, qword [0x1801a5900]
movss dword [rdi + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x1800088b0
mov r8d, 0x31fa
lea rdx, [0x1800c6980]
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 0x1800088d3
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x1800089d2
mov rbx, r15
test rbx, rbx
js 0x18000890f
cmp ebp, eax
jl 0x180008929
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x180008906
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x1801a5900]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180008a15
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], r15d
jg 0x180008a0e
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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.1800115b0
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], r15
jne 0x180008a41
mov r8d, 0x1109
lea rdx, [0x1800c6980]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x1800d4d20]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48a0]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, r15d
test eax, eax
jle 0x180008ae3
mov rsi, r15
test rsi, rsi
js 0x180008a71
cmp ebx, eax
jl 0x180008a8b
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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]
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 0x180008aba
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x180008ac4
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x180008acc
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x180008ad4
movaps xmm7, xmm1
mov eax, dword [rdi + 0x48a0]
inc ebx
inc rsi
cmp ebx, eax
jl 0x180008a68
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 0x180008b43
je 0x180008c13
comiss xmm6, xmm12
ja 0x180008b63
mov r8d, 0x194
lea rdx, [0x1800d0ac0]
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 [0x1800d4c00]
mov ebx, r15d
mov ebp, 0x800
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x180008bd9
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 0x180008bd2
mov eax, 0x64
jmp 0x180008bde
cmp eax, ebp
cmovg eax, ebp
jmp 0x180008bde
mov eax, Ordinal_50
mov byte [rsi], al
inc ebx
inc rsi
cmp ebx, 0x40
jl 0x180008b82
movss xmm0, dword [0x1800d4b74]
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 0x180008c3e
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x389d], r15b
je 0x180008c63
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180008c63
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x389e], r15b
je 0x180008c75
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x180008c84
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48a0]
mov ebx, r15d
test eax, eax
jle 0x180008ce0
mov rsi, r15
test rsi, rsi
js 0x180008c9d
cmp ebx, eax
jl 0x180008cb7
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x180008c94
cmp byte [rdi + 0x4a5c], r15b
je 0x180008d1b
mov eax, dword [rdi + 0x4a7c]
cmp eax, dword [rdi + 0x3f30]
jne 0x180008d1b
mov rcx, qword [0x1801a5900]
cmp dword [rcx + 0x3f30], eax
jne 0x180008d0c
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x180008d1b
mov byte [rcx + 0x3f64], 1
cmp dword [rdi + 0x3f20], r15d
jne 0x180008d2d
mov dword [rdi + 0x3f28], r15d
jmp 0x180008d3f
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x180008d46
cmp dword [rdi + 0x3f30], eax
jne 0x180008d46
mov dword [rdi + 0x3f2c], r15d
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x180008d80
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f28]
movss dword [rdi + 0x3f28], xmm0
cmp dword [rdi + 0x3f30], eax
je 0x180008d80
addss xmm1, dword [rdi + 0x3f2c]
movss dword [rdi + 0x3f2c], xmm1
mov dword [rdi + 0x3f20], eax
mov eax, dword [rdi + 0x3f30]
mov dword [rdi + 0x3f1c], r15d
mov word [rdi + 0x3f24], r15w
test eax, eax
je 0x180008dc9
cmp dword [rdi + 0x3f34], eax
je 0x180008dc9
cmp dword [rdi + 0x3f60], eax
jne 0x180008dc9
test byte [rdi + 0x5c7c], 1
je 0x180008dc4
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.18001cd90
call fcn.180007750
mov ebx, dword [rdi + 0x3f30]
test ebx, ebx
je 0x180008de8
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f38]
movss dword [rdi + 0x3f38], xmm0
mov rax, qword [rdi + 0x3f50]
movss xmm0, dword [rdi + 0x18]
addss xmm0, 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], xmm0
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 0x180008e4f
cmp ebx, eax
je 0x180008e4f
mov dword [rdi + 0x5ae8], r15d
test ebx, ebx
jne 0x180008e6a
mov dword [rdi + 0x4740], r15d
mov byte [rdi + 0x4744], r15b
mov dword [rdi + 0x4748], r15d
jmp 0x180008eb2
mov eax, dword [rdi + 0x4748]
test eax, eax
je 0x180008eb2
test al, 2
je 0x180008e8c
mov ecx, 0x20e
call fcn.180002ae0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r15w
test dword [rdi + 0x4748], 0xfffffffd
je 0x180008eb2
mov r8d, 0x115c
lea rdx, [0x1800c6980]
lea rcx, [0x1800c6970]
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 0x180008ee7
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bdc], r15d
mov dword [rdi + 0x4bd0], r15d
movss dword [rdi + 0x4bd8], xmm0
jmp 0x180008f21
comiss xmm0, xmm12
jbe 0x180008f21
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1800d4b84]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bdc]
addss xmm2, xmm2
movss dword [rdi + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x180008f21
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 0x180008f6e
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.18001e2b0
mov dword [rdi + 0x37d0], r15d
movzx ecx, byte [rdi + 0x7a]
call fcn.180013e50
call fcn.180012800
call fcn.180018580
call fcn.180012fe0
call fcn.180008090
mov rbx, qword [0x1801a5900]
mov rcx, qword [rbx + 0x3ee8]
test rcx, rcx
je 0x1800090b9
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x180008fc4
mov byte [rbx + 0x3f64], 1
cmp qword [rcx + 0x370], r15
jne 0x180008fe7
mov r8d, 0x1041
lea rdx, [0x1800c6980]
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 0x1800090b0
cmp qword [0x1801a5900], r15
lea rsi, [rbx + 0xdfc]
jne 0x18000902c
mov r8d, 0x1fd3
lea rdx, [0x1800c6980]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x18000903f
mov rsi, qword [0x1801a5900]
add rsi, 0xdfc
movss xmm0, dword [rsi]
movss xmm1, dword [0x1800d4d1c]
comiss xmm0, xmm1
movss xmm2, dword [rsi + 4]
jb 0x1800090b0
comiss xmm2, xmm1
jb 0x1800090b0
movss xmm0, dword [rbx + 0xdfc]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe00]
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.180011810
mov rcx, qword [rbx + 0x3ee8]
call fcn.180011380
jmp 0x1800090f3
mov qword [rbx + 0x3ee8], r15
jmp 0x1800090ee
mov rcx, qword [rbx + 0x3f50]
test rcx, rcx
je 0x1800090f3
mov eax, dword [rbx + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x1800090f3
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x1800090e5
mov byte [rbx + 0x3f64], 1
cmp byte [rbx + 0xe04], r15b
jne 0x1800090f3
call fcn.180007750
mov r8, qword [0x1801a5900]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x18000913b
mov r8, qword [r8 + 0x4880]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x180009131
test dword [rax + 0xc], 0x8000000
jne 0x180009152
sub r8, 0x38
sub rdx, 1
jns 0x180009120
cmp qword [rdi + 0x4a20], r15
je 0x18000916e
movss xmm0, dword [rdi + 0x4a3c]
comiss xmm0, xmm12
jbe 0x18000916e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800d4c14]
addss xmm1, dword [rdi + 0x4a54]
minss xmm1, xmm10
jmp 0x18000918c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800d4c2c]
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.180013600
mov eax, dword [rdi + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e80], eax
jle 0x1800091fe
mov r8d, 0x11a7
lea rdx, [0x1800c6980]
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 0x180009228
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x180009228
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r15d
test eax, eax
je 0x1800093bf
mov rbp, r15
test rbp, rbp
js 0x18000923f
cmp esi, eax
jl 0x180009259
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x1800093ac
cmp byte [rbx + 0x3cc], r15b
jne 0x1800093ac
comiss xmm11, dword [rbx + 0x25c]
jbe 0x1800093ac
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 0x18000930a
mov rax, qword [0x1801a5900]
mov qword [rbx + 0xe8], r15
test rax, rax
je 0x1800092fd
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.180026f90
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x180009348
mov rax, qword [0x1801a5900]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x18000933b
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 0x18000937a
mov rax, qword [0x1801a5900]
mov qword [rbx + 0x1c0], r15
test rax, rax
je 0x18000936d
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 0x1800093ac
mov rax, qword [0x1801a5900]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x18000939f
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 0x180009236
mov eax, dword [rdi + 0x4b60]
mov ebx, r15d
test eax, eax
jle 0x18000948b
mov rsi, r15
test ebx, ebx
js 0x1800093db
cmp ebx, eax
jl 0x1800093f5
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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]
movss xmm0, dword [rsi + rax]
comiss xmm0, xmm12
jb 0x180009477
test ebx, ebx
js 0x180009413
cmp ebx, dword [rdi + 0x4b60]
jl 0x18000942d
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 0x180009477
test ebx, ebx
js 0x180009447
cmp ebx, dword [rdi + 0x4b38]
jl 0x180009461
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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.180034e40
mov eax, dword [rdi + 0x4b60]
inc ebx
add rsi, 4
cmp ebx, eax
jl 0x1800093d3
mov eax, dword [rdi + 0x4b28]
mov esi, r15d
test eax, eax
jle 0x180009567
mov r14, r15
mov rbp, r15
test r14, r14
js 0x1800094ab
cmp esi, eax
jl 0x1800094c5
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 + 0x4b30]
movss xmm0, dword [rax + rbp + 4]
comiss xmm0, xmm12
jb 0x180009550
test r14, r14
js 0x1800094e5
cmp esi, dword [rdi + 0x4b28]
jl 0x1800094ff
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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 + 0x4b30]
comiss xmm11, dword [rax + rbp + 4]
jbe 0x180009550
test r14, r14
js 0x18000951b
cmp esi, dword [rdi + 0x4b28]
jl 0x180009535
mov r8d, 0x6fe
lea rdx, [0x1800c6740]
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.18002c8c0
mov dword [rbx + rbp + 4], 0xbf800000
mov eax, dword [rdi + 0x4b28]
inc esi
inc r14
add rbp, 0x70
cmp esi, eax
jl 0x1800094a2
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], r15b
je 0x1800095e8
mov rax, qword [0x1801a5900]
mov rbx, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x1800095b8
mov qword [rax + 0x4858], r15
test rax, rax
je 0x1800095a4
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1801a5900]
mov qword [rbx + 0x4860], r15
mov rcx, qword [rbx + 0x4870]
test rcx, rcx
je 0x1800095e3
mov qword [rbx + 0x4868], r15
test rax, rax
je 0x1800095d6
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.180035010
mov rax, qword [rdi + 0x48b0]
mov byte [rdi + 0x3e5f], r15b
test rax, rax
je 0x18000960b
cmp byte [rax + 0xaf], r15b
jne 0x18000960b
xor ecx, ecx
call fcn.1800114a0
mov ecx, dword [rdi + 0x3ea4]
test ecx, ecx
jns 0x180009632
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.18001e220
mov dword [rdi + 0x3ea0], r15d
mov ecx, dword [rdi + 0x488c]
test ecx, ecx
jns 0x180009660
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.18001e190
lea rbx, [rdi + 0x4858]
mov dword [rdi + 0x4888], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18000968e
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.18001e480
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x1800096a4
mov edx, 8
mov rcx, rbx
call fcn.18001e480
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.18001d830
mov rsi, qword [0x1801a5900]
mov dword [rsi + 0x5cac], r15d
cmp byte [rsi + 0x5ca9], r15b
je 0x180009847
mov r14d, dword [rsi + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rsi + 0x4a58], 7
lea r8d, [rdx + 1]
call fcn.180012370
test al, al
je 0x180009706
mov byte [rsi + 0x5ca9], r15b
mov ebp, dword [rsi + 0xe18]
cmp ebp, 0x3000
je 0x18000973c
movzx ecx, byte [rsi + 0x5caa]
xor r8d, r8d
xor edx, edx
call fcn.180012540
test al, al
je 0x18000973c
test r14d, r14d
je 0x18000973c
mov dword [rsi + 0x5cac], r14d
mov byte [rsi + 0x5ca9], r15b
mov ebx, r15d
nop
cmp ebp, 0x3000
jne 0x18000975e
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.180012540
test al, al
je 0x18000975e
mov byte [rsi + 0x5caa], bl
inc ebx
cmp ebx, 3
jl 0x180009740
mov rax, qword [0x1801a5900]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.180016150
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.180036330
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180036330
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 0x1800097d9
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.180036330
jmp 0x180009811
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 [0x1801a5900]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.180036430
mov rax, qword [0x1801a5900]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x180009842
mov r8d, 0x2693
lea rdx, [0x1800c6980]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.180010a70
mov rbx, qword [0x1801a5900]
mov rbp, qword [rsp + 0xe0]
mov dword [rbx + 0x3f18], r15d
mov eax, dword [rbx + 0x5cc0]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x18000993c
mov esi, dword [rbx + 0x3f20]
test esi, esi
jne 0x180009881
mov esi, dword [rbx + 0x3f30]
cmp dword [rbx + 0x5cc8], esi
je 0x1800098c7
mov dword [rbx + 0x5cc8], esi
mov dword [rbx + 0x5cc4], 0xffffffff
mov ecx, dword [rbx + 0x5cd4]
test ecx, ecx
jns 0x1800098c0
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5cd0]
test eax, eax
cmovg edx, eax
call fcn.18001e350
mov dword [rbx + 0x5cd0], r15d
test esi, esi
je 0x18000993c
movsxd rax, dword [rbx + 0x5cc4]
test eax, eax
js 0x1800098fd
cmp eax, dword [rbx + 0x5cd0]
jge 0x1800098fd
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5cd8]
cmp byte [rax + rcx*8 + 5], r15b
jne 0x1800098f7
cmp byte [rax + rcx*8 + 4], 2
jle 0x1800098fd
inc dword [rbx + 0x5cc4]
movsxd rdx, dword [rbx + 0x5cc4]
cmp edx, 0xffffffff
jne 0x180009911
mov dword [rbx + 0x3f18], esi
jmp 0x18000993c
test edx, edx
js 0x18000993c
cmp edx, dword [rbx + 0x5cd0]
jge 0x18000993c
mov rax, qword [rbx + 0x5cd8]
lea rsi, [rdx + rdx*8]
mov ecx, dword [rax + rsi*8]
mov dword [rbx + 0x3f18], ecx
mov rax, qword [rbx + 0x5cd8]
inc byte [rax + rsi*8 + 4]
movzx eax, byte [rdi + 0x5ca8]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x180009970
sub al, 1
mov byte [rdi + 0x5ca8], al
jne 0x180009970
mov dword [rdi + 0x4754], r15d
mov rax, qword [0x1801a5900]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1800d4ccc]
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.18000e230
mov rax, qword [rdi + 0x3ed0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0xb6], 1
je 0x1800099e8
mov r8d, 0x11da
lea rdx, [0x1800c6980]
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.180006c10