Function at 0x46faf0
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 0x46fb4a
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 0x46fb3f
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 0x46fb3f
cmp esi, 0x20a
je 0x46fb3f
cmp esi, 0x46
jne 0x46fb8e
mov ecx, dword [ebp + 8]
push ecx
lea esi, [edi - 0x70]
call fcn.0046fe50
mov eax, dword [edi + 0x80]
test eax, eax
je 0x46fb85
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x11c], 0
jmp 0x46fbfc
cmp esi, 0x113
jne 0x46fbd9
cmp dword [ebp + 0x10], 0x9c
jne 0x46fbfc
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
cmp byte [edi - 0x49], 0
je 0x46fbfc
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 1
call fcn.0046fe50
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.0046fd20
jmp 0x46fbfc
cmp esi, 0x2a3
jne 0x46fbfc
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 0
call fcn.0046fe50
lea esi, [edi - 0x70]
call fcn.0046fe80
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.0046df80
cmp byte [edi - 0x49], 0
mov dword [esp + 0xc], eax
je 0x46fd09
cmp dword [ebp + 0xc], 0x200
jne 0x46fd05
mov edx, dword [edi - 0x6c]
cmp byte [edx + 0x104], 0
je 0x46fd05
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 0x46fce5
cmp byte [edi + 0x11c], 0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], esi
jne 0x46fcaa
cmp dword [edi + 0x118], 0
jne 0x46fca1
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 0x46fd05
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x120]
cmp eax, 0x1e
jb 0x46fd05
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.0046fd20
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 0x46fd05
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