Function at 0x14005fdc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400dbbf0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, rcx
mov qword [rbp - 0x40], rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x30], r15d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x1400df570], eax
jle 0x14005fe54
lea rcx, [0x1400df570]
call fcn.14009d1a0
cmp dword [0x1400df570], 0xffffffff
jne 0x14005fe54
lea rcx, [0x1400b70d0]
call fcn.14009d55c
nop
lea rcx, [0x1400df570]
call fcn.14009d134
mov rax, qword [r13]
mov rcx, r15
test rax, rax
je 0x14005fe6b
mov edx, 0x5a4d
cmp dx, word [rax]
sete cl
mov qword [rbp - 0x68], rcx
lea r12, str..exe
movabs r14, 0x948b0fcd6e9e0653
movzx edi, byte [rsp + 0x34]
test rcx, rcx
je 0x14005feb1
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005fe99
mov rax, qword [r12]
cmp qword [r12 + 0x10], 4
jne 0x1400605b7
cmp dword [rax], 0x6578652e
jne 0x1400605b7
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
or esi, 1
mov dword [rsp + 0x30], esi
mov ebx, recv
lea r13, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_________._
nop dword [rax]
call fcn.140085c78
movsxd rcx, eax
mov rax, r14
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x51
sub rcx, rax
movzx r9d, byte [rcx + r13]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14005ff4c
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005ff5f
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140043c20
sub rbx, 1
jne 0x14005fef0
mov r13, qword [rbp - 0x40]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005ff78
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140040110
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], 0
or esi, 2
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x20]
mov qword [rbp + 0x30], rax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.140048490
or esi, 4
mov dword [rsp + 0x30], esi
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
or esi, 0x20
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov edx, 0x105
lea rcx, [rsp + 0x58]
call fcn.14003e700
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.1400a4340
mov rbx, rax
mov qword [rbp + 0x50], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14003e700
shr rbx, 0x20
cmp ebx, 0xffffffff
jne 0x140060088
mov dword [rbp + 0x20], socket
lea rax, str.pH_f_
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
jmp 0x14006009d
mov eax, dword [rbp + 0x54]
mov dword [rbp - 0x30], eax
lea rax, str._N_f_
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x50], xmm0
and esi, 0xffffffdf
mov dword [rsp + 0x30], esi
or esi, 0x10
mov dword [rsp + 0x30], esi
movd eax, xmm0
test eax, eax
jne 0x140060601
and esi, 0xffffffef
mov dword [rsp + 0x30], esi
or esi, 8
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14002d090
nop
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140060128
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060617
call fcn.14009d0f0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14006017c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006061d
call fcn.14009d0f0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400601d0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400601cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060623
call fcn.14009d0f0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], send
mov byte [rsp + 0x78], 0
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140060225
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060629
call fcn.14009d0f0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xb0]
call fcn.14009f430
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.140061be0
nop
cmp qword [rbp + 0x138], 0
je 0x1400604aa
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
sub r8, rdx
lea rcx, [rbp + 0xb0]
call fcn.1400615b0
lea rcx, [rbp + 0xb0]
call fcn.140044fa0
lea rcx, [rbp + 0xb8]
call fcn.140061a90
test rax, rax
jne 0x1400602e1
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0xf8], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx + 0xc0]
and eax, 0x17
mov dword [rbp + rcx + 0xc0], eax
and eax, dword [rbp + rcx + 0xc4]
jne 0x14006062f
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov rbx, r15
mov qword [rbp + 0x60], rbx
mov r14d, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x50]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006034e
mov rbx, qword [rbp + 0x50]
mov qword [rbp + 0x60], rbx
mov r15, rbx
mov dword [rbp + 0x48], 4
xor r14d, r14d
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 4]
lea r8, [rbp + 0x4c]
lea edx, [r14 + 0x14]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14006034e
cmp dword [rbp + 0x4c], r14d
setne r14b
test r15, r15
je 0x14006035f
mov rcx, rbx
mov rax, qword [0x1400c4ca0]
call rax
lea rdx, str.open
test r14d, r14d
lea rax, str.runas
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xor r15d, r15d
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r15
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140060390
lea rcx, [rbp + 0x68]
call fcn.1400431a0
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x60]
call fcn.14003e930
bts esi, 7
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rdx, qword [rbp + 0x68]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
btr esi, 7
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140060438
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060433
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006067e
call fcn.14009d0f0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x14006048c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060684
call fcn.14009d0f0
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r15w
movabs r14, 0x948b0fcd6e9e0653
lea rax, [rbp + 0x158]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.140061500
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xac], edx
lea rax, [rbp + 0x158]
mov qword [rbp + 0x40], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x158], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 0x158]
call fcn.1400a50c0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x140060599
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400605fb
call fcn.14009d0f0
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r15w
mov rcx, qword [rbp - 0x68]
add r12, 0x20
lea rax, [0x1400dbd50]
cmp r12, rax
jne 0x14005fe85
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14009d0d0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007f2b8
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x50]
lea rcx, str.temp_directory_path
call fcn.14002d950
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
test al, 4
je 0x14006063c
lea rbx, str.ios_base::badbit_set
jmp 0x140060650
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x30]
call fcn.14002b530
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14002c680
lea rdx, [0x1400d9100]
lea rcx, [rbp - 0x20]
call fcn.1400a0318
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
int3