Function at 0x140024030
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140083100]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, rcx
xor edi, edi
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 4
jb 0x1400245b1
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14002408d
mov r9, qword [rbx]
mov qword [rsp + 0x30], 4
lea rax, str..bat
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp]
call fcn.140002030
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400240be
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140009570
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140021a20
nop
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140028500
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14002413e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400245b7
call fcn.1400361dc
movdqa xmm0, xmmword [0x140077360]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14002419b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002418e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400245bd
call fcn.1400361dc
movdqa xmm0, xmmword [0x140077360]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x40]
call fcn.140062f70
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
lea rcx, [rbp + 0x40]
call fcn.140029940
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x40], rsi
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x3c], edx
cmp qword [rbp + 0xc8], 0
je 0x14002445b
lea rdx, str._echo_off_n
lea rcx, [rbp + 0x40]
call fcn.14002adf0
lea rdx, str.cd__d__
lea rcx, [rbp + 0x40]
call fcn.14002adf0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
mov rcx, rax
call fcn.14002cf40
lea rdx, [0x14007617c]
mov rcx, rax
call fcn.14002adf0
lea rdx, str.start_____
lea rcx, [rbp + 0x40]
call fcn.14002adf0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140024269
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14002cf40
lea rdx, [0x14007617c]
mov rcx, rax
call fcn.14002adf0
lea rdx, str.exit_n
lea rcx, [rbp + 0x40]
call fcn.14002adf0
lea rcx, [rbp + 0x48]
call fcn.140029840
test rax, rax
jne 0x1400242d6
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x88], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x50]
and eax, 0x17
mov dword [rbp + rcx + 0x50], eax
mov edx, dword [rbp + rcx + 0x54]
and edx, eax
jne 0x1400245c3
mov dword [rbp - 0x70], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
lea rax, [0x140076000]
mov qword [rbp - 0x60], rax
lea rax, [rbp]
cmp qword [rbp + 0x18], 7
cmova rax, qword [rbp]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x40], edi
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140024356
lea rdx, str.Batch_script_started_successfully.
lea rcx, [0x1400852a0]
call fcn.14002adf0
mov rcx, rax
call fcn.14002b0b0
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140024384
lea rdx, str.Failed_to_start_batch_script._Error:
lea rcx, [0x1400853c0]
call fcn.14002adf0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400282d0
mov rcx, rax
call fcn.14002b0b0
lea rcx, [rsp + 0x40]
call fcn.140020470
movabs rcx, 0x7fffffff88ca6bff
mov rax, qword [rsp + 0x40]
cmp rax, rcx
jge 0x1400243aa
add rax, 0x77359400
jmp 0x1400243b4
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.14002d690
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, qword [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140009570
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400355d0
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140024617
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140024491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002462d
call fcn.1400361dc
jmp 0x140024491
lea rdx, str.Failed_to_create_batch_script:
lea rcx, [0x1400853c0]
call fcn.14002adf0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, rax
call fcn.14002cf40
mov rcx, rax
call fcn.14002b0b0
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], rsi
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x48]
call fcn.1400271c0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0xe8]
call fcn.140033df4
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140024537
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024532
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024633
call fcn.1400361dc
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140024583
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002457e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400245ab
call fcn.1400361dc
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140036180
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14003c334
int3
call fcn.140001980
nop
call fcn.14003c334
nop
call fcn.14003c334
nop
test dl, 4
je 0x1400245d1
lea rbx, str.ios_base::badbit_set
jmp 0x1400245e6
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 + 0x40]
call fcn.140002b30
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003360
lea rdx, [0x140080cf8]
lea rcx, [rsp + 0x60]
call fcn.1400383b4
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.remove
call fcn.1400223f0
nop
call fcn.14003c334
nop
call fcn.14003c334
int3