Function at 0x4c8c34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4c8c3c
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
xor eax, eax
push ebp
push 0x4c900f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0xc
call fcn.00403b3c
mov dword [ebp - 0x28], 0xf000c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b6c
push eax
call sub.winspool.drv_OpenPrinterA
test eax, eax
je 0x4c8fea
xor eax, eax
push ebp
push 0x4c8fe3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 8]
push eax
call sub.winspool.drv_EnumJobsA
mov eax, dword [ebp - 0x14]
call fcn.00402ef8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c8fc5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 8]
push eax
call sub.winspool.drv_EnumJobsA
mov ebx, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
jbe 0x4c8e26
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jb 0x4c8e26
inc edi
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x3b1], 0
je 0x4c8e08
mov eax, dword [esi + 0x3b4]
mov edx, 1
call fcn.004ea6f8
lea ecx, [ebp - 0x34]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c9028
call fcn.00481428
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x3b4]
call fcn.004ea4d8
lea ecx, [ebp - 0x3c]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c905c
call fcn.00481428
push dword [ebp - 0x3c]
push 0x4c906c
push 0x4c9078
push dword [ebp - 4]
push 0x4c9084
lea ecx, [ebp - 0x40]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c9098
call fcn.00481428
push dword [ebp - 0x40]
push 0x4c906c
push 0x4c90a4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.0040ab14
push dword [ebp - 0x44]
push 0x4c90b0
lea eax, [ebp - 0x48]
mov edx, dword [ebx + 0x10]
call fcn.004058d4
push dword [ebp - 0x48]
lea eax, [ebp - 0x38]
mov edx, 0xb
call fcn.00405a70
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x3b4]
call fcn.004ea538
mov eax, 0x5dc
xor edx, edx
div dword [ebp - 0x18]
push eax
call sub.kernel32.dll_Sleep_1
push 5
push ebx
push 2
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.winspool.drv_SetJobA
add ebx, 0x68
inc dword [ebp - 0x1c]
dec edi
jne 0x4c8d1d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x24], eax
jmp 0x4c8f96
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 8]
push eax
call sub.winspool.drv_EnumJobsA
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
jbe 0x4c8f8c
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jb 0x4c8f8c
inc edi
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x3b1], 0
je 0x4c8f6e
mov eax, dword [esi + 0x3b4]
mov edx, 1
call fcn.004ea6f8
lea ecx, [ebp - 0x4c]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c90c0
call fcn.00481428
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x3b4]
call fcn.004ea4d8
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
push eax
mov edx, 0x4c905c
pop eax
pop ecx
call fcn.00481428
push dword [ebp - 0x54]
push 0x4c906c
push 0x4c9078
push dword [ebp - 4]
push 0x4c9084
mov edx, 0x4c9098
lea ecx, [ebp - 0x58]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00481428
push dword [ebp - 0x58]
push 0x4c906c
push 0x4c90a4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.0040ab14
push dword [ebp - 0x5c]
push 0x4c90b0
lea eax, [ebp - 0x60]
mov edx, dword [ebx + 0x10]
call fcn.004058d4
push dword [ebp - 0x60]
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00405a70
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0x3b4]
call fcn.004ea538
mov eax, 0x5dc
xor edx, edx
div dword [ebp - 0x18]
push eax
call sub.kernel32.dll_Sleep_1
push 5
push ebx
push 2
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.winspool.drv_SetJobA
add ebx, 0x68
inc dword [ebp - 0x1c]
dec edi
jne 0x4c8e7f
push 0x3e8
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x20], 0
jbe 0x4c8faf
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x24]
cmp eax, 0x61a8
jb 0x4c8e39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8fcc
mov eax, dword [ebp - 0xc]
call fcn.00402f14
ret
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9016
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00405700
lea eax, [ebp - 4]
call fcn.004056dc
ret