Function at 0x140007980
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
sub rsp, 0xb8
mov rdi, qword [0x140161638]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], 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
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x40], xmm12
test rdi, rdi
jne 0x1400079e7
mov r8d, 0x1141
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 [0x140161638]
mov ebx, dword [rdi + 0x5c50]
sub ebx, 1
js 0x140007add
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
cmp ebx, dword [rdi + 0x5c50]
jl 0x140007a22
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x5c58]
cmp dword [rax + rbp + 4], 7
jne 0x140007acc
cmp ebx, dword [rdi + 0x5c50]
jl 0x140007a56
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x5c58]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140007a79
movsxd rax, dword [rdi + 0x5c50]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140007a93
mov r8d, 0x727
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.h
lea rcx, [0x1400ceef8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c58]
movsxd r8, dword [rdi + 0x5c50]
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 + 0x5c50]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x140007a00
xor edx, edx
mov rcx, rdi
call fcn.140006060
call fcn.140015560
mov rbx, qword [0x140161638]
xor esi, esi
cmp byte [rbx + 0x5c09], sil
jne 0x140007b81
cmp dword [rbx + 0x5c30], esi
je 0x140007b24
mov r8d, 0x320e
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 0x140007b7a
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.1400035e0
mov rbp, rax
test rax, rax
je 0x140007b7a
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140007b5f
mov rcx, rax
call fcn.14001da10
mov rcx, qword [0x140161638]
test rcx, rcx
je 0x140007b71
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5c09], 1
movss xmm0, dword [rbx + 0x5c0c]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x140007c20
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5c0c], xmm0
jb 0x140007c20
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x140007c13
mov rax, qword [0x140161638]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
mov dword [rax + 0x5c0c], esi
call fcn.14001ddc0
lea rdx, [0x1400cebdc]
mov rcx, rbp
mov r14, rax
call fcn.140003430
mov rbp, rax
test rax, rax
je 0x140007c1a
mov r8, qword [rsp + 0xd0]
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 0x140007c1a
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5c0c], esi
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5bc2], si
mov dword [rdi + 0x3ee8], esi
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5bdc]
test ecx, ecx
jns 0x140007c78
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5bd8]
test eax, eax
cmovg edx, eax
call fcn.1400200f0
movss xmm11, dword [0x1400d641c]
movss xmm10, dword [0x1400d62d0]
mov dword [rdi + 0x5bd8], esi
movsxd rax, dword [rdi + 0x5e48]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5d58]
addss xmm0, dword [rdi + 0x5e50]
movss dword [rdi + 0x5e50], xmm0
movss dword [rdi + rax*4 + 0x5d58], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5e48]
movss xmm2, dword [rdi + 0x5e50]
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 + 0x5e4c]
inc eax
mov dword [rdi + 0x5e48], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5e4c], ecx
jbe 0x140007d22
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140007d26
movaps xmm1, xmm11
movss dword [rdi + 0xe0], xmm1
mov ecx, dword [rdi + 0x3e84]
test ecx, ecx
jns 0x140007d54
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3e80]
test eax, eax
cmovg edx, eax
call fcn.14001ff30
mov dword [rdi + 0x3e80], esi
movzx ecx, byte [rdi + 0x7a]
call fcn.1400148d0
mov rbp, qword [0x140161638]
cmp dword [rbp + 0x48c8], 1
je 0x140007d8d
mov r8d, 0x3379
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbp + 0x48c8], esi
jg 0x140007daf
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 [rbp + 0x48d0]
mov r14d, esi
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rbp + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rbp + 0x48c8]
test eax, eax
jle 0x140007eb4
mov rbx, rsi
test rbx, rbx
js 0x140007deb
cmp r14d, eax
jl 0x140007e05
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 [rbp + 0x48d0]
inc r14d
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], rsi
movss xmm0, dword [rcx + 0xc]
subss xmm0, xmm4
mov qword [rcx + 0xa8], rsi
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 [rbp + 0x48c8]
cmp r14d, eax
jl 0x140007de1
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x140161638]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140007ef6
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], esi
jg 0x140007eef
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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.140011850
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], rsi
jne 0x140007f22
mov r8d, 0x116a
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400d6444]
movaps xmm6, xmm11
mov eax, dword [rdi + 0x48c8]
movaps xmm8, xmm7
movaps xmm9, xmm11
mov ebx, esi
test eax, eax
jle 0x140007fcb
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x140007f59
cmp ebx, eax
jl 0x140007f73
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x48d0]
mov rcx, qword [rax + rbp*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 0x140007fa0
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x140007faa
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140007fb2
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x140007fbc
movaps xmm8, xmm1
mov eax, dword [rdi + 0x48c8]
inc ebx
inc rbp
cmp ebx, eax
jl 0x140007f50
mov eax, dword [rdi + 0x38a4]
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 + 0x38a8]
ucomiss xmm0, xmm6
jp 0x140008033
je 0x1400080fd
comiss xmm6, xmm12
ja 0x140008053
mov r8d, 0x1bd
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui_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 r14, [rdi + 0x3dec]
movss xmm6, dword [0x1400d62ec]
mov ebx, esi
mov ebp, 0x800
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x1400080c2
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
jns 0x1400080bb
mov eax, esi
jmp 0x1400080c7
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400080c7
mov eax, 0x30
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x140008071
movss xmm0, dword [0x1400d6274]
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, esi
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c54], esi
cmp byte [rdi + 0x38a0], sil
je 0x140008127
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x38a1], sil
je 0x14000814c
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14000814c
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x38a2], sil
je 0x14000815e
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x14000816d
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48c8]
mov ebx, esi
test eax, eax
jle 0x1400081cc
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x140008189
cmp ebx, eax
jl 0x1400081a3
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x48d0]
xorps xmm0, xmm0
inc ebx
mov rcx, qword [rax + rbp*8]
inc rbp
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
mov eax, dword [rdi + 0x48c8]
cmp ebx, eax
jl 0x140008180
cmp byte [rdi + 0x4a9c], sil
je 0x140008207
mov eax, dword [rdi + 0x4abc]
cmp eax, dword [rdi + 0x3f58]
jne 0x140008207
mov rcx, qword [0x140161638]
cmp dword [rcx + 0x3f58], eax
jne 0x1400081f8
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x140008207
mov byte [rcx + 0x3f8c], 1
cmp dword [rdi + 0x3f48], esi
jne 0x140008217
mov dword [rdi + 0x3f50], esi
jmp 0x140008229
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x14000822f
cmp dword [rdi + 0x3f58], eax
jne 0x14000822f
mov dword [rdi + 0x3f54], esi
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x140008269
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f50]
movss dword [rdi + 0x3f50], xmm0
cmp dword [rdi + 0x3f58], eax
je 0x140008269
addss xmm1, dword [rdi + 0x3f54]
movss dword [rdi + 0x3f54], xmm1
mov dword [rdi + 0x3f48], eax
mov eax, dword [rdi + 0x3f58]
mov dword [rdi + 0x3f44], esi
mov word [rdi + 0x3f4c], si
test eax, eax
je 0x1400082b4
cmp dword [rdi + 0x3f5c], eax
je 0x1400082b4
cmp dword [rdi + 0x3f88], eax
jne 0x1400082b4
test byte [rdi + 0x5ce4], 1
je 0x1400082ab
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001eb10
xor edx, edx
xor ecx, ecx
call fcn.140006b20
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
je 0x1400082d3
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f60]
movss dword [rdi + 0x3f60], xmm0
mov rax, qword [rdi + 0x3f78]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f9c]
mov qword [rdi + 0x3f90], rax
movzx eax, byte [rdi + 0x3f68]
mov byte [rdi + 0x3f8d], al
mov eax, dword [rdi + 0x5b48]
movss dword [rdi + 0x3f9c], xmm0
mov dword [rdi + 0x3f88], ecx
mov dword [rdi + 0x3f5c], esi
mov byte [rdi + 0x3f69], sil
mov byte [rdi + 0x3f8c], sil
mov byte [rdi + 0x3f64], sil
test eax, eax
je 0x140008338
cmp ecx, eax
je 0x140008338
mov dword [rdi + 0x5b48], esi
test ecx, ecx
jne 0x140008351
mov dword [rdi + 0x4768], esi
mov byte [rdi + 0x476c], sil
mov dword [rdi + 0x4770], esi
jmp 0x1400083c3
mov eax, dword [rdi + 0x4770]
test eax, eax
je 0x1400083c3
test al, 2
je 0x14000839d
mov ebx, dword [rdi + 0x3f58]
test ebx, ebx
jne 0x140008383
mov r8d, 0x231e
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 rcx, qword [0x140161638]
mov edx, 0x20e
call fcn.140002400
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], si
test dword [rdi + 0x4770], 0xfffffffd
je 0x1400083c3
mov r8d, 0x11bd
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, [0x1400c9910]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4c10]
movss xmm0, dword [rdi + 0x4c18]
mov dword [rdi + 0x4c14], eax
test eax, eax
je 0x1400083f6
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4c1c], esi
mov dword [rdi + 0x4c10], esi
movss dword [rdi + 0x4c18], xmm0
jmp 0x140008430
comiss xmm0, xmm12
jbe 0x140008430
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400d6284]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4c1c]
addss xmm2, xmm2
movss dword [rdi + 0x4c1c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140008430
mov qword [rdi + 0x4c18], rsi
mov eax, dword [rdi + 0x4b0c]
mov dword [rdi + 0x4b10], eax
mov qword [rdi + 0x4b08], 0x7f7fffff
mov word [rdi + 0x4a9d], si
mov dword [rdi + 0x4b18], esi
call fcn.140013120
call fcn.140019b00
call fcn.140013950
call fcn.140007530
mov rbx, qword [0x140161638]
mov rcx, qword [rbx + 0x3f10]
test rcx, rcx
je 0x140008592
mov eax, dword [rbx + 0x3f58]
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x14000849a
mov byte [rbx + 0x3f8c], 1
cmp qword [rcx + 0x378], rsi
jne 0x1400084bd
mov r8d, 0x109d
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x3f10]
mov r14, qword [rax + 0x378]
cmp byte [rbx + 0xe10], sil
je 0x140008589
cmp qword [0x140161638], rsi
lea rbp, [rbx + 0xe08]
jne 0x140008502
mov r8d, 0x20af
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
jne 0x140008515
mov rbp, qword [0x140161638]
add rbp, 0xe08
movss xmm0, dword [rbp]
movss xmm1, dword [0x1400d6440]
comiss xmm0, xmm1
movss xmm2, dword [rbp + 4]
jb 0x140008589
comiss xmm2, xmm1
jb 0x140008589
movss xmm0, dword [rbx + 0xe08]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe0c]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f6c]
subss xmm1, dword [rbx + 0x3f70]
mov rcx, r14
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140011c20
mov rcx, qword [rbx + 0x3f10]
xor edx, edx
call fcn.1400114a0
jmp 0x1400085d0
mov qword [rbx + 0x3f10], rsi
jmp 0x1400085c7
mov rcx, qword [rbx + 0x3f78]
test rcx, rcx
je 0x1400085d0
mov eax, dword [rbx + 0x3f58]
cmp dword [rcx + 0x7c], eax
jne 0x1400085d0
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x1400085be
mov byte [rbx + 0x3f8c], 1
cmp byte [rbx + 0xe10], sil
jne 0x1400085d0
xor edx, edx
xor ecx, ecx
call fcn.140006b20
mov r8, qword [0x140161638]
mov eax, dword [r8 + 0x48a0]
sub eax, 1
js 0x140008613
mov r8, qword [r8 + 0x48a8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140008609
test dword [rax + 0x14], 0x8000000
jne 0x14000862a
sub r8, 0x38
sub rdx, 1
jns 0x1400085f8
cmp qword [rdi + 0x4a60], rsi
je 0x140008646
movss xmm0, dword [rdi + 0x4a7c]
comiss xmm0, xmm12
jbe 0x140008646
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1400d630c]
addss xmm1, dword [rdi + 0x4a94]
minss xmm1, xmm10
jmp 0x140008664
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400d633c]
movss xmm1, dword [rdi + 0x4a94]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a94], xmm1
movups xmm0, xmmword [rdi + 0x5be8]
mov dword [rdi + 0x4a98], esi
mov qword [rdi + 0x5e58], 0xffffffffffffffff
movups xmmword [rdi + 0x5bf8], xmm0
mov dword [rdi + 0x5e54], 0xffffffff
mov byte [rdi + 0x5be8], sil
call fcn.140013f30
mov eax, dword [rdi + 0x3e98]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3ea8], eax
jle 0x1400086d5
mov r8d, 0x1204
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x3e98]
cmp byte [rdi + 0x3e5f], sil
jne 0x1400086ff
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x1400086ff
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x140008898
mov r14, rsi
nop dword [rax]
test r14, r14
js 0x140008719
cmp ebp, eax
jl 0x140008733
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x3ea0]
mov rbx, qword [rax + r14*8]
movzx ecx, byte [rbx + 0xb6]
movzx eax, word [rbx + 0xc2]
mov byte [rbx + 0xb7], cl
mov byte [rbx + 0xb6], sil
mov byte [rbx + 0xb8], sil
mov word [rbx + 0xc4], ax
mov word [rbx + 0xc2], si
test cl, cl
jne 0x140008885
cmp byte [rbx + 0x3e4], sil
jne 0x140008885
comiss xmm11, dword [rbx + 0x264]
jbe 0x140008885
mov rcx, qword [rbx + 0x298]
mov byte [rbx + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3e0], eax
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x1400087e3
mov rax, qword [0x140161638]
mov qword [rbx + 0xf0], rsi
test rax, rax
je 0x1400087d6
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xf8], rsi
mov rcx, qword [rbx + 0x298]
call fcn.140021640
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140008821
mov rax, qword [0x140161638]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140008814
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x198], rsi
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x140008853
mov rax, qword [0x140161638]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x140008846
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d0], rsi
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x140008885
mov rax, qword [0x140161638]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x140008878
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov eax, dword [rdi + 0x3e98]
inc ebp
inc r14
cmp ebp, eax
jne 0x140008710
mov eax, dword [rdi + 0x4ba0]
mov ebx, esi
test eax, eax
jle 0x140008968
mov rbp, rsi
nop dword [rax + rax]
test ebx, ebx
js 0x1400088b8
cmp ebx, eax
jl 0x1400088d2
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x4ba8]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm12
jb 0x140008954
test ebx, ebx
js 0x1400088f0
cmp ebx, dword [rdi + 0x4ba0]
jl 0x14000890a
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x4ba8]
comiss xmm11, dword [rax + rbp]
jbe 0x140008954
test ebx, ebx
js 0x140008924
cmp ebx, dword [rdi + 0x4b78]
jl 0x14000893e
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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, 0x238
add rcx, qword [rdi + 0x4b80]
call fcn.140030310
mov eax, dword [rdi + 0x4ba0]
inc ebx
add rbp, 4
cmp ebx, eax
jl 0x1400088b0
mov eax, dword [rdi + 0x4b68]
mov ebp, esi
mov qword [rsp + 0xb0], r15
test eax, eax
jle 0x140008a4d
mov r15, rsi
mov r14, rsi
test r15, r15
js 0x14000898f
cmp ebp, eax
jl 0x1400089a9
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x4b70]
movss xmm0, dword [rax + r14 + 4]
comiss xmm0, xmm12
jb 0x140008a36
test r15, r15
js 0x1400089ca
cmp ebp, dword [rdi + 0x4b68]
jl 0x1400089e4
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x4b70]
comiss xmm11, dword [rax + r14 + 4]
jbe 0x140008a36
test r15, r15
js 0x140008a00
cmp ebp, dword [rdi + 0x4b68]
jl 0x140008a1a
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 + 0x4b70]
lea rcx, [rbx + 0x10]
add rcx, r14
call fcn.1400272e0
mov dword [r14 + rbx + 4], 0xbf800000
mov eax, dword [rdi + 0x4b68]
inc ebp
inc r15
add r14, 0x70
cmp ebp, eax
jl 0x140008986
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], sil
je 0x140008ace
mov rax, qword [0x140161638]
mov rbx, rax
mov rcx, qword [rax + 0x4888]
test rcx, rcx
je 0x140008a9e
mov qword [rax + 0x4880], rsi
test rax, rax
je 0x140008a8a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140161638]
mov qword [rbx + 0x4888], rsi
mov rcx, qword [rbx + 0x4898]
test rcx, rcx
je 0x140008ac9
mov qword [rbx + 0x4890], rsi
test rax, rax
je 0x140008abc
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4898], rsi
call fcn.1400304e0
mov rax, qword [rdi + 0x48d8]
mov byte [rdi + 0x3e5f], sil
test rax, rax
je 0x140008b97
cmp byte [rax + 0xb7], sil
jne 0x140008b97
mov r15, qword [0x140161638]
mov r14d, dword [r15 + 0x3ea8]
sub r14d, 1
js 0x140008b8b
movsxd rbp, r14d
nop dword [rax]
test rbp, rbp
js 0x140008b1e
cmp r14d, dword [r15 + 0x3ea8]
jl 0x140008b38
mov r8d, 0x70f
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.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 [r15 + 0x3eb0]
mov rbx, qword [rax + rbp*8]
cmp rbx, qword [rbx + 0x378]
je 0x140008b66
mov r8d, 0x1bb0
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0xb7], sil
je 0x140008b82
mov eax, dword [rbx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140008cca
dec r14d
sub rbp, 1
jns 0x140008b10
xor ecx, ecx
mov edx, 1
call fcn.1400114a0
mov ecx, dword [rdi + 0x3ecc]
mov r15, qword [rsp + 0xb0]
test ecx, ecx
jns 0x140008bc5
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ec8]
test eax, eax
cmovg edx, eax
call fcn.14001fea0
mov dword [rdi + 0x3ec8], esi
mov ecx, dword [rdi + 0x48b4]
test ecx, ecx
jns 0x140008bf1
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x48b0]
test eax, eax
cmovg edx, eax
call fcn.14001fe10
lea rbx, [rdi + 0x4880]
mov dword [rdi + 0x48b0], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140008c1d
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1400200f0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140008c31
mov edx, 8
mov rcx, rbx
call fcn.1400200f0
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x4890]
inc dword [rbx]
call fcn.14001f520
mov rbx, qword [0x140161638]
mov dword [rbx + 0x5d18], esi
cmp byte [rbx + 0x5d13], sil
je 0x140008e01
mov ebp, dword [rbx + 0x3f48]
xor edx, edx
mov ecx, 0x20e
mov dword [rbx + 0x4a98], 7
mov r8d, 1
call fcn.140012b00
test al, al
je 0x140008c92
mov byte [rbx + 0x5d13], sil
mov r14d, dword [rbx + 0xe28]
xor r8d, r8d
xor edx, edx
cmp r14d, 0x3000
je 0x140008cd2
movzx ecx, byte [rbx + 0x5d14]
call fcn.140012ce0
test al, al
je 0x140008d18
test ebp, ebp
je 0x140008d18
mov dword [rbx + 0x5d18], ebp
mov byte [rbx + 0x5d13], sil
jmp 0x140008d18
mov rcx, rbx
jmp 0x140008b8d
xor ecx, ecx
call fcn.140012ce0
test al, al
je 0x140008ce4
mov byte [rbx + 0x5d14], sil
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.140012ce0
test al, al
je 0x140008cfe
mov byte [rbx + 0x5d14], 1
xor r8d, r8d
xor edx, edx
mov ecx, 2
call fcn.140012ce0
test al, al
je 0x140008d18
mov byte [rbx + 0x5d14], 2
mov rax, qword [0x140161638]
xor ecx, ecx
or dword [rax + 0x47d0], 0x40
mov dword [rax + 0x4830], 0x3f333333
call fcn.140016dd0
test al, al
je 0x140008e01
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.140031830
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140031830
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 0x140008d94
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140031830
jmp 0x140008dcb
movzx r8d, byte [rbx + 0x5d14]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test ebp, ebp
mov eax, 0x10
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x140161638]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b8
add rcx, rax
call fcn.140031970
mov rax, qword [0x140161638]
mov rcx, qword [rax + 0x3ef8]
test dword [rcx + 0x14], 0x2000000
jne 0x140008dfc
mov r8d, 0x279d
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400109a0
mov rbx, qword [0x140161638]
mov dword [rbx + 0x3f40], esi
mov eax, dword [rbx + 0x5d30]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x140008eeb
mov ebp, dword [rbx + 0x3f48]
test ebp, ebp
jne 0x140008e32
mov ebp, dword [rbx + 0x3f58]
cmp dword [rbx + 0x5d38], ebp
je 0x140008e76
mov dword [rbx + 0x5d38], ebp
mov dword [rbx + 0x5d34], 0xffffffff
mov ecx, dword [rbx + 0x5d44]
test ecx, ecx
jns 0x140008e70
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5d40]
test eax, eax
cmovg edx, eax
call fcn.14001ffc0
mov dword [rbx + 0x5d40], esi
test ebp, ebp
je 0x140008eeb
movsxd rax, dword [rbx + 0x5d34]
test eax, eax
js 0x140008eac
cmp eax, dword [rbx + 0x5d40]
jge 0x140008eac
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5d48]
cmp byte [rax + rcx*8 + 5], sil
jne 0x140008ea6
cmp byte [rax + rcx*8 + 4], 2
jle 0x140008eac
inc dword [rbx + 0x5d34]
movsxd rdx, dword [rbx + 0x5d34]
cmp edx, 0xffffffff
jne 0x140008ec0
mov dword [rbx + 0x3f40], ebp
jmp 0x140008eeb
test edx, edx
js 0x140008eeb
cmp edx, dword [rbx + 0x5d40]
jge 0x140008eeb
mov rax, qword [rbx + 0x5d48]
lea rbp, [rdx + rdx*8]
mov ecx, dword [rax + rbp*8]
mov dword [rbx + 0x3f40], ecx
mov rax, qword [rbx + 0x5d48]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rdi + 0x5d11]
mov r14, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x140008f1e
sub al, 1
mov byte [rdi + 0x5d11], al
jne 0x140008f1e
mov dword [rdi + 0x477c], esi
movzx eax, byte [rdi + 0x5d10]
test al, al
je 0x140008f46
sub al, 1
mov byte [rdi + 0x5d10], al
jne 0x140008f46
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14001eb10
and dword [rdi + 0x5ce4], 0xffffffef
mov rax, qword [0x140161638]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1400d63f0]
xor r8d, r8d
mov byte [rdi + 0x3e5d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47d0], 2
movsd qword [rax + 0x47f0], xmm0
mov dword [rax + 0x47d8], 4
call fcn.14000e1a0
mov rax, qword [rdi + 0x3ef8]
cmp byte [rax + 0xbe], 1
je 0x140008fb6
mov r8d, 0x123c
lea rdx, str.C:UsersKHANPicturesimguiimguiimgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0x85], sil
je 0x140009001
movsx edx, byte [rdi + 0x5d12]
cmp dl, 0xff
je 0x140009004
mov eax, dword [rdi + 0x3e50]
and eax, 0x80000003
jge 0x140008fdf
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 0x140009004
mov sil, 0xff
mov edx, 1
mov byte [rdi + 0x5d12], sil
mov rcx, rdi
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.140006060