Function at 0x78bd9c34
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x2e0
mov rax, qword [0x78c09100]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r13, qword gs:[0x30]
xor esi, esi
lea rbp, [0x78c0a1c8]
xor r12d, r12d
mov r8, qword [rbp]
lea rdx, [0x78bd4290]
mov ecx, 2
call sym.wow64.dll_Wow64LogPrint
mov rcx, qword [rbp]
lea r8, [rsp + 0x60]
xor edx, edx
call qword [0x78bd10c0]
test eax, eax
jns 0x78bd9db7
mov r8, qword [rbp]
lea rdx, [0x78bd42c0]
mov ecx, 2
call sym.wow64.dll_Wow64LogPrint
mov r11, qword [rbp]
lea r8, [0x78bd42f0]
lea rcx, [rsp + 0xc0]
mov r9d, 0x7ffe0030
mov edx, 0x208
mov qword [rsp + 0x20], r11
call fcn.78bd8e44
mov edi, eax
test eax, eax
js 0x78bd9ed6
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call qword [0x78bd1040]
and qword [rsp + 0x78], 0
and qword [rsp + 0x90], 0
and qword [rsp + 0x98], 0
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x68]
mov edx, 0x100020
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0x30
mov dword [rsp + 0x88], 0x40
mov dword [rsp + 0x20], 5
call qword [0x78bd10d0]
mov edi, eax
test eax, eax
js 0x78bd9ed6
mov rax, qword [rsp + 0x68]
xor r9d, r9d
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea edx, [r9 + 0xe]
xor r8d, r8d
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 0x10
call qword [0x78bd10d8]
mov rcx, qword [rsp + 0x68]
mov edi, eax
call qword [0x78bd1058]
test edi, edi
js 0x78bd9ed6
mov rbx, qword [r13 + 0x28]
mov rcx, qword [rsp + 0x60]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov dword [rsp + 0x48], 1
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [0x78bd4318]
lea r8, [rsp + 0x50]
mov qword [r13 + 0x28], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or rdx, 0xffffffffffffffff
call qword [0x78bd10e0]
mov rcx, qword [rsp + 0x60]
mov qword [r13 + 0x28], rbx
mov edi, eax
call qword [0x78bd1058]
test edi, edi
js 0x78bd9f56
cmp edi, 0x40000003
je 0x78bd9f56
mov rdx, qword [rsp + 0x50]
or rbx, 0xffffffffffffffff
mov rcx, rbx
call qword [0x78bd10e8]
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x2000
call qword [0x78bd1108]
mov edi, eax
test eax, eax
js 0x78bd9eb7
mov rax, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
mov r8, qword [rbp]
lea rdx, [0x78bd43c0]
lea ecx, [rbx + 3]
mov qword [rbp + 8], r9
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x20], rax
call sym.wow64.dll_Wow64LogPrint
inc esi
inc r12
add rbp, 0x18
cmp esi, 2
jb 0x78bd9c76
xor eax, eax
jmp 0x78bd9f29
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
lea rdx, [0x78bd4370]
mov ecx, 1
mov dword [rsp + 0x20], eax
call sym.wow64.dll_Wow64LogPrint
lea rbx, [0x78c0a1c8]
test esi, esi
je 0x78bd9f27
lea rax, [r12 + r12*2]
lea rcx, [rsi + rsi*2]
lea rbx, [rbx + rax*8 + 0x10]
lea rax, [0x78c0a1c8]
lea rbp, [rax + rcx*8 + 8]
sub rbp, 0x18
mov r9d, 0x8000
or rcx, 0xffffffffffffffff
lea r8, [rbp + 8]
mov rdx, rbp
sub rbx, 0x18
call qword [0x78bd1110]
and qword [rbx - 8], 0
and qword [rbx], 0
add esi, 0xffffffff
jne 0x78bd9efa
mov eax, edi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.78bfdec0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
lea r8, [rsi + rsi*2]
lea rbx, [0x78c0a1c8]
lea rdx, [0x78bd4338]
mov r8, qword [rbx + r8*8]
mov r9d, edi
mov ecx, 1
call sym.wow64.dll_Wow64LogPrint
cmp edi, 0x40000003
jne 0x78bd9edd
mov rdx, qword [rsp + 0x50]
or rcx, 0xffffffffffffffff
call qword [0x78bd10e8]
mov edi, 0xc0000001
jmp 0x78bd9edd