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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ef72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jae 0x53fa03
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53f9fe
mov edx, dword [ebp + 0x18]
and edx, 0xff
test edx, edx
je 0x53f78e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x53f78e
jmp 0x53f73a
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00540b4f
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x53f9fe
push 3
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
cmp eax, dword [ebp - 0x10]
jne 0x53f9fe
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00540c2c
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00540b6f
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x53f81e
cmp dword [ebp + 0x10], 0
jne 0x53f81e
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004995e0
mov eax, dword [ebp - 0x24]
jmp 0x53fa05
cmp dword [ebp + 0xc], 0
jne 0x53f89a
push 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00499550
mov byte [ebp - 4], 2
push 1
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004b9e50
xor edx, edx
cmp eax, dword [0x5b4944]
setne dl
mov byte [ebp - 0x28], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004995e0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x53f895
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004995e0
mov eax, dword [ebp - 0x30]
jmp 0x53fa05
jmp 0x53f9de
cmp dword [ebp + 0x10], 0
jne 0x53f917
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x38]
call fcn.00499550
mov byte [ebp - 4], 3
push 1
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b9e50
xor ecx, ecx
cmp eax, dword [0x5b4944]
setne cl
mov byte [ebp - 0x34], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004995e0
mov edx, dword [ebp - 0x34]
and edx, 0xff
test edx, edx
je 0x53f912
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004995e0
mov eax, dword [ebp - 0x3c]
jmp 0x53fa05
jmp 0x53f9de
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00499550
mov byte [ebp - 4], 4
push 1
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x20]
call fcn.004b9e50
cmp eax, dword [0x5b4944]
je 0x53f992
push 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00499550
mov byte [ebp - 4], 5
push 1
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004b9e50
xor edx, edx
cmp eax, dword [0x5b4944]
setne dl
mov byte [ebp - 0x48], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004995e0
mov eax, dword [ebp - 0x48]
and eax, 0xff
test eax, eax
je 0x53f992
mov dword [ebp - 0x54], 1
jmp 0x53f999
mov dword [ebp - 0x54], 0
mov cl, byte [ebp - 0x54]
mov byte [ebp - 0x40], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004995e0
mov edx, dword [ebp - 0x40]
and edx, 0xff
test edx, edx
je 0x53f9de
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004995e0
mov eax, dword [ebp - 0x50]
jmp 0x53fa05
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004995e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004995e0
jmp 0x53f73a
jmp 0x53f73a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret