Function at 0x14005dcc0
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 [0x1400d5bd0]
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 [0x1400d93c8], eax
jle 0x14005dd54
lea rcx, [0x1400d93c8]
call fcn.1400983a0
cmp dword [0x1400d93c8], 0xffffffff
jne 0x14005dd54
lea rcx, [0x1400b1900]
call fcn.14009875c
nop
lea rcx, [0x1400d93c8]
call fcn.140098334
mov rax, qword [r13]
mov rcx, r15
test rax, rax
je 0x14005dd6b
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 0x14005ddb1
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005dd99
mov rax, qword [r12]
cmp qword [r12 + 0x10], 4
jne 0x14005e4b7
cmp dword [rax], 0x6578652e
jne 0x14005e4b7
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.140080e88
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 0x14005de4c
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 0x14005de5f
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140040370
sub rbx, 1
jne 0x14005ddf0
mov r13, qword [rbp - 0x40]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005de78
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.14003d2e0
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.1400421e0
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.14003bde0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.14009f340
mov rbx, rax
mov qword [rbp + 0x50], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14003bde0
shr rbx, 0x20
cmp ebx, 0xffffffff
jne 0x14005df88
mov dword [rbp + 0x20], socket
lea rax, [0x1400d5c90]
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
jmp 0x14005df9d
mov eax, dword [rbp + 0x54]
mov dword [rbp - 0x30], eax
lea rax, [0x1400d5ca0]
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 0x14005e501
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.14002c3c0
nop
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14005e028
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e023
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e517
call fcn.1400982f0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14005e07c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e51d
call fcn.1400982f0
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 0x14005e0d0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e0cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e523
call fcn.1400982f0
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 0x14005e125
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e120
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e529
call fcn.1400982f0
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.14009a430
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.14005fae0
nop
cmp qword [rbp + 0x138], 0
je 0x14005e3aa
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
sub r8, rdx
lea rcx, [rbp + 0xb0]
call fcn.14005f4b0
lea rcx, [rbp + 0xb0]
call fcn.140040cf0
lea rcx, [rbp + 0xb8]
call fcn.14005f990
test rax, rax
jne 0x14005e1e1
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 0x14005e52f
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 0x14005e24e
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 0x14005e24e
cmp dword [rbp + 0x4c], r14d
setne r14b
test r15, r15
je 0x14005e25f
mov rcx, rbx
mov rax, qword [0x1400c18a0]
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 0x14005e290
lea rcx, [rbp + 0x68]
call fcn.14003f9c0
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x60]
call fcn.14003c010
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 0x14005e338
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e57e
call fcn.1400982f0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x14005e38c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e584
call fcn.1400982f0
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.14005f400
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.14009fdac
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x14005e499
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e4fb
call fcn.1400982f0
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, [0x1400d5d30]
cmp r12, rax
jne 0x14005dd85
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400982d0
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.14007a428
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x50]
lea rcx, str.temp_directory_path
call fcn.14002cc80
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
test al, 4
je 0x14005e53c
lea rbx, str.ios_base::badbit_set
jmp 0x14005e550
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.14002a9f0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14002b9b0
lea rdx, [0x1400d35f0]
lea rcx, [rbp - 0x20]
call fcn.14009b318
nop
call fcn.14007a428
nop
call fcn.14007a428
int3