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

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x541ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5938b4]
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 0x4c2a19
mov eax, dword [edi]
test eax, eax
je 0x4c2a19
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 0x4c2bd1
lea eax, [edi + 4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.004166f0
lea ebx, [edi + 0x10]
mov ecx, ebx
call fcn.004166f0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c2b92
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x565c64
push eax
call esi
push str.RegEnumValueW
push dword [edi + 0x20]
mov dword [ebp + 0x20], eax
call esi
push 0x565c88
push dword [edi + 0x20]
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x1c], eax
je 0x4c2b92
cmp dword [ebp - 0x10], 0
je 0x4c2b92
test eax, eax
je 0x4c2b92
mov dword [ebp], 0
mov esi, 0x20019
call fcn.00412330
test al, al
mov ecx, 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionApplicationAssociationToasts
cmovne esi, ecx
lea ecx, [ebp + 4]
call fcn.0040e120
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
push esi
push 0
lea ecx, [ebp + 4]
call fcn.0040e040
push eax
push SysReAllocString
call dword [ebp + 0x20]
test eax, eax
jne 0x4c2b86
push 0x208
xor esi, esi
mov dword [ebp + 0x20], 0x103
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.004fb1f0
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 0x4c2b79
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
cmp word [ebp + 0x24], 0
je 0x4c2b4f
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e120
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00411bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040ac80
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 0x4c2b21
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.0040ac80
push ebx
push 0
push 0
mov ecx, edi
call fcn.004c2c10
push ebx
push 1
push 0
mov ecx, edi
call fcn.004c2c10
push ebx
push 0
push 1
mov ecx, edi
call fcn.004c2c10
push ebx
push 1
push 1
mov ecx, edi
call fcn.004c2c10
push ebx
call fcn.004c3670
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 0x4c2be5
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.004f8545
lea esp, [ebp + 0x230]
pop ebp
ret