Function at 0x1400e4b60
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x138
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xa0], xmm6
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov qword [rbp + 0x38], rcx
mov byte [rbp + 0x95], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x2c], ecx
xor edi, edi
mov ebx, 8
mov sil, 1
xorps xmm6, xmm6
mov r14, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 0x28], rax
nop
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rbp + 0x24], eax
jmp 0x1400e4bdb
mov rax, qword [rbp + 0x40]
xchg qword [0x1401849c8], rax
mov rax, qword [0x1401849c8]
test rax, rax
jne 0x1400e4c20
movaps xmmword [rbp + 0x40], xmm6
xor ecx, ecx
lea rdx, [rbp + 0x40]
mov r8d, 0x10
mov r9d, 2
call r14
test eax, eax
jns 0x1400e4bd0
mov byte [rbp + 0x97], dil
mov byte [rbp + 0x96], 1
call fcn.1400e62c0
jmp 0x1400e4bd4
mov eax, 1
lock xadd qword [0x1401849c8], rax
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x24]
mov qword [rbp - 0x20], rax
lea rax, [0x1400358f0]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea rax, [fcn.140031010]
mov qword [rbp - 8], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x40], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 2
mov byte [rbp + 0x97], dil
mov byte [rbp + 0x96], 1
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x40]
call fcn.14002db70
movups xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x40], xmm0
mov rax, qword [rbp + 0x80]
cmp qword [rbp], 0
mov qword [rbp + 0x50], rax
sete al
or sil, al
test sil, 1
jne 0x1400e4cd5
mov r8, qword [rbp + 8]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp], xmm0
mov r15, qword [rbp + 8]
lea rcx, [r15 + rax]
mov qword [rbp + 0x88], rcx
test rax, rax
mov dword [rbp + 0x30], ebx
je 0x1400e4d20
movzx ecx, byte [r15]
movzx r12d, cl
test r12b, r12b
js 0x1400e4d40
inc r15
jmp 0x1400e4da4
xor r12d, r12d
xor r15d, r15d
xor edi, edi
xor r13d, r13d
xor r14d, r14d
jmp 0x1400e4dd0
mov eax, r12d
and eax, 0x1f
movzx edx, byte [r15 + 1]
and edx, 0x3f
cmp r12b, 0xdf
jbe 0x1400e4d98
movzx r12d, byte [r15 + 2]
shl edx, 6
and r12d, 0x3f
or r12d, edx
cmp cl, 0xf0
jb 0x1400e50e9
movzx ecx, byte [r15 + 3]
add r15, 4
and eax, 7
shl eax, 0x12
shl r12d, 6
and ecx, 0x3f
or ecx, r12d
or ecx, eax
mov r12d, ecx
cmp r12d, 0xffff
jbe 0x1400e4da4
jmp 0x1400e5100
add r15, 2
shl eax, 6
or eax, edx
mov r12d, eax
mov eax, 1
xor edi, edi
mov r14, qword [rbp + 0x88]
sub r14, r15
add r14, 3
mov rcx, 0xffffffffffffffff
cmovb r14, rcx
shr r14, 2
add r14, rax
mov r13w, 1
cmp r14, 4
mov eax, 3
cmovb r14, rax
movabs rax, 0x3fffffffffffffff
cmp r14, rax
jae 0x1400e52ca
inc r14
lea rsi, [r14 + r14]
mov edx, 2
mov rcx, rsi
call fcn.14002d260
test rax, rax
je 0x1400e52ad
mov rcx, qword [rbp - 0x28]
inc ecx
mov dword [rbp + 0x28], ecx
mov word [rax], r12w
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 1
mov esi, 1
jmp 0x1400e4e4a
mov edi, ecx
mov word [rax + rsi*2], r12w
inc rsi
test r15, r15
je 0x1400e4ec0
test di, di
je 0x1400e4e90
xor ecx, ecx
mov r12d, edi
cmp rsi, r14
jne 0x1400e4e40
mov rdx, qword [rbp + 0x88]
sub rdx, r15
add rdx, 3
mov rax, 0xffffffffffffffff
cmovb rdx, rax
shr rdx, 2
cmp cx, 1
sbb rdx, 0xffffffffffffffff
cmp r13w, 1
sbb rdx, 0xffffffffffffffff
mov edi, ecx
jmp 0x1400e4eec
cmp r15, qword [rbp + 0x88]
je 0x1400e4ec0
movzx edx, byte [r15]
movzx r12d, dl
test r12b, r12b
js 0x1400e4f92
inc r15
xor ecx, ecx
jmp 0x1400e4e59
mov r14, qword [rbp + 0x70]
cmp r13w, 1
jne 0x1400e5040
xor r12d, r12d
mov r15d, 0
mov r13d, 0
mov edx, 0
cmp rsi, r14
jne 0x1400e4e42
inc rdx
add rdx, rsi
jb 0x1400e528e
mov rbx, qword [rbp + 0x70]
lea rax, [rbx + rbx]
mov r14, rax
cmp rax, rdx
ja 0x1400e4f0b
mov r14, rdx
cmp r14, 5
jae 0x1400e4f17
mov r14d, 4
xor r8d, r8d
mov rcx, r14
shr rcx, 0x3e
sete r8b
lea rdx, [r14 + r14]
add r8, r8
test rbx, rbx
je 0x1400e4f44
mov rcx, qword [rbp + 0x78]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rax
mov eax, 2
jmp 0x1400e4f46
xor eax, eax
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x20]
lea r9, [rbp + 0x40]
call fcn.1400d0a60
cmp qword [rbp - 0x20], 0
mov rax, qword [rbp - 0x18]
je 0x1400e4f85
mov rdx, qword [rbp - 0x10]
movabs rcx, 0x8000000000000001
cmp rdx, rcx
jne 0x1400e5289
mov rax, qword [rbp + 0x78]
mov r14, rbx
jmp 0x1400e4e42
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x70], r14
jmp 0x1400e4e42
mov ecx, r12d
and ecx, 0x1f
movzx r8d, byte [r15 + 1]
and r8d, 0x3f
cmp r12b, 0xdf
jbe 0x1400e500d
movzx r12d, byte [r15 + 2]
shl r8d, 6
and r12d, 0x3f
or r12d, r8d
cmp dl, 0xf0
jb 0x1400e5021
movzx edx, byte [r15 + 3]
add r15, 4
and ecx, 7
shl ecx, 0x12
shl r12d, 6
and edx, 0x3f
or edx, r12d
or edx, ecx
mov r12d, edx
cmp r12d, 0xffff
jbe 0x1400e5034
lea edx, [r12 + 0xff0000]
shr edx, 0xa
or edx, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov ecx, r12d
mov r12d, edx
jmp 0x1400e4e59
add r15, 2
shl ecx, 6
or ecx, r8d
mov r12d, ecx
xor ecx, ecx
jmp 0x1400e4e59
add r15, 3
shl ecx, 0xc
or r12d, ecx
cmp r12d, 0xffff
ja 0x1400e4fe3
xor ecx, ecx
jmp 0x1400e4e59
mov r15, qword [rbp + 0x78]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, r15
mov edx, dword [rbp + 0x2c]
mov ebx, dword [rbp + 0x30]
mov r8d, ebx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e51a8
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [rbp + 0x28]
cmp ecx, 0xa
jge 0x1400e512f
cmp eax, 5
jne 0x1400e50b0
mov eax, ecx
mov qword [rbp - 0x28], rax
jmp 0x1400e50bb
test ebx, ebx
je 0x1400e512f
xor ebx, ebx
cmp eax, 0x57
jne 0x1400e512f
mov dil, 1
xor esi, esi
test r14, r14
mov r14, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
je 0x1400e4bc0
mov rcx, qword [0x1401849b0]
xor esi, esi
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400e4bc0
add r15, 3
shl eax, 0xc
or r12d, eax
cmp r12d, 0xffff
jbe 0x1400e4da4
lea ecx, [r12 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov edi, r12d
mov eax, 2
mov r12d, ecx
jmp 0x1400e4dab
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x38]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rdi, 0xffffffffffffffff
test r14, r14
je 0x1400e5164
mov rcx, qword [0x1401849b0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp], 0
je 0x1400e517e
mov r8, qword [rbp + 8]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp rsi, 0xffffffffffffffff
je 0x1400e518d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm6, xmmword [rbp + 0xa0]
add rsp, 0x138
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test r14, r14
je 0x1400e51bf
mov rcx, qword [0x1401849b0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rbp + 0x48], 0
mov dword [rbp + 0x60], 0
mov word [rbp + 0x64], 0
movzx eax, byte [rbp + 0x95]
mov byte [rbp + 0x61], al
xor al, 1
mov byte [rbp + 0x60], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp - 0x20], 0x18
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rax, [rbp - 0x20]
mov qword [rbp + 0x40], rax
mov rdi, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov qword [rbp - 0x38], rsi
mov byte [rbp + 0x97], 1
mov byte [rbp + 0x96], 0
lea r8, [rbp + 0x40]
mov rcx, rdi
call fcn.1400d8130
test rax, rax
je 0x1400e5254
mov rax, qword [rbp + 0x38]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdi, rsi
cmp qword [rbp], 0
jne 0x1400e516b
jmp 0x1400e517e
mov rax, qword [rbp + 0x38]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdx
mov qword [rax], 0
cmp qword [rbp], 0
je 0x1400e518d
mov rcx, qword [0x1401849b0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400e518d
test rdx, rdx
jne 0x1400e529c
mov qword [rbp + 0x80], rsi
call fcn.14002d420
jmp 0x1400e52dd
mov qword [rbp + 0x80], rsi
mov rcx, rax
call fcn.140108e10
jmp 0x1400e52dd
mov byte [rbp + 0x97], 1
mov byte [rbp + 0x96], 1
mov edx, 2
mov rcx, rsi
call fcn.140108e10
jmp 0x1400e52dd
mov byte [rbp + 0x97], 1
mov byte [rbp + 0x96], 1
call fcn.14002d420
ud2