Function at 0x40db70
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x54], 0x836
mov dword [ebp - 0x6c], 0xbd83
mov dword [ebp - 0x38], 0x3e8c
mov dword [ebp - 0x3c], 0x4adf
mov dword [ebp - 0x60], 0x2319
mov dword [ebp - 0x7c], 0xb512
mov dword [ebp - 0x78], 0x79f4
mov dword [ebp - 0x2c], 0x4f7d
mov dword [ebp - 0x80], 0x7515
mov dword [ebp - 0x4c], 0xb47a
mov dword [ebp - 0x74], 0x4bff
mov dword [ebp - 8], 0x1588c
mov dword [ebp - 0x48], 0x59cc
mov dword [ebp - 0x50], 0xecc9
mov dword [ebp - 0xc], 0xb7b5
mov dword [ebp - 4], 0x13d9e
mov dword [ebp - 0x58], 0x2380
mov dword [ebp - 0x10], 0x725f
mov dword [ebp - 0x5c], 0x3835
mov dword [ebp - 0x1c], 0x119bc
mov dword [ebp - 0x14], 0x1052b
mov dword [ebp - 0x18], 0x7658
mov dword [ebp - 0x70], 0x35bb
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x14]
jge 0x40dc2b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x58]
jge 0x40dc3c
mov dword [ebp - 0x20], 1
jmp 0x40dc43
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xc]
jge 0x40dc54
mov dword [ebp - 0x24], 1
jmp 0x40dc5b
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x2c]
jge 0x40dc6c
mov dword [ebp - 0x28], 1
jmp 0x40dc73
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x28]
je 0x40ddd9
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x10]
jge 0x40dc97
mov dword [ebp - 0x30], 1
jmp 0x40dc9e
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x68]
jge 0x40dcc7
mov dword [ebp - 0x34], 1
jmp 0x40dcce
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x30]
or edx, dword [ebp - 0x34]
je 0x40ddd9
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x10]
jne 0x40ddd9
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x1c]
jne 0x40ddd9
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x4c]
jne 0x40ddd9
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jne 0x40ddd9
push 0x13b6b
push 0x182e3
push 0x970d
push 0x14e3d
push 0x4bf3
push 0x15447
push 0x1772f
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x14]
jge 0x40dd47
mov dword [ebp - 0x44], 1
jmp 0x40dd4e
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x5c]
jge 0x40dd62
mov dword [ebp - 0x40], 1
jmp 0x40dd69
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 4]
and eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x44]
je 0x40ddd9
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x4c]
jne 0x40ddd9
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x74]
jne 0x40ddd9
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xc]
jne 0x40ddd9
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 8]
jne 0x40ddd9
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x1c]
jne 0x40ddd9
mov eax, dword [ebp - 0x60]
sub eax, 1
mov dword [ebp - 0x60], eax
push 0x1287d
push 0x16c4f
push 0xaeae
push 0x2f58
push 0x13176
push 0xc429
push 0xb2cd
push 0x29da
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
add esp, 0x20
mov ecx, dword [ebp - 0x78]
add ecx, 0xff59
push ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0xd4ae
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x91bd
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x1f96
push ecx
call fcn.00408570
add esp, 0x10
mov esp, ebp
pop ebp
ret