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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e27e9
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi]
mov ecx, edi
mov dword [ebp - 0x1b4], ebx
call fcn.110eb4b0
push 0
push eax
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push 0
push 2
mov ecx, edi
call edx
push 0x20
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x1a8], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x110d10e1
push ecx
push ebx
mov ecx, eax
call fcn.11170ad0
mov dword [ebp - 0x1a4], eax
jmp 0x110d10e9
mov dword [ebp - 0x1a4], ecx
mov eax, ecx
mov dword [ebp - 0x1b8], eax
push 0
push 1
push 0x110d0f00
mov ecx, eax
mov dword [ebp - 4], 1
mov dword [eax + 8], esi
call fcn.11170830
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 0
push 0
push 1
push 1
mov ecx, ebx
call edx
xor eax, eax
cmp dword [esi + 4], 1
push 1
setg al
add eax, 0x1912
push eax
push edi
call fcn.110ecb00
add esp, 0xc
push 2
mov ecx, edi
call fcn.110eb730
push 0x190
lea ecx, [ebp - 0x1a0]
push 0
push ecx
call sub.MSVCR100.dll_memset
xor edx, edx
add esp, 0xc
mov word [esi + 0x10], dx
mov dword [esi + 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0x64
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1b0], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
jae 0x110d137a
jmp 0x110d11a0
mov ecx, dword [ebp - 0x1b0]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
jne 0x110d11ce
mov eax, dword [esi + 8]
test eax, eax
je 0x110d11ce
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
test eax, eax
jne 0x110d11ea
mov ecx, ebx
call fcn.110c2fb0
test eax, eax
je 0x110d137a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0
push 0
call eax
test eax, eax
jne 0x110d137a
mov ecx, dword [ebp - 0x1a4]
cmp dword [ecx + 0x10], eax
jne 0x110d137a
mov ecx, dword [esi + 0xc]
call fcn.11170990
cmp eax, 0xa
jle 0x110d1228
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x110d1362
mov eax, dword [esi + 4]
mov edx, eax
neg edx
sbb edx, edx
and edx, 0x1fc2
add edx, 0x807f
mov word [ebp - 0x1a0], dx
test eax, eax
je 0x110d1258
movzx ecx, word [esi + 0x10]
mov word [ebp - 0x198], cx
inc ecx
mov word [esi + 0x10], cx
xor edx, edx
cmp eax, 1
setle dl
mov ecx, 0xba
mov word [ebp - 0x19e], cx
lea eax, [ebp - 0x190]
mov ebx, 0x2e
dec edx
and edx, ecx
mov word [ebp - 0x196], dx
movzx edx, word [esi + 0x14]
movzx ecx, dx
add ecx, 5
mov word [eax - 4], cx
movzx ecx, cx
add ecx, 5
mov word [eax - 2], cx
movzx ecx, cx
add ecx, 5
mov word [eax], cx
movzx ecx, cx
add ecx, 5
mov word [eax + 2], cx
add eax, 8
dec ebx
movzx edx, cx
jne 0x110d1285
push ebx
lea eax, [ebp - 0x194]
push 0xba
push eax
mov word [esi + 0x14], dx
call fcn.11123140
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
add esp, 0xc
and eax, 0xffffff
push ebx
mov dword [ebp - 0x19c], eax
push 0x190
lea eax, [ebp - 0x1a0]
push eax
call edx
inc dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1a8]
cmp eax, 0x64
jb 0x110d135c
push ebx
mov ecx, edi
call fcn.110eb730
xor eax, eax
cmp dword [esi + 4], 1
push 0x40000000
setg al
add eax, 0x1912
push eax
push edi
call fcn.110ecb00
push 0x20000000
push str._r_n_r_n
push edi
call fcn.110ec8d0
mov ecx, dword [esi + 0x18]
push ecx
push 0x20000000
push 0x1914
push edi
call fcn.110ecb00
add esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a8], eax
mov ebx, dword [ebp - 0x1b4]
inc dword [ebp - 0x1b0]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
jb 0x110d11a0
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp - 0x1a4]
cmp dword [ecx + 0x10], 0
jne 0x110d13b1
lea esp, [esp]
call fcn.11170920
mov edx, dword [ebp - 0x1a4]
cmp dword [edx + 0x10], 0
je 0x110d13a0
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 0
push 0
push 1
push 0
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
sub ebx, dword [esi + 0x1c]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push 0
push 2
mov ecx, edi
call edx
mov eax, dword [ebp - 0x1ac]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, 0x3e8
jae 0x110d13ff
mov ebx, 0x3e8
mov esi, dword [esi + 0x18]
mov eax, 0x10624dd3
mul ebx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x1ac], eax
xor edx, edx
mov eax, esi
div dword [ebp - 0x1ac]
mov ecx, dword [edi]
mov edx, esi
imul eax, eax, 0x190
push eax
mov eax, dword [ecx + 4]
push ebx
push 0x190
push edx
push 0
push 0x1919
push edi
call eax
mov esi, dword [ebp - 0x1a4]
add esp, 0x1c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.11170b30
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4