Function at 0x4e0210
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], 0x5042f0
mov dword [esi + 0x38], ecx
lea eax, [esi + 0xb0]
mov dword [esi + 0x84], edx
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 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 dl, 1
mov dword [esi + 0x8c], eax
nop word [eax + eax]
mov dword [esi + 0xc], edx
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esi + 0x94], eax
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
lea edi, [esi + 0x60]
xorps xmm0, xmm0
mov eax, dword [0x5c2fa4]
test eax, eax
jne 0x4e02dd
nop word cs:[eax + eax]
nop dword [eax]
movaps xmmword [esi + 0x60], xmm0
push 0x10
push edi
call ebx
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [0x5c2fa4], eax
mov eax, dword [0x5c2fa4]
test eax, eax
je 0x4e02c0
mov eax, 1
lea ecx, [esi + 0x94]
lea edx, [esi + 0x44]
lock xadd dword [0x5c2fa4], eax
mov dword [esi + 0x4c], ecx
lea ecx, [esi + 0x4c]
mov dword [esi + 0x50], fcn.00428320
mov dword [esi + 0x54], edx
mov dword [esi + 0x60], 0x57ee98
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
mov dword [esi + 0x58], fcn.00428320
mov byte [esi + 0xb], 1
mov dword [esi + 0xb8], 1
mov dword [esi + 0x68], ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x6c], 2
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x9c]
mov edx, edi
mov byte [esi + 0xa], al
call fcn.004206f0
cmp dword [esi + 0x14], 0
mov ecx, dword [esi + 0xc]
sete al
or cl, al
test cl, 1
jne 0x4e0377
mov ecx, dword [esi + 0x10]
mov edx, 1
call fcn.004332a0
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 + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x40], edx
je 0x4e03c0
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x4e03f0
lea eax, [ebx + 1]
mov dword [esi + 0xc], eax
jmp 0x4e0480
mov dword [esi + 0x20], 0
mov edi, 4
mov ebx, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
jmp 0x4e04c7
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x4e0429
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x4e0436
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]
jmp 0x4e043e
shl edi, 6
lea eax, [ebx + 2]
mov dword [esi + 0xc], eax
or edi, edx
jmp 0x4e0480
shl edi, 0xc
lea ecx, [ebx + 3]
or edi, eax
cmp edi, 0xffff
mov dword [esi + 0xc], ecx
jbe 0x4e0480
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
mov eax, 1
or edi, 0xdc00
shr ecx, 0xa
mov edx, edi
or ecx, 0xd800
mov dword [esi + 4], ecx
mov dword [esi + 0x20], edx
jmp 0x4e048c
mov dword [esi + 4], edi
mov dword [esi + 0x20], 0
xor eax, eax
mov ecx, dword [esi + 0x40]
mov edx, 0xffffffff
mov edi, 2
sub ecx, dword [esi + 0xc]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
cmp ecx, 3
cmovae edi, ecx
cmp ecx, 0x3ffffffd
lea ebx, [edi + edi + 4]
ja 0x4e0926
add edi, 2
mov ax, 1
mov dword [esi + 0x24], eax
movzx eax, byte [0x5c3018]
xor ecx, ecx
mov edx, ebx
call fcn.004e33d0
test eax, eax
je 0x4e091f
mov ecx, eax
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x20]
mov ebx, 1
mov dword [esi + 0x1c], ecx
inc eax
mov dword [esi + 0x90], eax
mov eax, dword [esi + 4]
mov word [ecx], ax
mov ecx, dword [esi + 0xc]
jmp 0x4e0528
mov dword [esi + 0xc], ecx
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x1c]
mov word [edx + ebx*2], ax
mov dword [esi + 0x1c], edx
mov edx, ecx
mov ecx, dword [esi + 0xc]
inc ebx
test ecx, ecx
je 0x4e0570
test dx, dx
je 0x4e0540
xor eax, eax
mov dword [esi + 4], edx
cmp ebx, edi
jne 0x4e0510
jmp 0x4e064b
cmp ecx, dword [esi + 0x40]
je 0x4e0570
mov dword [esi + 0x28], ebx
mov ebx, edi
mov edi, ecx
movzx ecx, byte [ecx]
movzx eax, cl
test cl, cl
js 0x4e05b2
inc edi
mov dword [esi + 4], eax
mov ecx, edi
jmp 0x4e063c
cmp word [esi + 0x24], 1
jne 0x4e0710
mov dword [esi + 0x2c], edi
cmp ebx, edi
mov ecx, 0
mov eax, 0
mov edi, 0
mov dword [esi + 0x24], 0
je 0x4e067d
mov ecx, edx
mov edi, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
xor eax, eax
mov dword [esi + 0xc], 0
jmp 0x4e051b
movzx edx, byte [edi + 1]
and eax, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x4e05f3
mov dword [esi + 4], eax
movzx eax, byte [edi + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x4e05ff
mov edx, dword [esi + 4]
movzx ecx, byte [edi + 3]
shl eax, 6
add edi, 4
and edx, 7
and ecx, 0x3f
shl edx, 0x12
or ecx, eax
mov eax, edx
or eax, ecx
jmp 0x4e060c
shl eax, 6
add edi, 2
or eax, edx
mov ecx, edi
jmp 0x4e0639
mov ecx, dword [esi + 4]
add edi, 3
shl ecx, 0xc
or ecx, eax
mov eax, ecx
mov ecx, edi
cmp eax, 0xffff
jbe 0x4e0639
mov edi, ecx
lea ecx, [eax + 0xff0000]
and eax, 0x3ff
shr ecx, 0xa
or eax, 0xdc00
or ecx, 0xd800
mov dword [esi + 4], ecx
mov ecx, edi
mov edi, ebx
jmp 0x4e0640
mov dword [esi + 4], eax
mov edi, ebx
xor eax, eax
mov ebx, dword [esi + 0x28]
cmp ebx, edi
jne 0x4e0510
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 0x40]
mov edx, ebx
mov ebx, ecx
sub edi, ecx
mov ecx, 0xffffffff
add edi, 3
cmovb edi, ecx
mov ecx, ebx
mov ebx, edx
mov edx, eax
shr edi, 2
cmp ax, 1
mov eax, dword [esi + 4]
sbb edi, 0xffffffff
cmp word [esi + 0x24], 1
sbb edi, 0xffffffff
inc edi
add edi, ebx
jb 0x4e090c
mov dword [esi + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], ebx
mov ebx, 4
lea ecx, [eax + eax]
cmp ecx, edi
cmova edi, ecx
xor edx, edx
cmp edi, 0x40000000
setb byte [esi + 0x1b]
cmp edi, 5
cmovb edi, ebx
test eax, eax
je 0x4e06c8
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ecx
mov ecx, 2
jmp 0x4e06ca
xor ecx, ecx
movzx eax, byte [esi + 0x1b]
mov dword [esi + 0x64], ecx
lea ebx, [edi + edi]
lea ecx, [esi + 0x4c]
mov dl, al
lea eax, [esi + 0x60]
add edx, edx
push eax
push ebx
call fcn.004cd340
add esp, 8
cmp dword [esi + 0x4c], 0
jne 0x4e08fa
mov edx, dword [esi + 0x50]
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 4]
jmp 0x4e051b
mov ebx, edi
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x3c]
push dword [esi + 0x8c]
mov eax, dword [esi + 0x1c]
mov edi, eax
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4e07d3
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [esi + 0x90]
mov ecx, edi
mov edi, ebx
cmp edx, 0xa
jge 0x4e07a2
cmp eax, 5
jne 0x4e0770
mov dword [esi + 0x5c], edx
jmp 0x4e0782
cmp dword [esi + 0x3c], 0
je 0x4e07a2
cmp eax, 0x57
mov dword [esi + 0x3c], 0
jne 0x4e07a2
mov al, 1
xor edx, edx
test edi, edi
mov dword [esi + 4], eax
je 0x4e0290
mov edx, 2
call fcn.004332a0
xor edx, edx
jmp 0x4e0290
mov edx, dword [esi + 0x38]
mov dword [edx + 8], eax
mov dword [edx + 4], 0
mov dword [edx], 1
mov edx, edi
mov edi, 0xffffffff
test edx, edx
je 0x4e08c6
mov edx, 2
call fcn.004332a0
jmp 0x4e08c6
test ebx, ebx
je 0x4e07ed
mov ecx, edi
mov edx, 2
call fcn.004332a0
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
mov edx, dword [esi + 0x10]
mov dword [esi + 0x4c], 0xc
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 0
mov dword [esi + 0xb8], 1
lea ecx, [esi + 0x44]
mov byte [esi + 0x7d], al
xor al, 1
mov dword [esi + 0x30], edx
mov byte [esi + 0x7c], al
lea eax, [esi + 0x4c]
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x98], eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x88]
call fcn.004d3420
add esp, 8
movzx eax, byte [esi + 0x44]
cmp al, 4
jne 0x4e08a2
cmp dword [esi + 0x14], 0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx], 0
je 0x4e08e6
mov ecx, dword [esi + 0x10]
mov edx, 1
call fcn.004332a0
jmp 0x4e08e6
movzx ecx, byte [esi + 0x47]
mov edx, dword [esi + 0x38]
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 edi, dword [esi + 4]
mov dword [edx], 1
cmp dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
je 0x4e08d9
mov edx, 1
call fcn.004332a0
cmp dword [esi + 4], 0xffffffff
je 0x4e08e6
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esi + 0xb8], 2
jmp 0x4e090e
xor ecx, ecx
mov dword [esi + 0xb8], 2
call fcn.00526660
jmp 0x4e0943
mov ecx, 2
jmp 0x4e0928
xor ecx, ecx
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
mov dword [esi + 0x34], edx
mov edx, ebx
mov dword [esi + 0x30], eax
call fcn.00526660
ud2