Function at 0x180331380
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18054e100]
xor rax, rsp
mov qword [rbp + 0x228], rax
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov ebx, r13d
mov qword [rbp + 0x110], rbx
mov esi, 0xf
mov edi, esi
mov qword [rbp + 0x118], rsi
mov byte [rbp + 0x100], bl
lea edx, [rsi - 0xe]
lea rcx, [rsp + 0x50]
call fcn.180077390
nop
lea rcx, [rbp + 0x200]
call fcn.1803006b0
nop
lea r8d, [r13 + 0x11]
lea rdx, str._ffmpegfolder.txt
mov rcx, rax
call fcn.18006a3c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rsi
mov byte [rax], r13b
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], rsi
cmova rdx, qword [rbp + 0x80]
lea r9d, [r13 + 0x40]
lea r8d, [r13 + 1]
lea rcx, [rsp + 0x50]
call fcn.180077210
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, rsi
jbe 0x1803314b2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1803314ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331c89
call fcn.180357650
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], rsi
mov byte [rbp + 0x80], 0
lea rcx, [rbp + 0x200]
call fcn.18006b8d0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], 6
jne 0x180331502
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.18007af60
mov rdi, qword [rbp + 0x118]
mov rbx, qword [rbp + 0x110]
lea rcx, [rsp + 0x60]
call fcn.180078e10
mov r14d, 2
test rax, rax
jne 0x180331544
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx - 0x68], 0
cmovne eax, r14d
or eax, dword [rsp + rcx + 0x60]
and eax, 0x17
mov dword [rsp + rcx + 0x60], eax
and eax, dword [rsp + rcx + 0x64]
jne 0x180331c8f
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], rsi
movzx eax, word [0x180460e04]
mov byte [rbp + 0x140], al
mov byte [rbp + 0x141], 0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], rsi
movzx eax, word [0x1804a69cc]
mov byte [rbp + 0x1e0], al
mov byte [rbp + 0x1e1], 0
lea rcx, [rbp + 0x200]
call fcn.1803006b0
nop
lea rdx, [rbp + 0x140]
mov r8d, 1
mov rcx, rax
call fcn.18006a3c0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rsi
mov byte [rax], 0
lea rcx, [rbp + 0x200]
call fcn.18006b8d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], rsi
mov ecx, 0x20
call fcn.180357684
mov rdx, rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x70], 0x1b
mov qword [rbp + 0x78], 0x1f
movups xmm0, xmmword [str.c:windows_system32cmd.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180503968]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x180503970]
mov word [rax + 0x18], cx
movzx eax, byte [0x180503972]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], 0
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rcx, qword [rbp + 0x80]
sub rax, rcx
cmp rax, 9
jb 0x180331ce8
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rax, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str.__c_move
lea rcx, [rbp + 0x1c0]
call fcn.18006a4c0
nop
mov rax, r15
mov rcx, qword [rbp + 0x1d0]
sub rax, rcx
cmp rax, 7
jb 0x180331cee
lea r9, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova r9, qword [rbp + 0x1c0]
mov qword [rsp + 0x30], 7
lea rax, str.ffmpeg_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x1a0]
call fcn.18006a4c0
nop
mov rax, r15
mov rcx, qword [rbp + 0x1b0]
sub rax, rcx
cmp rax, rbx
jb 0x180331cf4
lea r9, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r9, qword [rbp + 0x1a0]
lea rax, [rbp + 0x100]
cmp rdi, 0xf
cmova rax, qword [rbp + 0x100]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x180]
call fcn.18006a4c0
nop
mov rax, r15
mov rcx, qword [rbp + 0x190]
sub rax, rcx
cmp rax, 0x11
jb 0x180331cfa
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova r9, qword [rbp + 0x180]
mov qword [rsp + 0x30], 0x11
lea rax, str._bin_ffprobe.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x160]
call fcn.18006a4c0
nop
mov edi, dword [rbp + 0x70]
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov rax, r14
mul rbx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.180357d9c
mov r14, rax
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
mov r8, rsi
inc r8
cmp word [r14 + r8*2], 0
jne 0x180331843
mov rdx, r14
lea rcx, [rbp + 0xc0]
call fcn.18008a510
mov rcx, r14
call fcn.180357650
nop
lea r12, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova r12, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0x170]
sub r15, rcx
mov rdx, qword [rbp + 0xf0]
cmp r15, rdx
jb 0x180331d00
lea r9, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova r9, qword [rbp + 0x160]
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rax, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x120]
call fcn.18006a4c0
nop
mov edi, dword [rbp + 0x130]
lea r8, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova r8, qword [rbp + 0x120]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.180357d9c
mov r14, rax
lea r8, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova r8, qword [rbp + 0x120]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r13
nop word [rax + rax]
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x180331980
mov r8, rsi
mov rdx, r14
lea rcx, [rbp + 0xa0]
call fcn.18008a510
mov rcx, r14
call fcn.180357650
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 7
cmova r9, qword [rbp + 0xa0]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r8, r12
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x180331a1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331a19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331d06
call fcn.180357650
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r13w
lea rcx, [rbp + 0x120]
call fcn.18006b8d0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x180331a8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331a86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331d0c
call fcn.180357650
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r13w
lea rcx, [rbp + 0x160]
call fcn.18006b8d0
nop
lea rcx, [rbp + 0x180]
call fcn.18006b8d0
nop
lea rcx, [rbp + 0x1a0]
call fcn.18006b8d0
nop
lea rcx, [rbp + 0x1c0]
call fcn.18006b8d0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180331b14
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331d12
call fcn.180357650
mov qword [rbp + 0x70], r13
mov ebx, 0xf
mov qword [rbp + 0x78], rbx
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, rbx
jbe 0x180331b66
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331b60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331d18
call fcn.180357650
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x180331ba8
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331d1e
call fcn.180357650
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.180077160
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp], rax
lea rcx, [rbp]
call fcn.1803379ec
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x180331c51
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180331c4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180331c83
call fcn.180357650
xor eax, eax
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.180357630
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18035e820
nop
call fcn.18035e820
nop
test al, 4
je 0x180331c9c
lea rbx, str.ios_base::badbit_set
jmp 0x180331cb1
test r14b, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x80]
call fcn.18008ba60
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x200]
call fcn.18008b850
lea rdx, [0x18054c8c8]
lea rcx, [rbp + 0x200]
call fcn.180359a20
nop
call fcn.18006b090
nop
call fcn.18006b090
nop
call fcn.18006b090
nop
call fcn.18006b090
nop
call fcn.18006b090
nop
call fcn.18035e820
nop
call fcn.18035e820
nop
call fcn.18035e820
nop
call fcn.18035e820
nop
call fcn.18035e820
int3