Function at 0x42d910
Capabilities:
Check for time delay via gettickcount
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows
Read pipe

Disassembly:
push 0xffffffffffffffff
push 0x49fb66
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.00484720
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x1098], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0x10b0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10d0]
mov esi, dword [esp + 0x10c0]
mov ecx, dword [esp + 0x10c8]
mov edi, dword [esp + 0x10d4]
mov edx, dword [esp + 0x10dc]
mov ebx, dword [esp + 0x10cc]
mov dword [esp + 0x64], eax
xor ebp, ebp
mov eax, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp esi, ebp
je 0x42e02a
cmp word [esi], bp
je 0x42e02a
cmp ecx, ebp
je 0x42e02a
push 0x40
lea ecx, [esp + 0x70]
push ebp
push ecx
call fcn.00482db0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 0x44
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebp
cmp edi, ebp
je 0x42da8c
push ebp
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreatePipe]
push ecx
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x58], 1
call ebp
test eax, eax
je 0x42db51
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push edx
call edi
test eax, eax
je 0x42db3e
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x30]
push edx
call ebp
mov eax, dword [esp + 0x38]
push 0
push 1
push eax
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
or dword [esp + 0x94], 0x100
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046083a
xor ebp, ebp
add esp, 4
mov dword [ebx], eax
cmp eax, ebp
je 0x42dfb4
lea ecx, [edi + edi + 2]
push ecx
push esi
push eax
call fcn.00484120
mov esi, dword [esp + 0x58]
add esp, 0xc
cmp esi, ebp
je 0x42dadb
mov ecx, esi
call fcn.00401580
mov ecx, dword [ebx]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x6c]
push eax
push ebp
push ebp
push 0x8000420
push 1
push ebp
push ebp
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42df83
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x42df72
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
cmp esi, ebp
je 0x42df17
mov eax, dword [esp + 0x10d8]
cmp eax, 0xffffffff
jne 0x42db64
mov dword [esp + 0x34], 1
xor ebx, ebx
jmp 0x42db6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
xor ebp, ebp
jmp 0x42dfbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
xor ebp, ebp
jmp 0x42dfbe
mov dword [esp + 0x34], ebp
mov ebx, eax
lea ecx, [esp + 0x18]
call fcn.004016e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x10b8], ebp
call fcn.004016e0
push 1
push ebp
lea eax, [esp + 0x48]
push eax
push 2
mov byte [esp + 0x10c8], 1
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebp
je 0x42de62
jmp 0x42dba9
xor ebp, ebp
cmp eax, 1
jne 0x42dbb2
mov esi, eax
jmp 0x42dbbd
cmp eax, 0x102
jne 0x42de76
mov edi, dword [esp + 0x10c4]
cmp edi, 0xffffffff
je 0x42dbdb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x60]
cmp eax, edi
ja 0x42de8c
mov edx, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebp
push ebp
push ebp
push edx
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x42de44
cmp dword [esp + 0x2c], ebp
je 0x42de44
mov edx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x40]
push eax
push 0x1000
lea ecx, [esp + 0xb8]
push ecx
push edx
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42de3a
cmp dword [esp + 0x3c], ebp
je 0x42de3a
lea ecx, [esp + 0x18]
xor ebp, ebp
call fcn.00401580
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x34], ebp
je 0x42dd0c
mov dl, byte [esp + 0xae]
mov cl, byte [esp + 0xad]
mov al, byte [esp + 0xac]
mov dword [esp + 0x34], ebp
cmp esi, 3
jb 0x42dc9f
cmp al, 0xef
jne 0x42dc87
cmp cl, 0xbb
jne 0x42dc9f
cmp dl, 0xbf
jne 0x42dc9f
lea ebx, [ebp + 1]
jmp 0x42dc9a
cmp al, 0xe
jne 0x42dc9f
cmp cl, 0xfe
jne 0x42dc9f
cmp dl, 0xff
jne 0x42dc9f
mov ebx, 6
mov ebp, 3
cmp esi, 2
jb 0x42dcc7
cmp al, 0xfe
jne 0x42dcb6
cmp cl, 0xff
jne 0x42dcc7
mov ebp, 2
mov ebx, ebp
jmp 0x42dcc7
cmp al, 0xff
jne 0x42dcc7
cmp cl, 0xfe
jne 0x42dcc7
mov ebp, 2
lea ebx, [ebp + 1]
cmp esi, 4
jb 0x42dd0c
test al, al
jne 0x42dcec
test cl, cl
jne 0x42dd0c
cmp dl, 0xfe
jne 0x42dd0c
cmp byte [esp + 0xaf], 0xff
jne 0x42dd0c
mov ebp, 4
mov ebx, ebp
jmp 0x42dd0c
cmp al, 0xff
jne 0x42dd0c
cmp cl, 0xfe
jne 0x42dd0c
test dl, dl
jne 0x42dd0c
cmp byte [esp + 0xaf], dl
jne 0x42dd0c
mov ebp, 4
mov ebx, 5
sub esi, ebp
lea edi, [esp + ebp + 0xac]
cmp ebx, 3
ja case.default.0x42dd1e
jmp dword [ebx*4 + 0x42e034]
mov ecx, dword [0x4d7dac]
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call fcn.00425bd0
add esp, 0x10
test eax, eax
jne 0x42de2a
push esi
push edi
push esi
lea ecx, [esp + 0x3c]
call fcn.00423cc0
push eax
call fcn.00484120
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
lea ecx, [esp + 0x1c]
call fcn.00406520
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
call fcn.00407840
jmp 0x42de48
test esi, esi
je 0x42de2a
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
test ebp, ebp
jle 0x42dea0
push ebp
lea ecx, [esp + 0x1c]
call fcn.004051a0
push ebp
push eax
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42de1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x42dec2
shr esi, 1
push esi
lea ecx, [esp + 0x1c]
call fcn.004051a0
test esi, esi
jle 0x42de1f
sub edi, eax
mov cx, word [edi + eax]
rol cx, 8
mov word [eax], cx
add eax, 2
sub esi, 1
jne 0x42dde0
jmp 0x42de1f
shr esi, 1
push esi
lea ecx, [esp + 0x1c]
call fcn.004051a0
test esi, esi
jle 0x42de1f
sub edi, eax
jmp 0x42de10
mov dx, word [edi + eax]
mov word [eax], dx
add eax, 2
sub esi, 1
jne 0x42de10
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00405150
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
call fcn.00407840
jmp 0x42de48
cmp esi, ebp
je 0x42de48
mov dword [esp + 0x1c], ebp
jmp 0x42dec2
cmp esi, ebp
jne 0x42deba
push 1
xor esi, esi
push esi
lea ecx, [esp + 0x48]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x42dba7
mov edx, dword [esp + 0x14]
mov dword [edx], 0x4d3
mov dword [esp + 0x1c], 4
jmp 0x42dec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [esp + 0x1c], 3
jmp 0x42dec2
mov edx, dword [esp + 0x14]
mov dword [edx], 0x102
mov dword [esp + 0x1c], 2
jmp 0x42dec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
jmp 0x42dec2
mov eax, dword [esp + 0x14]
mov dword [eax], 0x32
jmp 0x42dec2
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x30]
call fcn.0041f860
lea ecx, [esp + 0x18]
call fcn.0041f860
mov esi, dword [esp + 0x1c]
xor ebp, ebp
test esi, esi
jne 0x42df94
mov eax, dword [esp + 0x50]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42df5f
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42df94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 3
jmp 0x42df8e
mov ecx, dword [esp + 0x10c4]
push ecx
push ebp
lea edx, [esp + 0x48]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebp
jne 0x42df42
mov eax, dword [esp + 0x14]
mov dword [eax], 0x4d3
mov esi, 4
jmp 0x42df94
cmp eax, 1
jne 0x42df4b
xor esi, esi
jmp 0x42dee2
cmp eax, 0x102
jne 0x42df5f
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov esi, 2
jmp 0x42df94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
mov esi, 3
jmp 0x42df94
mov eax, dword [esp + 0x14]
mov dword [eax], 9
mov esi, 3
jmp 0x42dfa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x42dfa3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x42dfc2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42dfc2
mov edx, dword [esp + 0x14]
mov dword [edx], 0xe
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
je 0x42dfd7
push eax
call edi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x42dfe6
push eax
call edi
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x42dff5
push eax
call edi
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x42e000
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x10b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1098]
xor ecx, esp
call fcn.00482b5f
add esp, 0x10a8
mov dword [edx], 0xb
jmp 0x42e002