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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb62c
mov eax, dword fs:[0]
push eax
mov eax, 0x2488
call fcn.10041750
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2430], edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2434], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2438], eax
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2410], ax
lea eax, [ebp - 0x240e]
push eax
mov dword [ebp - 0x2450], ebx
call fcn.1003e9c0
push esi
lea eax, [ebp - 0x2410]
push 0x1012dd84
push eax
call fcn.10039666
push 0x40
lea eax, [ebp - 0x2490]
push 0
push eax
call fcn.1003e9c0
xor ecx, ecx
mov dword [ebp - 0x2494], 0x44
xor eax, eax
mov dword [ebp - 0x2414], ecx
add esp, 0x24
mov word [ebp - 0x2464], ax
mov dword [ebp - 0x241c], ecx
test ebx, ebx
je 0x1000a38b
push ecx
lea eax, [ebp - 0x242c]
mov dword [ebp - 0x242c], 0xc
push eax
lea eax, [ebp - 0x241c]
mov dword [ebp - 0x2428], ecx
push eax
xor ebx, ebx
lea eax, [ebp - 0x2414]
inc ebx
push eax
mov dword [ebp - 0x2424], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1000a387
push 0
push ebx
push dword [ebp - 0x2414]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov eax, dword [ebp - 0x241c]
xor ecx, ecx
mov dword [ebp - 0x2468], 0x101
mov dword [ebp - 0x2458], eax
mov dword [ebp - 0x2454], eax
jmp 0x1000a394
xor ecx, ecx
jmp 0x1000a38e
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2468], ebx
xor eax, eax
mov dword [ebp - 0x2448], ecx
lea edi, [ebp - 0x2444]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2448]
push eax
lea eax, [ebp - 0x2494]
mov edi, ecx
push eax
push ecx
push ecx
push ecx
push ebx
push ecx
push ecx
lea eax, [ebp - 0x2410]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000a5f0
cmp dword [ebp - 0x2430], 0
je 0x1000a41c
cmp dword [ebp - 0x2414], 0
jne 0x1000a429
push dword [ebp + 8]
push dword [ebp - 0x2448]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
shl edi, 0x10
movzx eax, si
or edi, eax
mov eax, dword [ebp - 0x2438]
test eax, eax
je 0x1000a41c
push eax
push dword [ebp - 0x2448]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x2414], 0
je 0x1000a5ab
xor eax, eax
mov esi, eax
mov dword [ebp - 0x242c], eax
mov dword [ebp - 0x2428], esi
mov dword [ebp - 0x2424], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2418], ebx
mov dword [ebp - 0x2420], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x244c], eax
cmp dword [ebp - 0x2420], 0x103
je 0x1000a47f
cmp dword [ebp - 0x2418], 0
je 0x1000a54f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x244c]
cmp eax, dword [ebp + 8]
ja 0x1000a54f
xor ecx, ecx
lea eax, [ebp - 0x2418]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x2414]
call edi
cmp dword [ebp - 0x2418], 0
je 0x1000a509
push 0
lea eax, [ebp - 0x2418]
push eax
push 0x3fe
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x2414]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x2418]
cmp eax, 0x400
jae 0x1000a54a
push dword [ebp - 0x2434]
lea ecx, [ebp - 0x410]
add eax, ecx
push eax
mov byte [eax], 0
mov eax, ecx
push eax
push esi
lea ecx, [ebp - 0x242c]
call fcn.1000ffa5
mov esi, dword [ebp - 0x2428]
jmp 0x1000a511
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2420]
push eax
push dword [ebp - 0x2448]
call ebx
cmp dword [ebp - 0x2420], 0x103
je 0x1000a47f
xor ecx, ecx
lea eax, [ebp - 0x2418]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x2414]
call edi
jmp 0x1000a466
call fcn.1003a484
mov eax, dword [ebp - 0x2438]
test eax, eax
je 0x1000a562
push eax
push dword [ebp - 0x2448]
call ebx
mov ebx, dword [ebp - 0x242c]
sub esi, ebx
cmp esi, dword [ebp + 0x18]
cmovge esi, dword [ebp + 0x18]
test esi, esi
jle 0x1000a59b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push ebx
push dword [ebp - 0x2450]
call fcn.1003da60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
shl edi, 0x10
jmp 0x1000a5a0
mov edi, 0x3e80000
test ebx, ebx
je 0x1000a5ab
push ebx
call fcn.10038969
pop ecx
mov eax, dword [ebp - 0x2448]
test eax, eax
je 0x1000a5d9
cmp dword [ebp - 0x2430], 0
je 0x1000a5c4
cmp dword [ebp + 8], 0
jne 0x1000a5d2
mov ecx, dword [ebp - 0x2434]
test ecx, ecx
je 0x1000a5d2
mov dword [ecx], eax
jmp 0x1000a5d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2444], 0
je 0x1000a5fc
push dword [ebp - 0x2444]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a5fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
shl edi, 0x10
cmp dword [ebp - 0x2414], 0
je 0x1000a611
push dword [ebp - 0x2414]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x241c], 0
je 0x1000a626
push dword [ebp - 0x241c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret