Function at 0x7ff7c00df9b0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
xor r14d, r14d
mov r13, r9
mov r12, rcx
mov r15d, r14d
cmp dword [rcx], r14d
jbe 0x7ff7c00dfc72
mov qword [rax + 0x20], rbx
mov qword [rax - 0x30], rsi
mov qword [rax - 0x38], rdi
mov eax, r15d
lea rbx, [r12 + 8]
imul rcx, rax, 0x128
add rbx, rcx
mov rcx, r13
lea rdx, [rbx + 0x10]
call sym.ProcessHacker.exe_PhFindEntryHashtable
nop
test rax, rax
jne 0x7ff7c00dfc4a
lea rdx, [rbx + 0x10]
mov rcx, r13
call sym.ProcessHacker.exe_PhAddEntryHashtable
lea rcx, [rbx + 0x28]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x7ff7c00dfa30
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rdx, qword [rbx + 0x10]
mov ecx, 4
cmp rdx, qword [0x7ff7c01d3b98]
mov rsi, rax
mov eax, 1
mov qword [rbp - 0x31], rdx
cmovbe ecx, eax
mov qword [rbp - 0x19], r14
mov dword [rbp - 0x39], ecx
mov rdx, 0xffffffffffffffff
mov ecx, dword [rbx + 0x18]
mov dword [rbp - 0x21], ecx
mov ecx, dword [rbx + 0x1c]
mov dword [rbp - 0x11], ecx
movzx ecx, word [rbx + 0x26]
add rcx, 0x28
add rcx, rbx
inc rdx
cmp byte [rcx + rdx], 0
jne 0x7ff7c00dfa82
nop dword [rax + rax]
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rcx, rsi
mov qword [rbp - 9], rax
call sym.ProcessHacker.exe_PhGetFileName
cmp word ds:[rbx + 0x26], 0
mov qword [rbp - 1], rax
movzx eax, word [rbx + 0x20]
mov word [rbp + 0xf], ax
movzx eax, word [rbx + 0x24]
mov word [rbp + 0x11], ax
mov eax, 0xffff
mov word [rbp + 0x13], ax
mov qword [rbp + 7], rsi
mov qword [rbp + 0x17], r14
mov qword [rbp - 0x29], r14
jne 0x7ff7c00dfbdd
cmp qword [0x7ff7c01d69b8], 0
je 0x7ff7c00dfaed
movups xmm0, xmmword [0x7ff7c01d69b0]
movaps xmmword [rbp - 0x49], xmm0
jmp 0x7ff7c00dfb3a
mov ecx, 0x7ffe0030
mov qword [rbp - 0x51], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x59], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x7ff7c00dfb1a
add rax, 0xfffffffffffffffe
mov qword [rbp - 0x59], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x49], xmm0
mov qword [0x7ff7c01d69b0], rax
lock or dword [rsp], 0
mov qword [0x7ff7c01d69b8], 0x7ffe0030
mov r14, qword [rbp - 9]
mov rdi, qword [rbp - 0x49]
mov rdx, qword [0x7ff7c01d3b58]
mov rbx, qword [r14]
add rbx, rdi
add rbx, qword [0x7ff7c01d0870]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdx, qword [rbp - 0x41]
mov rsi, rax
mov r8, rdi
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
mov rbx, qword [rsi + 8]
mov rcx, rbx
call fcn.7ff7c0125120
mov r8, qword [0x7ff7c01d0870]
add rbx, rdi
mov rdx, qword [0x7ff7c01d0878]
mov rcx, rbx
call fcn.7ff7c0125120
add rbx, qword [0x7ff7c01d0870]
mov r8, qword [r14]
mov rcx, rbx
mov rdx, qword [r14 + 8]
call fcn.7ff7c0125120
mov rcx, qword [rbp - 1]
mov qword [rbp - 1], rsi
test rcx, rcx
je 0x7ff7c00dfbda
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00dfbda
call fcn.7ff7c00c6290
xor r14d, r14d
mov rdx, qword [rbp + 0x77]
lea rcx, [rbp - 0x39]
mov rax, qword [rbp + 0x6f]
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword [rbp - 9]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
movzx ebx, al
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x7ff7c00dfc0e
call fcn.7ff7c00c6290
mov rcx, qword [rbp - 1]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00dfc2a
call fcn.7ff7c00c6290
mov rcx, qword [rbp + 7]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00dfc46
call fcn.7ff7c00c6290
test bl, bl
je 0x7ff7c00dfc5a
inc r15d
cmp r15d, dword [r12]
jb 0x7ff7c00df9f0
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret