Function at 0x140045eb0
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 [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140046487
cmp qword [rbp + 0xd0], 4
jne 0x140045f15
mov dword [r13], 1
xor eax, eax
add rsp, 0x1f8
pop r13
pop rsi
pop rbx
pop rbp
ret
cmp qword [0x14015bdf0], rsi
mov qword [rsp + 0x1f0], r12
je 0x140045f34
movups xmm0, xmmword [0x14015bde8]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x140045f83
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 0x140045f62
sub rax, 2
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [0x14015bde8], rax
lock or dword [rsp], esi
mov qword [0x14015bdf0], 0x7ffe0030
lea r8, [rsp + 0x40]
mov edx, 0x1b
mov rcx, rbx
call fcn.14001d1b0
mov r12d, eax
test eax, eax
js 0x14004647f
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 [sym.imp.ntdll.dll_RtlFreeHeap]
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 0x140046008
call fcn.1400258b0
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 0x140046439
mov r8b, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140046439
lea rax, str.explorer.exe
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 0x1400460a7
mov esi, 0xd
jmp 0x140046439
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 0x1400460e0
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x140046128
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 0x140046439
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x140046439
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 0x14004616c
mov esi, 2
jmp 0x140046439
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 0x14004619e
mov esi, 3
jmp 0x140046439
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 0x1400461d0
mov esi, 4
jmp 0x140046439
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 0x140046202
mov esi, 5
jmp 0x140046439
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 0x140046234
mov esi, 6
jmp 0x140046439
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 0x140046266
mov esi, 7
jmp 0x140046439
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 0x140046298
mov esi, 8
jmp 0x140046439
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 0x1400462ca
mov esi, 9
jmp 0x140046439
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 0x1400462fc
mov esi, 0xa
jmp 0x140046439
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 0x14004632e
mov esi, 0xb
jmp 0x140046439
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 0x140046360
mov esi, 0xc
jmp 0x140046439
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 0x140046392
mov esi, 0xc
jmp 0x140046439
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 0x1400463ca
mov esi, 0xc
jmp 0x140046439
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 0x140046402
mov esi, 0xc
jmp 0x140046439
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 0x14004646b
call fcn.1400258b0
cmp byte [rbp + 0x130], 0
je 0x140046478
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