Function at 0x140009380
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbp
push rbx
push rsi
push r13
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
xor esi, esi
mov byte [rbp + 0x130], 0
mov r13, rdx
mov qword [rsp + 0x20], rsi
lea r8, [rbp + 0xb0]
xor edx, edx
mov rbx, rcx
lea r9d, [rsi + 0x30]
call qword [0x140101f28]
test eax, eax
js 0x140009957
cmp qword [rbp + 0xd0], 4
jne 0x1400093e5
mov dword [r13], 1
xor eax, eax
add rsp, 0x1f8
pop r13
pop rsi
pop rbx
pop rbp
ret
cmp qword [0x14015ec20], rsi
mov qword [rsp + 0x1f0], r12
je 0x140009404
movups xmm0, xmmword [0x14015ec18]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x140009453
mov ecx, 0x7ffe0030
mov qword [rsp + 0x38], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rsp + 0x30], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x140009432
sub rax, 2
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [0x14015ec18], rax
lock or dword [rsp], esi
mov qword [0x14015ec20], 0x7ffe0030
lea r8, [rsp + 0x40]
mov edx, 0x1b
mov rcx, rbx
call fcn.1400b8a00
mov r12d, eax
test eax, eax
js 0x14000994f
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x1e8], r14
mov qword [rsp + 0x1e0], r15
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [0x140102038]
mov rcx, rdi
call sym.ProcessHacker.exe_PhGetFileName
or r15d, 0xffffffff
mov qword [rsp + 0x48], rax
mov edx, r15d
lea rcx, [rdi - 0x10]
mov rbx, rax
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400094d8
call fcn.1400ae580
movups xmm0, xmmword [rbx]
mov r14, qword [rsp + 0x50]
mov qword [rsp + 0x60], r14
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmm0
movq rdi, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
mov qword [rsp + 0x30], rdi
movq rbx, xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x68], rbx
cmp rdi, r14
jb 0x140009909
mov r8b, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009909
lea rax, [0x140126308]
mov qword [rsp + 0x70], 0x1a
add rbx, r14
mov qword [rsp + 0x78], rax
sub rdi, r14
mov qword [rsp + 0x38], rbx
mov r8b, 1
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009577
mov esi, 0xd
jmp 0x140009909
mov qword [rbp - 0x80], 0x12
lea rax, str.System32
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], 0x12
cmp rdi, 0x12
jb 0x1400095b0
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x1400095f8
mov qword [rbp - 0x60], 0x12
lea rax, str.SysWow64
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x50], 0x12
cmp rdi, 0x12
jb 0x140009909
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009909
mov byte [rbp + 0x130], 1
lea rax, str._smss.exe
mov qword [rbp - 0x40], 0x12
add rbx, 0x12
mov qword [rbp - 0x38], rax
sub rdi, 0x12
mov qword [rsp + 0x38], rbx
mov r8b, 1
mov qword [rsp + 0x30], rdi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14000963c
mov esi, 2
jmp 0x140009909
lea rax, str.csrss.exe
mov qword [rbp - 0x30], 0x14
mov r8b, 1
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14000966e
mov esi, 3
jmp 0x140009909
lea rax, str.wininit.exe
mov qword [rbp - 0x20], 0x18
mov r8b, 1
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400096a0
mov esi, 4
jmp 0x140009909
lea rax, str._services.exe
mov qword [rbp - 0x10], 0x1a
mov r8b, 1
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400096d2
mov esi, 5
jmp 0x140009909
lea rax, str.lsass.exe
mov qword [rbp], 0x14
mov r8b, 1
mov qword [rbp + 8], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009704
mov esi, 6
jmp 0x140009909
lea rax, str.lsm.exe
mov qword [rbp + 0x10], 0x10
mov r8b, 1
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009736
mov esi, 7
jmp 0x140009909
lea rax, str.winlogon.exe
mov qword [rbp + 0x20], 0x1a
mov r8b, 1
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009768
mov esi, 8
jmp 0x140009909
lea rax, str._svchost.exe
mov qword [rbp + 0x30], 0x18
mov r8b, 1
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14000979a
mov esi, 9
jmp 0x140009909
lea rax, str._rundll32.exe
mov qword [rbp + 0x40], 0x1a
mov r8b, 1
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400097cc
mov esi, 0xa
jmp 0x140009909
lea rax, str.dllhost.exe
mov qword [rbp + 0x50], 0x18
mov r8b, 1
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400097fe
mov esi, 0xb
jmp 0x140009909
lea rax, str._taskeng.exe
mov qword [rbp + 0x60], 0x18
mov r8b, 1
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009830
mov esi, 0xc
jmp 0x140009909
lea rax, str._taskhost.exe
mov qword [rbp + 0x70], 0x1a
mov r8b, 1
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140009862
mov esi, 0xc
jmp 0x140009909
lea rax, str._taskhostex.exe
mov qword [rbp + 0x80], 0x1e
mov r8b, 1
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14000989a
mov esi, 0xc
jmp 0x140009909
lea rax, str._taskhostw.exe
mov qword [rbp + 0x90], 0x1c
mov r8b, 1
mov qword [rbp + 0x98], rax
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400098d2
mov esi, 0xc
jmp 0x140009909
lea rax, str.wudfhost.exe
mov qword [rbp + 0xa0], 0x1a
mov r8b, 1
mov qword [rbp + 0xa8], rax
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
mov ecx, 0xe
cmovne esi, ecx
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], r15d
mov r14, qword [rsp + 0x1e8]
cmp r15d, 1
mov r15, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x220]
jne 0x14000993b
call fcn.1400ae580
cmp byte [rbp + 0x130], 0
je 0x140009948
bts esi, 0x11
mov dword [r13], esi
mov eax, r12d
mov r12, qword [rsp + 0x1f0]
add rsp, 0x1f8
pop r13
pop rsi
pop rbx
pop rbp
ret