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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.140003e90
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov r12, rdx
mov rbx, rcx
mov qword [rbp + 0x80], rcx
mov dword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
mov ecx, 0x60
call fcn.14000325c
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [0x140005580]
movdqu xmmword [rbp + 0x148], xmm0
movaps xmm1, xmmword [str.iuuqt_00lbfef_kq_ofu0_2:78EE95CEC335E4BB47E55F27:770_____________qiq]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x140005420]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x140005430]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x140005440]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x140005450]
movups xmmword [rax + 0x40], xmm1
mov byte [rax + 0x50], 0
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x158]
call fcn.1400012a0
nop
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140001465
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001de9
call fcn.140003298
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov ecx, 0x70
call fcn.14000325c
mov rdi, rax
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [0x140005590]
movdqu xmmword [rbp + 0x28], xmm0
movaps xmm1, xmmword [str.____sftqpotf___Jowplf.XfcSfrvftu_.Vsj__vsm_.VtfsBhfou__vtfsBhfou__Xsjuf.Pvuqvu__sftqpotf_Dpoufou]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x140005480]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x140005490]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x1400054a0]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x1400054b0]
movups xmmword [rax + 0x40], xmm1
movaps xmm0, xmmword [0x1400054c0]
movups xmmword [rax + 0x50], xmm0
movzx eax, byte [0x1400054d0]
mov byte [rdi + 0x60], al
lea r14, [rdi + 0x61]
mov byte [r14], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov ecx, 0x20
call fcn.14000325c
mov rcx, rax
mov qword [rbp + 0x38], rax
movdqa xmm0, xmmword [0x140005560]
movdqu xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [str.____vtfsBhfou____]
movups xmmword [rax], xmm1
movzx eax, byte [0x1400054e8]
mov byte [rcx + 0x10], al
lea rsi, [rcx + 0x11]
mov byte [rsi], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov ecx, 0x20
call fcn.14000325c
mov r13, rax
mov qword [rbp + 0x58], rax
movdqa xmm0, xmmword [0x140005570]
movdqu xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [str.qpxfstifmm_.Dpnnboe__vsm____]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x140005500]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x140005508]
mov dword [r13 + 0x18], eax
movzx eax, byte [0x14000550c]
mov byte [r13 + 0x1c], al
lea r15, [r13 + 0x1d]
mov byte [r15], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov edx, 0xf
mov qword [rbp - 0x50], rdx
mov byte [rbp - 0x68], cl
mov dword [rsp + 0x50], 4
cmp rdi, r14
je 0x1400015e7
nop dword [rax]
movzx r9d, byte [rdi]
dec r9b
cmp rcx, rdx
jae 0x1400015cc
lea rax, [rcx + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x68]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400015d5
lea rcx, [rbp - 0x68]
call fcn.140002760
inc rdi
cmp rdi, r14
je 0x1400015e7
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
jmp 0x1400015a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov edx, 0xf
mov qword [rbp - 0x70], rdx
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x50], 0xc
mov r14, qword [rbp + 0x38]
mov rdi, r14
cmp r14, rsi
je 0x14000166a
nop word [rax + rax]
movzx r9d, byte [rdi]
dec r9b
cmp rcx, rdx
jae 0x14000164e
lea rax, [rcx + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x78]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001658
lea rcx, [rsp + 0x78]
call fcn.140002760
inc rdi
cmp rdi, rsi
je 0x14000166a
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
jmp 0x140001620
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor esi, esi
mov ecx, esi
mov qword [rsp + 0x68], rcx
mov edx, 0xf
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x58], cl
mov dword [rsp + 0x50], 0x1c
mov rdi, r13
cmp r13, r15
je 0x1400016ed
nop dword [rax]
movzx r9d, byte [rdi]
dec r9b
cmp rcx, rdx
jae 0x1400016cf
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x58]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], sil
jmp 0x1400016d9
lea rcx, [rsp + 0x58]
call fcn.140002760
inc rdi
cmp rdi, r15
je 0x1400016ed
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
jmp 0x1400016a0
lea rdx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
cmova rdx, qword [rbp + 0x158]
mov r8, qword [rbp + 0x168]
lea rcx, [rsp + 0x58]
call fcn.1400026a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov dword [rsp + 0x50], 0x3c
lea r9, [rsp + 0x78]
lea r8, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.140002a50
mov dword [rsp + 0x50], 0x7c
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140001764
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.1400026a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x50], 0xfc
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x28]
lea rcx, [rbp + 0x138]
call fcn.140002a50
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400017ec
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000182a
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001825
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
movdqa xmm0, xmmword [0x140005550]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000187a
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001874
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400018ba
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000190d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001907
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000194c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001946
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
nop
mov edx, 0x20
mov rcx, r13
call fcn.140003298
nop
mov edx, 0x20
mov rcx, r14
call fcn.140003298
nop
mov edx, 0x70
mov rcx, qword [rbp + 0x18]
call fcn.140003298
xorps xmm0, xmm0
xor eax, eax
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 + 0xc0], 0x68
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp + 0xfc], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x88], 0x18
mov qword [rbp + 0x98], 1
mov qword [rbp + 0x90], rsi
xor r9d, r9d
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140001ad9
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140001a6b
inc rdx
mov rcx, qword [rbp + 0x138]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001a65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001de9
call fcn.140003298
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x140001aac
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e3a
call fcn.140003298
mov rax, rbx
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140002fa0
mov rbx, qword [rsp + 0x1320]
add rsp, 0x12d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140001a14
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x148]
sub rax, rcx
cmp rax, 0xb
jb 0x140001e47
lea rax, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova rax, qword [rbp + 0x138]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
lea r9, str.cmd.exe__c
lea rcx, [rbp + 0x178]
call fcn.140002c40
nop
lea rdx, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova rdx, qword [rbp + 0x178]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001c2f
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rdx, qword [rbp + 0x190]
cmp rdx, 0xf
jbe 0x140001c13
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d8e
call fcn.140003298
movdqa xmm0, xmmword [0x140005550]
movdqu xmmword [rbp + 0x188], xmm0
mov byte [rbp + 0x178], 0
jmp 0x140001a29
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
movdqa xmm1, xmmword [0x140005550]
movdqu xmmword [rbp + 0x1a8], xmm1
mov byte [rbp + 0x198], 0
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x130]
mov r8d, 0xfff
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001cf4
mov eax, dword [rbp + 0x130]
test eax, eax
je 0x140001cf4
cmp rax, 0x1000
jae 0x140001e41
mov byte [rbp + rax + 0x1c0], 0
lea rax, [rbp + 0x1c0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001cb0
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x198]
call fcn.1400026a0
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x130]
mov r8d, 0xfff
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001c84
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x198]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1a8]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140005550]
movdqu xmmword [rbp + 0x1a8], xmm0
mov byte [rbp + 0x198], 0
mov rdx, qword [rbp + 0x190]
cmp rdx, 0xf
jbe 0x140001d9a
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
movdqa xmm0, xmmword [0x140005550]
movdqu xmmword [rbp + 0x188], xmm0
mov byte [rbp + 0x178], 0
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140001df6
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001df0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003298
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x140001aac
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aa7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400030c8
nop
call fcn.1400011a0
int3