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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5386e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x59024c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], 1
cmp ecx, 0x113
ja 0x42e889
je 0x42e838
lea eax, [ecx - 1]
cmp eax, 0xa2
ja case.0x42e5ed.4
movzx eax, byte [eax + 0x42ea78]
jmp dword [eax*4 + 0x42ea40]
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [edi]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x78]
mov ebx, eax
jmp 0x42e972
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [edi]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov ebx, eax
jmp 0x42e972
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [edi]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x4c]
mov ebx, eax
jmp 0x42e972
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
mov ecx, edi
call fcn.0042fb60
mov dword [ebp - 0x10], ebx
jmp 0x42e96d
mov ecx, edi
call fcn.0045a0a0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp esi, 1
mov ecx, edi
sete al
push eax
call fcn.0042fb60
mov dword [ebp - 0x10], ebx
jmp 0x42e970
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x42e96d
mov ecx, dword [edi + 0x37c]
test ecx, ecx
je 0x42e96d
add ecx, 0x280
call fcn.0045a0a0
and dword [ebx + 0x18], 0xfffffffb
mov dword [ebx + 4], eax
jmp 0x42e96d
lea ecx, [edi + 0x30]
call fcn.0045c790
test eax, eax
je case.0x42e5ed.6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
lea ecx, [edi + 0x30]
test eax, eax
je 0x42e6f4
push str.restore
call fcn.0045c090
test eax, eax
je 0x42e6ed
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push 0x54b97c
jmp 0x42e713
push 0x54b97c
call fcn.0045c090
test eax, eax
je 0x42e70e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push str.restore
lea ecx, [edi + 0x30]
call fcn.0045c090
test eax, eax
je case.0x42e5ed.6
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
mov dword [ebp - 0x10], ebx
jmp 0x42e96d
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x38c], ebx
je 0x42e96d
mov dword [edi + 0x38c], ebx
cmp dword [edi + 0x388], ebx
je 0x42e75e
push 0
push 0
push 1
push 0x25
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [edi + 0x388], ebx
jmp 0x42e96d
mov ecx, dword [edi + 0x37c]
mov dword [ebp - 0x10], ebx
test ecx, ecx
je 0x42e788
add ecx, 0x280
call fcn.0045a0a0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x38c], ebx
jne 0x42e96d
push 0
lea esi, [edi + 0x388]
mov dword [edi + 0x38c], 1
mov dword [esi], ebx
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push 0
push 0x26
call ebx
cmp dword [esi], 0
je 0x42e96d
push 0
push 0
push 0
push 0x25
call ebx
jmp 0x42e96d
call fcn.004232c0
mov ecx, eax
call fcn.004233b0
test eax, eax
je 0x42e96d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, edi
test eax, eax
je 0x42e7fa
call fcn.0042de00
jmp 0x42e96d
call fcn.0042dd40
jmp 0x42e96d
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [edi]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x5c]
mov ebx, eax
jmp 0x42e972
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [edi]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov ebx, eax
jmp 0x42e972
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jne 0x42e972
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 4]
call esi
mov esi, dword [ebp + 0xc]
jmp 0x42e972
mov eax, ecx
sub eax, 0x40a
je 0x42e8f8
sub eax, 0x5a
je 0x42e8e8
sub eax, 0x12d
je 0x42e8a9
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
jmp 0x42e972
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42e972
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x42e8d8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x42e8d8
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], ebx
push 0x28
push esi
call fcn.00448d6e
add esp, 8
jmp 0x42e972
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp + 0xc]
jmp 0x42e972
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x42ea33
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.play
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00403470
test al, al
jne 0x42e939
push 4
push str.play
lea ecx, [ebp - 0x14]
call fcn.00403cb0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0042ff50
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e96d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [edi + 0x360]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x42e9f7
cmp eax, ecx
jne 0x42e9f7
mov eax, dword [ebp + 0x10]
add eax, 0xfffffdfe
cmp eax, 1
ja 0x42e9f2
cmp dword [0x597250], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x42e9ae
call ebx
sub eax, dword [0x597250]
cmp eax, 0x1f4
jb 0x42e9eb
call ebx
cmp dword [edi + 0x37c], 0
mov dword [0x597250], eax
je 0x42e9e0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42e9e0
mov ecx, dword [edi + 0x37c]
push 1
push 1
add ecx, 0x280
call fcn.004609c0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp - 0x10], 0
je 0x42ea13
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov ecx, edi
push esi
push eax
call fcn.004642d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00403450
nop dword [eax]
hlt