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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4c853c
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 0x4c890f
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 0x4c88ea
xor eax, eax
push ebp
push 0x4c88e3
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 0x4c88c5
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 0x4c8726
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jb 0x4c8726
inc edi
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x3b1], 0
je 0x4c8708
mov eax, dword [esi + 0x3b4]
mov edx, 1
call fcn.004e92bc
lea ecx, [ebp - 0x34]
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c8928
call fcn.00481428
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x3b4]
call fcn.004e909c
lea ecx, [ebp - 0x3c]
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c895c
call fcn.00481428
push dword [ebp - 0x3c]
push 0x4c896c
push 0x4c8978
push dword [ebp - 4]
push 0x4c8984
lea ecx, [ebp - 0x40]
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c8998
call fcn.00481428
push dword [ebp - 0x40]
push 0x4c896c
push 0x4c89a4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.0040ab14
push dword [ebp - 0x44]
push 0x4c89b0
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.004e90fc
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 0x4c861d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x24], eax
jmp 0x4c8896
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 0x4c888c
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jb 0x4c888c
inc edi
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x3b1], 0
je 0x4c886e
mov eax, dword [esi + 0x3b4]
mov edx, 1
call fcn.004e92bc
lea ecx, [ebp - 0x4c]
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x4c89c0
call fcn.00481428
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x3b4]
call fcn.004e909c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
push eax
mov edx, 0x4c895c
pop eax
pop ecx
call fcn.00481428
push dword [ebp - 0x54]
push 0x4c896c
push 0x4c8978
push dword [ebp - 4]
push 0x4c8984
mov edx, 0x4c8998
lea ecx, [ebp - 0x58]
mov eax, dword [0x4f3424]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00481428
push dword [ebp - 0x58]
push 0x4c896c
push 0x4c89a4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.0040ab14
push dword [ebp - 0x5c]
push 0x4c89b0
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.004e90fc
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 0x4c877f
push 0x3e8
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x20], 0
jbe 0x4c88af
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x24]
cmp eax, 0x61a8
jb 0x4c8739
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c88cc
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 0x4c8916
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00405700
lea eax, [ebp - 4]
call fcn.004056dc
ret