Function at 0x14011a040
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 r15
sub rsp, 0x98
xor ebp, ebp
mov r13, r9
mov r12, rcx
mov r15d, ebp
cmp dword [rcx], ebp
jbe 0x14011a31b
mov qword [rax + 0x20], rbx
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r14
mov r14d, 0xffff
mov qword [rax - 0x28], rsi
nop dword [rax]
nop word [rax + rax]
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
test rax, rax
jne 0x14011a2ee
lea rdx, ds:[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 0x14011a0d0
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rdx, qword [rbx + 0x10]
mov ecx, 4
cmp rdx, qword [0x140241978]
mov rsi, rax
mov eax, 1
mov qword [rsp + 0x28], rdx
cmovbe ecx, eax
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x20], ecx
mov rdx, 0xffffffffffffffff
mov ecx, dword [rbx + 0x18]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 0x1c]
mov dword [rsp + 0x48], ecx
movzx ecx, word [rbx + 0x26]
add rcx, 0x28
add rcx, rbx
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14011a127
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rcx, rsi
mov qword [rsp + 0x50], rax
call sym.ProcessHacker.exe_PhGetFileName
cmp word [rbx + 0x26], 0
mov qword [rsp + 0x58], rax
movzx eax, word [rbx + 0x20]
mov word [rsp + 0x68], ax
movzx eax, word [rbx + 0x24]
mov word [rsp + 0x6a], ax
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x6c], r14w
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x30], rbp
jne 0x14011a26d
mov r14, qword [0x1402447d8]
test r14, r14
je 0x14011a191
mov rbp, qword [0x1402447d0]
jmp 0x14011a1c6
mov ecx, 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
lea rbp, [rax + rax]
cmp word [rbp + 0x7ffe002e], 0x5c
jne 0x14011a1ad
sub rbp, 2
mov r14d, 0x7ffe0030
mov qword [0x1402447d0], rbp
lock or dword [rsp], 0
mov qword [0x1402447d8], r14
mov rsi, qword [rsp + 0x50]
mov rdx, qword [0x1402418e8]
mov rbx, qword [rsi]
add rbx, rbp
add rbx, qword [0x14023e2c0]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
mov r8, rbp
mov rdx, r14
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
mov rbx, qword [rdi + 8]
mov rcx, rbx
call fcn.140188690
mov r8, qword [0x14023e2c0]
add rbx, rbp
mov rdx, qword [str.System32Drivers_]
mov rcx, rbx
call fcn.140188690
add rbx, qword [0x14023e2c0]
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, qword [rsi + 8]
call fcn.140188690
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rdi
test rcx, rcx
je 0x14011a265
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14011a265
nop
call fcn.1400fbcc0
xor ebp, ebp
mov r14d, 0xffff
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
mov rax, qword [rsp + 0xc8]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rsp + 0x50]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
movzx ebx, al
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14011a2aa
call fcn.1400fbcc0
mov rcx, qword ds:[rsp + 0x58]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14011a2ca
call fcn.1400fbcc0
mov rcx, qword ds:[rsp + 0x60]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14011a2ea
call fcn.1400fbcc0
test bl, bl
je 0x14011a2fb
inc r15d
cmp r15d, dword [r12]
jb 0x14011a090
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xd8]
mov r14, qword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r13
pop r12
pop rbp
ret