Function at 0x140008070
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov rdi, qword [0x140141150]
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 0x1400080da
mov r8d, 0x10f1
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 [0x140141150]
mov ebx, dword [rdi + 0x5be8]
sub ebx, 1
mov qword [rsp + 0xb8], r14
js 0x1400081dd
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
cmp ebx, dword [rdi + 0x5be8]
jl 0x140008122
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 + 0x5bf0]
cmp dword [rax + rbp + 4], 7
jne 0x1400081cc
cmp ebx, dword [rdi + 0x5be8]
jl 0x140008156
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 + 0x5bf0]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140008179
movsxd rax, dword [rdi + 0x5be8]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140008193
mov r8d, 0x718
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.h
lea rcx, [0x1400d7918]
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 0x140008100
xor edx, edx
mov rcx, rdi
call fcn.140006670
call fcn.140014a40
mov rbx, qword [0x140141150]
xor r15d, r15d
cmp byte [rbx + 0x5ba1], r15b
jne 0x140008283
cmp dword [rbx + 0x5bc8], r15d
je 0x140008226
mov r8d, 0x30ee
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x14000827c
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
call fcn.140003f90
mov rsi, rax
test rax, rax
je 0x14000827c
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140008261
mov rcx, rax
call fcn.14001bc80
mov rcx, qword [0x140141150]
test rcx, rcx
je 0x140008273
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 0x140008324
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5ba4], xmm0
jb 0x140008324
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x140008316
mov rax, qword [0x140141150]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov dword [rax + 0x5ba4], r15d
call fcn.14001c030
lea rdx, [0x1400d75ec]
mov rcx, rsi
mov rbp, rax
call fcn.140003de0
mov rsi, rax
test rax, rax
je 0x14000831d
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 0x14000831d
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 0x14000837f
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.14001e150
movss xmm11, dword [0x1400e15fc]
movss xmm10, dword [0x1400e14c0]
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 0x14000842a
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14000842e
movaps xmm1, xmm11
mov rsi, qword [0x140141150]
movss dword [rdi + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x140008460
mov r8d, 0x323f
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008483
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008586
mov rbx, r15
test rbx, rbx
js 0x1400084bf
cmp ebp, eax
jl 0x1400084d9
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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]
inc ebp
mov rcx, qword [rax + rbx*8]
inc rbx
movsd xmm4, qword [rcx + 0xa8]
movsd xmm3, qword [rcx + 0xb0]
movaps xmm0, xmm4
movss xmm1, dword [rcx + 8]
movaps xmm2, xmm4
addss xmm2, dword [rcx + 4]
shufps xmm0, xmm0, 0x55
addss xmm1, xmm0
mov qword [rcx + 0xb0], r15
movss xmm0, dword [rcx + 0xc]
subss xmm0, xmm4
mov qword [rcx + 0xa8], r15
movss dword [rcx + 0x14], xmm2
movaps xmm2, xmm12
movsd qword [rcx + 0xa0], xmm3
movss dword [rcx + 0x18], xmm1
movss xmm1, dword [rcx + 0x10]
addss xmm0, xmm3
movsd qword [rcx + 0x98], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm12
addss xmm1, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm2
maxss xmm0, xmm1
movss dword [rcx + 0x20], xmm0
mov eax, dword [rsi + 0x48a0]
cmp ebp, eax
jl 0x1400084b6
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x140141150]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400085c9
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], r15d
jg 0x1400085c2
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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.140011430
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], r15
jne 0x1400085f5
mov r8d, 0x1115
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400e1628]
movaps xmm6, xmm11
mov eax, dword [rdi + 0x48a0]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov ebx, r15d
test eax, eax
jle 0x14000869b
mov rsi, r15
nop dword [rax]
test rsi, rsi
js 0x140008629
cmp ebx, eax
jl 0x140008643
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 xmm6, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x140008670
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x14000867a
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140008682
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x14000868c
movaps xmm8, xmm1
mov eax, dword [rdi + 0x48a0]
inc ebx
inc rsi
cmp ebx, eax
jl 0x140008620
mov eax, dword [rdi + 0x38a0]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm9
mov dword [rdi + 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 [rdi + 0x3c44], xmm6
movss xmm0, dword [rdi + 0x3c40]
movups xmmword [rsp + 0x20], xmm6
movss xmm6, dword [rdi + 0x38a4]
ucomiss xmm0, xmm6
jp 0x140008703
je 0x1400087d3
comiss xmm6, xmm12
ja 0x140008723
mov r8d, 0x194
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui_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 [0x1400e14e4]
mov ebx, r15d
mov ebp, 0x200
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x140008799
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 0x140008792
mov eax, 4
jmp 0x14000879e
cmp eax, ebp
cmovg eax, ebp
jmp 0x14000879e
mov eax, Ordinal_50
mov byte [rsi], al
inc ebx
inc rsi
cmp ebx, 0x40
jl 0x140008742
movss xmm0, dword [0x1400e1460]
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 0x1400087fe
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x389d], r15b
je 0x140008823
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140008823
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x389e], r15b
je 0x140008835
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x140008844
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48a0]
mov ebx, r15d
test eax, eax
jle 0x1400088a0
mov rsi, r15
test rsi, rsi
js 0x14000885d
cmp ebx, eax
jl 0x140008877
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008854
cmp byte [rdi + 0x4a5c], r15b
je 0x1400088db
mov eax, dword [rdi + 0x4a7c]
cmp eax, dword [rdi + 0x3f30]
jne 0x1400088db
mov rcx, qword [0x140141150]
cmp dword [rcx + 0x3f30], eax
jne 0x1400088cc
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x1400088db
mov byte [rcx + 0x3f64], 1
cmp dword [rdi + 0x3f20], r15d
jne 0x1400088ed
mov dword [rdi + 0x3f28], r15d
jmp 0x1400088ff
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x140008906
cmp dword [rdi + 0x3f30], eax
jne 0x140008906
mov dword [rdi + 0x3f2c], r15d
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x140008940
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f28]
movss dword [rdi + 0x3f28], xmm0
cmp dword [rdi + 0x3f30], eax
je 0x140008940
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 0x140008989
cmp dword [rdi + 0x3f34], eax
je 0x140008989
cmp dword [rdi + 0x3f60], eax
jne 0x140008989
test byte [rdi + 0x5c7c], 1
je 0x140008984
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001cac0
call fcn.140007210
mov ecx, dword [rdi + 0x3f30]
test ecx, ecx
je 0x1400089a8
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], ecx
mov dword [rdi + 0x3f34], r15d
mov byte [rdi + 0x3f41], r15b
mov byte [rdi + 0x3f64], r15b
mov byte [rdi + 0x3f3c], r15b
test eax, eax
je 0x140008a0f
cmp ecx, eax
je 0x140008a0f
mov dword [rdi + 0x5ae8], r15d
test ecx, ecx
jne 0x140008a2a
mov dword [rdi + 0x4740], r15d
mov byte [rdi + 0x4744], r15b
mov dword [rdi + 0x4748], r15d
jmp 0x140008a96
mov eax, dword [rdi + 0x4748]
test eax, eax
je 0x140008a96
test al, 2
je 0x140008a70
mov ebx, dword [rdi + 0x3f30]
test ebx, ebx
jne 0x140008a5c
mov r8d, 0x227a
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, 0x20e
call fcn.140002ca0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r15w
test dword [rdi + 0x4748], 0xfffffffd
je 0x140008a96
mov r8d, 0x1168
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.cpp
lea rcx, [0x1400d2980]
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 0x140008acb
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bdc], r15d
mov dword [rdi + 0x4bd0], r15d
movss dword [rdi + 0x4bd8], xmm0
jmp 0x140008b05
comiss xmm0, xmm12
jbe 0x140008b05
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400e146c]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bdc]
addss xmm2, xmm2
movss dword [rdi + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140008b05
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 0x140008b52
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.14001df80
mov dword [rdi + 0x37d0], r15d
movzx ecx, byte [rdi + 0x7a]
call fcn.140013e80
call fcn.140012890
call fcn.1400181c0
call fcn.140013070
call fcn.140007c20
mov rbx, qword [0x140141150]
mov rcx, qword [rbx + 0x3ee8]
test rcx, rcx
je 0x140008c9d
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x140008ba8
mov byte [rbx + 0x3f64], 1
cmp qword [rcx + 0x370], r15
jne 0x140008bcb
mov r8d, 0x104d
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008c94
cmp qword [0x140141150], r15
lea rsi, [rbx + 0xdfc]
jne 0x140008c10
mov r8d, 0x2018
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x140008c23
mov rsi, qword [0x140141150]
add rsi, 0xdfc
movss xmm0, dword [rsi]
movss xmm1, dword [0x1400e1620]
comiss xmm0, xmm1
movss xmm2, dword [rsi + 4]
jb 0x140008c94
comiss xmm2, xmm1
jb 0x140008c94
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.140011760
mov rcx, qword [rbx + 0x3ee8]
call fcn.1400111f0
jmp 0x140008cd7
mov qword [rbx + 0x3ee8], r15
jmp 0x140008cd2
mov rcx, qword [rbx + 0x3f50]
test rcx, rcx
je 0x140008cd7
mov eax, dword [rbx + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x140008cd7
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x140008cc9
mov byte [rbx + 0x3f64], 1
cmp byte [rbx + 0xe04], r15b
jne 0x140008cd7
call fcn.140007210
mov r8, qword [0x140141150]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x140008d1b
mov r8, qword [r8 + 0x4880]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x140008d11
test dword [rax + 0xc], 0x8000000
jne 0x140008d32
sub r8, 0x38
sub rdx, 1
jns 0x140008d00
cmp qword [rdi + 0x4a20], r15
je 0x140008d4e
movss xmm0, dword [rdi + 0x4a3c]
comiss xmm0, xmm12
jbe 0x140008d4e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1400e14fc]
addss xmm1, dword [rdi + 0x4a54]
minss xmm1, xmm10
jmp 0x140008d6c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400e1518]
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.140013630
mov eax, dword [rdi + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e80], eax
jle 0x140008dde
mov r8d, 0x11b3
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008e08
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140008e08
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r15d
test eax, eax
je 0x140008f9f
mov rbp, r15
test rbp, rbp
js 0x140008e1f
cmp esi, eax
jl 0x140008e39
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140008f8c
cmp byte [rbx + 0x3cc], r15b
jne 0x140008f8c
comiss xmm11, dword [rbx + 0x25c]
jbe 0x140008f8c
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 0x140008eea
mov rax, qword [0x140141150]
mov qword [rbx + 0xe8], r15
test rax, rax
je 0x140008edd
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.1400263a0
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x140008f28
mov rax, qword [0x140141150]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x140008f1b
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 0x140008f5a
mov rax, qword [0x140141150]
mov qword [rbx + 0x1c0], r15
test rax, rax
je 0x140008f4d
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 0x140008f8c
mov rax, qword [0x140141150]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x140008f7f
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 0x140008e16
mov eax, dword [rdi + 0x4b60]
mov ebx, r15d
test eax, eax
jle 0x14000906b
mov rsi, r15
test ebx, ebx
js 0x140008fbb
cmp ebx, eax
jl 0x140008fd5
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140009057
test ebx, ebx
js 0x140008ff3
cmp ebx, dword [rdi + 0x4b60]
jl 0x14000900d
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140009057
test ebx, ebx
js 0x140009027
cmp ebx, dword [rdi + 0x4b38]
jl 0x140009041
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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.140033390
mov eax, dword [rdi + 0x4b60]
inc ebx
add rsi, 4
cmp ebx, eax
jl 0x140008fb3
mov eax, dword [rdi + 0x4b28]
mov esi, r15d
test eax, eax
jle 0x140009147
mov r14, r15
mov rbp, r15
test r14, r14
js 0x14000908b
cmp esi, eax
jl 0x1400090a5
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140009130
test r14, r14
js 0x1400090c5
cmp esi, dword [rdi + 0x4b28]
jl 0x1400090df
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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 0x140009130
test r14, r14
js 0x1400090fb
cmp esi, dword [rdi + 0x4b28]
jl 0x140009115
mov r8d, 0x700
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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.14002bc70
mov dword [rbx + rbp + 4], 0xbf800000
mov eax, dword [rdi + 0x4b28]
inc esi
inc r14
add rbp, 0x70
cmp esi, eax
jl 0x140009082
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], r15b
je 0x1400091c8
mov rax, qword [0x140141150]
mov rbx, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x140009198
mov qword [rax + 0x4858], r15
test rax, rax
je 0x140009184
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140141150]
mov qword [rbx + 0x4860], r15
mov rcx, qword [rbx + 0x4870]
test rcx, rcx
je 0x1400091c3
mov qword [rbx + 0x4868], r15
test rax, rax
je 0x1400091b6
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.140033560
mov rax, qword [rdi + 0x48b0]
mov byte [rdi + 0x3e5f], r15b
test rax, rax
je 0x1400091eb
cmp byte [rax + 0xaf], r15b
jne 0x1400091eb
xor ecx, ecx
call fcn.140011310
mov ecx, dword [rdi + 0x3ea4]
test ecx, ecx
jns 0x140009212
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.14001def0
mov dword [rdi + 0x3ea0], r15d
mov ecx, dword [rdi + 0x488c]
test ecx, ecx
jns 0x140009240
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.14001de60
lea rbx, [rdi + 0x4858]
mov dword [rdi + 0x4888], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x14000926e
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.14001e150
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140009284
mov edx, 8
mov rcx, rbx
call fcn.14001e150
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.14001d570
mov rbx, qword [0x140141150]
mov dword [rbx + 0x5cac], r15d
cmp byte [rbx + 0x5ca9], r15b
je 0x140009443
mov esi, dword [rbx + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rbx + 0x4a58], 7
mov r8d, 1
call fcn.1400122c0
test al, al
je 0x1400092e7
mov byte [rbx + 0x5ca9], r15b
mov ebp, dword [rbx + 0xe18]
xor r8d, r8d
xor edx, edx
cmp ebp, 0x3000
je 0x14000931d
movzx ecx, byte [rbx + 0x5caa]
call fcn.140012490
test al, al
je 0x140009363
test esi, esi
je 0x140009363
mov dword [rbx + 0x5cac], esi
mov byte [rbx + 0x5ca9], r15b
jmp 0x140009363
xor ecx, ecx
call fcn.140012490
test al, al
je 0x14000932f
mov byte [rbx + 0x5caa], r15b
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.140012490
test al, al
je 0x140009349
mov byte [rbx + 0x5caa], 1
xor r8d, r8d
xor edx, edx
mov ecx, 2
call fcn.140012490
test al, al
je 0x140009363
mov byte [rbx + 0x5caa], 2
mov rax, qword [0x140141150]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.140015c80
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1400346d0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400346d0
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 0x1400093d6
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1400346d0
jmp 0x14000940d
movzx r8d, byte [rbx + 0x5caa]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test esi, esi
mov eax, reloc.WS2_32.dll_recv
mov rcx, r15
cmove rcx, rax
mov rax, qword [0x140141150]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.1400347d0
mov rax, qword [0x140141150]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x14000943e
mov r8d, 0x26d8
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400109d0
mov rbx, qword [0x140141150]
mov rbp, qword [rsp + 0xe0]
mov dword [rbx + 0x3f18], r15d
mov eax, dword [rbx + 0x5cc0]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x140009538
mov esi, dword [rbx + 0x3f20]
test esi, esi
jne 0x14000947d
mov esi, dword [rbx + 0x3f30]
cmp dword [rbx + 0x5cc8], esi
je 0x1400094c3
mov dword [rbx + 0x5cc8], esi
mov dword [rbx + 0x5cc4], 0xffffffff
mov ecx, dword [rbx + 0x5cd4]
test ecx, ecx
jns 0x1400094bc
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.14001e020
mov dword [rbx + 0x5cd0], r15d
test esi, esi
je 0x140009538
movsxd rax, dword [rbx + 0x5cc4]
test eax, eax
js 0x1400094f9
cmp eax, dword [rbx + 0x5cd0]
jge 0x1400094f9
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5cd8]
cmp byte [rax + rcx*8 + 5], r15b
jne 0x1400094f3
cmp byte [rax + rcx*8 + 4], 2
jle 0x1400094f9
inc dword [rbx + 0x5cc4]
movsxd rdx, dword [rbx + 0x5cc4]
cmp edx, 0xffffffff
jne 0x14000950d
mov dword [rbx + 0x3f18], esi
jmp 0x140009538
test edx, edx
js 0x140009538
cmp edx, dword [rbx + 0x5cd0]
jge 0x140009538
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 0x14000956c
sub al, 1
mov byte [rdi + 0x5ca8], al
jne 0x14000956c
mov dword [rdi + 0x4754], r15d
mov rax, qword [0x140141150]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1400e15b8]
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.14000e030
mov rax, qword [rdi + 0x3ed0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0xb6], 1
je 0x1400095e4
mov r8d, 0x11e6
lea rdx, str.E:F4X_MAIN_ALLF4X_C__FREEF4X_REGDIT___imgui.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.140006670