Function at 0x46df60
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 0x46dfba
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 0x46dfaf
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 0x46dfaf
cmp esi, 0x20a
je 0x46dfaf
cmp esi, 0x46
jne 0x46dffe
mov ecx, dword [ebp + 8]
push ecx
lea esi, [edi - 0x70]
call fcn.0046e2c0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x46dff5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x11c], 0
jmp 0x46e06c
cmp esi, 0x113
jne 0x46e049
cmp dword [ebp + 0x10], 0x9c
jne 0x46e06c
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
cmp byte [edi - 0x49], 0
je 0x46e06c
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 1
call fcn.0046e2c0
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.0046e190
jmp 0x46e06c
cmp esi, 0x2a3
jne 0x46e06c
mov eax, dword [ebp + 8]
push eax
lea esi, [edi - 0x70]
mov byte [edi + 0x11c], 0
call fcn.0046e2c0
lea esi, [edi - 0x70]
call fcn.0046e2f0
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.0046c400
cmp byte [edi - 0x49], 0
mov dword [esp + 0xc], eax
je 0x46e179
cmp dword [ebp + 0xc], 0x200
jne 0x46e175
mov edx, dword [edi - 0x6c]
cmp byte [edx + 0x104], 0
je 0x46e175
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 0x46e155
cmp byte [edi + 0x11c], 0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], esi
jne 0x46e11a
cmp dword [edi + 0x118], 0
jne 0x46e111
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 0x46e175
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x120]
cmp eax, 0x1e
jb 0x46e175
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.0046e190
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 0x46e175
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