Function at 0x140010570
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, qword [0x140271170]
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x68], r14
movaps xmmword [rsp + 0x30], xmm7
test rdi, rdi
jne 0x1400105ba
mov r8d, 0xe2a
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400ddfa8
mov rdi, qword [0x140271170]
mov qword [rsp + 0x60], rbp
call fcn.1400102f0
cmp byte [rdi + 0x2ef0], 0
mov r14d, 2
jne 0x140010715
cmp dword [rdi + 0x2f18], 0
je 0x1400105f9
mov r8d, 0xe37
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.1400ddfa8
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14001070e
lea rdx, [0x14012665c]
call fcn.14000c130
mov rbx, rax
test rax, rax
je 0x14001070e
mov rcx, rax
call fcn.1400d0300
mov ebp, eax
cmp eax, 0xffffffff
je 0x140010706
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call fcn.1400d104c
test eax, eax
jne 0x140010706
mov rcx, rbx
call fcn.1400d0300
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140010706
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400d104c
test eax, eax
jne 0x140010706
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140010706
mov rax, qword [0x140271170]
test rax, rax
je 0x14001068e
inc dword [rax + 0x3bc]
mov rcx, rbp
call fcn.1400de01c
mov rsi, rax
test rax, rax
je 0x140010706
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1400d81dc
mov rcx, rbx
cmp rax, rbp
je 0x1400106da
call fcn.1400d0c98
mov rax, qword [0x140271170]
test rax, rax
je 0x1400106d0
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1400d7f68
jmp 0x14001070e
call fcn.1400d0c98
mov rdx, rbp
mov rcx, rsi
call fcn.14001ebb0
mov rax, qword [0x140271170]
test rax, rax
je 0x1400106fc
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1400d7f68
jmp 0x14001070e
mov rcx, rbx
call fcn.1400d0c98
mov byte [rdi + 0x2ef0], 1
movss xmm0, dword [rdi + 0x2ef4]
xorps xmm6, xmm6
xor esi, esi
comiss xmm0, xmm6
jbe 0x140010756
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2ef4], xmm0
jb 0x140010756
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140010749
call fcn.14001eee0
jmp 0x140010750
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2ef4], esi
inc dword [rdi + 0x19b0]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov rbx, qword [0x140271170]
mov byte [rdi + 0x19bc], 1
mov dword [rdi + 0x2ecc], esi
mov dword [rdi + 0x1a10], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x19a8]
movsd qword [rdi + 0x19a8], xmm0
mov byte [rax], 1
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
jne 0x1400107d0
mov rbx, qword [rbx + 0xa8]
cmp dword [rbx + 0x40], esi
jg 0x1400107c9
mov r8d, 0x503
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.h
lea rcx, str.i___Size
call fcn.1400ddfa8
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
call fcn.140018230
mov rax, qword [rdi + 0x1908]
cmp qword [rax + 0x48], rsi
jne 0x1400107fb
mov r8d, 0xe54
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call fcn.1400ddfa8
mov eax, dword [rdi + 0x1604]
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mov qword [rsp + 0x20], rsi
movups xmm2, xmmword [rsp + 0x20]
mov dword [rdi + 0x192c], eax
mov eax, esi
mov dword [rdi + 0x1940], esi
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rdi + 0x1930], xmm2
cmp byte [rdi + 0x1600], sil
je 0x140010856
mov dword [rdi + 0x1940], 1
mov eax, 1
cmp byte [rdi + 0x1601], sil
je 0x140010868
or eax, r14d
mov dword [rdi + 0x1940], eax
test byte [rdi + 0xc], 8
je 0x140010877
or eax, 4
mov dword [rdi + 0x1940], eax
lea rcx, [rdi + 0x1d48]
call fcn.1400284f0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1d48]
mov rdx, qword [rdx + 8]
call fcn.140028b90
mov rax, qword [rdi + 0x1d80]
lea rcx, [rdi + 0x1d48]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.140028a80
lea rcx, [rdi + 0x1df0]
call fcn.1400284f0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1df0]
mov rdx, qword [rdx + 8]
call fcn.140028b90
mov rax, qword [rdi + 0x1e28]
lea rcx, [rdi + 0x1df0]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.140028a80
mov rdx, qword [0x140271170]
mov byte [rdi + 0x1ce8], sil
mov qword [rdi + 0x1cf0], rsi
mov qword [rdi + 0x1cfc], rsi
mov dword [rdi + 0x1cf8], esi
mov qword [rdi + 0x1d14], rsi
mov qword [rdi + 0x1d0c], rsi
mov qword [rdi + 0x1d04], rsi
cmp byte [rdi + 0x1e9c], sil
je 0x14001099c
mov eax, dword [rdi + 0x1ebc]
cmp eax, dword [rdi + 0x1a60]
jne 0x14001099c
cmp dword [rdx + 0x1a60], eax
jne 0x14001098d
mov dword [rdx + 0x1a64], eax
cmp dword [rdx + 0x1a9c], eax
jne 0x14001099c
mov byte [rdx + 0x1aa0], 1
cmp dword [rdi + 0x1a54], esi
jne 0x1400109ac
mov dword [rdi + 0x1a58], esi
jmp 0x1400109be
mov eax, dword [rdi + 0x1a4c]
test eax, eax
je 0x1400109c4
cmp dword [rdi + 0x1a60], eax
jne 0x1400109c4
mov dword [rdi + 0x1a5c], esi
mov eax, dword [rdi + 0x1a4c]
test eax, eax
je 0x1400109fe
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a58]
movss dword [rdi + 0x1a58], xmm0
cmp dword [rdi + 0x1a60], eax
je 0x1400109fe
addss xmm1, dword [rdi + 0x1a5c]
movss dword [rdi + 0x1a5c], xmm1
mov dword [rdi + 0x1a54], eax
mov eax, dword [rdi + 0x1a60]
mov dword [rdi + 0x1a4c], esi
mov byte [rdi + 0x1a50], sil
cmp dword [rdi + 0x1a64], eax
je 0x140010a76
cmp dword [rdi + 0x1a9c], eax
jne 0x140010a76
test eax, eax
je 0x140010a76
mov ecx, dword [rdx + 0x1a60]
test ecx, ecx
setne al
mov byte [rdx + 0x1a6c], al
test ecx, ecx
je 0x140010a4d
mov dword [rdx + 0x1a68], esi
mov word [rdx + 0x1a6e], si
mov dword [rdx + 0x1a60], esi
mov byte [rdx + 0x1a6d], sil
mov qword [rdx + 0x1a90], rsi
mov byte [rdx + 0x1a70], sil
mov qword [rdx + 0x1a74], rsi
mov qword [rdx + 0x1a80], rsi
mov ecx, dword [rdi + 0x1a60]
test ecx, ecx
je 0x140010a95
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1a68]
movss dword [rdi + 0x1a68], xmm0
mov rax, qword [rdi + 0x1a90]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1ab4]
mov qword [rdi + 0x1aa8], rax
movzx eax, byte [rdi + 0x1a6f]
mov byte [rdi + 0x1aa1], al
mov eax, dword [rdi + 0x2e90]
movss dword [rdi + 0x1ab4], xmm0
mov dword [rdi + 0x1a9c], ecx
mov dword [rdi + 0x1a64], esi
mov byte [rdi + 0x1a70], sil
mov byte [rdi + 0x1aa0], sil
mov byte [rdi + 0x1a6c], sil
test eax, eax
je 0x140010afa
cmp ecx, eax
je 0x140010afa
mov dword [rdi + 0x2e90], esi
test ecx, ecx
jne 0x140010b0c
mov qword [rdi + 0x1a74], rsi
mov qword [rdi + 0x1a80], rsi
mov eax, dword [rdi + 0x1f0c]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1f10], eax
mov r8d, 0x800
mov qword [rdi + 0x1f08], 0x7f7fffff
mov byte [rdi + 0x1e9d], sil
call fcn.140101b90
movss xmm1, dword [0x14013774c]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
nop
cmp byte [rcx - 1], sil
je 0x140010b7c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140010b75
movaps xmm0, xmm6
jmp 0x140010b7f
addss xmm0, dword [rdi + 0x18]
jmp 0x140010b7f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140010b9e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140010b97
movaps xmm0, xmm6
jmp 0x140010ba1
addss xmm0, dword [rdi + 0x18]
jmp 0x140010ba1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140010bc1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140010bba
movaps xmm0, xmm6
jmp 0x140010bc4
addss xmm0, dword [rdi + 0x18]
jmp 0x140010bc4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140010be5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140010bde
movaps xmm0, xmm6
jmp 0x140010be8
addss xmm0, dword [rdi + 0x18]
jmp 0x140010be8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140010b60
call fcn.14001bba0
call fcn.14000f530
movsxd rax, dword [rdi + 0x3144]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x140137710]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2f64]
addss xmm0, dword [rdi + 0x3148]
movss dword [rdi + 0x3148], xmm0
movss dword [rdi + rax*4 + 0x2f64], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3144]
movss xmm1, dword [rdi + 0x3148]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x3144], ecx
jbe 0x140010c8b
divss xmm1, dword [0x1401376ac]
movss xmm0, dword [0x140137558]
divss xmm0, xmm1
jmp 0x140010c8e
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.14000fe30
call fcn.14000f030
mov r8, qword [0x140271170]
mov eax, dword [r8 + 0x1b68]
sub eax, 1
js 0x140010ceb
mov r8, qword [r8 + 0x1b70]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140010ce1
test dword [rax + 0xc], 0x8000000
jne 0x140010d01
sub r8, 0x30
sub rdx, 1
jns 0x140010cd0
cmp qword [rdi + 0x1bd0], rsi
je 0x140010d20
movss xmm0, dword [rdi + 0x1bec]
comiss xmm0, xmm6
jbe 0x140010d20
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140137634]
addss xmm1, dword [rdi + 0x1d40]
minss xmm1, dword [0x140137558]
jmp 0x140010d3d
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140137650]
movss xmm1, dword [rdi + 0x1d40]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d40], xmm1
mov dword [rdi + 0x1e98], esi
mov qword [rdi + 0x3150], 0xffffffffffffffff
mov dword [rdi + 0x314c], 0xffffffff
mov dword [rdi + 0x2ee0], 0x3f800000
mov dword [rdi + 0x2ee4], 0x3f800000
call fcn.14000f9a0
mov rax, qword [rdi + 0x1b88]
test rax, rax
je 0x140010db8
cmp byte [rax + 0x7e], sil
je 0x140010db8
test dword [rax + 0xc], 0x40000
jne 0x140010db8
cmp byte [rdi + 0x148], sil
jne 0x140010db8
mov rax, qword [0x140271170]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x140010db8
call fcn.140012700
test al, al
je 0x140010db8
mov al, 1
jmp 0x140010dba
xor al, al
mov byte [rdi + 0x1ce0], al
cmp dword [rdi + 0x1a60], esi
jne 0x140010e21
test al, al
je 0x140010e21
mov rax, qword [rdi + 0x1b88]
mov qword [rdi + 0x1cc8], rax
mov dword [rdi + 0x1cd8], 0x7fffffff
cmp dword [rdi + 0x1b90], esi
je 0x140010e10
mov eax, dword [rdi + 0x1bf8]
cmp eax, 0x7fffffff
je 0x140010e10
cmp byte [rdi + 0x149], sil
cmovne r14d, esi
add r14d, eax
mov dword [rdi + 0x1cdc], r14d
jmp 0x140010e21
movzx eax, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1cdc], ecx
mov r8, qword [rdi + 0x1cc8]
mov qword [rdi + 0x1cc0], rsi
mov dword [rdi + 0x1cd4], 0x7fffffff
mov dword [rdi + 0x1cd0], 0x7fffffff
test r8, r8
je 0x140010eb6
mov eax, dword [rdi + 0x1cd8]
mov qword [rdi + 0x1cc0], r8
cmp eax, 0x7fffffff
je 0x140010e75
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x140010e75
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1cd0], edx
mov eax, dword [rdi + 0x1cdc]
cmp eax, 0x7fffffff
je 0x140010e9b
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x140010e9b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1cd4], edx
mov qword [rdi + 0x1cc8], rsi
mov dword [rdi + 0x1cdc], 0x7fffffff
mov dword [rdi + 0x1cd8], 0x7fffffff
mov eax, dword [rdi + 0x19c0]
mov dword [rdi + 0x1bf8], 0x7fffffff
cmp dword [rdi + 0x19d0], eax
je 0x140010eed
mov r8d, 0xed9
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size__g.Windows.Size
call fcn.1400ddfa8
mov eax, dword [rdi + 0x19c0]
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x140010f0a
movsd xmm7, qword [rdi + 0x19a8]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, esi
test eax, eax
je 0x140010f7f
mov r14, rsi
cmp ebx, eax
jl 0x140010f30
mov r8d, 0x503
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.h
lea rcx, str.i___Size
call fcn.1400ddfa8
mov rax, qword [rdi + 0x19c8]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
test al, al
jne 0x140010f6f
cmp byte [rcx + 0x3b0], sil
jne 0x140010f6f
comiss xmm7, dword [rcx + 0x27c]
jbe 0x140010f6f
call fcn.14000e690
mov eax, dword [rdi + 0x19c0]
inc ebx
add r14, 8
cmp ebx, eax
jne 0x140010f15
mov rax, qword [rdi + 0x1b88]
movaps xmm7, xmmword [rsp + 0x30]
test rax, rax
je 0x14001101d
cmp byte [rax + 0x7f], sil
jne 0x14001101d
mov r14, qword [0x140271170]
mov ebx, dword [r14 + 0x19d0]
sub ebx, 1
js 0x140011016
movsxd rbp, ebx
cmp ebx, dword [r14 + 0x19d0]
jl 0x140010fd6
mov r8d, 0x503
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.h
lea rcx, str.i___Size
call fcn.1400ddfa8
mov rax, qword [r14 + 0x19d8]
mov r8, qword [rax + rbp*8]
test r8, r8
je 0x14001100e
cmp byte [r8 + 0x7f], sil
je 0x14001100e
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1400111dd
dec ebx
sub rbp, 1
jns 0x140010fb4
xor ecx, ecx
call fcn.140017af0
mov ecx, dword [rdi + 0x19f4]
mov r14, qword [rsp + 0x68]
test ecx, ecx
jns 0x140011048
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x19f0]
test eax, eax
cmovg edx, eax
call fcn.14001fde0
mov dword [rdi + 0x19f0], esi
mov ecx, dword [rdi + 0x1b7c]
test ecx, ecx
jns 0x140011074
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b78]
test eax, eax
cmovg edx, eax
call fcn.140020330
mov dword [rdi + 0x1b78], esi
xor edx, edx
mov rcx, qword [rdi + 0x1b88]
call fcn.140019ea0
mov rbx, qword [0x140271170]
mov dword [rbx + 0x2f60], esi
cmp byte [rbx + 0x2f5c], sil
je 0x14001117d
mov ebp, dword [rbx + 0x1a54]
mov dword [rbx + 0x1e98], 7
mov ecx, dword [rbx + 0x74]
test ecx, ecx
js 0x1400110c9
call fcn.140012700
test al, al
je 0x1400110c9
mov byte [rbx + 0x2f5c], sil
mov rax, qword [0x140271170]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x1400110f0
jne 0x1400110f0
test ebp, ebp
je 0x1400110f0
mov dword [rbx + 0x2f60], ebp
mov byte [rbx + 0x2f5c], sil
or dword [rax + 0x1ab8], 0x40
mov dword [rax + 0x1b10], 0x3f19999a
call fcn.1400199d0
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.140033210
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140033210
mov rcx, qword [0x140271170]
lea rdx, str.Click_to_break_in_debugger_
mov eax, reloc.WS2_32.dll_recv
test ebp, ebp
cmove rsi, rax
add rcx, 0x1608
add rcx, rsi
call fcn.140033310
mov rax, qword [0x140271170]
mov rcx, qword [rax + 0x1a18]
test dword [rcx + 0xc], 0x2000000
jne 0x140011178
mov r8d, 0x1d02
lea rdx, str.C:UsersOpchiDesktoppecesimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call fcn.1400ddfa8
call fcn.140017820
mov rax, qword [0x140271170]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1401376c0]
xor r8d, r8d
movaps xmm0, xmm1
xor edx, edx
unpcklps xmm0, xmm1
or dword [rax + 0x1ab8], 2
movsd qword [rax + 0x1ad8], xmm0
mov dword [rax + 0x1ac0], 4
call fcn.140015430
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
mov byte [rdi + 0x19bd], 1
add rsp, 0x50
pop rdi
ret
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x140011018