Function at 0x1400b9a50
Capabilities:
Create thread
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xc0
xor r12d, r12d
mov r15, r8
mov rbp, rdx
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x108]
mov rsi, rcx
xor r14b, r14b
xor bl, bl
lea r9d, [r12 + 8]
lea edx, [r12 + 0x1a]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b9aa2
cmp qword [rsp + 0x108], r12
setne r14b
cmp dword [sym._____________.exe_WindowsVersion], 0x3e
mov qword [rsp + 0xf0], rdi
jae 0x1400b9bac
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0xc0000135
lea rdx, [0x1400bba90]
mov qword [rsp + 0x60], rbp
mov rcx, rsi
mov dword [rsp + 0x68], 1
call fcn.1400bb680
mov edi, dword [rsp + 0x58]
test eax, eax
cmovs edi, eax
test r14b, r14b
je 0x1400b9b2d
cmp edi, 0xc0000135
jne 0x1400b9b2d
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], edi
lea rdx, [0x1400bc010]
mov qword [rsp + 0x78], rbp
mov rcx, rsi
mov dword [rsp + 0x80], 1
call fcn.1400bbae0
mov edi, dword [rsp + 0x70]
test eax, eax
cmovs edi, eax
test edi, edi
js 0x1400b9b31
mov bl, 1
test edi, edi
jns 0x1400b9b38
mov eax, edi
jmp 0x1400b9cad
test bl, bl
je 0x1400b9bb3
mov rax, qword [0x14015b238]
test rax, rax
jne 0x1400b9bda
lea rdx, str.SysWow64_ntdll.dll
mov ecx, 0x7ffe0030
call sym._____________.exe_PhConcatStrings2
mov rbx, rax
mov qword [rsp + 0x28], r12
lea rax, [0x14015b238]
xor r9d, r9d
lea r8, [0x140134638]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, qword [rbx + 8]
call sym._____________.exe_PhGetProcedureAddressRemote
mov edi, eax
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b9b9f
call fcn.1400ae900
test edi, edi
js 0x1400b9b31
mov rax, qword [0x14015b238]
jmp 0x1400b9bda
mov edi, dword [rsp + 0x108]
lea rcx, [0x140126110]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b9bd7
lea rdx, [0x140134638]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400b9bda
mov rax, r12
xor edx, edx
cmp dword [sym._____________.exe_WindowsVersion], 0x3c
jb 0x1400b9c1b
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov edi, eax
jmp 0x1400b9c58
mov qword [rsp + 0x30], r12
mov r9, rax
mov dword [rsp + 0x28], r12d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400b9c58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1400b9c58
movzx edi, ax
or edi, 0xc0070000
test edi, edi
js 0x1400b9b31
mov rcx, qword [rsp + 0x50]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x1400b9ca0
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 0x30]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
mov ebx, eax
cmovns ebx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rdi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret