Function at 0x14000e3c8
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x2e0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, rcx
or r14, 0xffffffffffffffff
mov qword [rsp + 0x70], r14
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000e414
mov rax, qword [rcx]
xor esi, esi
mov qword [rcx + 0x10], rsi
mov word [rax], si
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xc0]
call fcn.1400b6460
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000e45c
lfence
jmp 0x14000e8d0
movdqa xmm0, xmmword [0x14012d4c0]
movdqu xmmword [rsp + 0xb0], xmm0
mov word [rsp + 0xa0], si
lea rax, [rsp + 0xc0]
mov r8, r14
inc r8
cmp word [rax + r8*2], si
jne 0x14000e480
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.140005dd4
nop
mov r8d, SafeArrayLock
lea rdx, str.NVIDIA_accounts
lea rcx, [rsp + 0xa0]
call fcn.140004c90
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, r14
jne 0x14000e530
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rsp + 0xa0]
call fcn.140005cfc
mov eax, ebx
jmp 0x14000e8d0
xor eax, eax
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x14000e8a6
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14000e8a6
mov qword [rsp + 0x90], rsi
mov r14d, SafeArrayLock
mov qword [rsp + 0x98], r14
mov byte [rsp + 0x80], sil
mov edx, eax
test eax, eax
jne 0x14000e592
mov qword [rsp + 0x90], rdx
mov byte [rsp + rdx + 0x80], sil
jmp 0x14000e5a5
lfence
xor r8d, r8d
lea rcx, [rsp + 0x80]
call fcn.14000601c
mov dword [rsp + 0x44], esi
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rdx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x14000e81d
mov eax, dword [rsp + 0x44]
cmp qword [rsp + 0x60], rax
jne 0x14000e81d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, rsi
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movsxd rdx, dword [rsp + 0x90]
mov byte [rsp + 0x40], sil
test edx, edx
je 0x14000e63c
lfence
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000f5fc
mov edx, dword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
sub rax, r8
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rcx, qword [rsp + 0x80]
lea r9, [rsp + 0x68]
call fcn.14000e270
test eax, eax
jne 0x14000e746
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000e6d7
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000e6c4
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e8fa
call fcn.1400974a0
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14000e71a
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e900
call fcn.1400974a0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r14
mov byte [rsp + 0x80], sil
lea rcx, [rsp + 0xa0]
call fcn.140005cfc
mov eax, ebx
jmp 0x14000e8d0
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
sub r8, rdx
shr r8, 1
mov rcx, rdi
call fcn.140005dd4
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000e7ae
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000e79b
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e8fa
call fcn.1400974a0
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14000e7f1
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e7ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e900
call fcn.1400974a0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r14
mov byte [rsp + 0x80], sil
lea rcx, [rsp + 0xa0]
call fcn.140005cfc
xor eax, eax
jmp 0x14000e8d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14000e87d
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e900
call fcn.1400974a0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r14
mov byte [rsp + 0x80], sil
lea rcx, [rsp + 0xa0]
call fcn.140005cfc
mov eax, ebx
jmp 0x14000e8d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xa0]
call fcn.140005cfc
mov eax, 0x570
jmp 0x14000e8d0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140097440
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.1400bd1c0
nop
call fcn.1400bd1c0
int3