Function at 0x140020cd0
Capabilities:
Create process on windows
Self delete

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rcx, [rsp + 0x30]
call fcn.140020ae0
mov edi, 4
lea rdx, str..bat
mov r8d, edi
mov rcx, rax
call fcn.1400032e0
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140020d85
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020d80
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021160
call fcn.14002a2e0
mov qword [rsp + 0x1e0], rbx
lea rcx, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x1f0], r15
mov r8d, 0x108
call fcn.140046da0
cmp qword [rbp - 0x70], 0xf
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
cmova rdx, qword [rsp + 0x78]
call fcn.14001e7e0
mov rax, qword [rbp - 0x60]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rdx, str._echo_off_n
lea rcx, [rbp - 0x60]
call fcn.140003800
lea rdx, str.ping_127.0.0.1__n_2___nul_n
lea rcx, [rbp - 0x60]
call fcn.140003800
call fcn.140031118
lea rdx, str.attrib__H__S__R__
lea rcx, [rbp - 0x60]
mov rbx, qword [rax]
call fcn.140003800
mov rdx, qword [rbx]
mov rcx, rax
call fcn.140003800
mov rcx, rax
lea rdx, [0x1400540d4]
call fcn.140003800
call fcn.140031118
lea rdx, str.del__Q__F__
lea rcx, [rbp - 0x60]
mov rbx, qword [rax]
call fcn.140003800
mov rdx, qword [rbx]
mov rcx, rax
call fcn.140003800
mov rcx, rax
lea rdx, [0x1400540d4]
call fcn.140003800
lea rdx, str.del__0_n
lea rcx, [rbp - 0x60]
call fcn.140003800
lea rdx, str.exit_n
lea rcx, [rbp - 0x60]
call fcn.140003800
lea rcx, [rbp - 0x58]
call fcn.1400051a0
test rax, rax
jne 0x140020ec2
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x18], r14
mov eax, dword [rbp + rcx - 0x4c]
cmovne edi, r14d
or edi, dword [rbp + rcx - 0x50]
and edi, 0x15
or edi, 2
mov dword [rbp + rcx - 0x50], edi
and eax, edi
jne 0x140021166
cmp qword [rbp - 0x70], 0xf
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x1e8], rsi
lea rdi, [rsp + 0x78]
cmova rdx, qword [rsp + 0x78]
xorps xmm0, xmm0
mov rsi, qword [rbp - 0x78]
mov ebx, 7
add rsi, rdx
mov qword [rsp + 0x40], r14
cmp qword [rbp - 0x70], 0xf
movups xmmword [rsp + 0x30], xmm0
cmova rdi, qword [rsp + 0x78]
mov qword [rsp + 0x48], rbx
cmp rdi, rsi
jne 0x140020f18
mov word [rsp + 0x30], r14w
jmp 0x140021023
sub rsi, rdi
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x1400211b8
cmp rsi, rbx
jbe 0x140020fe3
mov rbx, rsi
or rbx, 7
cmp rbx, rax
jbe 0x140020f56
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140020f85
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x1400211be
add rcx, rcx
cmp rcx, 0x1000
jb 0x140020fbe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400211be
mov rcx, rax
call fcn.14002a2e8
mov rcx, rax
test rax, rax
je 0x1400211c4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x140020fe8
test rcx, rcx
je 0x140020fd4
call fcn.14002a2e8
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x140020fe8
mov rax, r14
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
jmp 0x140020fe8
mov rax, qword [rsp + 0x30]
cmp rbx, 7
lea r8, [rsp + 0x30]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x140021014
movsx eax, byte [rdi]
lea rdi, [rdi + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140021000
mov qword [rsp + 0x40], rsi
mov word [r8 + rsi*2], r14w
mov rbx, qword [rsp + 0x48]
cmp rbx, 7
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r14
cmova r8, qword [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140021090
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002108b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400211c4
call fcn.14002a2e0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140004b10
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::ios_base.0
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x48], rax
call fcn.1400282f0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140021127
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021122
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002115a
call fcn.14002a2e0
mov rsi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14002a2c0
add rsp, 0x1c0
pop r14
pop rdi
pop rbp
ret
call fcn.1400314d8
int3
call fcn.1400314d8
int3
test al, 4
je 0x140021173
lea rbx, str.ios_base::badbit_set
jmp 0x140021187
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 + 0x30]
call fcn.140002740
mov r8, rax
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140002e70
lea rdx, [0x140059288]
lea rcx, [rsp + 0x50]
call fcn.14002b620
int3
call fcn.140002670
int3
call fcn.1400025d0
int3
call fcn.1400314d8
int3