Function at 0x140005640
Capabilities:
Execute command
Self delete

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea r8d, [rsi + 0x11]
lea rdx, str.rename_script.bat
lea rcx, [rsp + 0x30]
call fcn.140008c20
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140007590
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rdx, str._echo_off_n
lea rcx, [rsp + 0x70]
call fcn.140007e80
lea rdx, str.rename__
lea rcx, [rsp + 0x70]
call fcn.140007e80
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14000571d
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400094c0
lea rdx, [0x14000cea8]
mov rcx, rax
call fcn.140007e80
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140005745
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400094c0
mov rcx, rax
lea rdx, [0x14000cea0]
call fcn.140007e80
lea rdx, str.del__
lea rcx, [rsp + 0x70]
call fcn.140007e80
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.1400094c0
mov rcx, rax
lea rdx, [0x14000cea0]
call fcn.140007e80
lea rdx, str.exit_n
lea rcx, [rsp + 0x70]
call fcn.140007e80
lea rcx, [rsp + 0x78]
call fcn.140007810
test rax, rax
jne 0x1400057db
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
lea r8, [rsp + 0x30]
lea rdx, str.cmd.exe__C_start__b
lea rcx, [rsp + 0x50]
call fcn.140008230
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000584d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005848
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a4d0
movdqa xmm0, xmmword [0x14000d710]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rcx, [rsp + 0x70]
call fcn.140005570
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400058b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a4d0
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14000a4b0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret