Function at 0x140042060
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 [0x140123108]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x228]
call fcn.140087fe0
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
test eax, eax
je 0x14004253f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1b8], xmm0
movdqa xmm1, xmmword [0x1400fc250]
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 0x1400420fb
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x1a8]
call fcn.140001a78
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d8], xmm0
movdqa xmm1, xmmword [0x1400fc250]
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.14006465c
nop
lea rcx, [rsp + 0x20]
call fcn.14006465c
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.1400bf990
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400bec2c
nop
lea rcx, [rsp + 0x30]
call fcn.1400bec08
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x28]
call fcn.1400bef30
nop
lea rdx, [rsp + 0x200]
cmp qword [rsp + 0x218], 8
jb 0x140042256
mov rdx, qword [rsp + 0x200]
mov r8, qword [rsp + 0x210]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x14004232d
lea r8, [rsp + 0x188]
lea rdx, [0x1400e5f90]
lea rcx, [rsp + 0x168]
call fcn.140025d38
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400422a4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f758
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x1a8]
call fcn.140042570
test al, al
jne 0x140042329
lea rcx, [rsp + 0x1f0]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bec08
nop
lea rcx, [rsp + 0x28]
call fcn.1400bec08
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 0x14004253f
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 0x140042343
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.1400bf990
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400bec2c
nop
lea rcx, [rsp + 0x30]
call fcn.1400bec08
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.1400bef30
nop
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
jb 0x14004241e
mov rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x1400424f2
lea r8, [rsp + 0x188]
lea rdx, [0x1400e5f90]
lea rcx, [rsp + 0x168]
call fcn.140025d38
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14004246c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f758
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x48]
lea rdx, [rsp + 0x1a8]
call fcn.140042570
test al, al
jne 0x1400424ee
lea rcx, [rsp + 0x250]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bec08
nop
lea rcx, [rsp + 0x28]
call fcn.1400bec08
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 0x14004253f
mov byte [rdi + 0x68], 1
lea rcx, [rsp + 0x250]
call fcn.1400073a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bec08
nop
lea rcx, [rsp + 0x28]
call fcn.1400bec08
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.1400697f0
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