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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
mov esi, edx
lea edi, [ebp - 0x24]
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 - 8], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x615a3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x2a2], 1
mov eax, ebx
call fcn.00615fcc
mov esi, eax
mov dword [ebx + 0x290], esi
test esi, esi
je 0x615a1e
cmp byte [esi + 0x38], 0
je 0x615a1e
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x615625
cmp byte [eax + 0x78], 0
jne 0x615625
mov edx, dword [eax + 0x74]
cmp dword [edx + 4], 0xffffffff
jne 0x615629
xor edx, edx
jmp 0x61562b
mov dl, 1
test dl, dl
je 0x615637
mov dword [ebx + 0x298], eax
jmp 0x61563f
xor eax, eax
mov dword [ebx + 0x298], eax
mov eax, dword [ebx + 0x298]
test eax, eax
je 0x615695
mov edi, dword [ebx + 0x250]
mov esi, dword [eax + 0x74]
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x4c], 0
je 0x615682
mov edx, dword [esi + 0x44]
mov eax, dword [edi + 0xc]
call fcn.0042eb80
mov edx, dword [esi + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.0042ebc8
movzx edx, byte [esi + 0x40]
mov eax, dword [edi + 0xc]
call fcn.0042ec6c
jmp 0x6156ac
mov eax, dword [ebx + 0x290]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x6156ac
mov esi, dword [ebx + 0x250]
mov eax, dword [ebx + 0x290]
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebx + 0x290]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6156d6
cmp dword [eax + 0x40], 0
je 0x6156d6
mov eax, dword [eax + 0x40]
movzx edx, byte [eax + 0x34]
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0xc]
call fcn.0042ece4
jmp 0x6156ee
mov eax, dword [esi + 0x48]
call fcn.0042ecdc
mov edx, eax
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0xc]
call fcn.0042ece4
lea eax, [ebp - 4]
mov edx, dword [ebp + 0x10]
call fcn.004056a8
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00615450
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004566dc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.004566ac
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x250]
mov eax, ebx
call fcn.00615a4c
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [0x63a004]
mov eax, dword [eax]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x6157b2
mov eax, dword [0x63a004]
mov eax, esi
call fcn.0045e79c
lea ecx, [ebp - 0x34]
mov dl, 1
call fcn.0061deb8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x61578d
push 0
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jle 0x615865
mov eax, dword [ebp - 0x10]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
jmp 0x615865
mov eax, dword [0x639cd4]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x61581b
mov eax, dword [0x639cd4]
cmp byte [esi + 0x57], 0
je 0x61581b
mov eax, dword [0x639cd4]
mov eax, esi
call fcn.0045e79c
lea ecx, [ebp - 0x34]
mov dl, 1
call fcn.0061deb8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x6157fd
push 0
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jle 0x615865
mov eax, dword [ebp - 0x10]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
jmp 0x615865
mov eax, dword [0x63a004]
mov eax, dword [eax]
call fcn.00473190
cmp eax, dword [ebp - 0x1c]
jge 0x615840
push 0
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [0x63a004]
mov eax, dword [eax]
call fcn.00473184
cmp eax, dword [ebp - 0x18]
jge 0x615865
mov eax, dword [ebp - 0x10]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00455fe4
call fcn.00618c10
test al, al
je 0x615964
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x44], 0
je 0x6158b7
cmp byte [ebx + 0x2a0], 0
jne 0x6158b7
push 0xffffffffffffffec
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x6158f0
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x44], 0
jne 0x6158f0
cmp byte [ebx + 0x2a0], 0
je 0x6158f0
push 0xffffffffffffffec
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x290]
movzx eax, byte [eax + 0x44]
mov byte [ebx + 0x2a0], al
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x44], 0
je 0x615920
cmp byte [eax + 0x46], 0
je 0x615920
mov eax, ebx
call fcn.0045e79c
xor edx, edx
call fcn.00618c4c
mov eax, dword [ebx + 0x290]
movzx edx, byte [eax + 0x45]
cmp dl, byte [ebx + 0x2a1]
je 0x615964
cmp byte [eax + 0x44], 0
je 0x615964
cmp byte [eax + 0x46], 0
jne 0x615954
mov eax, ebx
call fcn.0045e79c
mov edx, dword [ebx + 0x290]
movzx edx, byte [edx + 0x45]
call fcn.00618c4c
mov eax, dword [ebx + 0x290]
movzx eax, byte [eax + 0x45]
mov byte [ebx + 0x2a1], al
mov eax, ebx
call fcn.006154dc
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, ebx
call fcn.004565cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x84]
call fcn.00618c10
test al, al
je 0x615a1e
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x44], 0
je 0x615a1e
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x46], 0
je 0x615a1e
xor esi, esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x290]
movzx edi, byte [eax + 0x45]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x6159ef
cmp eax, 3
jbe 0x615a1a
jmp 0x6159f1
jle 0x615a1a
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
add esi, 0x14
cmp edi, esi
jge 0x615a02
mov esi, edi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, ebx
call fcn.0045e79c
mov edx, esi
call fcn.00618c4c
cmp edi, esi
jg 0x6159cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x615a43
lea eax, [ebp - 0x38]
call fcn.00405610
lea eax, [ebp - 4]
call fcn.00405610
ret