Function at 0x49296a
Capabilities:
Check for time delay via gettickcount
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows
Read pipe
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1040]
mov eax, 0x1040
call fcn.004a1280
push 0xffffffffffffffff
push 0x50cb6b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x103c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x1000
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x492a23
mov byte [ebp - 0xd], 1
push ebx
push 1
lea ecx, [ebp + 0x1048]
call fcn.0040184d
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x103c]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x1040
leave
ret 0x1c
push 0x44
pop esi
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0049d740
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x78], 0x101
call fcn.0049d740
lea eax, [ebp + 0x1048]
push eax
lea eax, [ebp - 0x60]
push 0x535df8
push eax
call fcn.004120ff
push str.__version
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
call fcn.00409dbb
add esp, 0x24
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040184d
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x492aa8
lea ecx, [ebp + 4]
cmp dword [ebp + 0x1060], 8
mov eax, dword [ebp + 0x104c]
jae 0x492abd
lea eax, [ebp + 0x104c]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0xa4]
push edx
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], ebx
call esi
push edi
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x39]
push ebx
push eax
mov byte [ebp + 0x38], bl
call fcn.0049d740
add esp, 0xc
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp + 0x34], 7
call fcn.00401afa
mov byte [ebp - 4], 4
mov byte [ebp - 0xd], 1
jmp 0x492c0f
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x492bf5
cmp dword [ebp - 0x20], ebx
je 0x492bf5
push 0x1001
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.0049d740
add esp, 0xc
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], ebx
jbe 0x492bec
lea eax, [ebp + 0x38]
push eax
call fcn.0049db30
pop ecx
test eax, eax
jbe 0x492bec
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049045a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 5
call fcn.004039ea
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040184d
push ebx
push str.version
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, 0xffffffff
je 0x492bec
push ebx
push 0x522af0
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, 0xffffffff
jne 0x492be9
push ebx
push 0x522ae8
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, 0xffffffff
je 0x492bec
mov byte [ebp - 0xd], bl
cmp dword [ebp - 0x28], ebx
je 0x492cf3
push 0x1f4
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x492c2e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp - 0x24]
push ebx
cmp eax, 0x1770
jbe 0x492b23
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x492cf9
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x492cf9
cmp dword [ebp - 0x20], ebx
je 0x492cf9
push 0x1001
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.0049d740
add esp, 0xc
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x492cef
lea eax, [ebp + 0x38]
push eax
call fcn.0049db30
pop ecx
test eax, eax
jbe 0x492cef
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049045a
pop ecx
pop ecx
or esi, 0xffffffff
push esi
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.004039ea
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040184d
push ebx
push str.version
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, esi
je 0x492cef
push ebx
push 0x522af0
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, esi
jne 0x492cec
push ebx
push 0x522ae8
lea ecx, [ebp + 0x1c]
call fcn.0040377d
cmp eax, esi
je 0x492cef
mov byte [ebp - 0xd], bl
cmp edi, ebx
jne 0x492cf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], ebx
je 0x492d0a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040184d
push ebx
push 1
lea ecx, [ebp]
call fcn.0040184d
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4929ed