Function at 0x140041b60
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x4d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x228]
call fcn.140089b10
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
test eax, eax
je 0x140042031
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1b8], xmm0
movdqa xmm1, xmmword [0x1400fea00]
movdqu xmmword [rsp + 0x1b8], xmm1
mov word [rsp + 0x1a8], si
lea rax, [rsp + 0x2b0]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x140041bfb
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x1a8]
call fcn.140001a78
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d8], xmm0
movdqa xmm1, xmmword [0x1400fea00]
movdqu xmmword [rsp + 0x1d8], xmm1
mov word [rsp + 0x1c8], si
mov r8d, 9
lea rdx, str.ImagePath
lea rcx, [rsp + 0x1c8]
call fcn.140001a78
nop
mov qword [rsp + 0x198], rsi
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x198], rsi
mov r14d, 7
mov qword [rsp + 0x1a0], r14
mov word [rsp + 0x188], si
lea rcx, [rsp + 0x28]
call fcn.14006618c
nop
lea rcx, [rsp + 0x20]
call fcn.14006618c
nop
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], r14
mov word [rsp + 0x168], si
lea r8d, [r14 + 0x39]
lea rdx, str.HKEY_LOCAL_MACHINESystemCurrentControlSet_servicesRiftEnabler
lea rcx, [rsp + 0x168]
call fcn.140001a78
nop
mov r8d, 0x201
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x30]
call fcn.1400c13b0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c064c
nop
lea rcx, [rsp + 0x30]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x28]
call fcn.1400c0950
nop
lea rdx, [rsp + 0x200]
cmp qword [rsp + 0x218], 8
jb 0x140041d56
mov rdx, qword [rsp + 0x200]
mov r8, qword [rsp + 0x210]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x140041e26
lea r8, [rsp + 0x188]
lea rcx, [rsp + 0x168]
call fcn.140025478
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140041d9d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f738
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x1a8]
call fcn.140042064
test al, al
jne 0x140041e22
lea rcx, [rsp + 0x1f0]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x188]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1c8]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1a8]
call fcn.140001a14
jmp 0x140042031
mov byte [rdi + 0x40], 1
lea rcx, [rsp + 0x1f0]
call fcn.1400073a4
nop
lea rax, [rsp + 0x2b0]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140041e3c
mov r8, rbx
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x1a8]
call fcn.140001a78
nop
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], r14
mov word [rsp + 0x168], si
mov r8d, 0x3d
lea rdx, str.HKEY_LOCAL_MACHINESystemCurrentControlSet_servicesOCUSBVID
lea rcx, [rsp + 0x168]
call fcn.140001a78
nop
mov r8d, 0x201
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x30]
call fcn.1400c13b0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c064c
nop
lea rcx, [rsp + 0x30]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.1400c0950
nop
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
jb 0x140041f17
mov rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x140041fe4
lea r8, [rsp + 0x188]
lea rcx, [rsp + 0x168]
call fcn.140025478
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140041f5e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f738
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x48]
lea rdx, [rsp + 0x1a8]
call fcn.140042064
test al, al
jne 0x140041fe0
lea rcx, [rsp + 0x250]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x188]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1c8]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1a8]
call fcn.140001a14
jmp 0x140042031
mov byte [rdi + 0x68], 1
lea rcx, [rsp + 0x250]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x28]
call fcn.1400c0628
nop
lea rcx, [rsp + 0x188]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1c8]
call fcn.140001a14
nop
lea rcx, [rsp + 0x1a8]
call fcn.140001a14
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14006b320
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret