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

Disassembly:
mov edi, edi
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 0x102f9fe
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 0x102fbfd
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jle 0x102fa26
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x480]
mov ecx, esi
call fcn.0100a84f
lea eax, [ebp - 0x70]
mov dword [ebp - 0x10], eax
xor edi, edi
jmp 0x102fa2b
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0x10], edi
je 0x102fa45
mov eax, dword [esi + 0x4f0]
jmp 0x102fa4b
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 [0x1046700], edi
je 0x102fbdb
cmp dword [ebp - 0x20], edi
je 0x102fbdb
cmp dword [ebp - 4], edi
jbe 0x102fbdb
lea esi, [ebp - 0x60]
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 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 - 0x48]
push ebx
sub eax, dword [ebp - 0x50]
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 - 0x44]
sub eax, dword [ebp - 0x4c]
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 - 0x50]
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]
jb 0x102fb09
jmp 0x102fbc9
mov edi, dword [ebp - 8]
cmp edi, dword [ebp - 0x14]
je 0x102fb7d
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 - 0x50]
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 - 0x4c]
add ecx, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.0102f8b7
cmp dword [ebp + 0x10], 0
je 0x102fb6b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x40]
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 dword [ebp - 0x14], eax
mov edi, eax
call ebx
mov ecx, eax
sub ecx, edi
cmp ecx, 0x14
jae 0x102fb94
sub edi, eax
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [ebp + 0x10], eax
jne 0x102fbb6
lea ecx, [ebp - 0x30]
push ecx
push 0x32
push 2
push eax
push eax
push 0x45d
push dword [0x1046088]
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 0x102fb06
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 - 0x60]
push eax
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.0102f8b7
cmp dword [ebp + 0x10], edi
je 0x102fbfd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
leave
ret 0xc