Function at 0x180016b44
Capabilities:
Get windows directory from kuser_shared_data
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x1800b2220]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov eax, dword [0x1800b2d40]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r14d, [rdi + 1]
cmp eax, r14d
jne 0x180016bbe
mov ebx, edi
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180024680
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
or rsi, 0xffffffffffffffff
cmp eax, esi
je 0x180032564
mov edx, 0x7ffe0030
mov rax, rsi
inc rax
cmp word [rdx + rax*2], di
jne 0x180016bd2
lea eax, [rax*2 + 0x2c]
mov ecx, 0x208
cmp eax, ecx
ja 0x18003256b
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x2080000
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
lea rdx, [0x18007f2f0]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rdx, qword [rsp + 0x20]
mov ecx, r14d
call qword [sym.imp.ntdll.dll_LdrAddRefDll]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x18007f2e0]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x18007f2d0]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x18007f2c0]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x18007f2b0]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x18007f2a0]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x18007f290]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x20]
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x18007f280]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180032570
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d50], rcx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d58], rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d60], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d68], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d70], rcx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d78], rcx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlEncodeSystemPointer]
nop dword [rax + rax]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1800b2d80], rcx
xor eax, eax
lock cmpxchg dword [0x1800b2d40], r14d
jmp 0x180016b8f
mov ebx, 0xc0000001
jmp 0x180032570
mov ebx, 0xc0000023
xor eax, eax
lock cmpxchg dword [0x1800b2d40], esi
jmp 0x180016b8f