Function at 0x10028530
Capabilities:
Create pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10064e8f
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x60
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x24], 0
jg 0x100285ed
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xc]
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 9
jb 0x1002886a
cmp dword [ecx + 0x14], 7
jbe 0x1002858b
mov ecx, dword [ecx]
push edx
push ecx
push 9
push 0x10094560
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.100290a0
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0
cmova eax, dword [ebp - 0x30]
push 0
push 0
push 0
push 1
push 4
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
cmp edi, ecx
je 0x100285de
test ecx, ecx
jle 0x100285db
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.10010e70
mov eax, dword [0x100a8a24]
test al, 1
jne 0x1002862d
or eax, 1
mov dword [0x100a8a24], eax
mov dword [ebp - 4], 1
push 0x10065de0
mov dword [0x100a8a1c], 0
mov dword [0x100a8a20], 0xc0000225
call fcn.1004412b
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x10094574
lea ecx, [ebp - 0x30]
call fcn.10011010
mov dword [ebp - 4], 2
cmp dword [0x100a8a1c], 0
jg 0x100286b3
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x10096d44
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov byte [ebp - 4], 3
mov ecx, dword [0x100a8a1c]
cmp edi, ecx
je 0x10028687
test ecx, ecx
jle 0x1002867f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100a8a1c], edi
mov ecx, edi
mov byte [ebp - 4], 2
test ecx, ecx
jle 0x1002869b
mov dword [0x100a8a20], 0
jmp 0x100286b3
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.100235d0
mov ecx, 0x100a8a1c
call fcn.10030310
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.10010e70
mov eax, dword [0x100a8a24]
test al, 1
jne 0x10028702
or eax, 1
mov dword [0x100a8a24], eax
mov dword [ebp - 4], 4
push 0x10065de0
mov dword [0x100a8a1c], 0
mov dword [0x100a8a20], 0xc0000225
call fcn.1004412b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
xorps xmm0, xmm0
mov edx, dword [0x100a8a1c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [eax + 4]
movups xmmword [ebp - 0x60], xmm0
cmp edx, 0xffffffff
jne 0x1002872e
mov edi, 0xc00000c0
jmp 0x10028853
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push 0x20
lea eax, [ebp - 0x70]
mov dword [ebp - 0x24], ecx
push eax
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 1
push eax
push 0x8005e01c
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002876a
xor edi, edi
jmp 0x1002877e
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0xbf4]
test edi, edi
js 0x10028853
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x28
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10044157
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 5
mov eax, dword [0x100a8a24]
test al, 1
jne 0x100287f6
or eax, 1
mov dword [0x100a8a24], eax
mov byte [ebp - 4], 6
push 0x10065de0
mov dword [0x100a8a1c], 0
mov dword [0x100a8a20], 0xc0000225
call fcn.1004412b
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
push ecx
lea eax, [esi + 0xc]
mov ecx, 0x100a8a1c
push eax
push edx
call fcn.10030500
test eax, eax
js 0x10028835
add esi, 4
lea eax, [ebp - 0x3c]
cmp esi, eax
je 0x10028835
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [esi + 4], eax
mov dword [ebp - 0x38], ecx
jmp 0x10028838
mov edx, dword [ebp - 0x3c]
push dword [edx + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.10028e80
push 0x28
push dword [ebp - 0x3c]
call fcn.10044149
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.100032e0
int3