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

Disassembly:
push ebp
lea ebp, [esp - 0x21c]
sub esp, 0x21c
push 0xffffffffffffffff
push 0x496124
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4c4074]
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 [0x4c6720]
cmp eax, dword [edx + 4]
jle 0x459e84
push 0x4c6720
call fcn.0046e5c6
add esp, 4
cmp dword [0x4c6720], 0xffffffff
jne 0x459e84
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebx + 0x1c]
mov dword [0x4c6728], 0x4aad00
xorps xmm0, xmm0
mov dword [0x4c672c], 0
push 0x4c6740
mov dword [0x4c6730], ecx
mov dword [0x4c6734], esi
mov dword [0x4c6738], eax
mov dword [0x4c673c], 0
movlpd qword [0x4c6740], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x4c6748
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebp - 4], 0xffffffff
push 0x4c6720
call fcn.0046e57c
add esp, 4
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
je 0x45a0de
cmp dword [esi + 8], 0
je 0x45a0de
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x45a0de
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x45a0de
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
je 0x45a0de
test eax, eax
jne 0x459eea
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 0x459f00
mov edi, 0xe0000007
jmp 0x45a0cc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x45a108
jmp 0x459eca
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 [0x4c5088]
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 0x45a0af
mov eax, dword [ebp - 0x18]
mov dword [0x4c672c], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 4
push 0x4c6728
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 0x45a0af
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a270
cmp byte [ebx + 0x178], 0
je 0x459fee
push str.Updater_comproxystub.dll
lea ecx, [ebp - 0x10]
call fcn.00407430
mov byte [ebp - 4], 9
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a9d0
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 0x459fe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
js 0x45a0af
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
js 0x45a0af
movsd xmm0, qword [0x4af130]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [0x4af138]
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 0x45a04c
cmp dword [ebp - 0x5c], 0x12
je 0x45a0af
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x64
call ebx
jmp 0x45a020
cmp dword [0x4c673c], 0
jne 0x45a0a1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x4c6748]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x4c674c]
call fcn.00487400
mulsd xmm0, qword [ebp - 0x34]
mov edx, dword [0x4c6744]
mov ecx, dword [0x4c6740]
movsd qword [ebp - 0x3c], xmm0
call fcn.00487400
movsd xmm1, qword [ebp - 0x3c]
divsd xmm1, xmm0
comisd xmm1, xmmword [ebp - 0x44]
ja 0x45a0aa
push 0x64
call ebx
jmp 0x45a020
mov edi, 0x80004004
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45a0c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a870
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
jmp 0x45a0e3
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.0046e38e
lea esp, [ebp + 0x21c]
pop ebp
ret 4
push 0x8007000e
call fcn.004024c0
int3