Function at 0x7ff7a390c330
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10c0]
mov eax, 0x11c0
call fcn.7ff7a3938550
sub rsp, rax
mov rax, qword [0x7ff7a4317500]
xor rax, rsp
mov qword [rbp + 0x10b0], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x30], rcx
mov dword [rsp + 0x78], 1
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x78], 1
mov dword [rbp - 0x60], 0x18
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x58], r12
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x78]
call qword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
jne 0x7ff7a390c3d8
lea rdx, [0x7ff7a39dec58]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff7a38134a0
jmp 0x7ff7a390c91f
mov dword [rbp - 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x38], rax
psrldq xmm0, 4
movd eax, xmm0
bts eax, 8
mov dword [rbp + 0x1c], eax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
jne 0x7ff7a390c4a5
lea rdx, [0x7ff7a39dec70]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff7a38134a0
mov rbx, rax
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
lea rdx, [0x7ff7a38f64c0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x7ff7a390c91f
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.kernel32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov r15d, 0xf
mov qword [rbp + 0x68], r15
mov byte [rbp + 0x50], 0
movdqu xmmword [rsp + 0x60], xmm0
mov r13, r12
mov qword [rsp + 0x70], r12
movzx ebx, byte [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x54]
mov r8d, 0xfff
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff7a390c5f4
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x7ff7a390c5f4
cmp rax, 0x1000
jae 0x7ff7a390c94c
mov byte [rbp + rax + 0xb0], 0
mov edi, r12d
test eax, eax
je 0x7ff7a390c5f4
nop dword [rax]
nop dword [rax + rax]
mov eax, edi
movzx r9d, byte [rbp + rax + 0xb0]
cmp r9b, 0xa
jne 0x7ff7a390c59f
cmp rsi, r13
je 0x7ff7a390c56d
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.7ff7a380acf0
add rsi, 0x20
mov qword [rsp + 0x68], rsi
jmp 0x7ff7a390c588
lea r8, [rbp + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.7ff7a38f4120
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
mov qword [rbp + 0x60], r12
mov byte [rax], 0
jmp 0x7ff7a390c5da
mov rcx, qword [rbp + 0x60]
cmp rcx, r15
jae 0x7ff7a390c5c8
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r15, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff7a390c5da
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 0x50]
call fcn.7ff7a3813ff0
inc edi
mov eax, dword [rsp + 0x54]
mov r15, qword [rbp + 0x68]
cmp edi, eax
jb 0x7ff7a390c540
test eax, eax
jne 0x7ff7a390c4e0
cmp qword [rbp + 0x60], 0
je 0x7ff7a390c636
cmp rsi, r13
je 0x7ff7a390c617
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.7ff7a380acf0
add rsi, 0x20
mov qword [rsp + 0x68], rsi
jmp 0x7ff7a390c632
lea r8, [rbp + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.7ff7a38f4120
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov r15, qword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov ecx, 0x70
call fcn.7ff7a393800c
mov rbx, rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], 0x60
mov qword [rbp + 0xa8], 0x6f
movaps xmm0, xmmword [0x7ff7a39deca0]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x7ff7a39decb0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x7ff7a39decc0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x7ff7a39decd0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x7ff7a39dece0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x7ff7a39decf0]
movups xmmword [rax + 0x50], xmm1
mov byte [rax + 0x60], 0
mov rdi, qword [rsp + 0x60]
mov r12, rdi
mov qword [rsp + 0x58], rdi
cmp rdi, rsi
je 0x7ff7a390c850
movzx ebx, byte [rsp + 0x50]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
mov r14d, 0xf
mov qword [rbp + 0x88], r14
mov byte [rbp + 0x70], 0
mov rcx, r12
cmp qword [r12 + 0x18], r14
jbe 0x7ff7a390c706
mov rcx, qword [r12]
mov rdx, rcx
jmp 0x7ff7a390c709
mov rdx, r12
mov rdi, rcx
mov rax, qword [r12 + 0x10]
add rax, rdx
cmp rcx, rax
je 0x7ff7a390c7f6
mov r15, rax
mov rsi, qword [rbp + 0x90]
nop word [rax + rax]
movsx r12d, byte [rdi]
mov edx, r12d
mov r8d, 0x60
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x7ff7a390c79f
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x7ff7a390c79f
mov rcx, qword [rbp + 0x80]
cmp rcx, r14
jae 0x7ff7a390c782
lea rax, [rcx + 1]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp r14, 0xf
cmova rax, qword [rbp + 0x70]
mov byte [rax + rcx], r12b
mov byte [rax + rcx + 1], 0
jmp 0x7ff7a390c798
movzx r9d, r12b
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.7ff7a3813ff0
mov r14, qword [rbp + 0x88]
inc rdi
cmp rdi, r15
jne 0x7ff7a390c730
mov rsi, qword [rsp + 0x68]
mov r15, qword [rbp + 0x68]
cmp qword [rbp + 0x80], 0
jbe 0x7ff7a390c7f1
mov rdi, qword [rbp - 0x70]
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x7ff7a390c7db
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.7ff7a380acf0
add qword [rdi + 8], 0x20
jmp 0x7ff7a390c7ea
lea r8, [rbp + 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.7ff7a38f4120
mov r14, qword [rbp + 0x88]
mov r12, qword [rsp + 0x58]
cmp r14, 0xf
jbe 0x7ff7a390c82e
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7a390c829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7a390c8d0
call fcn.7ff7a3938048
add r12, 0x20
mov qword [rsp + 0x58], r12
cmp r12, rsi
jne 0x7ff7a390c6d0
mov rbx, qword [rbp + 0x90]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
mov edx, 0x70
mov rcx, rbx
call fcn.7ff7a3938048
nop
test rdi, rdi
je 0x7ff7a390c8e3
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, rdi
call fcn.7ff7a38f4090
sub r13, rdi
and r13, 0xffffffffffffffe0
mov rax, rdi
cmp r13, 0x1000
jb 0x7ff7a390c8d7
add r13, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7a390c8d7
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, r13
mov rcx, rdi
call fcn.7ff7a3938048
nop
cmp r15, 0xf
jbe 0x7ff7a390c91f
lea rdx, [r15 + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7a390c919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7a390c919
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7a3938048
nop
mov rax, r14
mov rcx, qword [rbp + 0x10b0]
xor rcx, rsp
call fcn.7ff7a3937cf0
mov rbx, qword [rsp + 0x1218]
add rsp, 0x11c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.7ff7a393885c
nop
int3