Function at 0x14011d960
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r12d, r12d
lea r8, [rsp + 0x40]
mov r15, rdx
mov word [rsp + 0x30], r12w
mov r14, rcx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 8]
lea edx, [r12 + 0x1a]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14011dbd7
cmp qword ds:[rsp + 0x40], r12
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbp
setne al
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
lfence
mov rdi, qword [0x1402447d8]
test al, al
je 0x14011da9b
test rdi, rdi
je 0x14011d9f6
mov rbp, qword [0x1402447d0]
jmp 0x14011da2b
mov edi, 0x7ffe0030
mov ecx, edi
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
cmp word [rax + 0x7ffe002e], 0x5c
lea rbp, [rax - 2]
cmovne rbp, rax
mov qword [0x1402447d0], rbp
lock or dword [rsp], r12d
mov qword [0x1402447d8], rdi
mov rdx, qword [0x1402418e8]
lea rbx, [rbp + 0x26]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rbp
mov rdx, rdi
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], r12w
mov rcx, qword [rax + 8]
call fcn.140188690
mov rcx, qword [rsi + 8]
movups xmm0, xmmword [str.SysWow64_ntdll.dll]
movups xmmword [rcx + rbp], xmm0
movups xmm1, xmmword [0x1401f0b98]
movups xmmword [rcx + rbp + 0x10], xmm1
mov eax, dword [0x1401f0ba8]
mov dword [rcx + rbp + 0x20], eax
movzx eax, word [0x1401f0bac]
mov word [rcx + rbp + 0x24], ax
jmp 0x14011db46
nop dword [rax + rax]
test rdi, rdi
je 0x14011daae
mov rbp, qword [0x1402447d0]
jmp 0x14011dae0
mov edi, 0x7ffe0030
mov ecx, edi
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
cmp word [rax + 0x7ffe002e], 0x5c
lea rbp, [rax - 2]
cmovne rbp, rax
mov qword [0x1402447d0], rbp
lock or dword [rsp], r12d
mov qword [0x1402447d8], rdi
mov rdx, qword [0x1402418e8]
lea rbx, [rbp + 0x26]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rsi, rax
mov r8, rbp
mov rdx, rdi
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], r12w
mov rcx, qword [rsi + 8]
call fcn.140188690
mov rcx, qword [rsi + 8]
movups xmm0, xmmword [str.System32_ntdll.dll]
add rcx, rbp
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1401dcd88]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x1401dcd98]
mov dword [rcx + 0x20], eax
movzx eax, word [0x1401dcd9c]
mov word [rcx + 0x24], ax
mov rdx, qword [rsi + 8]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], r12
lea r8, str.NlsAnsiCodePage
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rcx, r14
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov rdi, qword [rsp + 0x50]
mov ebx, eax
mov rbp, qword [rsp + 0x98]
test eax, eax
js 0x14011dbae
lfence
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov r9d, 2
mov qword [rsp + 0x20], r12
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x14011dbae
movzx eax, word [rsp + 0x30]
mov word [r15], ax
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov rsi, qword [rsp + 0x58]
cmp eax, 1
jne 0x14011dbcb
call fcn.1400fbcc0
mov eax, ebx
mov rbx, qword [rsp + 0x90]
jmp 0x14011dbda
lfence
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x60
pop r15
pop r14
pop r12
ret