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

Disassembly:
push ebp
lea ebp, [esp - 0x21c]
sub esp, 0x21c
push 0xffffffffffffffff
push 0x4a77a3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4da064]
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 edi, ecx
mov eax, dword fs:[0x2c]
mov esi, dword [ebp + 0x224]
mov edx, dword [eax]
mov eax, dword [0x4dc93c]
cmp eax, dword [edx + 4]
jle 0x462754
push 0x4dc93c
call fcn.004762c5
add esp, 4
cmp dword [0x4dc93c], 0xffffffff
jne 0x462754
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [edi + 0x18]
mov dword [0x4dc940], 0x4be808
xorps xmm0, xmm0
mov dword [0x4dc944], 0
push 0x4dc958
mov dword [0x4dc948], ecx
mov dword [0x4dc94c], esi
mov dword [0x4dc950], eax
mov dword [0x4dc954], 0
movlpd qword [0x4dc958], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x4dc960
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebp - 4], 0xffffffff
push 0x4dc93c
call fcn.0047627b
add esp, 4
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
je 0x462aeb
cmp dword [esi + 8], 0
je 0x462aeb
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x462aeb
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x462aeb
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
je 0x462aeb
test eax, eax
jne 0x4627ba
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
je 0x4627d0
mov ebx, 0xe0000007
jmp 0x462ad9
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x462b15
jmp 0x46279a
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 4
lea eax, [ebp + 0x10]
push 0x104
push eax
push dword [0x4db390]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov ebx, eax
test ebx, ebx
js 0x462a47
mov eax, dword [ebp - 0x10]
mov dword [0x4dc944], eax
lea eax, [ebp - 0x14]
push eax
push 4
push 4
push 0x4dc940
lea eax, [ebp]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
test ebx, ebx
js 0x462a47
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.004096e0
cmp byte [edi + 0x174], 0
je 0x462988
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x462b1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
push str.Updater_comproxystub.dll
call fcn.00406f20
test al, al
jne 0x4628ba
push 0x18
push str.Updater_comproxystub.dll
lea ecx, [ebp - 0x2c]
call fcn.00407090
mov byte [ebp - 4], 0xa
push 0x18
call fcn.004765fa
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xb
mov dword [ebx], 0x4bb744
mov dword [ebx + 4], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 8]
call fcn.00402250
mov byte [ebp - 4], 0xd
push dword [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebx + 4]
mov edi, eax
cmp edi, ecx
je 0x462922
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov dword [ebx + 4], edi
mov ecx, edi
test ecx, ecx
je 0x462950
push str.LocalRegisterProxyStub
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x462950
lea ecx, [ebx + 0xc]
push ecx
call eax
mov dword [ebx + 0x10], eax
test eax, eax
js 0x462957
mov byte [ebx + 0x14], 1
mov dword [ebx + 4], 0
jmp 0x462957
mov dword [ebx + 0x10], 0x80004005
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebx + 0x10]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x462980
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
js 0x462a47
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test ebx, ebx
js 0x462a47
movsd xmm0, qword [0x4c2038]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [0x4c2040]
movsd qword [ebp - 0x44], xmm0
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 0x4629e4
cmp dword [ebp - 0x5c], 0x12
je 0x462a47
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x64
call edi
jmp 0x4629b8
cmp dword [0x4dc954], 0
jne 0x462a39
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x4dc960]
mov edx, dword [ebp - 0x14]
sbb edx, dword [0x4dc964]
call fcn.00494870
mulsd xmm0, qword [ebp - 0x30]
mov edx, dword [0x4dc95c]
mov ecx, dword [0x4dc958]
movsd qword [ebp - 0x3c], xmm0
call fcn.00494870
movsd xmm1, qword [ebp - 0x3c]
divsd xmm1, xmm0
comisd xmm1, xmmword [ebp - 0x44]
ja 0x462a42
push 0x64
call edi
jmp 0x4629b8
mov ebx, 0x80004004
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x462a58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x15
xor edi, edi
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x462aa4
test edi, edi
js 0x462b29
cmp edi, eax
jge 0x462b29
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + edi*8]
test edx, edx
jne 0x462a8b
push dword [ecx + edi*8 + 4]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
jmp 0x462a9c
cmp edx, 1
jne 0x462a9f
push 0
push dword [ecx + edi*8 + 4]
call dword [sym.imp.OLEAUT32.dll_GetActiveObject]
mov eax, dword [ebp - 0x20]
inc edi
cmp edi, eax
jl 0x462a65
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x462abf
push eax
call fcn.0047e45f
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00409db0
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
jmp 0x462af0
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.0047615e
lea esp, [ebp + 0x21c]
pop ebp
ret 4
push 0x8007000e
call fcn.00402150
push 0x80004005
call fcn.00402150
push 1
push 0xc000008c
call fcn.00408180
int3