Function at 0x4bfd70
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 0x4bfdca
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 0x4bfdbf
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 0x4bfdbf
cmp esi, 0x20a
je 0x4bfdbf
cmp esi, 0x46
jne 0x4bfe0e
mov ecx, dword [ebp + 8]
push ecx
lea esi, [edi - 0x70]
call fcn.004c00d0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4bfe05
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x11c], 0
jmp 0x4bfe7c
cmp esi, 0x113
jne 0x4bfe59
cmp dword [ebp + 0x10], 0x9c
jne 0x4bfe7c
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
cmp byte [edi - 0x49], 0
je 0x4bfe7c
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 1
call fcn.004c00d0
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.004bffa0
jmp 0x4bfe7c
cmp esi, 0x2a3
jne 0x4bfe7c
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 0
call fcn.004c00d0
lea esi, [edi - 0x70]
call fcn.004c0100
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.004be210
cmp byte [edi - 0x49], 0
mov dword [esp + 0xc], eax
je 0x4bff89
cmp dword [ebp + 0xc], 0x200
jne 0x4bff85
mov edx, dword [edi - 0x6c]
cmp byte [edx + 0x104], 0
je 0x4bff85
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 0x4bff65
cmp byte [edi + 0x11c], 0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], esi
jne 0x4bff2a
cmp dword [edi + 0x118], 0
jne 0x4bff21
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 0x4bff85
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x120]
cmp eax, 0x1e
jb 0x4bff85
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.004bffa0
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 0x4bff85
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