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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x6c1f8]
mov eax, 0x6c2f8
call fcn.1400488d0
sub rsp, rax
mov rsi, r9
mov r12d, r8d
mov r15, rcx
mov eax, 1
lock xadd dword [0x1400c3c20], eax
mov r9d, dword [0x14008ec14]
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.1400031a0
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 r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400247aa
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 + 0x6c340], 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 0x1400247cf
xorps xmm0, xmm0
mov dword [rbp - 0x10], 0x70
xor eax, eax
mov qword [rbp + 0x50], rdi
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 + 0x48], rdi
movups xmmword [rbp + 0x14], xmm0
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
xor edx, edx
mov rax, qword [rbp + 0x48]
mov r8d, pe_nt_image_headers64
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x60], 0x11c
mov qword [rbp + 0x6c], rbx
call fcn.140070780
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
lea edx, [rbx + 1]
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]
mov dword [rbp + 0x6c230], eax
test eax, eax
je 0x140024421
mov rcx, qword [rbp + 0x40]
mov qword [rbp - 0x38], rcx
xor r8d, r8d
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x50]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x1400247f4
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x6c2f0], r14
lea rcx, [rbx + 8]
call fcn.140053cb4
mov r14, qword [rbp + 0x6c250]
mov qword [rax], rbx
lock add qword [r14], rbx
lea rbx, [rax + 8]
xor r8d, r8d
lea r9, [rsp + 0x50]
mov qword [rbp + 0x58], rbx
mov rcx, rbx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140024801
cmp dword [rbp + 0x6c230], 0
lea r9, [rbp - 0x40]
mov ecx, 8
mov eax, 0x10
cmove eax, ecx
mov r8d, 0x20002
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14002480e
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], 0
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rcx, [rbp + 0xc1f0]
call fcn.140023c30
test al, al
je 0x14002481b
mov r9d, dword [rsp + 0x58]
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 0x140024828
xorps xmm0, xmm0
lea rcx, [rbp + 0x21f0]
xor esi, esi
xor edx, edx
mov r8d, 0x2000
mov dword [rbp - 0x74], esi
movdqu xmmword [rsp + 0x7c], xmm0
mov dword [rbp - 0x64], esi
call fcn.140070780
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 0x140024835
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 0x140024790
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
test rbx, rbx
je 0x140024633
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
neg rax
lock add qword [r14], rax
call fcn.140053948
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.14004813c
mov rcx, rax
test rax, rax
je 0x1400247a4
mov r8, qword [rbp + 0x6c268]
lea r9, [rsp + 0x60]
mov rdx, qword [rbp + 0x6c260]
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rax - 8], rcx
add rax, 0x1000
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x70], rax
call fcn.140023f20
mov rcx, r13
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x68]
sub rbx, qword [rsp + 0x60]
inc rbx
lea rcx, [rbx + 8]
call fcn.140053cb4
mov qword [rax], rbx
lock add qword [r14], rbx
mov rsi, qword [rsp + 0x60]
lea rbx, [rax + 8]
mov rdi, qword [rsp + 0x68]
mov rdx, rsi
mov r8, rdi
mov qword [rbp - 0x78], rbx
sub r8, rsi
mov rcx, rbx
call fcn.1400700e0
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 0x14002476c
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
cmp rdx, 0x1000
jb 0x140024764
mov rcx, qword [rsi - 8]
add rdx, 0x27
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400247a4
mov rsi, rcx
mov rcx, rsi
call fcn.140048124
mov r14, qword [rsp + 0x6c2f0]
mov rax, r15
mov rdi, qword [rsp + 0x6c340]
add rsp, 0x6c2f8
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
lea rdx, [rbp + 0x1f0]
lea rcx, str.Couldnt_launch_process_with_command_line:_n_s
call fcn.1400139a0
int3
call fcn.140052424
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateNamedPipeA_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateFileA_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.1400397a0
mov ecx, 2
call fcn.140052f24
int3
lea rcx, str.InitializeProcThreadAttributeList_failed
call fcn.1400139a0
int3
lea rcx, str.InitializeProcThreadAttributeList_failed__2_
call fcn.1400139a0
int3
lea rcx, str.UpdateProcThreadAttribute_failed
call fcn.1400139a0
int3
lea rcx, str.env_block_error__too_big__n
call fcn.140013920
int3
lea rcx, str.Failed_converting_environment_block_to_wide_char
call fcn.1400139a0
int3
lea rcx, str.Failed_converting_buffer_block_to_wide_char
call fcn.1400139a0
int3