Function at 0x100df750
Capabilities:
Check for time delay via gettickcount
Read file on windows
Read pipe

Disassembly:
mov eax, 0x1130
call fcn.100b4600
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x112c], eax
mov eax, dword [esp + 0x1134]
mov edx, dword [esp + 0x1140]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1140]
mov dword [esp + 0x18], ecx
push eax
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 1
call fcn.100df6b0
mov eax, dword [esi + 8]
xor ebx, ebx
push eax
mov byte [esi + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
test eax, eax
je 0x100df97c
mov edx, dword [0x102b0b9c]
mov eax, dword [edx + 0xc]
mov ecx, 0x102b0b9c
call eax
add eax, 0x10
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov dword [esp + 0x28], eax
push edi
mov ecx, dword [esi + 0x18]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
lea edx, [esp + 0x148]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x100df995
cmp dword [esp + 0x14], ebx
jbe 0x100df8e8
mov eax, dword [esi + 0xc]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x144]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100df938
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100df938
lea ecx, [esp + 0x38]
push 0xfde9
lea edx, [esp + 0x13c]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + eax + 0x140], bl
call fcn.1001a120
mov edx, dword [esp + 0x34]
cmp edx, ebx
jne 0x100df889
xor eax, eax
jmp 0x100df89f
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100df890
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100036b0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x100df8bf
push eax
call fcn.100b2b5c
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100df900
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jl 0x100df900
push ecx
push eax
call fcn.100b2ecd
add esp, 8
cmp eax, ebx
je 0x100df900
sub eax, dword [esp + 0x10]
sar eax, 1
jns 0x100df938
jmp 0x100df900
cmp byte [esp + 0x1154], bl
je 0x100df8f8
call fcn.100d89f0
jmp 0x100df900
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x114c]
cmp edi, 0xffffffff
je 0x100df91e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x2c]
cmp eax, edi
jg 0x100df9a0
cmp ebp, 0x102
je 0x100df7d6
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.100dec40
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
cmp ecx, ebx
je 0x100df958
lea edx, [esp + 8]
push edx
call fcn.10003630
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df978
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1134]
pop esi
pop ebx
xor ecx, esp
call fcn.100b2738
add esp, 0x1130
ret 0x14
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x28]
push edx
push eax
jmp 0x100df932
or eax, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esp + 0x18], eax
jmp 0x100df938