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

Disassembly:
push 0xffffffffffffffff
push 0x11fa92c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0xffffffffffffffdd
lea ecx, [esp + 0x24]
call fcn.11e15fa0
mov eax, dword [0x11fd6250]
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x48], 1
call fcn.11d4fdc0
mov ecx, 0x1212b5c0
mov esi, eax
call fcn.11d71190
test eax, eax
je 0x11d508e4
mov ecx, 0x1212b5c0
call fcn.11d68780
test eax, eax
je 0x11d508aa
mov ecx, 0x1212b5c0
call fcn.11d68790
test eax, eax
jne 0x11d508e4
mov ecx, 0x1212b5c0
call fcn.11d68780
test eax, eax
jne 0x11d508ca
mov ecx, 0x1212b5c0
call fcn.11d68790
test eax, eax
je 0x11d50976
cmp esi, ebp
mov ecx, 0x1212b5c0
je 0x11d50969
call fcn.11d68780
test eax, eax
je 0x11d50976
lea ecx, [esp + 0x20]
call fcn.11e16060
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x18]
lea eax, [esp + 0x48]
push edx
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x28], ebp
call fcn.11e15b00
mov eax, dword [esp + 0x58]
add esp, 0x10
cmp eax, ebp
je 0x11d50a53
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esi + 0xc]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push ecx
push edx
push esi
mov dword [esi + 0x20], eax
call eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], ebp
jmp 0x11d50a94
call fcn.11d68790
test eax, eax
jne 0x11d508e4
push 2
lea ecx, [esp + 0x30]
call fcn.11e15fa0
mov eax, dword [0x12133f80]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x11d509a9
mov eax, dword [0x12126854]
push eax
push str.__s__CSafePrinter::OnStartDocPrinterW
push str.DisablePrinter
push 4
call fcn.11ca5810
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 1
call fcn.11e15fd0
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebp
je 0x11d509d0
call ebx
sub eax, dword [edi + 4]
cmp eax, 0x1388
jbe 0x11d50a25
mov eax, dword [0x11fd6250]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov byte [esp + 0x40], 3
cmp eax, ebp
je 0x11d509f6
mov eax, dword [eax]
cmp eax, ebp
je 0x11d509f6
push eax
lea ecx, [esp + 0x50]
call fcn.11e7f500
neg esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x4c]
sbb esi, esi
push ecx
add esi, 5
push edx
push esi
mov ecx, 0x1212b510
call fcn.11df7430
call ebx
mov dword [edi + 4], eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.11e7f280
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
mov dword [eax + 0x10], 5
mov byte [esp + 0x40], 0
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.11e15fd0
xor eax, eax
jmp 0x11d50ab8
mov edi, dword [esi + 0x18]
cmp edi, ebp
je 0x11d50a94
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
call edi
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 0x11d50a94
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov esi, dword [esi + 0x14]
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 0x10