Function at 0x140026df0
Capabilities:
Create pipe
Create process on windows
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x6c200]
mov eax, 0x6c300
call fcn.14004e0f0
sub rsp, rax
mov r12, r9
mov r13d, r8d
mov r15, rcx
mov eax, 1
lock xadd dword [0x1400d1320], eax
mov r9d, dword [0x14009c354]
lea r8, str..pipe_bee_backend._u._d._u
inc eax
lea rcx, [rbp + 0x180]
mov dword [rsp + 0x28], eax
mov edx, 0x64
mov eax, dword [rbp + 0x6c258]
mov dword [rsp + 0x20], eax
call fcn.140003900
xor ebx, ebx
lea rcx, [rbp + 0x180]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov dword [rsp + 0x30], 0xffffffff
mov edx, 0x40000001
mov dword [rsp + 0x28], 0x1000
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x140027354
mov qword [rsp + 0x30], rbx
lea r9, [rbp - 0x30]
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x180]
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
mov qword [rsp + 0x6c2f8], rdi
mov dword [rbp - 0x30], 0x18
mov dword [rbp - 0x20], 1
mov qword [rbp - 0x28], rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140027379
xorps xmm0, xmm0
mov qword [rsp + 0x6c340], rsi
xor eax, eax
mov dword [rbp - 0x10], 0x70
mov ecx, 0xfffffff6
mov qword [rbp + 0x34], rax
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 0x3c], eax
movups xmmword [rbp + 4], xmm0
mov qword [rbp + 0x50], rdi
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp + 0x48], rdi
movups xmmword [rbp + 0x24], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or dword [rbp + 0x2c], 0x100
lea rcx, [rbp + 0x74]
mov qword [rbp + 0x40], rax
lea esi, [rbx + 1]
mov rax, qword [rbp + 0x48]
xor edx, edx
mov r8d, pe_nt_image_headers64
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x60], 0x11c
mov qword [rbp + 0x6c], rbx
call fcn.140050400
xor eax, eax
mov word [rbp + 0x176], bx
mov r8b, 3
mov dword [rbp + 0x178], eax
lea edx, [rbx + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 0x23]
mov dword [rbp + 0x64], 6
mov r8, rax
mov dword [rbp + 0x68], 2
lea rcx, [rbp + 0x60]
mov word [rbp + 0x174], bx
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140026fc9
mov rax, qword [rbp + 0x40]
lea esi, [rbx + 2]
mov qword [rbp - 0x38], rax
xor r8d, r8d
mov qword [rbp + 0x6c230], rbx
lea r9, [rbp + 0x6c230]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x14002739e
mov rbx, qword [rbp + 0x6c230]
mov qword [rsp + 0x6c2f0], r14
lea rcx, [rbx + 8]
call fcn.14005a7bc
mov r14, qword [rbp + 0x6c250]
mov qword [rax], rbx
lock add qword [r14], rbx
lea rbx, [rax + 8]
xor r8d, r8d
lea r9, [rbp + 0x6c230]
mov qword [rbp + 0x58], rbx
mov rcx, rbx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x1400273ab
mov rcx, qword [rbp + 0x58]
lea rax, [rsi*8]
xor esi, esi
lea r9, [rbp - 0x40]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov r8d, 0x20002
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x1400273b8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov r9d, r13d
mov qword [rsp + 0x20], rax
mov r8, r12
lea rcx, [rbp + 0xc1f0]
call fcn.1400267d0
test al, al
je 0x1400273c5
mov r9d, dword [rsp + 0x50]
lea rax, [rbp + 0x2c1f0]
mov dword [rsp + 0x28], 0x20000
lea r8, [rbp + 0xc1f0]
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400273d2
xorps xmm0, xmm0
mov dword [rbp - 0x74], esi
xor edx, edx
mov dword [rbp - 0x64], esi
mov r8d, 0x2000
lea rcx, [rbp + 0x21f0]
movdqu xmmword [rsp + 0x7c], xmm0
call fcn.140050400
cmp byte [rbp + 0x21f0], sil
lea r9, [rbp + 0x21f0]
lea r8, str.cmd.exe__c___s_
mov edx, 0x2000
cmove r9, qword [rbp + 0x6c238]
lea rcx, [rbp + 0x1f0]
call fcn.1400011f0
lea rax, [rbp + 0x41f0]
mov dword [rsp + 0x28], 0x4000
mov r9d, 0x2000
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1f0]
mov byte [rbp + 0x21ef], sil
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400273df
lea rax, [rbp - 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x41f0]
lea rax, [rbp - 0x10]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x2c1f0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80404
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002733a
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
test rbx, rbx
je 0x1400271d1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
neg rax
lock add qword [r14], rax
call fcn.14005a480
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1027
call fcn.14004d944
mov rcx, rax
test rax, rax
je 0x14002734e
mov rbx, qword [rsp + 0x70]
lea r9, [rsp + 0x58]
mov r8, qword [rbp + 0x6c268]
add rax, 0x27
mov rdx, qword [rbp + 0x6c260]
and rax, 0xffffffffffffffe0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rbx
mov qword [rax - 8], rcx
add rax, 0x1000
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x68], rax
call fcn.140026ac0
mov rcx, rbx
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
sub rbx, qword [rsp + 0x58]
inc rbx
lea rcx, [rbx + 8]
call fcn.14005a7bc
mov qword [rax], rbx
lock add qword [r14], rbx
mov rsi, qword [rsp + 0x58]
lea rbx, [rax + 8]
mov rdi, qword [rsp + 0x60]
mov rdx, rsi
mov r8, rdi
mov qword [rbp - 0x78], rbx
sub r8, rsi
mov rcx, rbx
call fcn.14004fbf0
mov rax, rdi
mov qword [rbp - 0x60], r14
sub rax, rsi
mov byte [rax + rbx], 0
mov eax, edi
mov rcx, qword [rbp - 0x58]
sub eax, esi
sub rdi, rsi
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15 + 0x20], xmm0
test rsi, rsi
je 0x14002730f
mov rdx, qword [rsp + 0x68]
sub rdx, rsi
cmp rdx, 0x1000
jb 0x140027307
mov rcx, qword [rsi - 8]
add rdx, 0x27
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14002734e
mov rsi, rcx
mov rcx, rsi
call fcn.14004d934
mov r14, qword [rsp + 0x6c2f0]
mov rax, r15
mov rsi, qword [rsp + 0x6c340]
mov rdi, qword [rsp + 0x6c2f8]
add rsp, 0x6c300
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
lea rdx, [rbp + 0x1f0]
lea rcx, str.Couldnt_launch_process_with_command_line:_n_s
call fcn.140014f00
int3
call fcn.140055668
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateNamedPipeA_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.14003dd40
mov ecx, 2
call fcn.1400595cc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateFileA_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.14003dd40
mov ecx, 2
call fcn.1400595cc
int3
lea rcx, str.InitializeProcThreadAttributeList_failed
call fcn.140014f00
int3
lea rcx, str.InitializeProcThreadAttributeList_failed__2_
call fcn.140014f00
int3
lea rcx, str.UpdateProcThreadAttribute_failed
call fcn.140014f00
int3
lea rcx, str.env_block_error__too_big__n
call fcn.140014e80
int3
lea rcx, str.Failed_converting_environment_block_to_wide_char
call fcn.140014f00
int3
lea rcx, str.Failed_converting_buffer_block_to_wide_char
call fcn.140014f00
int3