Function at 0x458450
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
lea ebp, [esp - 0x21c]
sub esp, 0x21c
push 0xffffffffffffffff
push 0x493ec4
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4c0074]
xor eax, ebp
mov dword [ebp + 0x218], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov esi, dword [ebp + 0x224]
mov edx, dword [eax]
mov eax, dword [0x4c2680]
cmp eax, dword [edx + 4]
jle 0x458534
push 0x4c2680
call fcn.0046cacc
add esp, 4
cmp dword [0x4c2680], 0xffffffff
jne 0x458534
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebx + 0x1c]
mov dword [0x4c2688], 0x4a7008
xorps xmm0, xmm0
mov dword [0x4c268c], 0
push 0x4c26a0
mov dword [0x4c2690], ecx
mov dword [0x4c2694], esi
mov dword [0x4c2698], eax
mov dword [0x4c269c], 0
movlpd qword [0x4c26a0], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x4c26a8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebp - 4], 0xffffffff
push 0x4c2680
call fcn.0046ca82
add esp, 4
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
je 0x45878e
cmp dword [esi + 8], 0
je 0x45878e
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x45878e
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x45878e
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
je 0x45878e
test eax, eax
jne 0x45859a
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
je 0x4585b0
mov edi, 0xe0000007
jmp 0x45877c
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4587b8
jmp 0x45857a
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea eax, [ebp + 0x10]
push 0x104
push eax
push dword [0x4c1048]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov edi, eax
test edi, edi
js 0x45875f
mov eax, dword [ebp - 0x18]
mov dword [0x4c268c], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 4
push 0x4c2688
lea eax, [ebp]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
test edi, edi
js 0x45875f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405fb0
cmp byte [ebx + 0x178], 0
je 0x45869e
push str.Updater_comproxystub.dll
lea ecx, [ebp - 0x10]
call fcn.00403990
mov byte [ebp - 4], 9
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406710
mov edi, eax
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x458696
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
js 0x45875f
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
js 0x45875f
movsd xmm0, qword [0x4ab410]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [0x4ab418]
movsd qword [ebp - 0x44], xmm0
nop
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4586fc
cmp dword [ebp - 0x5c], 0x12
je 0x45875f
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x64
call ebx
jmp 0x4586d0
cmp dword [0x4c269c], 0
jne 0x458751
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x4c26a8]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x4c26ac]
call fcn.00485950
mulsd xmm0, qword [ebp - 0x34]
mov edx, dword [0x4c26a4]
mov ecx, dword [0x4c26a0]
movsd qword [ebp - 0x3c], xmm0
call fcn.00485950
movsd xmm1, qword [ebp - 0x3c]
divsd xmm1, xmm0
comisd xmm1, xmmword [ebp - 0x44]
ja 0x45875a
push 0x64
call ebx
jmp 0x4586d0
mov edi, 0x80004004
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x458770
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004065b0
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
jmp 0x458793
mov eax, 0xe0000007
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x218]
xor ecx, ebp
call fcn.0046c8db
lea esp, [ebp + 0x21c]
pop ebp
ret 4
push 0x8007000e
call fcn.004023a0
int3