Function at 0x14016dc34
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rbp + 0x1c8], r14d
mov rsi, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14016dc6c
mov rsi, qword [rdx]
lea rax, [0x140fc6468]
mov qword [rbp], rax
lea rax, [0x140fc6410]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], r14
mov dword [rbp + 0xd0], r14d
mov qword [rbp + 0xd8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb8], rax
movdqa xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0x110], r14b
mov dword [rbp + 0x1c8], 1
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
call fcn.14016a73c
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r13, [0x140fc6460]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call fcn.14016b284
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x18], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x18]
call fcn.14016a354
nop
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
mov rdx, rsi
lea rcx, [rbp + 0x18]
call fcn.14016b0d4
test rax, rax
jne 0x14016dd7f
mov rax, qword [rbp]
movsxd rdx, dword [rax + 4]
mov rax, qword [rbp + rdx + 0x48]
neg rax
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 6
or ecx, dword [rbp + rdx + 0x10]
and ecx, 0x17
mov dword [rbp + rdx + 0x10], ecx
mov eax, dword [rbp + rdx + 0x14]
and eax, ecx
jne 0x14016e19f
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx - 4], edx
cmp qword [rbp + 0x98], r14
jne 0x14016de84
mov rbx, qword [0x1410a1040]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 0x1a
lea rdx, str.Failed_to_write_batch_file
lea rcx, [rsp + 0x60]
call fcn.140159cd4
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x78]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp - 0x50], xmm0
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx]
call fcn.140162f7c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14016e15a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
mov edi, 0x1000
cmp rdx, rdi
jb 0x14016de7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016e1f1
call fcn.140cd8948
jmp 0x14016e15a
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14016de92
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1401731a8
lea rcx, [rbp + 0x18]
call fcn.14016a42c
test rax, rax
jne 0x14016dedb
mov rax, qword [rbp]
movsxd rdx, dword [rax + 4]
mov rax, qword [rbp + rdx + 0x48]
neg rax
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 6
or ecx, dword [rbp + rdx + 0x10]
and ecx, 0x17
mov dword [rbp + rdx + 0x10], ecx
mov eax, dword [rbp + rdx + 0x14]
and eax, ecx
jne 0x14016e1f7
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp + 0x124]
call fcn.140da1bb0
mov dword [rbp + 0x120], WSASetLastError
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xc
jb 0x14016e249
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14016df2c
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_ntoa
lea r9, str.cmd.exe__c__
mov r8, rbx
mov dl, byte [rbp + 0x1c8]
lea rcx, [rbp - 0x60]
call fcn.14015cbec
nop
mov r8d, 1
lea rdx, [0x140fc69ec]
lea rcx, [rbp - 0x60]
call fcn.140155eac
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
mov edi, 0x1000
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14016dfd8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rdi
jb 0x14016dfd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016e24f
call fcn.140cd8948
movdqa xmm0, xmmword [0x140fcf500]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], r14b
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14016e101
mov rbx, qword [0x1410a1040]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea r8d, [rax + 0x1e]
lea rdx, str.Failed_to_create_batch_process
lea rcx, [rsp + 0x60]
call fcn.140159cd4
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x78]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp - 0x50], xmm0
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx]
call fcn.140162f7c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14016e116
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rdi
jb 0x14016e0fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016e255
call fcn.140cd8948
jmp 0x14016e116
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14016e149
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rdi
jb 0x14016e144
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016e199
call fcn.140cd8948
movdqa xmm0, xmmword [0x140fcf500]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r14b
lea rcx, [rbp + 0xb8]
call fcn.140172594
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.140cdba58
nop
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.140cf5acc
nop
test al, 4
je 0x14016e1ac
lea rbx, str.ios_base::badbit_set
jmp 0x14016e1c0
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401652ec
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1401657c8
lea rdx, [0x141007d80]
lea rcx, [rsp + 0x60]
call fcn.140cded0c
nop
call fcn.140cf5acc
int3
test al, 4
je 0x14016e204
lea rbx, str.ios_base::badbit_set
jmp 0x14016e218
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401652ec
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1401657c8
lea rdx, [0x141007d80]
lea rcx, [rsp + 0x60]
call fcn.140cded0c
int3
call fcn.1401514ac
nop
call fcn.140cf5acc
int3
call fcn.140cf5acc
int3