Function at 0x40d2ad
Capabilities:
Connect pipe

Disassembly:
call dword [0x4a6188]
cmp byte [ebp + 0x7b], bl
mov dword [ebp - 0x44], esi
je 0x40d2c5
mov eax, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp + 0x18], eax
jmp 0x40d2cc
mov dword [ebp + 0x18], 0x100000
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x58]
add eax, esi
push eax
push edi
call dword [0x4a64e8]
cmp dword [ebp - 0xd0], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov dword [ebp + 0x10], ebx
jg 0x40d308
mov dword [ebp - 0xd0], 0x3e8
lea ecx, [ebp]
mov byte [ebp + 0x35], bl
call fcn.0044a48d
mov al, byte [0x4bf2c0]
cmp al, bl
mov byte [ebp + 0x6b], al
jg 0x40d32c
cmp dword [ebp - 0xe0], 2
jl 0x40d5f0
cmp dword [ebp - 0xcc], ebx
jle 0x40d362
call dword [0x4a64fc]
mov dword [ebp - 0x78], eax
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xcc]
jae 0x40d5f0
mov ecx, dword [ebp - 0xcc]
sub ecx, eax
cmp dword [ebp - 0xd0], ecx
jbe 0x40d362
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp + 0x44]
push 0x4ff
push dword [ebp - 0xd0]
lea eax, [ebp - 0x170]
push ebx
push eax
push dword [ebp - 0x94]
call fcn.0041dbe4
cmp eax, ebx
mov dword [ebp - 0x114], eax
jne 0x40d417
lea eax, [ebp - 0x4c]
mov edi, dword [eax]
push ebx
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x1b8]
push eax
push edi
mov dword [ebp + 0x14], ebx
call dword [0x4a6184]
cmp dword [ebp + 0x14], ebx
jle 0x40d3c5
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x14], eax
jle 0x40d3bc
mov dword [ebp + 0x14], eax
add esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x58]
mov byte [eax + esi], bl
lea eax, [esi + 0x100000]
cmp eax, dword [ebp - 0x30]
jl 0x40d3e6
add dword [ebp - 0x30], 0x100000
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
lea ecx, [ebp + 0x58]
call fcn.0044a47b
cmp byte [ebp + 0x7b], bl
je 0x40d3f5
mov eax, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp + 0x18], eax
jmp 0x40d3fc
mov dword [ebp + 0x18], 0x100000
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x58]
add eax, esi
push eax
push edi
call dword [0x4a64e8]
cmp byte [ebp + 0x7b], bl
je 0x40d44e
call dword [0x4a64fc]
mov dword [ebp - 0x78], eax
sub eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xd0]
jge 0x40d529
cmp esi, dword [ebp + 0x10]
je 0x40d5e7
cmp eax, 0x14
jl 0x40d5e7
jmp 0x40d529
mov eax, dword [ebp - 0x94]
cmp eax, 1
jle 0x40d47d
dec eax
cmp eax, dword [ebp - 0x114]
jne 0x40d47d
cmp byte [ebp + 0x7b], bl
mov byte [ebp + 0x35], 1
je 0x40d5f0
cmp esi, dword [ebp + 0x10]
je 0x40d5f0
jmp 0x40d529
test byte [ebp + 0x73], 1
je 0x40d4bb
cmp dword [ebp - 0x44], esi
jge 0x40d4bb
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp + 0x58]
cmp byte [ecx + edi], 0xa
jne 0x40d4b6
add eax, 0xffffffff
adc edx, 0xffffffff
js 0x40d5f0
jg 0x40d4b6
cmp eax, ebx
jbe 0x40d5f0
inc ecx
cmp ecx, esi
jl 0x40d497
push 5
pop edi
dec edi
js 0x40d313
cmp byte [0x4bf2c0], bl
jle 0x40d313
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1d4]
push eax
call dword [0x4a67b4]
test eax, eax
je 0x40d313
cmp dword [ebp - 0x1d0], 0x12
je 0x40d510
lea eax, [ebp - 0x1d4]
push eax
call dword [0x4a67b8]
lea eax, [ebp - 0x1d4]
push eax
call dword [0x4a67bc]
jmp 0x40d4be
cmp byte [ebp + 0x7b], bl
mov byte [ebp + 0x6b], bl
mov byte [ebp + 0x35], 1
je 0x40d313
cmp esi, dword [ebp + 0x10]
je 0x40d313
cmp byte [ebp + 0x37], bl
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x84], ecx
jne 0x40d56b
cmp dword [ebp - 0x98], 0x4b0
je 0x40d55e
push dword [ebp - 0x98]
lea ecx, [ebp]
push esi
push eax
call fcn.0044a78e
mov eax, dword [ebp]
jmp 0x40d56b
mov word [eax + esi + 2], bx
mov ecx, dword [ebp + 0x58]
mov word [ecx + esi + 2], bx
cmp byte [ebp + 0x7b], 1
jne 0x40d588
mov ecx, dword [ebp + 0x44]
push eax
push eax
push 0x4a69d4
push dword [ebp - 8]
push dword [ebp - 8]
call fcn.0044757e
jmp 0x40d5b2
cmp byte [ebp + 0x37], bl
je 0x40d5a6
push ebx
lea eax, [ebp + 0x58]
push eax
push esi
push dword [ebp + 0x58]
push dword [ebp - 0x58]
push dword [ebp + 0x44]
call fcn.004561d8
add esp, 0x18
jmp 0x40d5b2
mov ecx, dword [ebp + 0x44]
push eax
push dword [ebp - 8]
call fcn.0044a006
cmp dword [ebp - 0xb0], ebx
je 0x40d5e7
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xd8]
call fcn.00452e5e
mov ecx, dword [ebp + 0x44]
push ebx
push ebx
push ebx
push dword [ebp - 0xd8]
call fcn.00439a44
lea ecx, [ebp - 0xd8]
call fcn.004447fd
cmp byte [ebp + 0x35], bl
je 0x40d44e
lea ecx, [ebp]
call fcn.0044480e