Function at 0x140028280
Capabilities:
Create process on windows

Disassembly:
jmp 0x140028280
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r12, r9
mov qword [rsp + 0x70], r8
mov r15, rdx
mov r14, qword [rbp + 0x140]
mov rbx, qword [rbp + 0x148]
xor edi, edi
xor esi, esi
mov qword [rsp + 0x60], rsi
xor r9d, r9d
lea r8, [rsp + 0x60]
xor edx, edx
mov r13d, dword [rbp + 0x150]
mov ecx, r13d
call fcn.1400035b2
test al, al
je 0x140028728
mov qword [rsp + 0x68], rsi
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400286fe
mov qword [rsp + 0x78], rsi
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xor edx, edx
lea r8d, [rdi + 0x60]
lea rcx, [rbp - 0x58]
call sub.MSVCR110.dll_memset
mov dword [rbp - 0x60], 0x68
cmp qword [rbx + 0x18], 8
jb 0x14002834d
mov rbx, qword [rbx]
mov qword [rbp - 0x50], rbx
mov rbx, qword [rsp + 0x70]
mov r8, rbx
lea rdx, [0x14006467c]
lea rcx, [rbp + 0x90]
call fcn.1400032a6
nop
lea r8, [0x1400646e4]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140002617
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140001dde
nop
cmp qword [rbp + 0x68], 8
jb 0x1400283a4
mov rcx, qword [rbp + 0x50]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x68], 7
xor r12d, r12d
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
cmp qword [rbp + 0xa8], 8
jb 0x1400283ce
mov rcx, qword [rbp + 0x90]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
mov r8, r14
lea rdx, [0x14006467c]
lea rcx, [rbp + 0x30]
call fcn.1400032a6
nop
lea r8, [0x1400646e4]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140002617
nop
cmp qword [rbp + 0x48], 8
jb 0x140028420
mov rcx, qword [rbp + 0x30]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r12
mov word [rbp + 0x30], r12w
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r12
mov word [rbp + 0x10], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.14000229d
nop
cmp qword [r14 + 0x10], 0
je 0x1400284c3
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.140001fa0
mov rbx, rax
lea rax, [rbp + 0x10]
cmp rax, rbx
je 0x1400284ae
cmp qword [rbp + 0x28], 8
jb 0x140028491
mov rcx, qword [rbp + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r12
mov word [rbp + 0x10], r12w
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140001d6b
cmp qword [rbp + 0x48], 8
jb 0x1400284be
mov rcx, qword [rbp + 0x30]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov rbx, qword [rsp + 0x70]
cmp byte [0x14007ca60], 0
je 0x1400284ec
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x40], xmm1
lea rdx, [rbp + 0x30]
lea rcx, str.CreateProcessAsBaseUser:__S_n
call fcn.1400031a2
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140028661
cmp qword [r14 + 0x10], 0
jne 0x140028585
mov edi, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14007ca60], 0
je 0x140028690
mov edx, edi
lea rcx, str.CreateProcessAsBaseUser_PID_:_i_n
call fcn.1400031a2
jmp 0x140028690
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140003323
nop
mov esi, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
mov ecx, esi
call fcn.140003b34
test al, al
je 0x140028616
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x1400624f4]
lea rcx, [rbp + 0x50]
call fcn.140002ef5
nop
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, r13d
lea rcx, [rbp + 0x30]
call fcn.140001767
mov edi, eax
cmp qword [rbp + 0x68], 8
jb 0x140028610
mov rcx, qword [rbp + 0x50]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test edi, edi
je 0x1400285b0
jmp 0x140028634
test edi, edi
jne 0x140028634
cmp byte [0x14007ca60], dil
je 0x14002862f
lea rcx, str.Failed_to_find_the_child_and_the_host_went_away_n
call fcn.1400031a2
mov esi, r12d
jmp 0x14002864f
cmp byte [0x14007ca60], 0
je 0x14002864f
mov r8d, esi
mov edx, edi
lea rcx, str.CreateProcessAsBaseUser_PIDs_:_i__i_n
call fcn.1400031a2
nop
cmp qword [rbp + 0x48], 8
jb 0x140028690
mov rcx, qword [rbp + 0x30]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140028690
cmp byte [0x14007ca60], 0
je 0x140028690
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rbx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
lea rcx, str.CreateProcessAsBaseUser:_Failed_to_create__S___i__n
call fcn.1400031a2
mov rcx, qword [rsp + 0x68]
call sub.USERENV.dll_DestroyEnvironmentBlock
nop
cmp qword [rbp + 0x28], 8
jb 0x1400286ab
mov rcx, qword [rbp + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r12
mov word [rbp + 0x10], r12w
cmp qword [rbp + 0x88], 8
jb 0x1400286cf
mov rcx, qword [rbp + 0x70]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r12
mov word [rbp + 0x70], r12w
cmp qword [rbp + 0xc8], 8
jb 0x14002871b
mov rcx, qword [rbp + 0xb0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14002871b
cmp byte [0x14007ca60], sil
je 0x14002871b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcessAsBaseUser:_CreateEnvironmentBlock_failed__i_n
call fcn.1400031a2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002873d
cmp byte [0x14007ca60], sil
je 0x14002873d
lea rcx, str.CreateProcessAsBaseUser:_GetUserData__failed_n
call fcn.1400031a2
mov dword [r15], edi
mov dword [r15 + 4], esi
mov rax, r15
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret