Function at 0x103272d
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 0x103276f
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 0x103296e
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jle 0x1032797
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x484]
mov ecx, esi
call fcn.0101e5c5
lea eax, [ebp - 0x70]
mov dword [ebp - 0x10], eax
xor edi, edi
jmp 0x103279c
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 0x10327b6
mov eax, dword [esi + 0x4f4]
jmp 0x10327bc
mov eax, dword [esi + 0x4f0]
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 [0x1047460], edi
je 0x103294c
cmp dword [ebp - 0x20], edi
je 0x103294c
cmp dword [ebp - 4], edi
jbe 0x103294c
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 0x103287a
jmp 0x103293a
mov edi, dword [ebp - 8]
cmp edi, dword [ebp - 0x14]
je 0x10328ee
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.01032628
cmp dword [ebp + 0x10], 0
je 0x10328dc
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 0x1032905
sub edi, eax
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [ebp + 0x10], eax
jne 0x1032927
lea ecx, [ebp - 0x30]
push ecx
push 0x32
push 2
push eax
push eax
push 0x45d
push dword [0x104608c]
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 0x1032877
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.01032628
cmp dword [ebp + 0x10], edi
je 0x103296e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
leave
ret 0xc