Function at 0x140028040
Capabilities:
Create process on windows

Disassembly:
jmp 0x140028040
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov rdi, rsp
mov ecx, pe_nt_image_headers64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b0]
mov qword [rsp + 0x480], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x498], rax
cmp qword [rsp + 0x4c8], 0
je 0x1400280ab
mov rax, qword [rsp + 0x4c8]
mov qword [rax], 0
mov rcx, qword [rsp + 0x4b0]
call fcn.14000179e
movzx eax, al
test eax, eax
je 0x1400280c6
xor al, al
jmp 0x14002876d
lea rcx, [rsp + 0x58]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x4b0]
call fcn.140007347
mov byte [rsp + 0x84], 0
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x98]
call fcn.1400050d3
nop
lea rdx, [0x1401e1980]
lea rcx, [rsp + 0x98]
call fcn.1400066d1
movzx eax, al
test eax, eax
je 0x140028124
mov byte [rsp + 0x84], 1
movzx eax, byte [rsp + 0x4c0]
test eax, eax
je 0x140028181
mov edx, 8
lea rcx, [rsp + 0xd8]
call fcn.1400075a4
lea rcx, [rsp + 0xd8]
call fcn.140003b84
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0xd8]
call fcn.140008288
movzx eax, al
test eax, eax
jne 0x140028174
mov byte [rsp + 0x84], 0
lea rcx, [rsp + 0xd8]
call fcn.140008247
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14002844b
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x188]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x100], 0x68
mov eax, 1
mov word [rsp + 0x140], ax
mov dword [rsp + 0x13c], 0x81
lea rcx, [rsp + 0x1b8]
call fcn.1400051eb
nop
mov edx, 0x104
lea rcx, [rsp + 0x1b8]
call fcn.1400013b6
lea rdx, [0x1401e168c]
lea rcx, [rsp + 0x1b8]
call fcn.140005731
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x1b8]
call fcn.14000127b
lea rdx, [0x1401e16c4]
lea rcx, [rsp + 0x1b8]
call fcn.1400079c8
mov rcx, qword [rsp + 0x4b8]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x140028276
lea rdx, [0x1401e16e4]
lea rcx, [rsp + 0x1b8]
call fcn.1400079c8
mov rdx, qword [rsp + 0x4b8]
lea rcx, [rsp + 0x1b8]
call fcn.14000127b
lea rcx, [rsp + 0x58]
call fcn.14000179e
movzx eax, al
test eax, eax
je 0x140028295
mov qword [rsp + 0x488], 0
jmp 0x1400282a7
lea rcx, [rsp + 0x58]
call fcn.140004fac
mov qword [rsp + 0x488], rax
lea rcx, [rsp + 0x1b8]
call fcn.140004fac
mov qword [rsp + 0x490], rax
mov rcx, qword [rsp + 0x4b0]
call fcn.140004fac
lea rcx, [rsp + 0x188]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x488]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x30
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x490]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x1e4], eax
cmp dword [rsp + 0x1e4], 0
je 0x14002843e
cmp qword [rsp + 0x190], 0
je 0x14002835d
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x190], 0
cmp qword [rsp + 0x188], 0
jne 0x140028383
mov r8d, 0x2d2
lea rdx, [0x1401e1990]
lea rcx, str.pi.hProcess___0
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x188], 0
jne 0x1400283c9
mov byte [rsp + 0x478], 0
lea rcx, [rsp + 0x1b8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x478]
jmp 0x14002876d
cmp qword [rsp + 0x4c8], 0
je 0x1400283e9
mov rax, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x188]
mov qword [rax], rcx
jmp 0x140028403
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x188], 0
mov byte [rsp + 0x479], 1
lea rcx, [rsp + 0x1b8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x479]
jmp 0x14002876d
lea rcx, [rsp + 0x1b8]
call fcn.1400073ce
lea rdx, str.open
lea rcx, [rsp + 0x1f8]
call fcn.140001faa
nop
movzx eax, byte [rsp + 0x4c0]
test eax, eax
je 0x1400284ad
lea rcx, [rsp + 0x240]
call fcn.1400088f0
lea rcx, [rsp + 0x240]
call fcn.14000575e
mov byte [rsp + 0x364], al
movzx eax, byte [rsp + 0x364]
test eax, eax
je 0x1400284ad
lea rdx, str.runas
lea rcx, [rsp + 0x1f8]
call fcn.140005731
mov rdx, qword [rsp + 0x4b8]
lea rcx, [rsp + 0x378]
call fcn.1400044f3
nop
lea rax, [rsp + 0x3c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x3c0], 0x70
mov qword [rsp + 0x3c8], 0
mov dword [rsp + 0x3c4], 0x100540
lea rcx, [rsp + 0x1f8]
call fcn.140004fac
mov qword [rsp + 0x3d0], rax
mov rcx, qword [rsp + 0x4b0]
call fcn.140004fac
mov qword [rsp + 0x3d8], rax
lea rcx, [rsp + 0x58]
call fcn.140004fac
mov qword [rsp + 0x3e8], rax
lea rcx, [rsp + 0x378]
call fcn.140004fac
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x3f0], 1
mov qword [rsp + 0x438], 0
lea rdx, [0x1401e1a60]
lea rcx, [rsp + 0x448]
call fcn.140001faa
nop
call fcn.140004642
lea rdx, [rsp + 0x448]
mov rcx, rax
call fcn.140003166
mov qword [rsp + 0x440], rax
lea rcx, [rsp + 0x448]
call fcn.1400073ce
cmp qword [rsp + 0x440], 0
je 0x1400285c8
lea rdx, [0x1401e1a78]
mov rcx, qword [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x438], rax
cmp qword [rsp + 0x438], 0
jne 0x14002861c
mov byte [rsp + 0x47a], 0
lea rcx, [rsp + 0x378]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x1f8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x47a]
jmp 0x14002876d
lea rcx, [rsp + 0x3c0]
call qword [rsp + 0x438]
test eax, eax
jne 0x140028678
mov byte [rsp + 0x47b], 0
lea rcx, [rsp + 0x378]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x1f8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x47b]
jmp 0x14002876d
cmp qword [rsp + 0x428], 0
jne 0x14002869e
mov r8d, 0x30d
lea rdx, [0x1401e1a90]
lea rcx, str.execInfo.hProcess___0
call fcn.1400070db
xor eax, eax
cmp qword [rsp + 0x428], 0
jne 0x1400286ef
mov byte [rsp + 0x47c], 0
lea rcx, [rsp + 0x378]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x1f8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x47c]
jmp 0x14002876d
cmp qword [rsp + 0x4c8], 0
je 0x14002870f
mov rax, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x428]
mov qword [rax], rcx
jmp 0x140028729
mov rcx, qword [rsp + 0x428]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x428], 0
mov byte [rsp + 0x47d], 1
lea rcx, [rsp + 0x378]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x1f8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x98]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x58]
call fcn.1400073ce
movzx eax, byte [rsp + 0x47d]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401e26a8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x4a0
pop rdi
ret