Function at 0x140028ee0
Capabilities:
Create process on windows

Disassembly:
jmp 0x140028ee0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, r9
mov r13, r8
mov r15, rdx
mov r14, qword [rbp + 0x130]
mov rbx, qword [rbp + 0x138]
xor edi, edi
xor esi, esi
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400293b6
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rdi + 2]
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140029394
lea r9d, [rdi + 4]
lea r8, [rbp + 0x140]
lea edx, [rdi + 0xc]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x140029372
mov qword [rsp + 0x70], rsi
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
xor edx, edx
lea r8d, [rdi + 0x60]
lea rcx, [rbp - 0x68]
call sub.MSVCR110.dll_memset
mov dword [rbp - 0x70], 0x68
cmp qword [rbx + 0x18], 8
jb 0x140028fe4
mov rbx, qword [rbx]
mov qword [rbp - 0x60], rbx
mov r8, r13
lea rdx, [0x14006467c]
lea rcx, [rbp + 0x80]
call fcn.1400032a6
nop
lea r8, [0x1400646e4]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140002617
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140001dde
nop
cmp qword [rbp + 0x58], 8
jb 0x140029036
mov rcx, qword [rbp + 0x40]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x58], 7
xor r12d, r12d
mov qword [rbp + 0x50], r12
mov word [rbp + 0x40], r12w
cmp qword [rbp + 0x98], 8
jb 0x140029060
mov rcx, qword [rbp + 0x80]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
mov r8, r14
lea rdx, [0x14006467c]
lea rcx, [rbp + 0x20]
call fcn.1400032a6
nop
lea r8, [0x1400646e4]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140002617
nop
cmp qword [rbp + 0x38], 8
jb 0x1400290b2
mov rcx, qword [rbp + 0x20]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r12
mov word [rbp + 0x20], r12w
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp]
call fcn.14000229d
nop
cmp qword [r14 + 0x10], 0
je 0x140029150
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.140001fa0
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x140029140
cmp qword [rbp + 0x18], 8
jb 0x140029123
mov rcx, qword [rbp]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov rdx, rbx
lea rcx, [rbp]
call fcn.140001d6b
cmp qword [rbp + 0x38], 8
jb 0x140029150
mov rcx, qword [rbp + 0x20]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
cmp byte [0x14007ca60], 0
je 0x140029179
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x30], xmm1
lea rdx, [rbp + 0x20]
lea rcx, str.CreateProcessAsLocalSystem:__S_n
call fcn.1400031a2
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, qword [rbp]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
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 0x1400292e8
cmp qword [r14 + 0x10], 0
jne 0x14002920e
mov edi, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14007ca60], 0
je 0x140029318
mov edx, edi
lea rcx, str.CreateProcessAsLocalSystem_PID_:_i_n
call fcn.1400031a2
jmp 0x140029318
mov rdx, r13
lea rcx, [rbp + 0x20]
call fcn.140003323
nop
mov esi, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.140003b34
test al, al
je 0x14002929d
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r12
mov word [rbp + 0x40], r12w
xor r8d, r8d
lea rdx, [0x1400624f4]
lea rcx, [rbp + 0x40]
call fcn.140002ef5
nop
lea r9, [rbp + 0x40]
xor r8d, r8d
mov edx, dword [rbp + 0x140]
lea rcx, [rbp + 0x20]
call fcn.140001767
mov edi, eax
cmp qword [rbp + 0x58], 8
jb 0x140029297
mov rcx, qword [rbp + 0x40]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test edi, edi
je 0x140029234
jmp 0x1400292bb
test edi, edi
jne 0x1400292bb
cmp byte [0x14007ca60], dil
je 0x1400292b6
lea rcx, str.Failed_to_find_the_child_and_the_host_went_away_n
call fcn.1400031a2
mov esi, r12d
jmp 0x1400292d6
cmp byte [0x14007ca60], 0
je 0x1400292d6
mov r8d, esi
mov edx, edi
lea rcx, str.CreateProcessAsLocalSystem_PIDs_:_i__i_n
call fcn.1400031a2
nop
cmp qword [rbp + 0x38], 8
jb 0x140029318
mov rcx, qword [rbp + 0x20]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140029318
cmp byte [0x14007ca60], 0
je 0x140029318
lea rbx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rbx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
lea rcx, str.CreateProcessAsLocalSystem:_Failed_to_create__S___i__n
call fcn.1400031a2
nop
cmp qword [rbp + 0x18], 8
jb 0x140029328
mov rcx, qword [rbp]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
cmp qword [rbp + 0x78], 8
jb 0x140029349
mov rcx, qword [rbp + 0x60]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r12
mov word [rbp + 0x60], r12w
cmp qword [rbp + 0xb8], 8
jb 0x140029387
mov rcx, qword [rbp + 0xa0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140029387
cmp byte [0x14007ca60], sil
je 0x140029387
lea rcx, str.CreateProcessAsLocalSystem:_SetTokenInformation_failed_n
call fcn.1400031a2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400293a9
cmp byte [0x14007ca60], sil
je 0x1400293a9
lea rcx, str.CreateProcessAsLocalSystem:_DuplicateTokenEx_failed_n
call fcn.1400031a2
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400293cb
cmp byte [0x14007ca60], sil
je 0x1400293cb
lea rcx, str.CreateProcessAsLocalSystem:_OpenProcessToken_failed_n
call fcn.1400031a2
mov dword [r15], edi
mov dword [r15 + 4], esi
mov rax, r15
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret