Function at 0x10043614
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x100437e8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x10043780
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x100436aa
mov dword [ebp - 0x54], 1
jmp 0x100436ae
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x100436ce
mov dword [ebp - 0x60], 1
jmp 0x100436d2
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x60], eax
jne 0x100436e5
mov dword [ebp - 0x78], 1
jmp 0x100436e9
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x78]
jne 0x100436fc
mov dword [ebp - 0x64], 1
jmp 0x10043700
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
je 0x10043713
mov dword [ebp - 0x2c], 1
jmp 0x10043717
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x1004372a
mov dword [ebp - 0x34], 1
jmp 0x1004372e
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x34]
jle 0x1004373f
mov dword [ebp - 0x74], 1
jmp 0x10043743
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x74], eax
jl 0x10043756
mov dword [ebp - 0x3c], 1
jmp 0x1004375a
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
add eax, 0xba29
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x10043772
mov dword [ebp - 0x5c], 1
jmp 0x10043776
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x100437e3
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x100437c3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x100437e3
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0xc8]
call fcn.1000ffd1
mov dword [eax], 9
jmp 0x100437b8
jmp 0x10043a4f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x10043855
push 0
push 0x395
push 0x734
push 0xc21
push 0x1c42
push 0x2502
push 0x2486
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x10043a4f
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x50], eax
xor eax, eax
jne 0x100438c8
mov eax, dword [ebp - 8]
cmp dword [eax], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100438d6
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x6081
sub ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax]
jge 0x100438f0
mov dword [ebp - 0x44], 1
jmp 0x100438f4
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xfffffffa
jle 0x10043903
mov dword [ebp - 0x6c], 1
jmp 0x10043907
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x205300ce
jne 0x10043921
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10043921
mov dword [ebp - 0x4c], 1
jmp 0x10043925
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfff9
ja 0x10043937
mov dword [ebp - 0x24], 1
jmp 0x1004393b
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jge 0x1004394e
mov dword [ebp - 0x28], 1
jmp 0x10043952
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xb5cf
je 0x10043969
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10043969
and dword [ebp - 0x30], 0
jmp 0x10043970
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x30]
add eax, ecx
jne 0x1004398f
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1004398f
and dword [ebp - 0x38], 0
jmp 0x10043996
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jne 0x100439a9
mov dword [ebp - 0x40], 1
jmp 0x100439ad
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
sub eax, 0x4a9c
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx]
jge 0x100439c5
mov dword [ebp - 0x48], 1
jmp 0x100439c9
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
je 0x100439dc
mov dword [ebp - 0x58], 1
jmp 0x100439e0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
je 0x100439f3
mov dword [ebp - 0x1c], 1
jmp 0x100439f7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x10043a0a
mov dword [ebp - 0x68], 1
jmp 0x10043a0e
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
jg 0x10043a21
mov dword [ebp - 0x70], 1
jmp 0x10043a25
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 8]
imul ecx, dword [ebp - 0x70], 0xfffffff8
cmp dword [eax], ecx
jg 0x10043a39
mov dword [ebp - 0x20], 1
jmp 0x10043a3d
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 0xcc]
call fcn.1000ffd1
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret