Function at 0x140002d90
Capabilities:
Connect pipe
Create pipe
Terminate process
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x158], rax
xor edi, edi
lea rdx, str.RobloxCrashHandler.exe
lea rcx, [rsp + 0x40]
call fcn.140003710
lea rcx, [rsp + 0x40]
call fcn.140001470
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002e27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066d4
test ebx, ebx
je 0x140002e7a
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0xe0], rax
mov word [rsp + 0xe8], pe_nt_image_headers64
cmp rax, 0xffffffffffffffff
je 0x140003441
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14000c8c0]
call fcn.1400018b0
test al, al
jne 0x140002eb5
lea rcx, [0x14000c8c0]
cmp qword [0x14000c8d8], 7
cmova rcx, qword [0x14000c8c0]
call fcn.140005ff8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140003464
lea rdx, str.RobloxStudioBeta.exe
lea rcx, [rsp + 0x40]
call fcn.140003710
lea rcx, [rsp + 0x40]
call fcn.140001470
mov r12d, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002f18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066d4
test r12d, r12d
je 0x14000346d
lea rcx, [0x14000c900]
call fcn.1400018b0
test al, al
je 0x140003472
call fcn.140001610
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8d, 0xd
lea rdx, str.coal_delivery
lea rcx, [rsp + 0x40]
call fcn.140004430
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rsp + 0x50]
sub rax, r14
cmp rax, 9
jb 0x14000348d
lea rdx, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
cmp r13, 0xf
cmova rdx, rsi
mov qword [rsp + 0xe0], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], rdi
lea r15, [r14 + 9]
mov ebx, 0xf
lea rdi, [rsp + 0xf8]
cmp r15, rbx
jbe 0x14000307f
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000302f
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006450
test rax, rax
je 0x140003057
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rsp + 0xe0]
jmp 0x140003077
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000305e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003492
jmp 0x14000300c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003075
call fcn.140006450
mov rdi, rax
mov rdx, qword [rsp + 0xe0]
jmp 0x140003077
xor edi, edi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x108], r15
mov qword [rsp + 0x110], rbx
movsd xmm0, qword [str..pipe_]
movsd qword [rdi], xmm0
movzx eax, byte [0x140008620]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
xor r14d, r14d
mov qword [rsp + 0x118], r14
mov word [rsp + 0x120], r14w
cmp r13, 0xf
jbe 0x140003104
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400030fc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400066d4
lea rdx, [0x14000c900]
lea rcx, [rsp + 0x40]
call fcn.140003860
nop
mov r8d, r12d
lea rdx, [rsp + 0x40]
call fcn.140002b10
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000316b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003166
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003166
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066d4
test bl, bl
je 0x1400033d6
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 0xf
cmova rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
mov edx, 3
mov r9d, 0xff
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp byte [rsp + 0x121], 0
jne 0x140003418
cmp byte [rsp + 0x120], 0
jne 0x140003418
mov byte [rsp + 0x121], 1
mov qword [rsp + 0x118], rax
cmp rax, 0xffffffffffffffff
je 0x140003498
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x140003208
mov ecx, 1
jmp 0x140003216
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
sete cl
test cl, cl
je 0x1400034c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x128], xmm0
mov qword [rsp + 0x138], r14
mov qword [rsp + 0x140], 0xf
mov byte [rsp + 0x128], 0
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x150], 0
lea rax, [rsp + 0x128]
mov qword [rsp + 0xe0], rax
lea rdx, [0x14000c940]
lea rcx, [rsp + 0x40]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.140003530
lea rdx, [0x14000c8e0]
lea rcx, [rsp + 0x40]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.140003530
lea rdx, [0x14000c920]
lea rcx, [rsp + 0x40]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.140003530
lea rdx, [0x14000c8c0]
lea rcx, [rsp + 0x40]
call fcn.140003860
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.140003530
cmp byte [rsp + 0x150], 0
jne 0x1400034e9
mov byte [rsp + 0x150], 1
mov rsi, qword [rsp + 0x148]
mov ebx, r14d
mov dword [rsp + 0xf0], r14d
mov rdi, qword [rsp + 0x138]
nop word [rax + rax]
mov ecx, ebx
cmp rcx, rdi
jae 0x14000338f
mov rax, rdi
sub rax, rcx
mov r8d, 0x400
cmp rax, r8
cmovb r8d, eax
lea rdx, [rsp + 0x128]
cmp qword [rsp + 0x140], 0xf
cmova rdx, qword [rsp + 0x128]
add rdx, rcx
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xf0]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003511
add ebx, dword [rsp + 0xf0]
jmp 0x140003330
mov rdx, qword [rsp + 0x140]
cmp rdx, 0xf
jbe 0x1400033d6
inc rdx
mov rcx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066d4
nop
lea rcx, [rsp + 0xf8]
call fcn.140001590
nop
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140006430
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea rdx, str.cannot_assign_to_already_assigned_or_closed_scope
lea rcx, [rsp + 0xc8]
call fcn.140001340
lea rdx, [0x14000a108]
lea rcx, [rsp + 0xc8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.failed_to_terminate_crash_handler
lea rcx, [rsp + 0x68]
call fcn.140001340
lea rdx, [0x14000a108]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
shr rdx, 0x20
call fcn.140001c00
call fcn.140003c30
lea rdx, [0x14000c900]
lea rcx, [rsp + 0x40]
call fcn.1400019c0
nop
mov rdx, rax
call fcn.140003c70
nop
call fcn.140004a00
call fcn.140005a90
nop
lea rdx, str.failed_to_create_server_pipe
lea rcx, [rsp + 0x80]
call fcn.140001340
lea rdx, [0x14000a108]
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.where_is_my_kid
lea rcx, [rsp + 0x98]
call fcn.140001340
lea rdx, [0x14000a108]
lea rcx, [rsp + 0x98]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.send_pipe_data_twice
lea rcx, [rsp + 0xb0]
call fcn.140001340
lea rdx, [0x14000a108]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe0], eax
lea rdx, [rsp + 0xe0]
call fcn.140003bf0
int3