Function at 0x101a2180
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], 0x101ab210
mov dword [esi + 0x34], ecx
lea eax, [esi + 0xb0]
lea ebx, [esi + 0x60]
mov dword [esi + 0x84], edx
mov dword [esi + 8], 0
mov dword [esi + 0x38], 8
mov dword [esi + 0x5c], 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 + 0x8c], eax
nop dword [eax + eax]
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [esi + 0x94], eax
mov edi, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xorps xmm0, xmm0
mov eax, dword [0x10283bd4]
test eax, eax
jne 0x101a223d
nop
movaps xmmword [esi + 0x60], xmm0
push 0x10
push ebx
call edi
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [0x10283bd4], eax
mov eax, dword [0x10283bd4]
test eax, eax
je 0x101a2220
mov eax, 1
lock xadd dword [0x10283bd4], eax
mov dword [esi + 0x60], 0x10249a04
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
mov byte [esi + 7], 0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x44], eax
lea eax, [esi + 0x94]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x50], fcn.101bd8d0
mov dword [esi + 0x54], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x58], fcn.101bd8d0
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x6c], 2
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
mov byte [esi + 6], al
push ebx
lea eax, [esi + 0x9c]
push eax
call fcn.101b20a0
add esp, 8
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
test edx, edx
setne al
and cl, al
cmp cl, 1
jne 0x101a22dc
push 1
push edx
push dword [esi + 0x1c]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0x9c]
mov ebx, dword [esi + 0xa0]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x1c], ebx
lea ecx, [ebx + eax]
test eax, eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x3c], ecx
je 0x101a2320
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x101a2350
lea eax, [ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x101a23a6
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 4
mov ebx, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 0
xor edi, edi
jmp 0x101a23ee
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x101a239b
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x101a26f2
movzx ecx, byte [ebx + 3]
and edi, 7
shl eax, 6
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
or edi, ecx
lea ecx, [ebx + 4]
cmp edi, 0xffff
mov dword [esi + 0x14], ecx
jbe 0x101a23a6
jmp 0x101a2709
shl edi, 6
lea eax, [ebx + 2]
mov dword [esi + 0x14], eax
or edi, edx
mov eax, 1
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x3c]
mov edx, 0xffffffff
sub ecx, dword [esi + 0x14]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
mov eax, 3
cmp ecx, 4
cmovae eax, ecx
cmp ecx, 0x3ffffffe
lea ebx, [eax + eax + 2]
ja 0x101a28cb
inc eax
mov dword [esi + 0xc], eax
mov ax, 1
mov dword [esi + 0x28], eax
movzx eax, byte [0x10283b09]
push 2
push ebx
call fcn.10013860
add esp, 8
test eax, eax
je 0x101a28c4
mov ecx, eax
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], 1
mov word [ecx], di
mov edi, ecx
mov ecx, dword [esi + 0x14]
inc eax
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x10]
jmp 0x101a2442
mov ebx, edx
mov edx, dword [esi + 8]
mov word [edi + edx*2], ax
inc edx
mov eax, dword [esi + 0x18]
mov dword [esi + 8], edx
mov edx, ebx
test ecx, ecx
lea ebx, [esi + 0x60]
mov dword [esi + 0x40], edi
je 0x101a2490
test ax, ax
je 0x101a2470
mov dword [esi + 0x18], 0
mov ebx, dword [esi + 8]
cmp ebx, edx
jne 0x101a2430
jmp 0x101a255c
cmp ecx, dword [esi + 0x3c]
je 0x101a2490
mov ebx, ecx
movzx ecx, byte [ecx]
movzx eax, cl
test cl, cl
js 0x101a24e6
inc ebx
jmp 0x101a2548
cmp word [esi + 0x28], 1
jne 0x101a2660
mov ebx, dword [esi + 8]
mov edi, eax
xor eax, eax
cmp ebx, edx
jne 0x101a24d0
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
jmp 0x101a2583
mov dword [esi + 0x18], edi
mov edi, dword [esi + 0x40]
mov ebx, edx
xor ecx, ecx
mov dword [esi + 0x28], 0
jmp 0x101a2432
mov dword [esi + 0xc], edx
movzx edx, byte [ebx + 1]
and eax, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x101a253d
mov dword [esi + 0x10], eax
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x101a2602
mov edx, dword [esi + 0x10]
movzx ecx, byte [ebx + 3]
shl eax, 6
add ebx, 4
and edx, 7
and ecx, 0x3f
shl edx, 0x12
or ecx, eax
mov eax, edx
or eax, ecx
mov edx, dword [esi + 0xc]
mov ecx, ebx
cmp eax, 0xffff
jbe 0x101a254a
jmp 0x101a261f
shl eax, 6
add ebx, 2
or eax, edx
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov ebx, dword [esi + 8]
mov dword [esi + 0x18], 0
cmp ebx, edx
jne 0x101a2430
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x14], ecx
sub eax, ecx
mov ecx, 0xffffffff
add eax, 3
cmovb eax, ecx
movzx ecx, word [esi + 0x28]
shr eax, 2
cmp word [esi + 0x18], 1
sbb eax, 0xffffffff
add eax, ecx
lea ecx, [eax + 1]
mov dword [esi + 0xc], edx
add ecx, ebx
jb 0x101a28ac
lea ebx, [eax + ebx + 1]
lea ecx, [edx + edx]
mov eax, edx
mov edi, 4
cmp ecx, ebx
cmova ebx, ecx
xor edx, edx
cmp ebx, 0x40000000
setb byte [esi + 0x27]
cmp ebx, 5
cmovb ebx, edi
test eax, eax
je 0x101a25ca
mov edi, dword [esi + 0x40]
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], ecx
mov ecx, 2
jmp 0x101a25cc
xor ecx, ecx
movzx eax, byte [esi + 0x27]
lea edi, [esi + 0x60]
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x4c]
mov dl, al
lea eax, [ebx + ebx]
add edx, edx
push edi
push eax
call fcn.10192200
add esp, 8
cmp dword [esi + 0x4c], 1
je 0x101a289a
mov edi, dword [esi + 0x50]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
jmp 0x101a2432
mov ecx, dword [esi + 0x10]
add ebx, 3
shl ecx, 0xc
or ecx, eax
mov eax, ecx
mov edx, dword [esi + 0xc]
mov ecx, ebx
cmp eax, 0xffff
jbe 0x101a254a
mov ebx, edi
mov edi, eax
add eax, 0xff0000
and edi, 0x3ff
shr eax, 0xa
or edi, 0xdc00
mov dword [esi + 0x18], edi
mov edi, ebx
or eax, 0xd800
mov ebx, dword [esi + 8]
cmp ebx, edx
jne 0x101a2430
jmp 0x101a255c
mov dword [esi + 0xc], edx
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x38]
push dword [esi + 0x8c]
push edi
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x101a2782
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xc]
cmp ecx, 9
jg 0x101a2733
cmp eax, 5
jne 0x101a26c0
mov dword [esi + 0x5c], ecx
jmp 0x101a26d2
cmp dword [esi + 0x38], 0
je 0x101a2733
cmp eax, 0x57
mov dword [esi + 0x38], 0
jne 0x101a2733
mov al, 1
test edx, edx
mov dword [esi + 8], eax
je 0x101a2200
add edx, edx
push 2
push edx
push edi
call fcn.10013870
add esp, 0xc
jmp 0x101a2200
shl edi, 0xc
lea ecx, [ebx + 3]
or edi, eax
cmp edi, 0xffff
mov dword [esi + 0x14], ecx
jbe 0x101a23a6
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
mov eax, 2
shr ecx, 0xa
or edi, 0xdc00
mov dword [esi + 0x10], edi
or ecx, 0xd800
mov edi, ecx
jmp 0x101a23b2
mov ecx, dword [esi + 0x34]
test edx, edx
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 1
je 0x101a2755
add edx, edx
push 2
push edx
push edi
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x101a276a
push 1
push eax
push dword [esi + 0x1c]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x101a2855
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x101a2855
mov ecx, dword [esi + 0xc]
mov eax, edi
mov edi, dword [esi + 0x20]
test ecx, ecx
je 0x101a27a6
add ecx, ecx
push 2
push ecx
push eax
call fcn.10013870
add esp, 0xc
mov dword [esi + 0xb8], 1
mov eax, dword [esi + 0x84]
mov dword [esi + 0x60], 0
mov dword [esi + 0x7c], 0
mov word [esi + 0x80], 0
xorps xmm0, xmm0
lea edx, [esi + 0x4c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x4c], 0xc
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov dword [esi + 0x30], edi
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0xb8], 1
mov byte [esi + 0x7d], al
xor al, 1
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x44]
mov byte [esi + 0x7c], al
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x2c], edx
push ebx
push dword [esi + 0x88]
call fcn.1019fe40
add esp, 8
movzx eax, byte [esi + 0x44]
cmp al, 4
jne 0x101a2869
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
mov dword [ecx], 0
test eax, eax
je 0x101a2855
push 1
push eax
push dword [esi + 0x1c]
call fcn.10013870
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 + 0x47]
mov edx, dword [esi + 0x34]
movzx ebx, word [esi + 0x45]
mov edi, dword [esi + 0x48]
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 + 0x20]
test eax, eax
jne 0x101a275c
jmp 0x101a276a
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xb8], 2
jmp 0x101a28ae
xor eax, eax
mov dword [esi + 0xb8], 2
push ecx
push eax
call fcn.101cb650
add esp, 8
jmp 0x101a28eb
mov eax, 2
jmp 0x101a28cd
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
push ebx
push eax
call fcn.101cb650
add esp, 8
ud2