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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x45cd0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov al, byte [eax + 0x44]
xor al, 1
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x45c8d9
mov eax, dword [0x47ce50]
mov eax, dword [eax]
call fcn.0042fe2c
mov eax, dword [0x47ce48]
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x45c8ed
push 0x30
call sub.user32.dll_MessageBeep
jmp 0x45ccf5
mov eax, dword [0x47cf00]
mov eax, dword [eax]
call fcn.0045b918
or eax, 0xffffffff
call fcn.004765e4
mov dword [ebp - 0x34], 8
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x48
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 0x30], 0
jne 0x45c970
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov dl, byte [ebp - 0x25]
call fcn.0042be64
cmp byte [ebp - 0x25], 0
je 0x45c947
mov eax, dword [0x47cddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x58]
mov ecx, 0x45cd24
call fcn.00403ce0
mov eax, dword [ebp - 0x58]
mov edx, 8
call fcn.0047738c
jmp 0x45ccf5
mov eax, dword [0x47cddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x58]
mov ecx, 0x45cd38
call fcn.00403ce0
mov eax, dword [ebp - 0x58]
mov edx, 0x10
call fcn.0047738c
jmp 0x45ccf5
push 0
push 0x45cd44
push 0
push 0
push 0x45cd54
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45ccf5
cmp byte [ebp - 0x25], 0
je 0x45c9be
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.00424440
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.user32.dll_GetWindowRect
jmp 0x45c9de
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.00424440
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x44]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov dword [ebp - 0x24], 0xa
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x54]
sub ecx, edx
mov dword [ebp - 0x5c], ecx
fild dword [ebp - 0x5c]
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 4]
wait
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
fild dword [ebp - 0x5c]
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 8]
wait
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
sub ecx, eax
mov dword [ebp - 0x5c], ecx
fild dword [ebp - 0x5c]
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 0xc]
wait
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
sub eax, edx
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fild dword [ebp - 0x24]
fdivp st(1)
fstp dword [ebp - 0x10]
wait
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x25], 0
je 0x45cb79
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x50]
sub eax, esi
push eax
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
sub eax, ebx
push eax
push esi
push ebx
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.00424440
push eax
call sub.user32.dll_MoveWindow
mov eax, dword [0x47cddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x58]
mov ecx, 0x45cd24
call fcn.00403ce0
mov eax, dword [ebp - 0x58]
mov edx, 8
call fcn.0047738c
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov dl, 1
call fcn.0042be64
xor eax, eax
push ebp
push 0x45cb6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.0041b88c
mov dword [ebp - 0x2c], eax
mov eax, dword [0x47ce48]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [0x47cddc]
mov eax, dword [eax]
imul edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x47ce48]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [0x47cddc]
mov eax, dword [eax]
imul edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
call fcn.0041bda4
mov edx, eax
mov eax, dword [0x47ce28]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00469030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cb79
mov edi, dword [ebp - 0x24]
test edi, edi
jle 0x45cc91
mov ebx, 1
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0xffffffffffffffff
mov dword [ebp - 0x5c], ebx
fild dword [ebp - 0x5c]
fmul dword [ebp - 0x10]
call fcn.00402984
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
add eax, edx
push eax
mov dword [ebp - 0x60], ebx
fild dword [ebp - 0x60]
fmul dword [ebp - 0xc]
call fcn.00402984
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
add eax, edx
push eax
mov dword [ebp - 0x64], ebx
fild dword [ebp - 0x64]
fmul dword [ebp - 8]
call fcn.00402984
add eax, dword [ebp - 0x50]
push eax
mov dword [ebp - 0x68], ebx
fild dword [ebp - 0x68]
fmul dword [ebp - 4]
call fcn.00402984
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.00424440
push eax
call sub.user32.dll_MoveWindow
cmp byte [ebp - 0x25], 0
je 0x45cc6a
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
xor edx, edx
xor eax, eax
call fcn.0040d748
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
xor edx, edx
xor eax, eax
call fcn.0040d748
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0041bda4
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.0042c3d0
pop ecx
pop edx
call fcn.004175f8
cmp ebx, dword [ebp - 0x24]
je 0x45cc89
call sub.kernel32.dll_GetTickCount
sub eax, esi
mov edx, 0xa
sub edx, eax
mov esi, edx
test esi, esi
jle 0x45cc89
push esi
call sub.kernel32.dll_Sleep
inc ebx
dec edi
jne 0x45cb89
mov eax, dword [ebp - 0x2c]
call fcn.00402e80
cmp byte [ebp - 0x25], 0
jne 0x45ccd1
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
xor edx, edx
call fcn.0042be64
mov eax, dword [0x47cddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x58]
mov ecx, 0x45cd38
call fcn.00403ce0
mov eax, dword [ebp - 0x58]
mov edx, 0x10
call fcn.0047738c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x47cd4c]
mov eax, dword [eax]
call fcn.00424440
push eax
call sub.user32.dll_MoveWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cd12
lea eax, [ebp - 0x58]
call fcn.00403a18
ret