Function at 0x101a3390
Capabilities:
Create pipe
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x101ad3a0
mov dword [esi + 0x34], ecx
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
lea eax, [esi + 0xb0]
lea edi, [esi + 0x60]
mov dword [esi + 0x88], edx
mov dword [esi + 4], 0
mov dword [esi + 0x38], 8
mov dword [esi + 0x58], 0
mov ecx, dword fs:[0]
mov dword [esi + 0xb0], ecx
mov dword fs:[0], eax
mov eax, 0x40080002
sub eax, edx
mov dword [esi + 0x90], eax
nop
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [esi + 0x94], eax
xorps xmm0, xmm0
mov eax, dword [0x10284bd0]
test eax, eax
jne 0x101a344d
nop dword [eax + eax]
movaps xmmword [esi + 0x60], xmm0
push 0x10
push edi
call ebx
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [0x10284bd0], eax
mov eax, dword [0x10284bd0]
test eax, eax
je 0x101a3430
mov eax, 1
lock xadd dword [0x10284bd0], eax
mov dword [esi + 0x60], 0x1024aa4c
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
mov byte [esi + 0xb], 0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x40], eax
lea eax, [esi + 0x94]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x4c], fcn.101bf6a0
mov dword [esi + 0x50], eax
lea eax, [esi + 0x48]
mov dword [esi + 0x54], fcn.101bf6a0
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x6c], 2
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
mov byte [esi + 0xa], al
push edi
lea eax, [esi + 0x9c]
push eax
call fcn.101b40e0
add esp, 8
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 4]
test ecx, ecx
setne al
and dl, al
cmp dl, 1
jne 0x101a34ec
push 1
push ecx
push dword [esi + 0x14]
call fcn.10013460
add esp, 0xc
mov ecx, dword [esi + 0xa4]
mov ebx, dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
lea edx, [ebx + ecx]
test ecx, ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edx
je 0x101a3530
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x101a3560
lea eax, [ebx + 1]
mov dword [esi + 0xc], eax
jmp 0x101a35b6
mov dword [esi + 0x20], 0
mov edi, 4
mov ebx, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
jmp 0x101a35fe
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x101a35ab
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x101a38f2
movzx ecx, byte [ebx + 3]
and edi, 7
shl eax, 6
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
lea eax, [ebx + 4]
or edi, ecx
mov dword [esi + 0xc], eax
cmp edi, 0xffff
jbe 0x101a35b6
jmp 0x101a3909
shl edi, 6
lea eax, [ebx + 2]
mov dword [esi + 0xc], eax
or edi, edx
mov dword [esi + 4], edi
mov eax, 1
mov dword [esi + 0x20], 0
mov ecx, dword [esi + 0x3c]
mov edx, 0xffffffff
mov edi, 3
sub ecx, dword [esi + 0xc]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
cmp ecx, 4
cmovae edi, ecx
cmp ecx, 0x3ffffffe
lea ebx, [edi + edi + 2]
ja 0x101a3ad4
inc edi
mov ax, 1
mov dword [esi + 0x28], eax
movzx eax, byte [0x10284b09]
push 2
push ebx
call fcn.10013450
add esp, 8
test eax, eax
je 0x101a3acd
mov ecx, eax
mov eax, dword [esi + 0x58]
mov edx, edi
inc eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], 1
mov word [ecx], ax
mov eax, dword [esi + 0xc]
jmp 0x101a3655
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
mov edi, edx
mov edx, dword [esi + 4]
mov word [ecx + edx*2], bx
inc edx
mov dword [esi + 4], edx
mov edx, edi
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
test eax, eax
mov dword [esi + 0x10], edx
je 0x101a36a0
mov edi, dword [esi + 0x20]
test di, di
je 0x101a3680
mov dword [esi + 0xc], eax
xor eax, eax
mov ebx, edi
mov edi, dword [esi + 4]
cmp edi, edx
jne 0x101a3640
jmp 0x101a3753
cmp eax, dword [esi + 0x3c]
je 0x101a36a0
mov edi, ecx
movzx ecx, byte [eax]
movzx ebx, cl
test cl, cl
js 0x101a36e0
inc eax
jmp 0x101a3741
cmp word [esi + 0x28], 1
mov dword [esi + 0x1c], ecx
jne 0x101a3860
mov edi, dword [esi + 4]
mov ebx, 0
mov ecx, 0
mov dword [esi + 0x28], 0
mov dword [esi + 0xc], 0
cmp edi, edx
je 0x101a377a
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
xor eax, eax
jmp 0x101a3648
movzx edx, byte [eax + 1]
and ebx, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x101a3736
mov dword [esi + 0x24], ebx
movzx ebx, byte [eax + 2]
shl edx, 6
and ebx, 0x3f
or ebx, edx
cmp cl, 0xf0
jb 0x101a3801
mov edx, dword [esi + 0x24]
movzx ecx, byte [eax + 3]
shl ebx, 6
add eax, 4
mov dword [esi + 0xc], eax
and edx, 7
and ecx, 0x3f
shl edx, 0x12
or ecx, ebx
mov ebx, edx
or ebx, ecx
mov edx, dword [esi + 0x10]
cmp ebx, 0xffff
jbe 0x101a3744
jmp 0x101a3820
shl ebx, 6
add eax, 2
or ebx, edx
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov ecx, edi
xor eax, eax
mov edi, dword [esi + 4]
cmp edi, edx
jne 0x101a3640
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x3c]
mov edx, 0xffffffff
sub ecx, dword [esi + 0xc]
add ecx, 3
cmovb ecx, edx
movzx edx, word [esi + 0x28]
shr ecx, 2
cmp ax, 1
mov dword [esi + 0x20], eax
sbb ecx, 0xffffffff
add ecx, edx
lea edx, [ecx + 1]
xor eax, eax
add edx, edi
jb 0x101a3aa5
lea edi, [ecx + edi + 1]
mov ecx, dword [esi + 0x10]
add ecx, ecx
cmp ecx, edi
cmova edi, ecx
cmp edi, 5
jae 0x101a379f
mov edi, 4
test edi, edi
mov dword [esi + 0x24], ebx
js 0x101a3aa5
lea ebx, [edi + edi]
cmp ebx, 0x7ffffffe
ja 0x101a3ab7
cmp dword [esi + 0x10], 0
je 0x101a37cf
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], eax
mov eax, 2
mov dword [esi + 0x68], ecx
jmp 0x101a37d1
xor eax, eax
mov dword [esi + 0x64], eax
lea eax, [esi + 0x60]
lea ecx, [esi + 0x48]
mov edx, 2
push eax
push ebx
call fcn.10194d20
add esp, 8
cmp dword [esi + 0x48], 1
je 0x101a3aa7
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x24]
jmp 0x101a3648
mov ecx, dword [esi + 0x24]
add eax, 3
mov dword [esi + 0xc], eax
shl ecx, 0xc
or ecx, ebx
mov ebx, ecx
mov edx, dword [esi + 0x10]
cmp ebx, 0xffff
jbe 0x101a3744
lea ecx, [ebx + 0xff0000]
and ebx, 0x3ff
shr ecx, 0xa
or ebx, 0xdc00
or ecx, 0xd800
mov eax, ebx
mov ebx, ecx
mov ecx, edi
mov edi, dword [esi + 4]
cmp edi, edx
jne 0x101a3640
jmp 0x101a3753
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x38]
push dword [esi + 0x90]
push ecx
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x101a3987
call dword [sym.imp.kernel32.dll_GetLastError]
cmp dword [esi + 0x5c], 9
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x60]
jg 0x101a3936
cmp eax, 5
jne 0x101a38c0
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], eax
jmp 0x101a38d2
cmp dword [esi + 0x38], 0
je 0x101a3936
cmp eax, 0x57
mov dword [esi + 0x38], 0
jne 0x101a3936
mov al, 1
test edx, edx
mov dword [esi + 4], eax
je 0x101a3410
add edx, edx
push 2
push edx
push ecx
call fcn.10013460
add esp, 0xc
jmp 0x101a3410
shl edi, 0xc
lea ecx, [ebx + 3]
mov dword [esi + 0xc], ecx
or edi, eax
cmp edi, 0xffff
jbe 0x101a35b6
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
mov eax, 2
or edi, 0xdc00
shr ecx, 0xa
mov edx, edi
or ecx, 0xd800
mov dword [esi + 4], ecx
mov dword [esi + 0x20], edx
jmp 0x101a35c5
mov ecx, dword [esi + 0x34]
test edx, edx
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 1
je 0x101a395a
add edx, edx
push 2
push edx
push dword [esi + 0x1c]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101a396f
push 1
push eax
push dword [esi + 0x14]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x101a3a60
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x101a3a60
mov ecx, eax
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x60]
test eax, eax
je 0x101a39b1
add eax, eax
push 2
push eax
push dword [esi + 0x1c]
mov ebx, ecx
call fcn.10013460
mov ecx, ebx
add esp, 0xc
mov dword [esi + 0xb8], 1
mov eax, dword [esi + 0x88]
mov dword [esi + 0x60], 0
mov dword [esi + 0x7c], 0
mov word [esi + 0x80], 0
xorps xmm0, xmm0
lea edx, [esi + 0x48]
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x48], 0xc
mov dword [esi + 0x4c], 0
mov dword [esi + 0x98], ecx
mov dword [esi + 0x50], 1
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
mov dword [esi + 0xb8], 1
lea ecx, [esi + 0x40]
mov byte [esi + 0x7d], al
xor al, 1
mov dword [esi + 0x30], ebx
mov byte [esi + 0x7c], al
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], edx
mov edx, dword [esi + 0x14]
mov dword [esi + 0x2c], edx
push edi
push dword [esi + 0x8c]
call fcn.101a1040
add esp, 8
movzx eax, byte [esi + 0x40]
cmp al, 4
jne 0x101a3a74
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov dword [ecx], 0
test eax, eax
je 0x101a3a60
push 1
push eax
push dword [esi + 0x14]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [esi + 0x43]
mov edx, dword [esi + 0x34]
movzx ebx, word [esi + 0x41]
mov edi, dword [esi + 0x44]
mov byte [edx + 7], cl
mov word [edx + 5], bx
mov byte [edx + 4], al
mov dword [edx + 8], edi
mov dword [edx], 1
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x101a3961
jmp 0x101a396f
jmp 0x101a3ab7
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x50]
mov dword [esi + 0xb8], 2
mov dword [esi + 0xb8], 2
push edx
push eax
call fcn.101cc311
add esp, 8
jmp 0x101a3af4
mov eax, 2
jmp 0x101a3ad6
xor eax, eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 0
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
push ebx
push eax
call fcn.101cc311
add esp, 8
ud2