Function at 0x4be1f0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp esi, 0x204
jne 0x4be24a
mov eax, dword [ebp + 0x14]
movsx esi, ax
shr eax, 0x10
movsx ebx, ax
push ebx
push esi
lea eax, [edi - 0x40]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4be23f
mov edx, dword [edi - 0x70]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xa4]
push ebx
lea ecx, [edi - 0x70]
push esi
push eax
call edx
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [edi - 0x70]
mov eax, dword [edx + 0x6c]
lea ecx, [edi - 0x70]
call eax
test al, al
je 0x4be23f
cmp esi, 0x20a
je 0x4be23f
cmp esi, 0x46
jne 0x4be28e
mov ecx, dword [ebp + 8]
push ecx
lea esi, [edi - 0x70]
call fcn.004be550
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4be285
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x11c], 0
jmp 0x4be2fc
cmp esi, 0x113
jne 0x4be2d9
cmp dword [ebp + 0x10], 0x9c
jne 0x4be2fc
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
cmp byte [edi - 0x49], 0
je 0x4be2fc
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 1
call fcn.004be550
mov ecx, dword [edi + 0x114]
mov edx, dword [edi + 0x110]
push ecx
push edx
mov edx, dword [ebp + 8]
lea ecx, [edi - 0x70]
call fcn.004be420
jmp 0x4be2fc
cmp esi, 0x2a3
jne 0x4be2fc
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 0
call fcn.004be550
lea esi, [edi - 0x70]
call fcn.004be580
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ecx
mov ecx, edi
call fcn.004bc690
cmp byte [edi - 0x49], 0
mov dword [esp + 0xc], eax
je 0x4be409
cmp dword [ebp + 0xc], 0x200
jne 0x4be405
mov edx, dword [edi - 0x6c]
cmp byte [edx + 0x104], 0
je 0x4be405
movsx eax, si
shr esi, 0x10
movsx esi, si
push esi
push eax
mov dword [esp + 0x18], eax
lea eax, [edi - 0x40]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4be3e5
cmp byte [edi + 0x11c], 0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], esi
jne 0x4be3aa
cmp dword [edi + 0x118], 0
jne 0x4be3a1
mov edx, dword [ebp + 8]
push 0
push 0x1f4
push 0x9c
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x118], eax
cmp byte [edi + 0x11c], 0
je 0x4be405
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x120]
cmp eax, 0x1e
jb 0x4be405
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 8]
mov dword [edi + 0x120], eax
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [edi - 0x70]
call fcn.004be420
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi + 0x80]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4be405
mov edx, dword [edi + 0x80]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14