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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0xb8], ecx
xor eax, eax
mov qword [rsp + 0xe8], rax
mov esi, 8
mov bl, 1
xorps xmm6, xmm6
nop dword [rax]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rsp + 0xc4], eax
jmp 0x14026214c
mov rax, qword [rsp + 0x70]
xchg qword [0x1405451c0], rax
mov rax, qword [0x1405451c0]
test rax, rax
jne 0x140262180
movaps xmmword [rsp + 0x70], xmm6
xor ecx, ecx
lea rdx, [rsp + 0x70]
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x140262140
call fcn.1402632e0
jmp 0x140262145
mov eax, 1
lock xadd qword [0x1405451c0], rax
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0xc4]
mov qword [rsp + 0xc8], rax
lea rax, [0x140058510]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xd8], rax
lea rax, [fcn.140050160]
mov qword [rsp + 0xe0], rax
lea rax, str.0_bL_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0x70]
call fcn.14004a910
movups xmm0, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x58], 0
mov qword [rsp + 0x80], rax
sete al
or bl, al
test bl, 1
jne 0x14026225f
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.140026d90
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
mov rbp, qword [rsp + 0x50]
lea rcx, [rax + rbp]
mov qword [rsp + 0xb0], rcx
test rax, rax
mov dword [rsp + 0xc0], esi
je 0x1402622b0
movzx r14d, byte [rbp]
test r14b, r14b
js 0x1402622d0
inc rbp
jmp 0x14026232f
xor edi, edi
xor r12d, r12d
xor r14d, r14d
xor ebp, ebp
xor r15d, r15d
jmp 0x14026235c
mov eax, r14d
and eax, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp r14b, 0xdf
jbe 0x140262323
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp r14b, 0xf0
jb 0x14026267a
movzx r14d, byte [rbp + 3]
add rbp, 4
and eax, 7
shl eax, 0x12
shl ecx, 6
and r14d, 0x3f
or r14d, ecx
or r14d, eax
cmp r14d, 0xffff
jbe 0x14026232f
jmp 0x140262693
add rbp, 2
shl eax, 6
or eax, edx
mov r14d, eax
mov eax, 1
xor edi, edi
mov r15, qword [rsp + 0xb0]
sub r15, rbp
add r15, 3
mov rcx, 0xffffffffffffffff
cmovb r15, rcx
shr r15, 2
add r15, rax
mov r12w, 1
cmp r15, 4
mov eax, 3
cmovb r15, rax
movabs rax, 0x3ffffffffffffffe
cmp r15, rax
ja 0x140262847
inc r15
lea rbx, [r15 + r15]
movzx eax, byte [0x140545270]
mov edx, 2
mov rcx, rbx
call fcn.140026d00
test rax, rax
je 0x14026284e
mov r13, rax
mov rax, qword [rsp + 0xe8]
inc eax
mov dword [rsp + 0xbc], eax
mov word [r13], r14w
mov ebx, 1
mov rcx, r13
jmp 0x1402623e2
mov rsi, r15
mov eax, edi
mov word [rcx + rbx*2], ax
inc rbx
mov r15, rsi
mov edi, r14d
test rbp, rbp
je 0x140262450
test di, di
je 0x140262430
xor r14d, r14d
cmp rbx, r15
jne 0x1402623d0
mov rsi, qword [rsp + 0xb0]
sub rsi, rbp
add rsi, 3
mov rax, 0xffffffffffffffff
cmovb rsi, rax
shr rsi, 2
cmp r14w, 1
sbb rsi, 0xffffffffffffffff
cmp r12w, 1
sbb rsi, 0xffffffffffffffff
jmp 0x14026246e
cmp rbp, qword [rsp + 0xb0]
je 0x140262450
movzx edi, byte [rbp]
test dil, dil
js 0x140262529
inc rbp
jmp 0x1402623ec
cmp r12w, 1
jne 0x1402625d0
xor ebp, ebp
xor eax, eax
cmp rbx, r15
jne 0x1402624c0
xor r12d, r12d
mov r14d, edi
xor edi, edi
xor esi, esi
inc rsi
add rsi, rbx
jb 0x140262831
lea rax, [r15 + r15]
cmp rax, rsi
cmova rsi, rax
cmp rsi, 5
jae 0x140262490
mov esi, 4
movabs rcx, 0x3ffffffffffffffe
inc rcx
xor edx, edx
cmp rsi, rcx
setbe cl
test r15, r15
je 0x1402624ce
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x80], rax
mov eax, 2
jmp 0x1402624d0
mov rsi, r15
mov r14d, edi
xor r12d, r12d
jmp 0x1402623d5
xor eax, eax
lea r8, [rsi + rsi]
mov dl, cl
add rdx, rdx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xc8]
lea r9, [rsp + 0x70]
call fcn.1402357a0
cmp qword [rsp + 0xc8], 0
mov rcx, qword [rsp + 0xd0]
je 0x140262521
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x14026282c
mov rsi, r15
mov rcx, r13
jmp 0x1402623d3
mov r13, rcx
jmp 0x1402623d3
mov eax, edi
and eax, 0x1f
movzx r8d, byte [rbp + 1]
and r8d, 0x3f
cmp dil, 0xdf
jbe 0x140262577
movzx edx, byte [rbp + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp dil, 0xf0
jb 0x140262588
movzx edi, byte [rbp + 3]
add rbp, 4
and eax, 7
shl eax, 0x12
shl edx, 6
and edi, 0x3f
or edi, edx
or edi, eax
cmp edi, 0xffff
jbe 0x1402623ec
jmp 0x14026259f
add rbp, 2
shl eax, 6
or eax, r8d
mov edi, eax
jmp 0x1402623ec
add rbp, 3
shl eax, 0xc
or edx, eax
mov edi, edx
cmp edi, 0xffff
jbe 0x1402623ec
lea eax, [rdi + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov r14d, edi
mov edi, eax
cmp rbx, r15
jne 0x1402623d0
jmp 0x1402623f4
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, r13
mov edx, dword [rsp + 0xb8]
mov esi, dword [rsp + 0xc0]
mov r8d, esi
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140262736
call sub.kernel32.dll_GetLastError
mov ecx, dword [rsp + 0xbc]
cmp ecx, 0xa
jge 0x1402626c1
cmp eax, 5
jne 0x140262650
mov eax, ecx
mov qword [rsp + 0xe8], rax
jmp 0x14026265b
test esi, esi
je 0x1402626c1
xor esi, esi
cmp eax, 0x57
jne 0x1402626c1
xor ebx, ebx
test r15, r15
je 0x140262130
mov edx, 2
mov rcx, r13
call fcn.140026d90
xor ebx, ebx
jmp 0x140262130
add rbp, 3
shl eax, 0xc
or ecx, eax
mov r14d, ecx
cmp r14d, 0xffff
jbe 0x14026232f
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, 2
mov edi, r14d
mov r14d, ecx
jmp 0x140262336
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rdi, 0xffffffffffffffff
test r15, r15
je 0x1402626f5
mov edx, 2
mov rcx, r13
call fcn.140026d90
cmp qword [rsp + 0x58], 0
je 0x14026270c
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.140026d90
cmp rbx, 0xffffffffffffffff
je 0x14026271a
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r15, r15
je 0x140262748
mov edx, 2
mov rcx, r13
call fcn.140026d90
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x90], 0
mov word [rsp + 0x94], 0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0x91], al
xor al, 1
mov byte [rsp + 0x90], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0xc8], 0x18
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xd8], 1
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rsi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.140250f40
test rax, rax
je 0x1402627f7
mov rax, qword [rsp + 0xa8]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdi, rbx
cmp qword [rsp + 0x58], 0
jne 0x1402626fd
jmp 0x14026270c
mov rax, qword [rsp + 0xa8]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
cmp qword [rsp + 0x58], 0
je 0x14026271a
mov edx, 1
mov rcx, rsi
call fcn.140026d90
jmp 0x14026271a
test rcx, rcx
jne 0x140262838
call fcn.14004a140
jmp 0x14026285b
mov rdx, qword [rsp + 0xd8]
call fcn.14004a180
jmp 0x14026285b
call fcn.14004a140
jmp 0x14026285b
mov ecx, 2
mov rdx, rbx
call fcn.14004a180
ud2