Function at 0x140007e20
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov rdi, qword [0x140058998]
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 0x140007e8a
mov r8d, 0x10f1
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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 [0x140058998]
mov ebx, dword [rdi + 0x5bf8]
sub ebx, 1
mov qword [rsp + 0xb8], r14
js 0x140007f8d
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
cmp ebx, dword [rdi + 0x5bf8]
jl 0x140007ed2
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 + 0x5c00]
cmp dword [rax + rbp + 4], 7
jne 0x140007f7c
cmp ebx, dword [rdi + 0x5bf8]
jl 0x140007f06
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 + 0x5c00]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140007f29
movsxd rax, dword [rdi + 0x5bf8]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140007f43
mov r8d, 0x716
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
lea rcx, [0x140047818]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c00]
movsxd r8, dword [rdi + 0x5bf8]
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 + 0x5bf8]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x140007eb0
xor edx, edx
mov rcx, rdi
call fcn.140006570
call fcn.140013b90
mov rbx, qword [0x140058998]
xor r15d, r15d
cmp byte [rbx + 0x5bb1], r15b
jne 0x140008033
cmp dword [rbx + 0x5bd8], r15d
je 0x140007fd6
mov r8d, 0x30fb
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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 0x14000802c
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
call fcn.1400035f0
mov rsi, rax
test rax, rax
je 0x14000802c
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140008011
mov rcx, rax
call fcn.14001ab40
mov rcx, qword [0x140058998]
test rcx, rcx
je 0x140008023
dec dword [rcx + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5bb1], 1
movss xmm0, dword [rbx + 0x5bb4]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x1400080d4
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5bb4], xmm0
jb 0x1400080d4
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400080c6
mov rax, qword [0x140058998]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov dword [rax + 0x5bb4], r15d
call fcn.14001aef0
lea rdx, [0x14004750c]
mov rcx, rsi
mov rbp, rax
call fcn.140003440
mov rsi, rax
test rax, rax
je 0x1400080cd
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 0x1400080cd
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5bb4], r15d
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5b6e], r15w
mov dword [rdi + 0x3ec0], r15d
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5b84]
test ecx, ecx
jns 0x14000812f
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5b80]
test eax, eax
cmovg edx, eax
call fcn.14001d060
movss xmm11, dword [0x1400505c0]
movss xmm10, dword [0x140050504]
mov dword [rdi + 0x5b80], r15d
movsxd rax, dword [rdi + 0x5de8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5cf8]
addss xmm0, dword [rdi + 0x5df0]
movss dword [rdi + 0x5df0], xmm0
movss dword [rdi + rax*4 + 0x5cf8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5de8]
movss xmm2, dword [rdi + 0x5df0]
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 + 0x5dec]
inc eax
mov dword [rdi + 0x5de8], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5dec], ecx
jbe 0x1400081da
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400081de
movaps xmm1, xmm11
mov rsi, qword [0x140058998]
movss dword [rdi + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x140008210
mov r8d, 0x324c
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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 0x140008233
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008332
mov rbx, r15
test rbx, rbx
js 0x14000826f
cmp ebp, eax
jl 0x140008289
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008266
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x140058998]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008375
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], r15d
jg 0x14000836e
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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.140010990
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], r15
jne 0x1400083a1
mov r8d, 0x1115
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x1400505d8]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48a0]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, r15d
test eax, eax
jle 0x140008443
mov rsi, r15
test rsi, rsi
js 0x1400083d1
cmp ebx, eax
jl 0x1400083eb
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x14000841a
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x140008424
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x14000842c
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x140008434
movaps xmm7, xmm1
mov eax, dword [rdi + 0x48a0]
inc ebx
inc rsi
cmp ebx, eax
jl 0x1400083c8
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 0x1400084a3
je 0x140008573
comiss xmm6, xmm12
ja 0x1400084c3
mov r8d, 0x194
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui_draw.cpp
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 [0x140050524]
mov ebx, r15d
mov ebp, 0x200
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x140008539
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, 4
jge 0x140008532
mov eax, 4
jmp 0x14000853e
cmp eax, ebp
cmovg eax, ebp
jmp 0x14000853e
mov eax, 0x30
mov byte [rsi], al
inc ebx
inc rsi
cmp ebx, 0x40
jl 0x1400084e2
movss xmm0, dword [0x1400504a4]
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 0x14000859e
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x389d], r15b
je 0x1400085c3
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400085c3
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x389e], r15b
je 0x1400085d5
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x1400085e4
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48a0]
mov ebx, r15d
test eax, eax
jle 0x140008640
mov rsi, r15
test rsi, rsi
js 0x1400085fd
cmp ebx, eax
jl 0x140008617
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x1400085f4
cmp byte [rdi + 0x4a5c], r15b
je 0x14000867b
mov eax, dword [rdi + 0x4a7c]
cmp eax, dword [rdi + 0x3f30]
jne 0x14000867b
mov rcx, qword [0x140058998]
cmp dword [rcx + 0x3f30], eax
jne 0x14000866c
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x14000867b
mov byte [rcx + 0x3f64], 1
cmp dword [rdi + 0x3f20], r15d
jne 0x14000868d
mov dword [rdi + 0x3f28], r15d
jmp 0x14000869f
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x1400086a6
cmp dword [rdi + 0x3f30], eax
jne 0x1400086a6
mov dword [rdi + 0x3f2c], r15d
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x1400086e0
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f28]
movss dword [rdi + 0x3f28], xmm0
cmp dword [rdi + 0x3f30], eax
je 0x1400086e0
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 0x140008729
cmp dword [rdi + 0x3f34], eax
je 0x140008729
cmp dword [rdi + 0x3f60], eax
jne 0x140008729
test byte [rdi + 0x5c8c], 1
je 0x140008724
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001b980
call fcn.1400070b0
mov ebx, dword [rdi + 0x3f30]
test ebx, ebx
je 0x140008748
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 0x1400087af
cmp ebx, eax
je 0x1400087af
mov dword [rdi + 0x5ae8], r15d
test ebx, ebx
jne 0x1400087ca
mov dword [rdi + 0x4740], r15d
mov byte [rdi + 0x4744], r15b
mov dword [rdi + 0x4748], r15d
jmp 0x140008812
mov eax, dword [rdi + 0x4748]
test eax, eax
je 0x140008812
test al, 2
je 0x1400087ec
mov ecx, 0x20e
call fcn.1400025a0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r15w
test dword [rdi + 0x4748], 0xfffffffd
je 0x140008812
mov r8d, 0x1168
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, [0x140042ba0]
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 0x140008847
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bdc], r15d
mov dword [rdi + 0x4bd0], r15d
movss dword [rdi + 0x4bd8], xmm0
jmp 0x140008881
comiss xmm0, xmm12
jbe 0x140008881
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400504b0]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bdc]
addss xmm2, xmm2
movss dword [rdi + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140008881
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 0x1400088ce
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.14001ce90
mov dword [rdi + 0x37d0], r15d
movzx ecx, byte [rdi + 0x7a]
call fcn.140013160
call fcn.140011b10
call fcn.140017180
call fcn.1400122f0
call fcn.1400079f0
mov rbx, qword [0x140058998]
mov rcx, qword [rbx + 0x3ee8]
test rcx, rcx
je 0x140008a19
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x140008924
mov byte [rbx + 0x3f64], 1
cmp qword [rcx + 0x370], r15
jne 0x140008947
mov r8d, 0x104d
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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 0x140008a10
cmp qword [0x140058998], r15
lea rsi, [rbx + 0xdfc]
jne 0x14000898c
mov r8d, 0x2025
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x14000899f
mov rsi, qword [0x140058998]
add rsi, 0xdfc
movss xmm0, dword [rsi]
movss xmm1, dword [0x1400505d4]
comiss xmm0, xmm1
movss xmm2, dword [rsi + 4]
jb 0x140008a10
comiss xmm2, xmm1
jb 0x140008a10
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.140010bf0
mov rcx, qword [rbx + 0x3ee8]
call fcn.140010760
jmp 0x140008a53
mov qword [rbx + 0x3ee8], r15
jmp 0x140008a4e
mov rcx, qword [rbx + 0x3f50]
test rcx, rcx
je 0x140008a53
mov eax, dword [rbx + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x140008a53
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x140008a45
mov byte [rbx + 0x3f64], 1
cmp byte [rbx + 0xe04], r15b
jne 0x140008a53
call fcn.1400070b0
mov r8, qword [0x140058998]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x140008a9b
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 0x140008a91
test dword [rax + 0xc], 0x8000000
jne 0x140008ab2
sub r8, 0x38
sub rdx, 1
jns 0x140008a80
cmp qword [rdi + 0x4a20], r15
je 0x140008ace
movss xmm0, dword [rdi + 0x4a3c]
comiss xmm0, xmm12
jbe 0x140008ace
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140050538]
addss xmm1, dword [rdi + 0x4a54]
minss xmm1, xmm10
jmp 0x140008aec
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140050548]
movss xmm1, dword [rdi + 0x4a54]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a54], xmm1
movups xmm0, xmmword [rdi + 0x5b90]
mov dword [rdi + 0x4a58], r15d
mov qword [rdi + 0x5df8], 0xffffffffffffffff
movups xmmword [rdi + 0x5ba0], xmm0
mov dword [rdi + 0x5df4], 0xffffffff
mov byte [rdi + 0x5b90], r15b
call fcn.140012910
mov eax, dword [rdi + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e80], eax
jle 0x140008b5e
mov r8d, 0x11b3
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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 0x140008b88
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140008b88
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r15d
test eax, eax
je 0x140008d1f
mov rbp, r15
test rbp, rbp
js 0x140008b9f
cmp esi, eax
jl 0x140008bb9
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008d0c
cmp byte [rbx + 0x3cc], r15b
jne 0x140008d0c
comiss xmm11, dword [rbx + 0x25c]
jbe 0x140008d0c
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 0x140008c6a
mov rax, qword [0x140058998]
mov qword [rbx + 0xe8], r15
test rax, rax
je 0x140008c5d
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.140025b70
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x140008ca8
mov rax, qword [0x140058998]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x140008c9b
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 0x140008cda
mov rax, qword [0x140058998]
mov qword [rbx + 0x1c0], r15
test rax, rax
je 0x140008ccd
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 0x140008d0c
mov rax, qword [0x140058998]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x140008cff
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 0x140008b96
mov eax, dword [rdi + 0x4b60]
mov ebx, r15d
test eax, eax
jle 0x140008deb
mov rsi, r15
test ebx, ebx
js 0x140008d3b
cmp ebx, eax
jl 0x140008d55
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008dd7
test ebx, ebx
js 0x140008d73
cmp ebx, dword [rdi + 0x4b60]
jl 0x140008d8d
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008dd7
test ebx, ebx
js 0x140008da7
cmp ebx, dword [rdi + 0x4b38]
jl 0x140008dc1
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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.1400326c0
mov eax, dword [rdi + 0x4b60]
inc ebx
add rsi, 4
cmp ebx, eax
jl 0x140008d33
mov eax, dword [rdi + 0x4b28]
mov esi, r15d
test eax, eax
jle 0x140008ec7
mov r14, r15
mov rbp, r15
test r14, r14
js 0x140008e0b
cmp esi, eax
jl 0x140008e25
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008eb0
test r14, r14
js 0x140008e45
cmp esi, dword [rdi + 0x4b28]
jl 0x140008e5f
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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 0x140008eb0
test r14, r14
js 0x140008e7b
cmp esi, dword [rdi + 0x4b28]
jl 0x140008e95
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
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.14002a530
mov dword [rbx + rbp + 4], 0xbf800000
mov eax, dword [rdi + 0x4b28]
inc esi
inc r14
add rbp, 0x70
cmp esi, eax
jl 0x140008e02
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], r15b
je 0x140008f48
mov rax, qword [0x140058998]
mov rbx, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x140008f18
mov qword [rax + 0x4858], r15
test rax, rax
je 0x140008f04
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140058998]
mov qword [rbx + 0x4860], r15
mov rcx, qword [rbx + 0x4870]
test rcx, rcx
je 0x140008f43
mov qword [rbx + 0x4868], r15
test rax, rax
je 0x140008f36
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.140032890
mov rax, qword [rdi + 0x48b0]
mov byte [rdi + 0x3e5f], r15b
test rax, rax
je 0x140008f6b
cmp byte [rax + 0xaf], r15b
jne 0x140008f6b
xor ecx, ecx
call fcn.140010880
mov ecx, dword [rdi + 0x3ea4]
test ecx, ecx
jns 0x140008f92
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.14001ce00
mov dword [rdi + 0x3ea0], r15d
mov ecx, dword [rdi + 0x488c]
test ecx, ecx
jns 0x140008fc0
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.14001cd70
lea rbx, [rdi + 0x4858]
mov dword [rdi + 0x4888], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140008fee
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.14001d060
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140009004
mov edx, 8
mov rcx, rbx
call fcn.14001d060
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r15d
lea rcx, [rdi + 0x4868]
inc dword [rbx]
call fcn.14001c420
mov rsi, qword [0x140058998]
mov dword [rsi + 0x5cbc], r15d
cmp byte [rsi + 0x5cb9], r15b
je 0x1400091a7
mov r14d, dword [rsi + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rsi + 0x4a58], 7
lea r8d, [rdx + 1]
call fcn.140011540
test al, al
je 0x140009064
mov byte [rsi + 0x5cb9], r15b
mov ebp, dword [rsi + 0xe18]
cmp ebp, 0x3000
je 0x14000909a
movzx ecx, byte [rsi + 0x5cba]
xor r8d, r8d
xor edx, edx
call fcn.140011710
test al, al
je 0x14000909a
test r14d, r14d
je 0x14000909a
mov dword [rsi + 0x5cbc], r14d
mov byte [rsi + 0x5cb9], r15b
mov ebx, r15d
nop dword [rax]
cmp ebp, 0x3000
jne 0x1400090be
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140011710
test al, al
je 0x1400090be
mov byte [rsi + 0x5cba], bl
inc ebx
cmp ebx, 3
jl 0x1400090a0
mov rax, qword [0x140058998]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.140014dc0
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.1400339f0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400339f0
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 0x140009139
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1400339f0
jmp 0x140009171
movzx r8d, byte [rsi + 0x5cba]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r14d, r14d
mov eax, 0x10
mov rcx, r15
cmove rcx, rax
mov rax, qword [0x140058998]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.140033af0
mov rax, qword [0x140058998]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x1400091a2
mov r8d, 0x26e5
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14000fe50
mov rbx, qword [0x140058998]
mov rbp, qword [rsp + 0xe0]
mov dword [rbx + 0x3f18], r15d
mov eax, dword [rbx + 0x5cd0]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x14000929c
mov esi, dword [rbx + 0x3f20]
test esi, esi
jne 0x1400091e1
mov esi, dword [rbx + 0x3f30]
cmp dword [rbx + 0x5cd8], esi
je 0x140009227
mov dword [rbx + 0x5cd8], esi
mov dword [rbx + 0x5cd4], 0xffffffff
mov ecx, dword [rbx + 0x5ce4]
test ecx, ecx
jns 0x140009220
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5ce0]
test eax, eax
cmovg edx, eax
call fcn.14001cf30
mov dword [rbx + 0x5ce0], r15d
test esi, esi
je 0x14000929c
movsxd rax, dword [rbx + 0x5cd4]
test eax, eax
js 0x14000925d
cmp eax, dword [rbx + 0x5ce0]
jge 0x14000925d
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5ce8]
cmp byte [rax + rcx*8 + 5], r15b
jne 0x140009257
cmp byte [rax + rcx*8 + 4], 2
jle 0x14000925d
inc dword [rbx + 0x5cd4]
movsxd rdx, dword [rbx + 0x5cd4]
cmp edx, 0xffffffff
jne 0x140009271
mov dword [rbx + 0x3f18], esi
jmp 0x14000929c
test edx, edx
js 0x14000929c
cmp edx, dword [rbx + 0x5ce0]
jge 0x14000929c
mov rax, qword [rbx + 0x5ce8]
lea rsi, [rdx + rdx*8]
mov ecx, dword [rax + rsi*8]
mov dword [rbx + 0x3f18], ecx
mov rax, qword [rbx + 0x5ce8]
inc byte [rax + rsi*8 + 4]
movzx eax, byte [rdi + 0x5cb8]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x1400092d0
sub al, 1
mov byte [rdi + 0x5cb8], al
jne 0x1400092d0
mov dword [rdi + 0x4754], r15d
mov rax, qword [0x140058998]
lea rcx, str.DebugDefault
movss xmm1, dword [0x14005059c]
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.14000d600
mov rax, qword [rdi + 0x3ed0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0xb6], 1
je 0x140009348
mov r8d, 0x11e6
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
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.140006570