Function at 0x140008fc0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x140580140]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r14
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
test rbx, rbx
jne 0x140009019
mov r8d, 0x11bf
lea rdx, [0x140150470]
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 [0x140580140]
mov edi, dword [rbx + 0x5d48]
sub edi, 1
js 0x14000910f
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
cmp edi, dword [rbx + 0x5d48]
jl 0x140009054
mov r8d, 0x731
lea rdx, [0x140150280]
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 + 0x5d50]
cmp dword [rax + rbp + 4], 7
jne 0x1400090fe
cmp edi, dword [rbx + 0x5d48]
jl 0x140009088
mov r8d, 0x731
lea rdx, [0x140150280]
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 + 0x5d50]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x1400090ab
movsxd rax, dword [rbx + 0x5d48]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x1400090c5
mov r8d, 0x749
lea rdx, [0x140150280]
lea rcx, [0x1401555d8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x5d50]
movsxd r8, dword [rbx + 0x5d48]
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 + 0x5d48]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x140009032
mov rdi, qword [rbx + 0x5d50]
movsxd rsi, dword [rbx + 0x5d48]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140009148
nop dword [rax]
cmp dword [rdi + 4], 0
jne 0x14000913f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x140009130
call fcn.140015a90
mov rdi, qword [0x140580140]
xor esi, esi
cmp byte [rdi + 0x5d00], sil
jne 0x1400091de
cmp dword [rdi + 0x5d28], esi
je 0x140009181
mov r8d, 0x32d2
lea rdx, [0x140150470]
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 0x1400091d7
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
call fcn.140004240
mov rbp, rax
test rax, rax
je 0x1400091d7
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x1400091bc
mov rcx, rax
call fcn.14001d050
mov rcx, qword [0x140580140]
test rcx, rcx
je 0x1400091ce
dec dword [rcx + 0xf0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x5d00], 1
movss xmm0, dword [rdi + 0x5d04]
xorps xmm9, xmm9
comiss xmm0, xmm9
jbe 0x14000927d
subss xmm0, dword [rdi + 0x18]
comiss xmm9, xmm0
movss dword [rdi + 0x5d04], xmm0
jb 0x14000927d
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x140009270
mov rax, qword [0x140580140]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
mov dword [rax + 0x5d04], esi
call fcn.14001d2d0
lea rdx, [0x1401552bc]
mov rcx, rbp
mov r14, rax
call fcn.140004150
mov rbp, rax
test rax, rax
je 0x140009277
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 0x140009277
mov byte [rdi + 0xd6], 1
mov dword [rdi + 0x5d04], esi
inc dword [rbx + 0x3e60]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3e6c], 1
mov word [rbx + 0x5c54], si
mov dword [rbx + 0x3ef8], esi
addsd xmm0, qword [rbx + 0x3e58]
movsd qword [rbx + 0x3e58], xmm0
mov ecx, dword [rbx + 0x5c6c]
test ecx, ecx
jns 0x1400092d5
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5c68]
test eax, eax
cmovg edx, eax
call fcn.14001f560
movss xmm8, dword [0x140160914]
movss xmm10, dword [0x140160814]
mov dword [rbx + 0x5c68], esi
movsxd rax, dword [rbx + 0x5f48]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x5e58]
addss xmm0, dword [rbx + 0x5f50]
movss dword [rbx + 0x5f50], xmm0
movss dword [rbx + rax*4 + 0x5e58], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x5f48]
movss xmm2, dword [rbx + 0x5f50]
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 + 0x5f4c]
inc eax
mov dword [rbx + 0x5f48], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm9
mov dword [rbx + 0x5f4c], ecx
jbe 0x14000937f
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140009383
movaps xmm1, xmm8
movss dword [rbx + 0xdc], xmm1
mov ecx, dword [rbx + 0x3e94]
test ecx, ecx
jns 0x1400093b1
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3e90]
test eax, eax
cmovg edx, eax
call fcn.14001f380
mov dword [rbx + 0x3e90], esi
movzx ecx, byte [rbx + 0x5a]
call fcn.140014dc0
mov rdi, qword [0x140580140]
cmp dword [rdi + 0x48f8], 1
je 0x1400093ea
mov r8d, 0x343a
lea rdx, [0x140150470]
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rdi + 0x48f8], esi
jg 0x14000940c
mov r8d, 0x731
lea rdx, [0x140150280]
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 + 0x4900]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rdi + 0x10]
movsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdi + 0x4900]
movsxd rax, dword [rdi + 0x48f8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1400094e0
mov rax, qword [rcx]
movaps xmm3, xmm9
add rcx, 8
movsd xmm4, qword [rax + 0xb8]
movsd xmm2, qword [rax + 0xc0]
movaps xmm1, xmm4
movsd qword [rax + 0xb0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
mov qword [rax + 0xc0], rsi
mov qword [rax + 0xb8], rsi
movsd qword [rax + 0xa8], xmm4
addss xmm0, dword [rax + 8]
addss xmm1, dword [rax + 4]
movss dword [rax + 0x18], xmm0
movaps xmm0, xmm4
movss dword [rax + 0x14], xmm1
movss xmm1, dword [rax + 0xc]
shufps xmm0, xmm0, 0x55
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [rax + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm9
maxss xmm3, xmm1
addss xmm2, dword [rax + 0xb4]
movss dword [rax + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rax + 0x20], xmm0
cmp rcx, rdx
jne 0x140009445
mov rax, qword [rbx + 0x38]
mov rdi, qword [0x140580140]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x140009522
mov rdi, qword [rdi + 0x38]
cmp dword [rdi + 0x58], esi
jg 0x14000951b
mov r8d, 0x731
lea rdx, [0x140150280]
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.140012040
mov rax, qword [rbx + 0x3c28]
cmp qword [rax + 0x40], rsi
jne 0x14000954e
mov r8d, 0x11e8
lea rdx, [0x140150470]
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x4900]
movaps xmm7, xmm8
movsxd rax, dword [rbx + 0x48f8]
movaps xmm6, xmm8
movss xmm4, dword [0x140160948]
movaps xmm5, xmm4
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1400095c6
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm7, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x1400095a5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1400095ad
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1400095b5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1400095bd
movaps xmm5, xmm1
add rcx, 8
cmp rcx, rdx
jne 0x140009580
movss dword [rbx + 0x3c54], xmm7
movss dword [rbx + 0x3c58], xmm6
movss dword [rbx + 0x3c5c], xmm4
movss dword [rbx + 0x3c60], xmm5
mov eax, dword [rbx + 0x38a0]
movss xmm6, dword [rbx + 0x38a4]
movaps xmm7, xmmword [rsp + 0x70]
mov dword [rbx + 0x3c4c], eax
movss xmm0, dword [rbx + 0x3c50]
ucomiss xmm0, xmm6
jp 0x140009612
je 0x1400096e2
comiss xmm6, xmm9
ja 0x140009632
mov r8d, 0x194
lea rdx, [0x14015a7e0]
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rbx + 0x3c50], xmm6
lea r14, [rbx + 0x3dfc]
movss xmm6, dword [0x140160854]
mov edi, esi
mov ebp, 0x2710
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x1400096a7
movss xmm1, dword [rbx + 0x3c50]
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 0x1400096a0
mov eax, 4
jmp 0x1400096ac
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400096ac
mov eax, Ordinal_50
mov byte [r14], al
inc edi
inc r14
cmp edi, 0x40
jl 0x140009650
movss xmm0, dword [0x1401607b4]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3c50]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3df8], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbx + 0x3c64], esi
cmp byte [rbx + 0x389c], sil
je 0x14000970c
mov dword [rbx + 0x3c64], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x389d], sil
je 0x140009731
mov rax, qword [rbx + 0x3c28]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140009731
or edx, 2
mov dword [rbx + 0x3c64], edx
cmp byte [rbx + 0x389e], sil
je 0x140009743
or edx, 4
mov dword [rbx + 0x3c64], edx
test byte [rbx + 0xc], 8
je 0x140009752
or edx, 8
mov dword [rbx + 0x3c64], edx
mov rcx, qword [rbx + 0x4900]
movsxd rax, dword [rbx + 0x48f8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140009780
nop dword [rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], sil
cmp rcx, rdx
jne 0x140009770
mov rcx, qword [0x140580140]
cmp byte [rbx + 0x4b20], sil
je 0x1400097bb
mov eax, dword [rbx + 0x4b3c]
cmp eax, dword [rbx + 0x3f68]
jne 0x1400097bb
cmp dword [rcx + 0x3f68], eax
jne 0x1400097ac
mov dword [rcx + 0x3f6c], eax
cmp dword [rcx + 0x3f98], eax
jne 0x1400097bb
mov byte [rcx + 0x3f9c], 1
cmp dword [rbx + 0x3f58], esi
jne 0x1400097cb
mov dword [rbx + 0x3f60], esi
jmp 0x1400097dd
mov eax, dword [rbx + 0x3f54]
test eax, eax
je 0x1400097e3
cmp dword [rbx + 0x3f68], eax
jne 0x1400097e3
mov dword [rbx + 0x3f64], esi
mov eax, dword [rbx + 0x3f54]
test eax, eax
je 0x14000981d
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3f60]
movss dword [rbx + 0x3f60], xmm0
cmp dword [rbx + 0x3f68], eax
je 0x14000981d
addss xmm1, dword [rbx + 0x3f64]
movss dword [rbx + 0x3f64], xmm1
mov dword [rbx + 0x3f58], eax
mov eax, dword [rbx + 0x3f68]
mov dword [rbx + 0x3f54], esi
mov word [rbx + 0x3f5c], si
test eax, eax
je 0x14000986f
cmp dword [rbx + 0x3f6c], eax
je 0x14000986f
cmp dword [rbx + 0x3f98], eax
jne 0x14000986f
test byte [rbx + 0x5de4], 1
je 0x14000985f
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001df20
xor edx, edx
xor ecx, ecx
call fcn.140007f10
mov rcx, qword [0x140580140]
mov edi, dword [rbx + 0x3f68]
test edi, edi
je 0x14000988e
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x3f70]
movss dword [rbx + 0x3f70], xmm0
mov rax, qword [rbx + 0x3f88]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x3fac]
mov qword [rbx + 0x3fa0], rax
movzx eax, byte [rbx + 0x3f78]
mov byte [rbx + 0x3f9d], al
mov eax, dword [rbx + 0x5bd8]
movss dword [rbx + 0x3fac], xmm0
mov dword [rbx + 0x3f98], edi
mov dword [rbx + 0x3f6c], esi
mov byte [rbx + 0x3f79], sil
mov byte [rbx + 0x3f9c], sil
mov byte [rbx + 0x3f74], sil
test eax, eax
je 0x1400098f3
cmp edi, eax
je 0x1400098f3
mov dword [rbx + 0x5bd8], esi
test edi, edi
jne 0x14000990c
mov dword [rbx + 0x4778], esi
mov byte [rbx + 0x477c], sil
mov dword [rbx + 0x4780], esi
jmp 0x140009953
mov eax, dword [rbx + 0x4780]
test eax, eax
je 0x140009953
test al, 2
je 0x14000992d
mov edx, 0x20e
call fcn.140002ed0
mov dword [rax + 4], edi
mov dword [rax], edi
mov word [rax + 8], si
test dword [rbx + 0x4780], 0xfffffffd
je 0x140009953
mov r8d, 0x1238
lea rdx, [0x140150470]
lea rcx, [0x140150410]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx + 0x4c90]
test ecx, ecx
je 0x140009976
movss xmm0, dword [rbx + 0x4cac]
comiss xmm0, dword [rbx + 0x3c14]
jb 0x14000997c
mov dword [rbx + 0x4ca0], ecx
jmp 0x14000997c
mov dword [rbx + 0x4ca0], esi
mov rax, qword [rbx + 0x3f10]
test rax, rax
je 0x1400099a4
movss xmm0, dword [rbx + 0x4cac]
comiss xmm0, dword [rbx + 0x3c14]
jb 0x1400099aa
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x4ca4], eax
jmp 0x1400099aa
mov dword [rbx + 0x4ca4], esi
movss xmm0, dword [rbx + 0x4c98]
mov dword [rbx + 0x4c94], ecx
test ecx, ecx
je 0x1400099d7
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4c9c], esi
mov dword [rbx + 0x4c90], esi
movss dword [rbx + 0x4c98], xmm0
jmp 0x140009a11
comiss xmm0, xmm9
jbe 0x140009a11
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1401607cc]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4c9c]
addss xmm2, xmm2
movss dword [rbx + 0x4c9c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140009a11
mov qword [rbx + 0x4c98], rsi
mov eax, dword [rbx + 0x4b8c]
mov dword [rbx + 0x4b90], eax
mov qword [rbx + 0x4b88], 0x7f7fffff
mov word [rbx + 0x4b21], si
mov dword [rbx + 0x4b98], esi
call fcn.140013570
call fcn.140019270
call fcn.140013db0
call fcn.140008b90
mov rdi, qword [0x140580140]
mov rcx, qword [rdi + 0x3f20]
test rcx, rcx
je 0x140009b73
mov eax, dword [rdi + 0x3f68]
mov dword [rdi + 0x3f6c], eax
cmp dword [rdi + 0x3f98], eax
jne 0x140009a7b
mov byte [rdi + 0x3f9c], 1
cmp qword [rcx + 0x378], rsi
jne 0x140009a9e
mov r8d, 0x111b
lea rdx, [0x140150470]
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 [rdi + 0x3f20]
mov r14, qword [rax + 0x378]
cmp byte [rdi + 0xe08], sil
je 0x140009b6a
cmp qword [0x140580140], rsi
lea rbp, [rdi + 0xe00]
jne 0x140009ae3
mov r8d, 0x2136
lea rdx, [0x140150470]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
jne 0x140009af6
mov rbp, qword [0x140580140]
add rbp, 0xe00
movss xmm0, dword [rbp]
movss xmm1, dword [0x140160944]
comiss xmm0, xmm1
movss xmm2, dword [rbp + 4]
jb 0x140009b6a
comiss xmm2, xmm1
jb 0x140009b6a
movss xmm0, dword [rdi + 0xe00]
lea rdx, [rsp + 0xb0]
movss xmm1, dword [rdi + 0xe04]
mov r8d, 1
subss xmm0, dword [rdi + 0x3f7c]
subss xmm1, dword [rdi + 0x3f80]
mov rcx, r14
movss dword [rsp + 0xb0], xmm0
movss dword [rsp + 0xb4], xmm1
call fcn.1400123d0
mov rcx, qword [rdi + 0x3f20]
xor edx, edx
call fcn.140011d00
jmp 0x140009bb1
mov qword [rdi + 0x3f20], rsi
jmp 0x140009ba8
mov rcx, qword [rdi + 0x3f88]
test rcx, rcx
je 0x140009bb1
mov eax, dword [rdi + 0x3f68]
cmp dword [rcx + 0x7c], eax
jne 0x140009bb1
mov dword [rdi + 0x3f6c], eax
cmp dword [rdi + 0x3f98], eax
jne 0x140009b9f
mov byte [rdi + 0x3f9c], 1
cmp byte [rdi + 0xe08], sil
jne 0x140009bb1
xor edx, edx
xor ecx, ecx
call fcn.140007f10
mov r8, qword [0x140580140]
mov eax, dword [r8 + 0x48c0]
sub eax, 1
js 0x140009bfb
mov r8, qword [r8 + 0x48c8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140009bf1
test dword [rax + 0x14], 0x8000000
jne 0x140009c12
sub r8, 0x38
sub rdx, 1
jns 0x140009be0
cmp qword [rbx + 0x4ae8], rsi
je 0x140009c2e
movss xmm0, dword [rbx + 0x4b04]
comiss xmm0, xmm9
jbe 0x140009c2e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140160868]
addss xmm1, dword [rbx + 0x4b1c]
minss xmm1, xmm10
jmp 0x140009c4c
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140160878]
movss xmm1, dword [rbx + 0x4b1c]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rbx + 0x4b1c], xmm1
movups xmm0, xmmword [rbx + 0x5ce0]
mov dword [rbx + 0x4ca8], esi
mov qword [rbx + 0x5f58], 0xffffffffffffffff
movups xmmword [rbx + 0x5cf0], xmm0
mov dword [rbx + 0x5f54], 0xffffffff
mov byte [rbx + 0x5ce0], sil
call fcn.140014430
mov eax, dword [rbx + 0x3ea8]
movaps xmm10, xmmword [rsp + 0x40]
cmp dword [rbx + 0x3eb8], eax
jle 0x140009cb7
mov r8d, 0x128b
lea rdx, [0x140150470]
lea rcx, str.g.WindowsFocusOrder.Size___g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x3e6f], sil
jne 0x140009cde
movss xmm0, dword [rbx + 0x60]
comiss xmm9, xmm0
ja 0x140009cde
movsd xmm8, qword [rbx + 0x3e58]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov r14, qword [rbx + 0x3eb0]
movsxd rax, dword [rbx + 0x3ea8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x140009e57
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xb6]
movzx eax, word [rdi + 0xc2]
mov byte [rdi + 0xb7], cl
mov byte [rdi + 0xb6], sil
mov byte [rdi + 0xb8], sil
mov word [rdi + 0xc4], ax
mov word [rdi + 0xc2], si
test cl, cl
jne 0x140009e4a
cmp byte [rdi + 0x3e4], sil
jne 0x140009e4a
comiss xmm8, dword [rdi + 0x264]
jbe 0x140009e4a
mov rcx, qword [rdi + 0x298]
mov byte [rdi + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3e0], eax
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
je 0x140009da8
mov rax, qword [0x140580140]
mov qword [rdi + 0xf0], rsi
test rax, rax
je 0x140009d9b
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0xf8], rsi
mov rcx, qword [rdi + 0x298]
call fcn.140020da0
mov rcx, qword [rdi + 0x198]
test rcx, rcx
je 0x140009de6
mov rax, qword [0x140580140]
mov qword [rdi + 0x190], rsi
test rax, rax
je 0x140009dd9
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x198], rsi
mov rcx, qword [rdi + 0x1d0]
test rcx, rcx
je 0x140009e18
mov rax, qword [0x140580140]
mov qword [rdi + 0x1c8], rsi
test rax, rax
je 0x140009e0b
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d0], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140009e4a
mov rax, qword [0x140580140]
mov qword [rdi + 0x1d8], rsi
test rax, rax
je 0x140009e3d
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1e0], rsi
add r14, 8
cmp r14, rbp
jne 0x140009d00
mov eax, dword [rbx + 0x4c20]
mov edi, esi
test eax, eax
jle 0x140009f29
mov rbp, rsi
nop word [rax + rax]
test edi, edi
js 0x140009e78
cmp edi, eax
jl 0x140009e92
mov r8d, 0x731
lea rdx, [0x140150280]
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 + 0x4c28]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm9
jb 0x140009f15
test edi, edi
js 0x140009eb0
cmp edi, dword [rbx + 0x4c20]
jl 0x140009eca
mov r8d, 0x731
lea rdx, [0x140150280]
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 + 0x4c28]
comiss xmm8, dword [rax + rbp]
jbe 0x140009f15
test edi, edi
js 0x140009ee4
cmp edi, dword [rbx + 0x4bf8]
jl 0x140009efe
mov r8d, 0x731
lea rdx, [0x140150280]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 6
add rcx, qword [rbx + 0x4c00]
call fcn.140030250
mov eax, dword [rbx + 0x4c20]
inc edi
add rbp, 4
cmp edi, eax
jl 0x140009e70
mov rdi, qword [rbx + 0x4bf0]
movsxd rax, dword [rbx + 0x4be8]
imul rbp, rax, 0x70
add rbp, rdi
cmp rdi, rbp
je 0x140009f6d
movss xmm0, dword [rdi + 4]
comiss xmm0, xmm9
jb 0x140009f64
comiss xmm8, xmm0
jbe 0x140009f64
lea rcx, [rdi + 0x10]
call fcn.140026f40
mov dword [rdi + 4], 0xbf800000
add rdi, 0x70
cmp rdi, rbp
jne 0x140009f43
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
cmp byte [rbx + 0x3e6f], sil
je 0x140009fee
mov rax, qword [0x140580140]
mov rdi, rax
mov rcx, qword [rax + 0x48a8]
test rcx, rcx
je 0x140009fbe
mov qword [rax + 0x48a0], rsi
test rax, rax
je 0x140009faa
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140580140]
mov qword [rdi + 0x48a8], rsi
mov rcx, qword [rdi + 0x48b8]
test rcx, rcx
je 0x140009fe9
mov qword [rdi + 0x48b0], rsi
test rax, rax
je 0x140009fdc
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x48b8], rsi
call fcn.140030420
mov rax, qword [rbx + 0x4908]
mov qword [rsp + 0xc8], r15
mov byte [rbx + 0x3e6f], sil
test rax, rax
je 0x14000a0b1
cmp byte [rax + 0xb7], sil
jne 0x14000a0b1
mov r15, qword [0x140580140]
mov edi, dword [r15 + 0x3eb8]
sub edi, 1
movsxd r14, edi
js 0x14000a0a5
cmp edi, dword [r15 + 0x3eb8]
jl 0x14000a053
mov r8d, 0x731
lea rdx, [0x140150280]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r15 + 0x3ec0]
mov rbp, qword [rax + r14*8]
cmp rbp, qword [rbp + 0x378]
je 0x14000a081
mov r8d, 0x1c0a
lea rdx, [0x140150470]
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbp + 0xb7], sil
je 0x14000a09d
mov eax, dword [rbp + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14000a284
dec edi
sub r14, 1
jns 0x14000a030
xor ecx, ecx
mov edx, 1
call fcn.140011d00
mov ecx, dword [rbx + 0x3edc]
test ecx, ecx
jns 0x14000a0d7
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3ed8]
test eax, eax
cmovg edx, eax
call fcn.14001f2e0
mov dword [rbx + 0x3ed8], esi
mov ecx, dword [rbx + 0x48d4]
test ecx, ecx
jns 0x14000a103
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x48d0]
test eax, eax
cmovg edx, eax
call fcn.14001f240
lea rdi, [rbx + 0x48a0]
mov dword [rbx + 0x48d0], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14000a12f
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.14001f560
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x14000a143
mov edx, 8
mov rcx, rdi
call fcn.14001f560
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x48b0]
inc dword [rdi]
call fcn.14001e9b0
mov rbp, qword [0x140580140]
mov dword [rbp + 0x5e18], esi
cmp byte [rbp + 0x5e13], sil
je 0x14000a2fa
mov r15d, dword [rbp + 0x3f58]
xor edx, edx
mov ecx, 0x20e
mov dword [rbp + 0x4ca8], 7
lea r8d, [rdx + 1]
call fcn.140013090
test al, al
je 0x14000a1a3
mov byte [rbp + 0x5e13], sil
mov r14d, dword [rbp + 0xe20]
cmp r14d, 0x3000
je 0x14000a1db
movzx ecx, byte [rbp + 0x5e14]
xor r8d, r8d
xor edx, edx
call fcn.140013270
test al, al
je 0x14000a1db
test r15d, r15d
je 0x14000a1db
mov dword [rbp + 0x5e18], r15d
mov byte [rbp + 0x5e13], sil
mov edi, esi
nop dword [rax]
cmp r14d, 0x3000
jne 0x14000a200
xor r8d, r8d
xor edx, edx
mov ecx, edi
call fcn.140013270
test al, al
je 0x14000a200
mov byte [rbp + 0x5e14], dil
inc edi
cmp edi, 3
jl 0x14000a1e0
mov rax, qword [0x140580140]
xor ecx, ecx
or dword [rax + 0x47f0], 0x40
mov dword [rax + 0x4850], 0x3f333333
call fcn.140016d10
test al, al
je 0x14000a2fa
mov edx, r15d
lea rcx, [0x1401553c0]
call fcn.140031630
lea rcx, [0x1401553d8]
call fcn.140031630
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 r14d, 0x3000
jne 0x14000a28c
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140031630
jmp 0x14000a2c4
mov rcx, rbp
jmp 0x14000a0a7
movzx r8d, byte [rbp + 0x5e14]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r15d, r15d
mov eax, reloc.WS2_32.dll_recv
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x140580140]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.1400317a0
mov rax, qword [0x140580140]
mov rcx, qword [rax + 0x3f08]
test dword [rcx + 0x14], 0x2000000
jne 0x14000a2f5
mov r8d, 0x2830
lea rdx, [0x140150470]
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140011200
mov rdi, qword [0x140580140]
mov r15, qword [rsp + 0xc8]
mov dword [rdi + 0x3f50], esi
mov eax, dword [rdi + 0x5e30]
inc eax
cmp dword [rdi + 0x3e60], eax
jne 0x14000a3ec
mov ebp, dword [rdi + 0x3f58]
test ebp, ebp
jne 0x14000a333
mov ebp, dword [rdi + 0x3f68]
cmp dword [rdi + 0x5e38], ebp
je 0x14000a377
mov dword [rdi + 0x5e38], ebp
mov dword [rdi + 0x5e34], 0xffffffff
mov ecx, dword [rdi + 0x5e44]
test ecx, ecx
jns 0x14000a371
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5e40]
test eax, eax
cmovg edx, eax
call fcn.14001f420
mov dword [rdi + 0x5e40], esi
test ebp, ebp
je 0x14000a3ec
movsxd rax, dword [rdi + 0x5e34]
test eax, eax
js 0x14000a3ad
cmp eax, dword [rdi + 0x5e40]
jge 0x14000a3ad
lea rcx, [rax + rax*8]
mov rax, qword [rdi + 0x5e48]
cmp byte [rax + rcx*8 + 5], sil
jne 0x14000a3a7
cmp byte [rax + rcx*8 + 4], 2
jle 0x14000a3ad
inc dword [rdi + 0x5e34]
movsxd rcx, dword [rdi + 0x5e34]
cmp ecx, 0xffffffff
jne 0x14000a3c1
mov dword [rdi + 0x3f50], ebp
jmp 0x14000a3ec
test ecx, ecx
js 0x14000a3ec
cmp ecx, dword [rdi + 0x5e40]
jge 0x14000a3ec
mov rax, qword [rdi + 0x5e48]
lea rbp, [rcx + rcx*8]
mov edx, dword [rax + rbp*8]
mov dword [rdi + 0x3f50], edx
mov rax, qword [rdi + 0x5e48]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rbx + 0x5e11]
mov r14, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
test al, al
je 0x14000a417
sub al, 1
mov byte [rbx + 0x5e11], al
jne 0x14000a417
mov dword [rbx + 0x478c], esi
movzx eax, byte [rbx + 0x5e10]
test al, al
je 0x14000a43f
sub al, 1
mov byte [rbx + 0x5e10], al
jne 0x14000a43f
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14001df20
and dword [rbx + 0x5de4], 0xffffffef
mov rax, qword [0x140580140]
lea rcx, [0x140151398]
movss xmm1, dword [0x1401608f0]
xor r8d, r8d
mov byte [rbx + 0x3e6d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47f0], 2
movsd qword [rax + 0x4810], xmm0
mov dword [rax + 0x47f8], 4
call fcn.14000e9e0
mov rax, qword [rbx + 0x3f08]
cmp byte [rax + 0xbe], 1
je 0x14000a4af
mov r8d, 0x12c2
lea rdx, [0x140150470]
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x79], sil
je 0x14000a4f7
movsx edx, byte [rbx + 0x5e12]
cmp dl, 0xff
je 0x14000a4fa
mov eax, dword [rbx + 0x3e60]
and eax, 0x80000003
jge 0x14000a4d5
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, edx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub esi, eax
jmp 0x14000a4fa
mov sil, 0xff
mov byte [rbx + 0x5e12], sil
mov rdi, qword [rbx + 0x5d50]
movsxd rsi, dword [rbx + 0x5d48]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x14000a538
nop dword [rax + rax]
cmp dword [rdi + 4], 1
jne 0x14000a52f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x14000a520
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret