Function at 0x4167d0
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], 0x41eed0
mov dword [esi + 0x38], ecx
lea eax, [esi + 0xb0]
mov bl, 1
mov dword [esi + 0x84], edx
mov dword [esi + 8], 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 dword [esi + 0x8c], eax
nop word [eax + eax]
mov dword [esi + 0x10], ebx
call dword [sym.imp.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 [0x43d214]
test eax, eax
jne 0x41689d
nop word cs:[eax + eax]
nop
movaps xmmword [esi + 0x60], xmm0
push 0x10
push edi
call ebx
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [0x43d214], eax
mov eax, dword [0x43d214]
test eax, eax
je 0x416880
mov eax, 1
lock xadd dword [0x43d214], eax
mov dword [esi + 0x60], 0x436ae0
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
mov byte [esi + 7], 1
mov dword [esi + 0xb8], 1
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
mov byte [esi + 6], al
lea eax, [esi + 0x94]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x50], fcn.00429b00
mov dword [esi + 0x54], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x58], fcn.00429b00
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x6c], 2
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x34], eax
push edi
lea eax, [esi + 0x9c]
push eax
call fcn.00425d10
add esp, 8
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
test edx, edx
sete al
or cl, al
test cl, 1
jne 0x41693c
push 1
push edx
push dword [esi + 0x18]
call fcn.00403510
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 + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x40], edx
je 0x416980
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x4169b0
lea eax, [ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x416a06
mov dword [esi + 0x28], 0
mov edi, 4
mov ebx, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 8], 0
jmp 0x416a4d
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x4169fb
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x416d16
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 + 0x14], eax
cmp edi, 0xffff
jbe 0x416a06
jmp 0x416d2d
shl edi, 6
lea eax, [ebx + 2]
mov dword [esi + 0x14], eax
or edi, edx
mov dword [esi + 8], edi
mov dword [esi + 0x28], 0
xor eax, eax
mov ecx, dword [esi + 0x40]
mov edx, 0xffffffff
mov edi, 2
sub ecx, dword [esi + 0x14]
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 0x416efa
add edi, 2
mov ax, 1
mov dword [esi + 0x2c], eax
movzx eax, byte [0x43d189]
push 2
push ebx
call fcn.00403500
add esp, 8
test eax, eax
je 0x416ef3
mov ecx, eax
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 0x14]
mov edx, edi
inc eax
mov dword [esi + 0x90], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], 1
mov word [ecx], ax
jmp 0x416aa5
mov edi, edx
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov word [ecx + eax*2], dx
inc eax
mov edx, edi
mov dword [esi + 8], eax
mov edi, dword [esi + 0x28]
test ebx, ebx
je 0x416af0
test di, di
je 0x416ac0
xor eax, eax
mov dword [esi + 0x10], edi
cmp dword [esi + 8], edx
jne 0x416a90
jmp 0x416bd0
cmp ebx, dword [esi + 0x40]
je 0x416af0
mov dword [esi + 0xc], ecx
movzx ecx, byte [ebx]
movzx eax, cl
test cl, cl
js 0x416b27
mov dword [esi + 0x10], eax
inc ebx
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [esi + 8], edx
jne 0x416a90
jmp 0x416bd0
cmp word [esi + 0x2c], 1
jne 0x416c80
cmp dword [esi + 8], edx
mov eax, 0
mov edi, 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
je 0x416bff
mov edi, edx
xor edx, edx
xor ebx, ebx
jmp 0x416a98
mov dword [esi + 0x24], edx
movzx edx, byte [ebx + 1]
and eax, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x416b6d
movzx edi, byte [ebx + 2]
shl edx, 6
and edi, 0x3f
or edi, edx
cmp cl, 0xf0
jb 0x416b8b
movzx ecx, byte [ebx + 3]
and eax, 7
shl edi, 6
add ebx, 4
shl eax, 0x12
and ecx, 0x3f
or ecx, edi
or eax, ecx
mov edx, dword [esi + 0x24]
cmp eax, 0xffff
jbe 0x416b78
jmp 0x416b9d
shl eax, 6
add ebx, 2
or eax, edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [esi + 8], edx
jne 0x416a90
jmp 0x416bd0
shl eax, 0xc
add ebx, 3
or eax, edi
mov edx, dword [esi + 0x24]
cmp eax, 0xffff
jbe 0x416b78
lea ecx, [eax + 0xff0000]
and eax, 0x3ff
shr ecx, 0xa
or eax, 0xdc00
or ecx, 0xd800
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0xc]
cmp dword [esi + 8], edx
jne 0x416a90
nop word cs:[eax + eax]
nop
mov edi, dword [esi + 0x40]
mov dword [esi + 0x14], ebx
sub edi, ebx
mov ebx, ecx
mov ecx, 0xffffffff
add edi, 3
cmovb edi, ecx
mov ecx, ebx
shr edi, 2
cmp ax, 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
sbb edi, 0xffffffff
cmp word [esi + 0x2c], 1
sbb edi, 0xffffffff
inc edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x24], edx
add edi, dword [esi + 8]
jb 0x416edb
lea ecx, [edx + edx]
mov dword [esi + 0x14], eax
mov eax, edx
mov ebx, 4
cmp ecx, edi
cmova edi, ecx
xor edx, edx
cmp edi, 0x40000000
setb byte [esi + 0x23]
cmp edi, 5
cmovb edi, ebx
test eax, eax
je 0x416c47
mov eax, dword [esi + 0xc]
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], ecx
mov ecx, 2
jmp 0x416c49
xor ecx, ecx
movzx eax, byte [esi + 0x23]
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.0040af90
add esp, 8
cmp dword [esi + 0x4c], 0
jne 0x416ec9
mov ecx, dword [esi + 0x50]
mov ebx, dword [esi + 0x14]
jmp 0x416a95
mov edi, edx
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x3c]
push dword [esi + 0x8c]
mov dword [esi + 0xc], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebx, dword [esi + 0x90]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x416dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xc]
cmp ebx, 0xa
mov edx, edi
jge 0x416d5a
cmp eax, 5
jne 0x416ce0
mov dword [esi + 0x5c], ebx
jmp 0x416cf2
cmp dword [esi + 0x3c], 0
je 0x416d5a
cmp eax, 0x57
mov dword [esi + 0x3c], 0
jne 0x416d5a
mov al, 1
xor ebx, ebx
test edx, edx
mov dword [esi + 8], eax
je 0x416850
add edx, edx
push 2
push edx
push ecx
call fcn.00403510
add esp, 0xc
xor ebx, ebx
jmp 0x416850
shl edi, 0xc
lea ecx, [ebx + 3]
mov dword [esi + 0x14], ecx
or edi, eax
cmp edi, 0xffff
jbe 0x416a06
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 + 8], ecx
mov dword [esi + 0x28], edx
jmp 0x416a12
mov ecx, dword [esi + 0x38]
test edx, edx
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 1
je 0x416d81
add edx, edx
push 2
push edx
push dword [esi + 0xc]
call fcn.00403510
add esp, 0xc
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x416d96
push 1
push eax
push dword [esi + 0x18]
call fcn.00403510
add esp, 0xc
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x416e84
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416e84
test edi, edi
je 0x416dd0
add edi, edi
push 2
push edi
push dword [esi + 0xc]
mov edi, eax
call fcn.00403510
mov eax, edi
add esp, 0xc
mov dword [esi + 0xb8], 1
mov ecx, eax
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 + 0x18]
mov dword [esi + 0x4c], 0xc
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov byte [esi + 6], 1
mov byte [esi + 7], 0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x98], ecx
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 + 0x1c]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x88]
call fcn.00415b10
add esp, 8
movzx eax, byte [esi + 0x44]
cmp al, 4
jne 0x416e98
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx], 0
test eax, eax
je 0x416e84
push 1
push eax
push dword [esi + 0x18]
call fcn.00403510
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 + 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 dword [edx], 1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x416d88
jmp 0x416d96
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xb8], 2
jmp 0x416edd
xor eax, eax
mov dword [esi + 0xb8], 2
push ecx
push eax
call fcn.0042f4a0
add esp, 8
jmp 0x416f1a
mov eax, 2
jmp 0x416efc
xor eax, eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
push ebx
push eax
call fcn.0042f4a0
add esp, 8
ud2