Function at 0x11de2860
Capabilities:
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x11dfafab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push ebx
mov ebx, dword [esp + 0x37c]
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp ebx, ebp
mov dword [esp + 0x10], esi
jg 0x11de2898
xor eax, eax
jmp 0x11de2b3e
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x172]
mov word [esp + 0x170], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [0x11e2a0a0], ebp
jne 0x11de292c
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x60]
mov dword [0x11e2a0a0], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x6c], 2
je 0x11de292c
mov dword [0x11e2a0a4], 1
xor eax, eax
lea ecx, [esp + 0x170]
push eax
push ecx
call fcn.11d8ffea
lea edx, [esi + 0x20]
lea eax, [esp + 0x178]
push edx
push eax
call fcn.11d8ffc0
add esp, 0x10
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
jle 0x11de2b39
jmp 0x11de293f
cmp dword [0x11e2a0a4], ebp
jne 0x11de28f6
mov eax, dword [str..PipeOCULAR_]
jmp 0x11de28f8
mov esi, dword [esp + 0x14]
call fcn.11ddcce0
push eax
push ebp
push 0x1000
push 0x1000
push 0xff
push 6
lea ecx, [esp + 0x188]
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x11de2b39
push 0x18
call fcn.11d8efa0
add esp, 4
cmp eax, ebp
je 0x11de29a0
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], 0x1e
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov edi, eax
jmp 0x11de29a2
xor edi, edi
cmp edi, ebp
je 0x11de2ad3
push 0x640
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], edi
call fcn.11d8efa0
mov edi, eax
mov ecx, 0x190
xor eax, eax
mov dword [esp + 0x3c], edi
rep stosd dword es:[edi], eax
push 0x640
call fcn.11d8efa0
mov edi, eax
mov ecx, 0x190
xor eax, eax
mov dword [esp + 0x44], edi
rep stosd dword es:[edi], eax
push 0x14
call fcn.11d8efa0
xor edx, edx
push 0x14
mov dword [eax], edx
mov dword [esp + 0x50], eax
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
call fcn.11d8efa0
xor ecx, ecx
add esp, 0x10
mov dword [eax], ecx
lea edx, [esi + 0x74]
mov dword [eax + 4], ecx
push 1
mov dword [eax + 8], ecx
push edx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x4c], eax
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x58]
call fcn.11d89080
mov ebx, dword [esi + 0x68]
add esi, 0x64
push 0xffffffffffffffff
mov ecx, esi
lea eax, [ebx + 1]
mov dword [esp + 0x384], ebp
push eax
call fcn.11de4040
mov edx, dword [esi]
lea edi, [ebx + ebx*2]
shl edi, 4
add edi, edx
mov ecx, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x380], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x50]
call fcn.11d890e0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmp eax, ebp
je 0x11de2aa8
cmp dword [esi + 4], ebp
je 0x11de2aa8
mov ecx, dword [esi + 0x94]
push ebp
push eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push ebx
mov ecx, esi
call fcn.11de3680
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x388]
inc esi
inc eax
mov dword [esp + 0x10], esi
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x11de293b
jmp 0x11de2b39
cmp ebx, 0xffffffff
je 0x11de2ae3
cmp ebx, ebp
je 0x11de2ae3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebp
je 0x11de2b39
mov eax, dword [edi]
mov ecx, eax
cmp ecx, ebp
je 0x11de2af5
mov ecx, dword [ecx]
cmp ecx, ebp
jne 0x11de2aef
cmp eax, ebp
je 0x11de2b0a
mov esi, dword [eax]
push eax
call fcn.11d8efae
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x11de2af9
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebp
cmp eax, ebp
mov dword [edi], ebp
mov dword [edi + 4], ebp
je 0x11de2b2a
mov esi, dword [eax]
push eax
call fcn.11d8efae
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x11de2b19
push edi
mov dword [edi + 0x10], ebp
mov dword [edi + 8], ebp
call fcn.11d8efae
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
mov ecx, dword [esp + 0x374]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x374
ret 4