Function at 0x7ff7c00df320
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, [0x7ff7c0189438]
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 0x7ff7c00df3c7
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x7ff7c00df3c7
mov rbx, qword [r14]
mov rdx, qword [0x7ff7c01d3b58]
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.7ff7c0125120
mov rax, rdi
jmp 0x7ff7c00df732
cmp qword [r14], 0x16
lea rax, [0x7ff7c0189448]
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 0x7ff7c00df4d8
mov r8b, 1
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x7ff7c00df4d8
cmp qword [0x7ff7c01d69b8], 0
je 0x7ff7c00df42b
movups xmm0, xmmword [0x7ff7c01d69b0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x7ff7c00df476
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 0x7ff7c00df456
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x7ff7c01d69b0], rax
lock or dword [rsp], 0
mov qword [0x7ff7c01d69b8], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x7ff7c01d3b58]
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.7ff7c0125120
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.7ff7c0125120
mov rax, rdi
jmp 0x7ff7c00df72a
cmp qword ds:[r14], 0x12
lea rax, [0x7ff7c0189460]
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 0x7ff7c00df5f1
mov r8b, 1
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x37]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x7ff7c00df5f1
cmp qword [0x7ff7c01d69b8], 0
je 0x7ff7c00df535
movups xmm0, xmmword [0x7ff7c01d69b0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x7ff7c00df580
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 0x7ff7c00df560
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x7ff7c01d69b0], rax
lock or dword [rsp], 0
mov qword [0x7ff7c01d69b8], 0x7ffe0030
mov rsi, qword [rbp - 0x39]
mov rdx, qword [0x7ff7c01d3b58]
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.7ff7c0125120
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.7ff7c0125120
mov rax, rdi
jmp 0x7ff7c00df72a
cmp qword [r14], 0
je 0x7ff7c00df722
mov rax, qword [r14 + 8]
cmp word [rax], 0x5c
jne 0x7ff7c00df722
mov rcx, r14
call sym.ProcessHacker.exe_PhResolveDevicePrefix
test rax, rax
jne 0x7ff7c00df72a
cmp qword [r14], 0x10
lea rax, [0x7ff7c0189478]
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 0x7ff7c00df722
mov r8b, 1
lea rdx, [rbp + 0x47]
lea rcx, [rbp - 0x29]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x7ff7c00df722
cmp qword [0x7ff7c01d69b8], 0
je 0x7ff7c00df676
movups xmm0, xmmword [0x7ff7c01d69b0]
movaps xmmword [rbp - 0x29], xmm0
jmp 0x7ff7c00df6c1
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 0x7ff7c00df6a1
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x29], xmm0
mov qword [0x7ff7c01d69b0], rax
lock or dword [rsp], 0
mov qword [0x7ff7c01d69b8], 0x7ffe0030
mov rbx, qword [r14]
mov rdx, qword [0x7ff7c01d3b58]
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.7ff7c0125120
mov rax, rdi
jmp 0x7ff7c00df72a
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