Function at 0x1400d96b0
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, [0x140169b88]
mov qword [rbp - 0x21], rax
mov r14, rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], 8
mov qword [rbp - 0x19], 8
jb 0x1400d9757
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400d9757
mov rbx, qword [r14]
mov rdx, qword [0x140196800]
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.14010e700
mov rax, rdi
jmp 0x1400d9a56
cmp qword [r14], 0x16
lea rax, str.SystemRoot
mov qword [rbp - 1], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0xf], rax
mov qword [rsp + 0xc0], rsi
mov qword [rbp - 9], 0x16
mov qword [rbp + 7], 0x16
jb 0x1400d9868
mov r8b, 1
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400d9868
cmp qword [0x140196238], 0
je 0x1400d97bb
movups xmm0, xmmword [0x140196230]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x1400d9806
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 0x1400d97e6
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x140196230], rax
lock or dword [rsp], 0
mov qword [0x140196238], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x140196800]
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.14010e700
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.14010e700
mov rax, rdi
jmp 0x1400d9a4e
cmp qword [r14], 0x12
lea rax, str.system32_
mov qword [rbp + 0x1f], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x17], 0x12
mov qword [rbp + 0x27], 0x12
jb 0x1400d9980
mov r8b, 1
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x27]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400d9980
cmp qword [0x140196238], 0
je 0x1400d98c4
movups xmm0, xmmword [0x140196230]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x1400d990f
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 0x1400d98ef
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x140196230], rax
lock or dword [rsp], 0
mov qword [0x140196238], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x140196800]
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.14010e700
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.14010e700
mov rax, rdi
jmp 0x1400d9a4e
cmp qword [r14], 0
je 0x1400d9a46
mov rax, qword [r14 + 8]
cmp word [rax], 0x5c
jne 0x1400d9a46
mov rcx, r14
call sym.ProcessHacker.exe_PhResolveDevicePrefix
test rax, rax
jne 0x1400d9a4e
cmp qword [r14], 0x10
lea rax, str.Windows
mov qword [rbp + 0x3f], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x4f], rax
mov qword [rbp + 0x37], 0x10
mov qword [rbp + 0x47], 0x10
jb 0x1400d9a46
mov r8b, 1
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x47]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400d9a46
mov rbx, qword [r14]
mov rdx, qword [0x140196800]
add rbx, 4
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
xor edx, edx
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], dx
mov rdx, qword [rax + 8]
mov cx, word [0x7ffe0030]
mov word [rdx], cx
mov rcx, qword [rax + 8]
mov eax, 0x3a
mov word [rcx + 2], ax
mov rcx, qword [rdi + 8]
mov r8, qword [r14]
add rcx, 4
mov rdx, qword [r14 + 8]
call fcn.14010e700
mov rax, rdi
jmp 0x1400d9a4e
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