Function at 0x140001d60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400c6738]
xor rax, rsp
mov qword [rbp + 0x148], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.140067ad0
lea rcx, [rbp - 0x60]
call fcn.140003e60
nop
lea rdx, str.:loop_n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.tasklist__find__ClientSide2.exe____nul_2_1_n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.if_errorlevel_1___n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.__del__ClientSide2.exe__n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.__del___f0__n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.__exit_n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, [0x1400bb440]
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rdx, str.goto_loop_n
lea rcx, [rbp - 0x60]
call fcn.140004c60
lea rcx, [rbp - 0x58]
call fcn.1400047c0
test rax, rax
jne 0x140001e61
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x18], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x50]
and eax, 0x17
mov dword [rbp + rcx - 0x50], eax
mov edx, dword [rbp + rcx - 0x4c]
and edx, eax
jne 0x140001fc8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
movups xmmword [rbp + 0xd4], xmm0
movups xmmword [rbp + 0xe4], xmm0
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
mov dword [rbp + 0x114], eax
mov dword [rbp + 0xb0], WSASetLastError
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [str.cmd.exe__c_start__b_temp_delete.bat]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [0x1400bb468]
movups xmmword [rbp + 0x130], xmm1
mov eax, dword [0x1400bb478]
mov dword [rbp + 0x140], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001130
jmp 0x140001f41
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
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.140003ba0
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 edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.140064c8c
nop
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140065560
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rbp
ret
test dl, 4
je 0x140001fd6
lea rbx, str.ios_base::badbit_set
jmp 0x140001feb
test dl, 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.140001400
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140001c00
lea rdx, [0x1400c4bd8]
lea rcx, [rsp + 0x60]
call fcn.140068414
int3