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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1019401
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
push 0
sub edi, ecx
push edi
sub eax, edx
push eax
push ecx
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x1019601
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jle 0x1019429
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x480]
mov ecx, esi
call fcn.01014b5f
lea eax, [ebp - 0x70]
mov dword [ebp - 0x10], eax
xor edi, edi
jmp 0x101942e
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0x10], edi
je 0x1019448
mov eax, dword [esi + 0x4f0]
jmp 0x101944e
mov eax, dword [esi + 0x4ec]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push edi
push 0x1002
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [0x103d794], edi
je 0x10195df
cmp dword [ebp - 0x20], edi
je 0x10195df
cmp dword [ebp - 4], edi
jbe 0x10195df
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x50]
push ebx
sub eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x40]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
push dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
call ebx
mov edi, eax
mov esi, edi
sub esi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
cmp esi, dword [ebp - 4]
jae 0x10195cd
jmp 0x101950d
mov edi, dword [ebp - 8]
cmp edi, dword [ebp - 0x14]
je 0x1019581
mov eax, esi
imul eax, dword [ebp - 0x24]
xor edx, edx
div dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x40]
xor edx, edx
add eax, dword [ebp - 0x60]
add ecx, eax
mov dword [ebp - 0x40], eax
mov eax, esi
imul eax, dword [ebp - 0x28]
div dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x5c]
add ecx, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.010192c3
cmp dword [ebp + 0x10], 0
je 0x101956f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
mov edi, eax
call ebx
mov ecx, eax
sub ecx, edi
cmp ecx, 0x14
jae 0x1019598
sub edi, eax
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [ebp + 0x10], eax
jne 0x10195ba
lea ecx, [ebp - 0x30]
push ecx
push 0x32
push 2
push eax
push eax
push 0x45d
push dword [0x103e450]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
call ebx
mov esi, eax
mov dword [ebp - 8], esi
sub esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 4]
jb 0x101950a
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [ebp - 0x1c]
xor edi, edi
pop ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.010192c3
cmp dword [ebp + 0x10], edi
je 0x1019601
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
leave
ret 0xc