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

Disassembly:
push 0xffffffffffffffff
push 0x11fa9248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xffffffffffffffdd
lea ecx, [esp + 0x24]
call fcn.11e15fa0
xor ebp, ebp
push 0x12124b2c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], ebp
call fcn.11e7eae0
mov bl, 1
mov ecx, 0x1212b5c0
mov byte [esp + 0x40], bl
mov edi, 6
call fcn.11d71190
test eax, eax
je 0x11d501d3
mov ecx, 0x1212b5c0
call fcn.11d68780
test eax, eax
je 0x11d5014a
mov ecx, 0x1212b5c0
call fcn.11d68790
test eax, eax
jne 0x11d501d3
mov ecx, 0x1212b5c0
call fcn.11d68780
test eax, eax
jne 0x11d5016a
mov ecx, 0x1212b5c0
call fcn.11d68790
test eax, eax
je 0x11d502d1
push 0x12124b2c
call fcn.11e67d05
add esp, 4
test eax, eax
jbe 0x11d501d3
lea eax, [esp + 0x14]
push ebp
push eax
push 0x12124b2c
mov dword [esp + 0x20], ebp
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x11d501d3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.11d4fdc0
cmp eax, ebp
mov ecx, 0x1212b5c0
je 0x11d501bc
call fcn.11d68780
test eax, eax
je 0x11d502c5
jmp 0x11d501c9
call fcn.11d68790
test eax, eax
je 0x11d502cc
mov eax, dword [esp + 0x14]
push eax
call sub.WINSPOOL.DRV_ClosePrinter
mov ecx, 0x1212b5c0
call fcn.11d856a0
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
test eax, eax
je 0x11d5023b
cmp dword [0x12133f80], ebp
je 0x11d50224
mov esi, dword [0x12126854]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 8]
push eax
mov eax, dword [edi + 0xc]
push edx
mov edx, dword [edi + 4]
push eax
push ecx
push edx
push ebx
push esi
push str.__s__CSafePrinter::OnStartDocW___hdc__x___DocName__s___Output__s___Datatype__s___fwType__x___TID__d__n
push str.print
push 4
call fcn.11ca5810
add esp, 0x28
push ebp
push ebp
push ebp
mov ecx, 0x1212b5c0
call fcn.11d60760
push eax
push ebx
call fcn.11e101c0
add esp, 8
lea ecx, [esp + 0x20]
call fcn.11e16060
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x4c]
push edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x4c]
push eax
push ecx
push ebp
call fcn.11e15b00
mov eax, dword [esp + 0x60]
add esp, 0x10
test eax, eax
je 0x11d5040f
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
push edi
push ebx
push esi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], edx
jmp 0x11d50443
mov edi, 4
jmp 0x11d502d1
mov edi, 5
push 2
lea ecx, [esp + 0x30]
call fcn.11e15fa0
mov eax, dword [0x12133f80]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x11d50304
mov eax, dword [0x12126854]
push eax
push str.__s__CSafePrinter::OnStartDocW
push str.DisablePrinter
push 4
call fcn.11ca5810
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.11e15fd0
mov eax, dword [esi + 4]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x11d5032e
call ebp
sub eax, dword [esi + 4]
cmp eax, 0x1388
jbe 0x11d503de
cmp edi, 6
jne 0x11d5038f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push 0
push ecx
push edx
mov dword [esp + 0x58], 0
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x11d5038f
mov eax, dword [0x11fd6250]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.11d4fdc0
neg eax
sbb eax, eax
add eax, 5
mov edi, eax
mov eax, dword [esp + 0x4c]
push eax
call sub.WINSPOOL.DRV_ClosePrinter
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.11e7f280
mov ecx, dword [0x11fd6250]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x50]
mov byte [esp + 0x40], 4
test eax, eax
je 0x11d503b7
mov eax, dword [eax + 4]
test eax, eax
je 0x11d503b7
push eax
lea ecx, [esp + 0x18]
call fcn.11e7f500
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push edi
mov ecx, 0x1212b510
call fcn.11df7430
call ebp
mov dword [esi + 4], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call fcn.11e7f280
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x10], 5
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.11e15fd0
xor eax, eax
jmp 0x11d504c4
mov ebp, dword [esi + 0x18]
test ebp, ebp
je 0x11d50443
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
call ebp
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11d50443
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov esi, dword [esi + 0x14]
lea ecx, [esp + 0x20]
call fcn.11e16040
mov ecx, 0x1212b5c0
call fcn.11d856a0
test eax, eax
je 0x11d504a3
push 0
push 0
push 0
mov ecx, 0x1212b5c0
call fcn.11d60760
push eax
push esi
call fcn.11e0fe90
mov eax, dword [0x12133f80]
add esp, 8
test eax, eax
je 0x11d504a3
mov edi, dword [0x12126854]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push edi
push str.__s__CSafePrinter::OnStartDocW___JobId__d___TID__d__n
push str.print
push 4
call fcn.11ca5810
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.11e15fd0
mov eax, esi
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc