Function at 0x1400414d0
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 [0x140121108]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x228]
call fcn.140086ad0
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
test eax, eax
je 0x1400419af
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1b8], xmm0
movdqa xmm1, xmmword [0x1400fa420]
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 0x14004156b
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x1a8]
call fcn.140001a78
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d8], xmm0
movdqa xmm1, xmmword [0x1400fa420]
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.1400631a4
nop
lea rcx, [rsp + 0x20]
call fcn.1400631a4
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.1400bde50
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400bd0ec
nop
lea rcx, [rsp + 0x30]
call fcn.1400bd0c8
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x28]
call fcn.1400bd3f0
nop
lea rdx, [rsp + 0x200]
cmp qword [rsp + 0x218], 8
jb 0x1400416c6
mov rdx, qword [rsp + 0x200]
mov r8, qword [rsp + 0x210]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x14004179d
lea r8, [rsp + 0x188]
lea rdx, [0x1400e4358]
lea rcx, [rsp + 0x168]
call fcn.140025bd8
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140041714
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f628
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x1a8]
call fcn.1400419e0
test al, al
jne 0x140041799
lea rcx, [rsp + 0x1f0]
call fcn.1400072d4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bd0c8
nop
lea rcx, [rsp + 0x28]
call fcn.1400bd0c8
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 0x1400419af
mov byte [rdi + 0x40], 1
lea rcx, [rsp + 0x1f0]
call fcn.1400072d4
nop
lea rax, [rsp + 0x2b0]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1400417b3
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.1400bde50
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400bd0ec
nop
lea rcx, [rsp + 0x30]
call fcn.1400bd0c8
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.1400bd3f0
nop
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
jb 0x14004188e
mov rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0x188]
call fcn.140001a78
cmp qword [rsp + 0x198], rsi
jbe 0x140041962
lea r8, [rsp + 0x188]
lea rdx, [0x1400e4358]
lea rcx, [rsp + 0x168]
call fcn.140025bd8
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400418dc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14000f628
nop
lea rcx, [rsp + 0x168]
call fcn.140001a14
lea r8, [rdi + 0x48]
lea rdx, [rsp + 0x1a8]
call fcn.1400419e0
test al, al
jne 0x14004195e
lea rcx, [rsp + 0x250]
call fcn.1400072d4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bd0c8
nop
lea rcx, [rsp + 0x28]
call fcn.1400bd0c8
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 0x1400419af
mov byte [rdi + 0x68], 1
lea rcx, [rsp + 0x250]
call fcn.1400072d4
nop
lea rcx, [rsp + 0x20]
call fcn.1400bd0c8
nop
lea rcx, [rsp + 0x28]
call fcn.1400bd0c8
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.1400683e0
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