Function at 0x140010450
Capabilities:
Connect pipe
Create pipe
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0xe8], rax
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
mov qword [rcx + 0x18], rax
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xe0], rdx
movaps xmm0, xmmword [0x140261350]
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xa0]
mov qword [rcx], rdx
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001089d
mov rdi, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x20], rdi
lea rdx, str..pipemojo._lu._lu._I64u
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, eax
mov r9d, ebx
call fcn.140010930
cmp byte [rdi + 0x17], 0
jns 0x14001051e
mov rdi, qword [rsp + 0xd0]
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov eax, 0x1000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0x1388
mov rcx, rdi
mov edx, 0x40080003
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsp + 0xc8], rbx
test rax, rax
je 0x140010584
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14001057c
mov qword [rsp + 0xc8], rdi
call fcn.1400f24d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdi, [rsp + 0xa0]
lea rdx, [rsp + 0xc8]
mov rcx, rdi
call fcn.140019820
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.14011c0d0
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400107df
mov rax, qword [rsp + 0x78]
inc rax
cmp rax, 1
jbe 0x1400108a0
mov rax, qword [0x14026a9d0]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [0x14026a9c0]
movaps xmmword [rsp + 0xa0], xmm0
cmp byte [rsp + 0xe7], 0
jns 0x1400105fe
mov rcx, qword [rsp + 0xd0]
jmp 0x140010606
lea rcx, [rsp + 0xd0]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0xa0]
mov edx, 0xc0000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x88], rbx
test rax, rax
je 0x140010666
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14001065e
mov qword [rsp + 0x88], rdi
call fcn.1400f24d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdi, [rsp + 0x90]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.140019820
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.14011c0d0
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400107f6
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 1
jbe 0x1400108ca
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400108f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1400108f7
cmp byte [rsp + 0xe7], 0
jns 0x1400106eb
mov rcx, qword [rsp + 0xd0]
call fcn.140172a44
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14011be90
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.14011be90
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x14001080d
lea rdi, [rsp + 0xd0]
mov rcx, rsi
mov rdx, rdi
call fcn.14011c0d0
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x14001082a
lea rdi, [rsi + 0x10]
lea rbx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14011be90
lea rcx, [rsp + 0xd0]
mov rdx, rbx
call fcn.14011be90
mov rax, qword [rbx + 8]
inc rax
cmp rax, 2
jae 0x140010841
lea rbx, [rsp + 0xd0]
mov rcx, rdi
mov rdx, rbx
call fcn.14011c0d0
mov rax, qword [rbx + 8]
inc rax
cmp rax, 2
jae 0x14001085e
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 2
jae 0x140010875
mov rax, qword [rsp + 0x78]
inc rax
cmp rax, 2
jae 0x140010889
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f24d0
mov rcx, qword [rsp + 0xa8]
call fcn.1401571e0
jmp 0x1400105ba
call fcn.1400f24d0
mov rcx, qword [rsp + 0x98]
call fcn.1401571e0
jmp 0x14001069c
call fcn.1400f24d0
mov rcx, qword [rsp + 0x58]
call fcn.1401571e0
mov qword [rsp + 0x58], 0
jmp 0x14001071e
call fcn.1400f24d0
mov rcx, qword [rsp + 0xd8]
call fcn.1401571e0
jmp 0x140010742
call fcn.1400f24d0
mov rcx, qword [rsp + 0x48]
call fcn.1401571e0
mov qword [rsp + 0x48], 0
jmp 0x140010779
call fcn.1400f24d0
mov rcx, qword [rsp + 0xd8]
call fcn.1401571e0
jmp 0x14001079d
call fcn.1400f24d0
mov rcx, qword [rsp + 0x68]
call fcn.1401571e0
jmp 0x1400107af
call fcn.1400f24d0
mov rcx, qword [rsp + 0x78]
call fcn.1401571e0
jmp 0x1400107c1
int3
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x48
call fcn.1401eba50
mov rcx, rdi
call fcn.1401eba80
jmp 0x1400105cc
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov r8d, 0x55
call fcn.1401eba50
mov rcx, rdi
call fcn.1401eba80
jmp 0x1400106ae
int3
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov r8d, 0x5a
call fcn.1401eba50
mov rcx, rdi
call fcn.1401eba80
jmp 0x1400106d4