Function at 0x1400b9980
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
xor r13d, r13d
mov r12, r8
mov r15, rdx
mov qword [rbp - 0x19], r13
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x20], r13
mov r14, rcx
lea r9d, [r13 + 8]
lea edx, [r13 + 0x1a]
call qword [0x140101f28]
test eax, eax
js 0x1400b9abc
cmp qword [rbp + 0x7f], r13
setne al
test al, al
je 0x1400b9abc
lea rax, [rbp + 7]
mov rcx, r15
lea r9, [rbp - 1]
mov qword [rsp + 0x20], rax
call fcn.1400de580
mov ebx, eax
test eax, eax
js 0x1400b9bc6
mov r8, qword [rbp + 7]
lea rcx, [rbp - 1]
mov rdx, qword [rbp - 1]
call fcn.1400de490
mov rdx, qword [rbp - 1]
mov ebx, eax
test eax, eax
jns 0x1400b9a2b
or rcx, 0xffffffffffffffff
call qword [0x140102168]
jmp 0x1400b9bc6
mov eax, 0x10b
cmp word [rbp + 0x27], ax
sete bl
or rsi, 0xffffffffffffffff
mov rcx, rsi
call qword [0x140102168]
test bl, bl
je 0x1400b9abc
mov rdi, qword [0x14015c468]
test rdi, rdi
jne 0x1400b9ae6
lea rdx, str.SysWow64kernel32.dll
mov ecx, 0x7ffe0030
call sym.ProcessHacker.exe_PhConcatStrings2
mov rbx, rax
mov qword [rsp + 0x28], r13
lea rax, [0x14015c468]
xor r9d, r9d
lea r8, [0x140135218]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov edi, eax
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400b9aa8
call fcn.1400ae580
test edi, edi
jns 0x1400b9ab3
mov eax, edi
jmp 0x1400b9bc8
mov rdi, qword [0x14015c468]
jmp 0x1400b9ae6
lea rcx, str.kernel32.dll
call qword [0x1401012a8]
test rax, rax
je 0x1400b9ae3
lea rdx, [0x140135218]
mov rcx, rax
call qword [0x1401012b0]
mov rdi, rax
jmp 0x1400b9ae6
mov rdi, r13
mov rcx, r15
call sym.ProcessHacker.exe_PhCountStringZ
mov dword [rsp + 0x28], 4
lea r9, [rbp - 9]
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp - 0x19]
mov rcx, r14
lea rbx, [rax*2 + 2]
mov qword [rbp - 9], rbx
call qword [0x140101e78]
test eax, eax
js 0x1400b9bc8
mov rdx, qword [rbp - 0x19]
mov r9, rbx
mov r8, r15
mov qword [rsp + 0x20], r13
mov rcx, r14
call sym.ProcessHacker.exe_PhWriteVirtualMemory
mov ebx, eax
test eax, eax
js 0x1400b9bab
xor edx, edx
mov rcx, r14
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jb 0x1400b9be9
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x11]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov rax, qword [rbp - 0x19]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [0x140101e70]
mov ebx, eax
test eax, eax
js 0x1400b9bab
mov rax, qword [rbp - 0x11]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [0x140102150]
mov rcx, qword [rbp - 0x11]
mov ebx, eax
call qword [0x140101f48]
mov r9d, 0x8000
mov qword [rbp - 9], r13
lea r8, [rbp - 9]
mov rcx, r14
lea rdx, [rbp - 0x19]
call qword [0x140102188]
mov eax, ebx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rbp - 0x19]
mov r9, rdi
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call qword [0x1401014c8]
mov qword [rbp - 0x11], rax
test rax, rax
jne 0x1400b9b91
call qword [0x1401012b8]
mov ebx, eax
test eax, eax
jle 0x1400b9bab
movzx ebx, ax
or ebx, 0xc0070000
jmp 0x1400b9bab