Function at 0x140008a90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov rbx, qword [0x1402420d0]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm12
test rbx, rbx
jne 0x140008aff
mov r8d, 0x10f2
lea rdx, [0x1400d5530]
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 [0x1402420d0]
mov esi, dword [rbx + 0x5be8]
sub esi, 1
mov qword [rsp + 0xb8], r14
js 0x140008bfd
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
cmp esi, dword [rbx + 0x5be8]
jl 0x140008b42
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x5bf0]
cmp dword [rcx + rbp + 4], 7
jne 0x140008bec
cmp esi, dword [rbx + 0x5be8]
jl 0x140008b7d
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x5bf0]
lea rdi, [rcx + r14]
cmp rdi, rcx
jb 0x140008b99
movsxd rax, dword [rbx + 0x5be8]
shl rax, 5
add rax, rcx
cmp rdi, rax
jb 0x140008bba
mov r8d, 0x714
lea rdx, [0x1400d5340]
lea rcx, [0x1400da698]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x5bf0]
movsxd r8, dword [rbx + 0x5be8]
sub rdi, rcx
sar rdi, 5
sub r8, rdi
mov rax, rdi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rbx + 0x5be8]
sub r14, 0x20
sub rbp, 0x20
sub esi, 1
jns 0x140008b20
xor edx, edx
mov rcx, rbx
call fcn.140006d80
call fcn.1400155c0
mov rdi, qword [0x1402420d0]
xor r12d, r12d
cmp byte [rdi + 0x5ba1], r12b
jne 0x140008ca9
cmp dword [rdi + 0x5bc8], r12d
je 0x140008c46
mov r8d, 0x30e7
lea rdx, [0x1400d5530]
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 0x140008ca2
lea r8, [rsp + 0xe0]
mov qword [rsp + 0xe0], r12
call fcn.140004320
mov rsi, rax
test rax, rax
je 0x140008ca2
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x140008c81
mov rcx, rax
call fcn.14001cba0
mov rcx, qword [0x1402420d0]
test rcx, rcx
je 0x140008c93
dec dword [rcx + 0xf4]
mov rdx, qword [0x1402420c0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rdi + 0x5ba1], 1
movss xmm0, dword [rdi + 0x5ba4]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x140008d4a
subss xmm0, dword [rdi + 0x18]
comiss xmm12, xmm0
movss dword [rdi + 0x5ba4], xmm0
jb 0x140008d4a
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x140008d3c
mov rax, qword [0x1402420d0]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0xe0], r12
mov dword [rax + 0x5ba4], r12d
call fcn.14001cf70
lea rdx, [0x1400da36c]
mov rcx, rsi
mov rbp, rax
call fcn.140004170
mov rsi, rax
test rax, rax
je 0x140008d43
mov r8, qword [rsp + 0xe0]
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 0x140008d43
mov byte [rdi + 0xdc], 1
mov dword [rdi + 0x5ba4], r12d
inc dword [rbx + 0x3e50]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x3e5c], 1
mov word [rbx + 0x5b5a], r12w
mov dword [rbx + 0x3ec0], r12d
addsd xmm0, qword [rbx + 0x3e48]
movsd qword [rbx + 0x3e48], xmm0
mov ecx, dword [rbx + 0x5b74]
test ecx, ecx
jns 0x140008daa
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5b70]
test eax, eax
cmovg edx, eax
call fcn.14001ef70
movss xmm1, dword [rbx + 0x18]
movss xmm11, dword [0x1400e6ea0]
movaps xmm0, xmm1
movss xmm10, dword [0x1400e6d30]
mov dword [rbx + 0x5b70], r12d
movsxd rax, dword [rbx + 0x5dd8]
subss xmm0, dword [rbx + rax*4 + 0x5ce8]
addss xmm0, dword [rbx + 0x5de0]
movss dword [rbx + 0x5de0], xmm0
movss dword [rbx + rax*4 + 0x5ce8], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x5dd8]
movss xmm2, dword [rbx + 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 [rbx + 0x5ddc]
inc eax
mov dword [rbx + 0x5dd8], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rbx + 0x5ddc], ecx
jbe 0x140008e50
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140008e54
movaps xmm1, xmm11
mov rsi, qword [0x1402420d0]
movss dword [rbx + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x140008e86
mov r8d, 0x3238
lea rdx, [0x1400d5530]
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], r12d
jg 0x140008ea9
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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, r12d
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], r12d
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rsi + 0x48a0]
test eax, eax
jle 0x140008fb3
mov rdi, r12
nop dword [rax]
test rdi, rdi
js 0x140008ee9
cmp ebp, eax
jl 0x140008f03
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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]
inc ebp
mov rcx, qword [rax + rdi*8]
inc rdi
movsd xmm2, qword [rcx + 0xa8]
movsd xmm3, qword [rcx + 0xb0]
movss xmm1, dword [rcx + 4]
addss xmm1, xmm2
movsd qword [rcx + 0x98], xmm2
mov qword [rcx + 0xb0], r12
movsd xmm0, qword [rcx + 0xb0]
movsd qword [rcx + 0xa8], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movaps xmm1, xmm12
movsd qword [rcx + 0xa0], xmm3
movss dword [rcx + 0x18], xmm0
movss xmm0, dword [rcx + 0xc]
subss xmm0, xmm2
movaps xmm2, xmm12
addss xmm0, xmm3
maxss xmm2, xmm0
movss xmm0, dword [rcx + 0x10]
subss xmm0, dword [rcx + 0x9c]
addss xmm0, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [rcx + 0x20], xmm1
mov eax, dword [rsi + 0x48a0]
cmp ebp, eax
jl 0x140008ee0
mov rax, qword [rbx + 0x58]
mov rdi, qword [0x1402420d0]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140008ff6
mov rdi, qword [rdi + 0x58]
cmp dword [rdi + 0x58], r12d
jg 0x140008fef
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x60]
mov rcx, qword [rax]
call fcn.140011f70
mov rax, qword [rbx + 0x3c18]
cmp qword [rax + 0x40], r12
jne 0x140009022
mov r8d, 0x1116
lea rdx, [0x1400d5530]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400e6ee0]
movaps xmm6, xmm11
mov eax, dword [rbx + 0x48a0]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov edi, r12d
test eax, eax
jle 0x1400090cf
mov rsi, r12
nop word [rax + rax]
test rsi, rsi
js 0x14000905b
mov edx, eax
cmp edi, eax
jl 0x14000907b
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbx + 0x48a0]
mov rax, qword [rbx + 0x48a8]
mov rcx, qword [rax + rsi*8]
movss xmm3, dword [rcx + 4]
comiss xmm6, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x1400090a8
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x1400090b2
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x1400090ba
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x1400090c4
movaps xmm8, xmm1
inc edi
inc rsi
mov eax, edx
cmp edi, edx
jl 0x140009050
mov eax, dword [rbx + 0x38a0]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm9
mov dword [rbx + 0x3c3c], eax
movaps xmm9, xmmword [rsp + 0x70]
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0x90]
shufps xmm6, xmm6, 0x27
movss xmm6, xmm8
movaps xmm8, xmmword [rsp + 0x80]
shufps xmm6, xmm6, 0x39
movups xmmword [rbx + 0x3c44], xmm6
movss xmm0, dword [rbx + 0x3c40]
movups xmmword [rsp + 0x20], xmm6
movss xmm6, dword [rbx + 0x38a4]
ucomiss xmm0, xmm6
jp 0x140009137
je 0x140009211
comiss xmm6, xmm12
ja 0x140009157
mov r8d, 0x194
lea rdx, [0x1400df9a0]
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rbx + 0x3c40], xmm6
lea rsi, [rbx + 0x3dec]
movss xmm6, dword [0x1400e6d6c]
mov edi, r12d
mov ebp, 0x200
nop word [rax + rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x1400091d7
movss xmm1, dword [rbx + 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, 4
jge 0x1400091d0
mov eax, 4
jmp 0x1400091dc
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400091dc
mov eax, Ordinal_50
mov byte [rsi], al
inc edi
inc rsi
cmp edi, 0x40
jl 0x140009180
movss xmm0, dword [0x1400e6cd0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3c40]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3de8], xmm1
mov r8d, r12d
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rbx + 0x3c54], r12d
cmp byte [rbx + 0x389c], r12b
je 0x14000923c
mov dword [rbx + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x389d], r12b
je 0x140009261
mov rax, qword [rbx + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140009261
or edx, 2
mov dword [rbx + 0x3c54], edx
cmp byte [rbx + 0x389e], r12b
je 0x140009273
or edx, 4
mov dword [rbx + 0x3c54], edx
test byte [rbx + 0xc], 8
je 0x140009282
or edx, 8
mov dword [rbx + 0x3c54], edx
mov eax, dword [rbx + 0x48a0]
mov edi, r12d
test eax, eax
jle 0x1400092de
mov rsi, r12
test rsi, rsi
js 0x14000929b
cmp edi, eax
jl 0x1400092b5
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x48a8]
xorps xmm0, xmm0
inc edi
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 [rbx + 0x48a0]
cmp edi, eax
jl 0x140009292
cmp byte [rbx + 0x4a5c], r12b
je 0x140009319
mov eax, dword [rbx + 0x4a7c]
cmp eax, dword [rbx + 0x3f30]
jne 0x140009319
mov rcx, qword [0x1402420d0]
cmp dword [rcx + 0x3f30], eax
jne 0x14000930a
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x140009319
mov byte [rcx + 0x3f64], 1
mov eax, dword [rbx + 0x3f1c]
cmp dword [rbx + 0x3f20], r12d
jne 0x140009331
mov dword [rbx + 0x3f28], r12d
jmp 0x14000933f
mov ecx, eax
test eax, eax
je 0x140009348
cmp dword [rbx + 0x3f30], eax
jne 0x14000934c
mov dword [rbx + 0x3f2c], r12d
mov ecx, eax
test ecx, ecx
je 0x140009380
movss xmm1, dword [rbx + 0x18]
mov eax, dword [rbx + 0x3f30]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3f28]
movss dword [rbx + 0x3f28], xmm0
cmp eax, ecx
je 0x140009386
addss xmm1, dword [rbx + 0x3f2c]
movss dword [rbx + 0x3f2c], xmm1
jmp 0x140009386
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f20], ecx
mov dword [rbx + 0x3f1c], r12d
mov word [rbx + 0x3f24], r12w
test eax, eax
je 0x1400093c9
cmp dword [rbx + 0x3f34], eax
je 0x1400093c9
cmp dword [rbx + 0x3f60], eax
jne 0x1400093c9
test byte [rbx + 0x5c7c], 1
je 0x1400093c4
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001d9f0
call fcn.140007af0
mov edi, dword [rbx + 0x3f30]
test edi, edi
je 0x1400093e8
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x3f38]
movss dword [rbx + 0x3f38], xmm0
mov rax, qword [rbx + 0x3f50]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x3f74]
mov qword [rbx + 0x3f68], rax
movzx eax, byte [rbx + 0x3f40]
mov byte [rbx + 0x3f65], al
mov eax, dword [rbx + 0x5ae8]
movss dword [rbx + 0x3f74], xmm0
mov dword [rbx + 0x3f60], edi
mov dword [rbx + 0x3f34], r12d
mov byte [rbx + 0x3f41], r12b
mov byte [rbx + 0x3f64], r12b
mov byte [rbx + 0x3f3c], r12b
test eax, eax
je 0x14000944f
cmp edi, eax
je 0x14000944f
mov dword [rbx + 0x5ae8], r12d
test edi, edi
jne 0x14000946a
mov dword [rbx + 0x4740], r12d
mov byte [rbx + 0x4744], r12b
mov dword [rbx + 0x4748], r12d
jmp 0x1400094b3
mov eax, dword [rbx + 0x4748]
test eax, eax
je 0x1400094b3
test al, 2
je 0x140009492
mov ecx, 0x20e
call fcn.140003090
mov dword [rax + 4], edi
mov dword [rax], edi
mov word [rax + 8], r12w
mov eax, dword [rbx + 0x4748]
test eax, 0xfffffffd
je 0x1400094b3
mov r8d, 0x1169
lea rdx, [0x1400d5530]
lea rcx, [0x1400d5510]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x4bd0]
movss xmm0, dword [rbx + 0x4bd8]
mov dword [rbx + 0x4bd4], eax
test eax, eax
je 0x1400094e8
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4bdc], r12d
mov dword [rbx + 0x4bd0], r12d
movss dword [rbx + 0x4bd8], xmm0
jmp 0x140009522
comiss xmm0, xmm12
jbe 0x140009522
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1400e6cdc]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4bdc]
addss xmm2, xmm2
movss dword [rbx + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140009522
mov qword [rbx + 0x4bd8], r12
mov eax, dword [rbx + 0x4acc]
mov dword [rbx + 0x4ad0], eax
mov qword [rbx + 0x4ac8], 0x7f7fffff
mov word [rbx + 0x4a5d], r12w
mov dword [rbx + 0x4ad8], r12d
mov ecx, dword [rbx + 0x37d4]
test ecx, ecx
jns 0x14000956f
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x37d0]
test eax, eax
cmovg edx, eax
call fcn.14001ed90
mov dword [rbx + 0x37d0], r12d
movzx ecx, byte [rbx + 0x7a]
call fcn.140014a00
call fcn.140013600
call fcn.1400192e0
call fcn.140013d90
call fcn.140008640
mov rdi, qword [0x1402420d0]
mov rcx, qword [rdi + 0x3ee8]
test rcx, rcx
je 0x14000966e
mov eax, dword [rdi + 0x3f30]
mov dword [rdi + 0x3f34], eax
cmp dword [rdi + 0x3f60], eax
jne 0x1400095c5
mov byte [rdi + 0x3f64], 1
cmp qword [rcx + 0x370], r12
jne 0x1400095ef
mov r8d, 0x104e
lea rdx, [0x1400d5530]
lea rcx, str.g.MovingWindow__g.MovingWindow__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x3ee8]
mov rbp, qword [rcx + 0x370]
cmp byte [rdi + 0xe04], r12b
je 0x140009665
lea rcx, [rdi + 0xdfc]
call fcn.1400134e0
test al, al
je 0x140009665
movss xmm0, dword [rdi + 0xdfc]
lea rdx, [rsp + 0xe0]
movss xmm1, dword [rdi + 0xe00]
mov r8d, 1
subss xmm0, dword [rdi + 0x3f44]
subss xmm1, dword [rdi + 0x3f48]
mov rcx, rbp
movss dword [rsp + 0xe0], xmm0
movss dword [rsp + 0xe4], xmm1
call fcn.140012360
mov rcx, qword [rdi + 0x3ee8]
call fcn.140011bf0
jmp 0x1400096a8
mov qword [rdi + 0x3ee8], r12
jmp 0x1400096a3
mov rcx, qword [rdi + 0x3f50]
test rcx, rcx
je 0x1400096a8
mov eax, dword [rdi + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x1400096a8
mov dword [rdi + 0x3f34], eax
cmp dword [rdi + 0x3f60], eax
jne 0x14000969a
mov byte [rdi + 0x3f64], 1
cmp byte [rdi + 0xe04], r12b
jne 0x1400096a8
call fcn.140007af0
mov r8, qword [0x1402420d0]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x1400096eb
mov r8, qword [r8 + 0x4880]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1400096e1
test dword [rax + 0xc], 0x8000000
jne 0x140009702
sub r8, 0x38
sub rdx, 1
jns 0x1400096d0
cmp qword [rbx + 0x4a20], r12
je 0x14000971e
movss xmm0, dword [rbx + 0x4a3c]
comiss xmm0, xmm12
jbe 0x14000971e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400e6d94]
addss xmm1, dword [rbx + 0x4a54]
minss xmm1, xmm10
jmp 0x14000973c
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400e6da4]
movss xmm1, dword [rbx + 0x4a54]
subss xmm1, xmm0
maxss xmm1, xmm12
movups xmm0, xmmword [rbx + 0x5b80]
mov dword [rbx + 0x4a58], r12d
movss dword [rbx + 0x4a54], xmm1
movups xmmword [rbx + 0x5b90], xmm0
mov qword [rbx + 0x5de8], 0xffffffffffffffff
mov dword [rbx + 0x5de4], 0xffffffff
mov byte [rbx + 0x5b80], r12b
call fcn.140014150
mov eax, dword [rbx + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3e80], eax
jle 0x1400097ae
mov r8d, 0x11b4
lea rdx, [0x1400d5530]
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 + 0x3e70]
cmp byte [rbx + 0x3e5f], r12b
jne 0x1400097d8
movss xmm0, dword [rbx + 0x80]
comiss xmm12, xmm0
ja 0x1400097d8
movsd xmm11, qword [rbx + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r12d
test eax, eax
je 0x14000998a
mov rbp, r12
test rbp, rbp
js 0x1400097ef
cmp esi, eax
jl 0x140009809
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x3e78]
mov rdi, qword [rax + rbp*8]
movzx ecx, byte [rdi + 0xae]
movzx eax, word [rdi + 0xba]
mov byte [rdi + 0xaf], cl
mov byte [rdi + 0xae], r12b
mov byte [rdi + 0xb0], r12b
mov word [rdi + 0xbc], ax
mov word [rdi + 0xba], r12w
test cl, cl
jne 0x140009977
cmp byte [rdi + 0x3cc], r12b
jne 0x140009977
comiss xmm11, dword [rdi + 0x25c]
jbe 0x140009977
mov rcx, qword [rdi + 0x290]
mov byte [rdi + 0x3cc], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3c4], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3c8], eax
mov r8, qword [rdi + 0xf0]
test r8, r8
je 0x1400098ca
mov rax, qword [0x1402420d0]
mov qword [rdi + 0xe8], r12
test rax, rax
je 0x1400098ad
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
mov rcx, r8
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0xf0], r12
mov rcx, qword [rdi + 0x290]
call fcn.1400276d0
mov rcx, qword [rdi + 0x190]
test rcx, rcx
je 0x140009907
mov rax, qword [0x1402420d0]
mov qword [rdi + 0x188], r12
test rax, rax
je 0x1400098f4
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x190], r12
mov rcx, qword [rdi + 0x1c8]
test rcx, rcx
je 0x14000993f
mov rax, qword [0x1402420d0]
mov qword [rdi + 0x1c0], r12
test rax, rax
je 0x14000992c
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1c8], r12
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x140009977
mov rax, qword [0x1402420d0]
mov qword [rdi + 0x1d0], r12
test rax, rax
je 0x140009964
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1d8], r12
mov eax, dword [rbx + 0x3e70]
inc esi
inc rbp
cmp esi, eax
jne 0x1400097e6
mov eax, dword [rbx + 0x4b60]
mov edi, r12d
test eax, eax
jle 0x140009a5c
mov rsi, r12
mov ecx, eax
test edi, edi
js 0x1400099a8
cmp edi, eax
jl 0x1400099c8
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx + 0x4b60]
mov rax, qword [rbx + 0x4b68]
movss xmm0, dword [rsi + rax]
comiss xmm0, xmm12
jb 0x140009a46
test edi, edi
js 0x1400099e2
cmp edi, ecx
jl 0x140009a03
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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 + 0x4b68]
comiss xmm11, dword [rsi + rax]
jbe 0x140009a46
test edi, edi
js 0x140009a16
cmp edi, dword [rbx + 0x4b38]
jl 0x140009a30
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
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, 0x228
add rcx, qword [rbx + 0x4b40]
call fcn.140034530
mov eax, dword [rbx + 0x4b60]
inc edi
add rsi, 4
mov ecx, eax
cmp edi, eax
jl 0x1400099a0
mov eax, dword [rbx + 0x4b28]
mov esi, r12d
test eax, eax
jle 0x140009b40
mov r14, r12
mov rbp, r12
mov ecx, eax
test r14, r14
js 0x140009a7e
cmp esi, eax
jl 0x140009a9e
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx + 0x4b28]
mov rdi, qword [rbx + 0x4b30]
movss xmm0, dword [rdi + rbp + 4]
comiss xmm0, xmm12
jb 0x140009b27
test r14, r14
js 0x140009aba
cmp esi, ecx
jl 0x140009ae1
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx + 0x4b28]
mov rdi, qword [rbx + 0x4b30]
comiss xmm11, dword [rdi + rbp + 4]
jbe 0x140009b27
test r14, r14
js 0x140009af2
cmp esi, ecx
jl 0x140009b13
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rbx + 0x4b30]
lea rcx, [rbp + 0x10]
add rcx, rdi
call fcn.14002c520
mov dword [rdi + rbp + 4], 0xbf800000
mov eax, dword [rbx + 0x4b28]
inc esi
inc r14
add rbp, 0x70
mov ecx, eax
cmp esi, eax
jl 0x140009a75
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rbx + 0x3e5f], r12b
je 0x140009bcd
mov rax, qword [0x1402420d0]
mov rdi, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x140009b97
mov qword [rax + 0x4858], r12
test rax, rax
je 0x140009b7d
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x1402420d0]
mov qword [rdi + 0x4860], r12
mov rcx, qword [rdi + 0x4870]
test rcx, rcx
je 0x140009bc8
mov qword [rdi + 0x4868], r12
test rax, rax
je 0x140009bb5
dec dword [rax + 0xf4]
mov rdx, qword [0x1402420c0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4870], r12
call fcn.140034710
mov rax, qword [rbx + 0x48b0]
mov byte [rbx + 0x3e5f], r12b
test rax, rax
je 0x140009bf0
cmp byte [rax + 0xaf], r12b
jne 0x140009bf0
xor ecx, ecx
call fcn.140011e60
mov ecx, dword [rbx + 0x3ea4]
test ecx, ecx
jns 0x140009c17
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3ea0]
test eax, eax
cmovg edx, eax
call fcn.14001ecf0
mov dword [rbx + 0x3ea0], r12d
mov ecx, dword [rbx + 0x488c]
test ecx, ecx
jns 0x140009c45
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x4888]
test eax, eax
cmovg edx, eax
call fcn.14001ec50
lea rdi, [rbx + 0x4858]
mov dword [rbx + 0x4888], r12d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140009c76
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14001ef70
mov ecx, dword [rdi + 4]
mov dword [rdi], r12d
mov eax, r12d
test ecx, ecx
jne 0x140009c8d
lea edx, [rcx + 8]
mov rcx, rdi
call fcn.14001ef70
mov eax, dword [rdi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x4868]
inc dword [rdi]
call fcn.14001e3e0
mov rdi, qword [0x1402420d0]
mov dword [rdi + 0x5cac], r12d
cmp byte [rdi + 0x5ca9], r12b
je 0x140009e37
mov r14d, dword [rdi + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rdi + 0x4a58], 7
lea r8d, [rdx + 1]
call fcn.140013100
test al, al
je 0x140009cef
mov byte [rdi + 0x5ca9], r12b
mov ebp, dword [rdi + 0xe18]
cmp ebp, 0x3000
je 0x140009d25
movzx ecx, byte [rdi + 0x5caa]
xor r8d, r8d
xor edx, edx
call fcn.1400132d0
test al, al
je 0x140009d25
test r14d, r14d
je 0x140009d25
mov dword [rdi + 0x5cac], r14d
mov byte [rdi + 0x5ca9], r12b
mov esi, r12d
cmp ebp, 0x3000
jne 0x140009d47
xor r8d, r8d
xor edx, edx
mov ecx, esi
call fcn.1400132d0
test al, al
je 0x140009d47
mov byte [rdi + 0x5caa], sil
inc esi
cmp esi, 3
jl 0x140009d28
mov rax, qword [0x1402420d0]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.140016de0
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.140035a20
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140035a20
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 0x140009dc2
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140035a20
jmp 0x140009dfa
movzx r8d, byte [rdi + 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, r12
cmove rcx, rax
mov rax, qword [0x1402420d0]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.140035ae0
mov rax, qword [0x1402420d0]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x140009e2b
mov r8d, 0x26d1
lea rdx, [0x1400d5530]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140011540
mov rdi, qword [0x1402420d0]
lea r15, [rdi + 0x3f18]
lea rsi, [rdi + 0x5cc0]
mov dword [r15], r12d
mov eax, dword [rsi]
inc eax
cmp dword [rdi + 0x3e50], eax
jne 0x140009f26
mov ebp, dword [rdi + 0x3f20]
test ebp, ebp
jne 0x140009e68
mov ebp, dword [rdi + 0x3f30]
cmp dword [rsi + 8], ebp
je 0x140009ea3
mov dword [rsi + 8], ebp
mov dword [rsi + 4], 0xffffffff
mov ecx, dword [rsi + 0x14]
test ecx, ecx
jns 0x140009e9f
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x10]
test eax, eax
cmovg edx, eax
call fcn.14001ee30
mov rdi, qword [0x1402420d0]
mov dword [rsi + 0x10], r12d
test ebp, ebp
je 0x140009f26
movsxd rcx, dword [rsi + 4]
test ecx, ecx
js 0x140009ed2
mov edx, ecx
cmp ecx, dword [rsi + 0x10]
jge 0x140009ee2
mov rax, qword [rsi + 0x18]
lea r8, [rcx + rcx*8]
cmp byte [rax + r8*8 + 5], r12b
jne 0x140009ecd
cmp byte [rax + r8*8 + 4], 2
jle 0x140009ee2
inc ecx
mov dword [rsi + 4], ecx
mov edx, ecx
cmp ecx, 0xffffffff
jne 0x140009ede
mov dword [r15], ebp
jmp 0x140009f26
test ecx, ecx
js 0x140009f26
cmp edx, dword [rsi + 0x10]
jge 0x140009f26
movsxd rax, edx
lea rbp, [rax + rax*8]
mov rax, qword [rsi + 0x18]
mov ecx, dword [rax + rbp*8]
mov dword [r15], ecx
cmp edx, dword [rsi + 0x10]
jl 0x140009f1e
mov r8d, 0x6fc
lea rdx, [0x1400d5340]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1402420d0]
mov rax, qword [rsi + 0x18]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rbx + 0x5ca8]
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
test al, al
je 0x140009f62
sub al, 1
mov byte [rbx + 0x5ca8], al
jne 0x140009f62
mov dword [rbx + 0x4754], r12d
mov byte [rbx + 0x3e5d], 1
lea rcx, str.DebugDefault
or dword [rdi + 0x47a8], 2
xor r8d, r8d
xor edx, edx
mov dword [rdi + 0x47c8], 0x43c80000
mov dword [rdi + 0x47cc], 0x43c80000
mov dword [rdi + 0x47b0], 4
call fcn.14000ec30
mov rax, qword [rbx + 0x3ed0]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
cmp byte [rax + 0xb6], 1
je 0x140009fd9
mov r8d, 0x11e7
lea rdx, [0x1400d5530]
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, 0xd0
pop rbx
jmp fcn.140006d80