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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43872d
mov eax, dword fs:[0]
push eax
mov eax, 0x1168
call fcn.0041d9b0
mov eax, dword [0x4444c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1164], ecx
and dword [ebp - 0x1114], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10a8], 0xc
and dword [ebp - 0x10a4], 0
mov dword [ebp - 0x10a0], 1
push 0
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40d238
push 0x43b782
mov ecx, dword [ebp + 8]
call fcn.00408211
mov eax, dword [ebp - 0x1114]
or eax, 1
mov dword [ebp - 0x1114], eax
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.004050af
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
jmp 0x40d5a9
push 0x44
push 0
lea eax, [ebp - 0x10f4]
push eax
call fcn.0041d130
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x10f4], 0x44
lea eax, [ebp - 0x10f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10b4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10b8], eax
xor eax, eax
mov word [ebp - 0x10c4], ax
mov dword [ebp - 0x10c8], 0x101
push 0x1000
push 0
lea eax, [ebp - 0x109c]
push eax
call fcn.0041d130
add esp, 0xc
cmp dword [ebp + 0x20], 8
jb 0x40d2ba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1124], eax
jmp 0x40d2c3
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1124], eax
push dword [ebp - 0x1124]
push 0x800
lea eax, [ebp - 0x109c]
push eax
call fcn.0041d850
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x10f4]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x109c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40d35a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1104], eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x43b782
mov ecx, dword [ebp + 8]
call fcn.00408211
mov eax, dword [ebp - 0x1114]
or eax, 1
mov dword [ebp - 0x1114], eax
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.004050af
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
jmp 0x40d5a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x8c], eax
push dword [ebp + 0x28]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10ac], eax
lea eax, [ebp - 0x1139]
mov dword [ebp - 0x1138], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1168], eax
mov byte [ebp - 4], 4
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.00402ad2
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00408632
pop ecx
pop ecx
push str.DoInstall.cpp
lea ecx, [ebp - 0x48]
call fcn.00408211
mov byte [ebp - 4], 6
cmp dword [ebp - 0x54], 0x10
jb 0x40d3db
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x116c], eax
jmp 0x40d3e4
lea eax, [ebp - 0x68]
mov dword [ebp - 0x116c], eax
mov eax, dword [ebp - 0x10ac]
sub eax, dword [ebp - 0x8c]
push eax
push dword [ebp - 0x116c]
push str.Commadline___s_cost_time___dms_
lea eax, [ebp - 0x2c]
push eax
call fcn.00419558
add esp, 0x10
mov dword [ebp - 0x1170], eax
mov eax, dword [ebp - 0x1170]
mov dword [ebp - 0x1174], eax
mov byte [ebp - 4], 7
push 1
push dword [ebp - 0x1174]
push 3
push 0x242
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x44621c
call fcn.0041952f
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402ad2
mov byte [ebp - 4], 6
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00402ad2
mov byte [ebp - 4], 5
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10fc], eax
mov eax, dword [ebp - 0x10fc]
inc eax
push eax
call fcn.0041bfb9
pop ecx
mov dword [ebp - 0x110c], eax
mov eax, dword [ebp - 0x110c]
mov dword [ebp - 0x10f8], eax
mov eax, dword [ebp - 0x10fc]
inc eax
push eax
push 0
push dword [ebp - 0x10f8]
call fcn.0041d130
add esp, 0xc
cmp dword [ebp - 0x10fc], 0
je 0x40d4d9
push 0
lea eax, [ebp - 0x1100]
push eax
push dword [ebp - 0x10fc]
push dword [ebp - 0x10f8]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1108], eax
mov eax, dword [ebp - 0x10f8]
add eax, dword [ebp - 0x10fc]
mov byte [eax], 0
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10f8]
lea ecx, [ebp - 0x88]
call fcn.00408211
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10f8]
mov dword [ebp - 0x1110], eax
push dword [ebp - 0x1110]
call fcn.0041c049
pop ecx
and dword [ebp - 0x10f8], 0
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406e42
mov eax, dword [ebp - 0x1114]
or eax, 1
mov dword [ebp - 0x1114], eax
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00402ad2
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00402ad2
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.004050af
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c438
leave
ret 0x24