Function at 0x1400b9c30
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 0x1400b9c82
cmp qword [rsp + 0x108], r12
setne r14b
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3e
mov qword [rsp + 0xf0], rdi
jae 0x1400b9d8c
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0xc0000135
lea rdx, [0x1400bba00]
mov qword [rsp + 0x60], rbp
mov rcx, rsi
mov dword [rsp + 0x68], 1
call fcn.1400bb5f0
mov edi, dword [rsp + 0x58]
test eax, eax
cmovs edi, eax
test r14b, r14b
je 0x1400b9d0d
cmp edi, 0xc0000135
jne 0x1400b9d0d
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], edi
lea rdx, [0x1400bbf80]
mov qword [rsp + 0x78], rbp
mov rcx, rsi
mov dword [rsp + 0x80], 1
call fcn.1400bba50
mov edi, dword [rsp + 0x70]
test eax, eax
cmovs edi, eax
test edi, edi
js 0x1400b9d11
mov bl, 1
test edi, edi
jns 0x1400b9d18
mov eax, edi
jmp 0x1400b9e8d
test bl, bl
je 0x1400b9d93
mov rax, qword [0x14015c3b8]
test rax, rax
jne 0x1400b9dba
lea rdx, str.SysWow64_ntdll.dll
mov ecx, 0x7ffe0030
call sym.ProcessHacker.exe_PhConcatStrings2
mov rbx, rax
mov qword [rsp + 0x28], r12
lea rax, [0x14015c3b8]
xor r9d, r9d
lea r8, [0x140135258]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov edi, eax
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b9d7f
call fcn.1400ae580
test edi, edi
js 0x1400b9d11
mov rax, qword [0x14015c3b8]
jmp 0x1400b9dba
mov edi, dword [rsp + 0x108]
lea rcx, [0x140126260]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b9db7
lea rdx, [0x140135258]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400b9dba
mov rax, r12
xor edx, edx
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jb 0x1400b9dfb
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 0x1400b9e38
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 0x1400b9e38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1400b9e38
movzx edi, ax
or edi, 0xc0070000
test edi, edi
js 0x1400b9d11
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 0x1400b9e80
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