Function at 0x1400bdee0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
cmp qword [rcx], 8
lea rax, [0x140134b18]
mov qword [rbp - 0x21], rax
mov r14, rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], 8
mov qword [rbp - 0x19], 8
jb 0x1400bdf9d
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call sym.CodeyalPython.exe_PhEqualStringRef
test al, al
je 0x1400bdf9d
mov rdi, qword [r14]
mov rbx, qword [0x14015e0c8]
sub rdi, 8
mov rcx, rbx
lea rdx, [rdi + 0x12]
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
xor edx, edx
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rcx, [rbx + 0x10]
mov qword [rbx + 8], rcx
mov qword [rbx], rdi
mov word [rcx + rdi], dx
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
sub r8, 8
mov rcx, qword [rbx + 8]
add rdx, 8
call fcn.1400e3970
mov rax, rbx
jmp 0x1400be2e2
cmp qword [r14], 0x16
lea rax, str.SystemRoot
mov qword [rbp - 1], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0xf], rax
mov qword [rsp + 0xc0], rsi
mov qword [rbp - 9], 0x16
mov qword [rbp + 7], 0x16
jb 0x1400be0c4
mov r8b, 1
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call sym.CodeyalPython.exe_PhEqualStringRef
test al, al
je 0x1400be0c4
cmp qword [0x14015dae8], 0
je 0x1400be001
movups xmm0, xmmword [0x14015dae0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x1400be04c
mov ecx, 0x7ffe0030
mov qword [rbp - 0x31], 0x7ffe0030
call sym.CodeyalPython.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x39], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x1400be02c
sub rax, 2
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x14015dae0], rax
lock or dword [rsp], 0
mov qword [0x14015dae8], 0x7ffe0030
mov rbx, qword [0x14015e0c8]
mov rsi, qword [rbp - 0x39]
mov rcx, rbx
lea rdi, [rsi - 0x16]
add rdi, qword [r14]
lea rdx, [rdi + 0x12]
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
xor edx, edx
movzx ecx, byte [rbx + 2]
mov r8, rsi
mov word [rax], cx
lea rbx, [rax + 0x10]
lea rax, [rbx + 0x10]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov word [rax + rdi], dx
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbx + 8]
call fcn.1400e3970
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
sub r8, 0x16
mov rcx, qword [rbx + 8]
add rdx, 0x16
add rcx, rsi
call fcn.1400e3970
mov rax, rbx
jmp 0x1400be2da
cmp qword [r14], 0x12
lea rax, str.system32_
mov qword [rbp + 0x1f], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x17], 0x12
mov qword [rbp + 0x27], 0x12
jb 0x1400be1f2
mov r8b, 1
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x27]
call sym.CodeyalPython.exe_PhEqualStringRef
test al, al
je 0x1400be1f2
cmp qword [0x14015dae8], 0
je 0x1400be120
movups xmm0, xmmword [0x14015dae0]
movaps xmmword [rbp - 0x39], xmm0
jmp 0x1400be16b
mov ecx, 0x7ffe0030
mov qword [rbp - 0x31], 0x7ffe0030
call sym.CodeyalPython.exe_PhCountStringZ
add rax, rax
mov qword [rbp - 0x39], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x1400be14b
sub rax, 2
mov qword [rbp - 0x39], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x14015dae0], rax
lock or dword [rsp], 0
mov qword [0x14015dae8], 0x7ffe0030
mov rbx, qword [0x14015e0c8]
mov rsi, qword [rbp - 0x39]
mov rcx, rbx
lea rdi, [rsi + 2]
add rdi, qword [r14]
lea rdx, [rdi + 0x12]
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
xor edx, edx
movzx ecx, byte [rbx + 2]
mov r8, rsi
mov word [rax], cx
lea rbx, [rax + 0x10]
lea rax, [rbx + 0x10]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov word [rax + rdi], dx
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbx + 8]
call fcn.1400e3970
mov rcx, qword [rbx + 8]
mov eax, 0x5c
mov rdx, rsi
shr rdx, 1
mov word [rcx + rdx*2], ax
mov rcx, qword [rbx + 8]
mov r8, qword [r14]
add rcx, 2
mov rdx, qword [r14 + 8]
add rcx, rsi
call fcn.1400e3970
mov rax, rbx
jmp 0x1400be2da
cmp qword [r14], 0
je 0x1400be2d2
mov rax, qword [r14 + 8]
cmp word [rax], 0x5c
jne 0x1400be2d2
mov rcx, r14
call sym.CodeyalPython.exe_PhResolveDevicePrefix
test rax, rax
jne 0x1400be2da
cmp qword [r14], 0x10
lea rax, str.Windows
mov qword [rbp + 0x3f], rax
mov rax, qword [r14 + 8]
mov qword [rbp + 0x4f], rax
mov qword [rbp + 0x37], 0x10
mov qword [rbp + 0x47], 0x10
jb 0x1400be2d2
mov r8b, 1
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x47]
call sym.CodeyalPython.exe_PhEqualStringRef
test al, al
je 0x1400be2d2
mov rdi, qword [r14]
mov rbx, qword [0x14015e0c8]
add rdi, 4
mov rcx, rbx
lea rdx, [rdi + 0x12]
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
xor edx, edx
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rcx, [rbx + 0x10]
mov qword [rbx + 8], rcx
mov eax, 0x3a
mov qword [rbx], rdi
mov word [rcx + rdi], dx
mov rdx, qword [rbx + 8]
mov cx, word [0x7ffe0030]
mov word [rdx], cx
mov rcx, qword [rbx + 8]
mov word [rcx + 2], ax
mov rcx, qword [rbx + 8]
mov r8, qword [r14]
add rcx, 4
mov rdx, qword [r14 + 8]
call fcn.1400e3970
mov rax, rbx
jmp 0x1400be2da
mov rax, r14
lock inc dword [r14 - 8]
mov rsi, qword [rsp + 0xc0]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret