Function at 0x4265c0
Capabilities:
Check for time delay via gettickcount
Create pipe
Create process on windows
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x426b9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
add eax, 0x20
call fcn.00406c68
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x426b6f
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
xor eax, eax
mov dword [ebp - 0x4c], eax
xor edx, edx
push ebp
push 0x426b65
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x31], 0
je 0x42666c
push 0x8003
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x30], 0
je 0x426701
mov eax, dword [0x46d944]
call fcn.00407780
push eax
push 0xffffffffffffffff
push 6
call sub.KERNEL32.DLL_OpenJobObjectW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x426701
xor eax, eax
push ebp
push 0x4266fa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x70
lea eax, [ebp - 0x128]
push eax
push 9
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_QueryInformationJobObject
test eax, eax
je 0x4266e3
or dword [ebp - 0x118], 0x800
push 0x70
lea eax, [ebp - 0x128]
push eax
push 9
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_SetInformationJobObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426701
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x18], 0
je 0x426815
lea eax, [ebp - 0xb4]
xor ecx, ecx
mov edx, 0xc
call fcn.004051b8
mov dword [ebp - 0xb4], 0xc
mov dword [ebp - 0xac], 0xffffffff
push 0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_CreatePipe
test eax, eax
jne 0x426762
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffffc
call fcn.00406434
jmp 0x426b6f
push 0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.KERNEL32.DLL_CreatePipe
test eax, eax
jne 0x426790
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffffb
call fcn.00406434
jmp 0x426b6f
push 0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_CreatePipe
test eax, eax
jne 0x4267be
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffffa
call fcn.00406434
jmp 0x426b6f
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x426bbc
call fcn.0040731c
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.004071b8
mov esi, eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4267ec
sub ebx, 4
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 4]
push eax
push ebx
push esi
mov eax, dword [ebp - 0x34]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x426815
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffff9
call fcn.00406434
jmp 0x426b6f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42682a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x426874
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, 0x426bcc
call fcn.004250e0
push dword [ebp - 0x12c]
push 0x426bcc
push 0x426bcc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004079e0
mov eax, dword [ebp - 0x1c]
call fcn.00407780
mov esi, eax
or dword [ebp - 0x28], 0x400
jmp 0x426876
xor esi, esi
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004241c0
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
mov ecx, 0x426bdc
mov eax, dword [ebp - 0x14]
call fcn.00425150
mov eax, dword [ebp - 0x18]
call fcn.00407780
mov dword [ebp - 0x24], eax
xor ebx, ebx
lea eax, [ebp - 0x98]
xor ecx, ecx
mov edx, 0x44
call fcn.004051b8
mov dword [ebp - 0x98], 0x44
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x10]
mov word [ebp - 0x68], ax
mov dword [ebp - 0x6c], 1
mov edx, dword [ebp - 0xc]
cmp byte [edx + 0x18], 0
je 0x4268f9
or dword [ebp - 0x6c], 0x100
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x58], edx
mov bl, 1
test ax, ax
jne 0x426905
or dword [ebp - 0x28], 0x8000000
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x30], 0
je 0x426915
or dword [ebp - 0x28], 0x1000000
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x10
call fcn.004051b8
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x42693f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
call fcn.00407780
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
push edi
push esi
mov eax, dword [ebp - 0x28]
push eax
cmp bl, 1
cmc
sbb eax, eax
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
jne 0x426981
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffffe
call fcn.00406434
jmp 0x426b6f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xa8]
mov dword [eax + 0x3c], edx
xor eax, eax
push ebp
push 0x426ad3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xa4]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x18], 0
je 0x426a1f
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
push 0x64
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4269e5
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xffffffff
call fcn.00406434
call fcn.00406434
jmp 0x426b6f
push ebp
xor edx, edx
mov eax, dword [ebp - 0x38]
call fcn.00426450
pop ecx
push ebp
mov dl, 1
mov eax, dword [ebp - 0x40]
call fcn.00426450
pop ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0xffffffff
je 0x426a15
call sub.KERNEL32.DLL_GetTickCount
sub eax, esi
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 8]
ja 0x426a52
cmp ebx, 0x102
je 0x4269b7
jmp 0x426a52
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x426a52
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xffffffff
call fcn.00406434
call fcn.00406434
jmp 0x426b6f
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
jne 0x426a8c
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0xfffffffd
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x3c], edx
call fcn.00406434
call fcn.00406434
jmp 0x426b6f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x34], edx
mov byte [ebp - 0x1d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ada
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3c], 0
je 0x426ad2
cmp byte [ebp - 0x1d], 0
je 0x426abe
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x38], 0
je 0x426ad2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x3c], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ba4
lea eax, [ebp - 0x12c]
call fcn.00406c44
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406ca4
lea eax, [ebp - 8]
call fcn.00406c68
ret