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

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x5408b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x1c], edi
test edi, edi
je 0x4c29b9
mov eax, dword [edi]
test eax, eax
je 0x4c29b9
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x1c]
cmp eax, 0x7530
jb 0x4c2b71
lea eax, [edi + 4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.00416650
lea ebx, [edi + 0x10]
mov ecx, ebx
call fcn.00416650
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c2b32
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x564b94
push eax
call esi
push str.RegEnumValueW
push dword [edi + 0x20]
mov dword [ebp + 0x20], eax
call esi
push 0x564bb8
push dword [edi + 0x20]
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x1c], eax
je 0x4c2b32
cmp dword [ebp - 0x10], 0
je 0x4c2b32
test eax, eax
je 0x4c2b32
mov dword [ebp], 0
mov esi, 0x20019
call fcn.00412280
test al, al
mov ecx, 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionApplicationAssociationToasts
cmovne esi, ecx
lea ecx, [ebp + 4]
call fcn.0040e070
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
push esi
push 0
lea ecx, [ebp + 4]
call fcn.0040df90
push eax
push SysReAllocString
call dword [ebp + 0x20]
test eax, eax
jne 0x4c2b26
push 0x208
xor esi, esi
mov dword [ebp + 0x20], 0x103
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.004f9c00
add esp, 0xc
lea eax, [ebp + 0x20]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push dword [ebp]
call dword [ebp - 0x10]
test eax, eax
jne 0x4c2b19
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
cmp word [ebp + 0x24], 0
je 0x4c2aef
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e070
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00411b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040abd0
xor eax, eax
mov dword [ebp + 0x20], 0x103
push eax
push eax
push eax
push eax
mov word [ebp + 0x24], ax
inc esi
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push dword [ebp]
call ebx
test eax, eax
je 0x4c2ac1
mov edi, dword [ebp - 0x18]
lea ebx, [edi + 0x10]
push dword [ebp]
call dword [ebp - 0x1c]
mov dword [ebp], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.0040abd0
push ebx
push 0
push 0
mov ecx, edi
call fcn.004c2bb0
push ebx
push 1
push 0
mov ecx, edi
call fcn.004c2bb0
push ebx
push 0
push 1
mov ecx, edi
call fcn.004c2bb0
push ebx
push 1
push 1
mov ecx, edi
call fcn.004c2bb0
push ebx
call fcn.004c3610
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
test eax, eax
je 0x4c2b85
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004f6f55
lea esp, [ebp + 0x230]
pop ebp
ret