Function at 0x14011f320
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
cmp qword [rcx], 8
lea rax, [0x1401c9438]
mov qword [rbp - 0x11], rax
mov r14, rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 1], rax
mov qword [rbp - 0x19], 8
mov qword [rbp - 9], 8
jb 0x14011f3c7
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14011f3c7
mov rbx, qword [r14]
mov rdx, qword [0x140213b58]
sub rbx, 8
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
xor edx, edx
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], dx
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
sub r8, 8
mov rcx, qword [rax + 8]
add rdx, 8
call fcn.140165120
mov rax, rdi
jmp 0x14011f732
cmp qword [r14], 0x16
lea rax, str.SystemRoot
mov qword [rbp + 0xf], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x1f], rax
mov qword [rsp + 0xc0], rsi
mov qword [rbp + 7], 0x16
mov qword [rbp + 0x17], 0x16
jb 0x14011f4d8
mov r8b, 1
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14011f4d8
cmp qword [0x1402169b8], 0
je 0x14011f42b
movups xmm0, xmmword [0x1402169b0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x14011f476
mov ecx, 0x7ffe0030
mov qword [rbp - 0x31], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x39], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x14011f456
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x1402169b0], rax
lock or dword [rsp], 0
mov qword [0x1402169b8], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x140213b58]
lea rbx, [rsi - 0x16]
add rbx, qword [r14]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
xor edx, edx
mov r8, rsi
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rbx], dx
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rdi + 8]
call fcn.140165120
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
sub r8, 0x16
mov rcx, qword [rdi + 8]
add rdx, 0x16
add rcx, rsi
call fcn.140165120
mov rax, rdi
jmp 0x14011f72a
cmp qword ds:[r14], 0x12
lea rax, str.system32_
mov qword [rbp + 0x2f], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x27], 0x12
mov qword [rbp + 0x37], 0x12
jb 0x14011f5f1
mov r8b, 1
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x37]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14011f5f1
cmp qword [0x1402169b8], 0
je 0x14011f535
movups xmm0, xmmword [0x1402169b0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x14011f580
mov ecx, 0x7ffe0030
mov qword [rbp - 0x31], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x39], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x14011f560
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x1402169b0], rax
lock or dword [rsp], 0
mov qword [0x1402169b8], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x140213b58]
lea rbx, [rsi + 2]
add rbx, qword [r14]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
xor edx, edx
mov r8, rsi
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rbx], dx
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rdi + 8]
call fcn.140165120
mov rcx, qword [rdi + 8]
mov eax, 0x5c
mov rdx, rsi
shr rdx, 1
mov word [rcx + rdx*2], ax
mov rcx, qword [rdi + 8]
mov r8, qword [r14]
add rcx, 2
mov rdx, qword [r14 + 8]
add rcx, rsi
call fcn.140165120
mov rax, rdi
jmp 0x14011f72a
cmp qword [r14], 0
je 0x14011f722
mov rax, qword [r14 + 8]
cmp word [rax], 0x5c
jne 0x14011f722
mov rcx, r14
call sym.ProcessHacker.exe_PhResolveDevicePrefix
test rax, rax
jne 0x14011f72a
cmp qword [r14], 0x10
lea rax, str.Windows
mov qword [rbp + 0x4f], rax
mov rax, qword [r14 + 8]
mov qword [rbp - 0x21], rax
mov qword [rbp + 0x47], 0x10
mov qword [rbp - 0x29], 0x10
jb 0x14011f722
mov r8b, 1
lea rdx, [rbp + 0x47]
lea rcx, [rbp - 0x29]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14011f722
cmp qword [0x1402169b8], 0
je 0x14011f676
movups xmm0, xmmword [0x1402169b0]
movaps xmmword [rbp - 0x29], xmm0
jmp 0x14011f6c1
mov ecx, 0x7ffe0030
mov qword [rbp - 0x31], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x39], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x14011f6a1
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x29], xmm0
mov qword [0x1402169b0], rax
lock or dword [rsp], 0
mov qword [0x1402169b8], 0x7ffe0030
mov rbx, qword [r14]
mov rdx, qword [0x140213b58]
add rbx, 4
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [rbp - 0x21]
mov rdi, rax
xor edx, edx
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rbx], dx
mov eax, 0x3a
movzx edx, word [rcx]
mov r8, qword [rdi + 8]
mov word [r8], dx
mov rcx, qword [rdi + 8]
mov word [rcx + 2], ax
mov rcx, qword [rdi + 8]
mov r8, qword [r14]
add rcx, 4
mov rdx, qword [r14 + 8]
call fcn.140165120
mov rax, rdi
jmp 0x14011f72a
mov rax, r14
lock inc dword [r14 - 8]
mov rsi, qword [rsp + 0xc0]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret