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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db1ac
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x514080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x278], edi
mov eax, dword fs:[0x2c]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [0x5172fc]
cmp eax, dword [edx + 4]
jle 0x4745ab
push 0x5172fc
call fcn.004a0cdf
add esp, 4
cmp dword [0x5172fc], 0xffffffff
jne 0x4745ab
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [edi + 0x18]
mov dword [0x517300], 0x4f12e8
xorps xmm0, xmm0
mov dword [0x517304], 0
push 0x517318
mov dword [0x517308], ecx
mov dword [0x51730c], esi
mov dword [0x517310], eax
mov dword [0x517314], 0
movlpd qword [0x517318], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x517320
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebp - 4], 0xffffffff
push 0x5172fc
call fcn.004a0c8e
add esp, 4
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
je 0x474bda
cmp dword [esi + 8], 0
je 0x474bda
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x474bda
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x474bda
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
je 0x474bda
test eax, eax
jne 0x474617
xor esi, esi
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
je 0x474630
mov edi, 0xe0000007
jmp 0x474bc8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x2a0], esi
test esi, esi
je 0x474bfc
jmp 0x4745f4
mov dword [ebp - 0x29c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x515d44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov edi, eax
mov dword [ebp - 0x274], edi
test edi, edi
js 0x474a62
mov eax, dword [ebp - 0x28c]
mov dword [0x517304], eax
lea eax, [ebp - 0x27c]
push eax
push 4
push 4
push 0x517300
lea eax, [ebp - 0x258]
mov dword [ebp - 0x280], 0
push eax
mov dword [ebp - 0x27c], 0
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ecx, eax
mov dword [ebp - 0x274], ecx
test ecx, ecx
js 0x474a62
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x298]
call fcn.0040b410
mov eax, dword [ebp - 0x278]
cmp byte [eax + 0x174], 0
je 0x474990
lea ecx, [ebp - 0x248]
call fcn.00422df0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
push 0x18
push str.Updater_comproxystub.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
call fcn.00403fc0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00423580
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.00404100
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x248]
call fcn.00422fe0
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
jbe 0x4747a9
mov eax, dword [eax]
mov dword [ebp - 0x274], eax
call fcn.00404710
mov dword [ebp - 0x278], eax
test eax, eax
je 0x474c06
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x278]
call edi
add eax, 0x10
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x278]
mov edi, dword [ebp - 0x274]
push edi
call fcn.00403720
test al, al
jne 0x47481d
test edi, edi
jne 0x4747fc
xor ecx, ecx
jmp 0x474810
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474801
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x278]
call fcn.004038b0
mov byte [ebp - 4], 0xd
push 0x18
call fcn.004a0fa2
add esp, 4
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0xe
mov dword [eax], 0x4ee1e4
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xf
lea edi, [eax + 8]
mov dword [ebp - 0x284], edi
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x27c], eax
call fcn.00402770
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x274]
push dword [edi]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ecx + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [ebp - 0x274]
mov dword [ebp - 0x284], eax
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x4748c5
mov ecx, dword [edi]
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x274]
call edi
mov edi, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x284]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x474905
push str.LocalRegisterProxyStub
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x284], eax
test eax, eax
je 0x474905
lea ecx, [edi + 0xc]
push ecx
mov ecx, eax
call dword [0x4e1514]
call dword [ebp - 0x284]
mov dword [edi + 0x10], eax
test eax, eax
js 0x47490c
mov byte [edi + 0x14], 1
mov dword [edi + 4], 0
jmp 0x47490c
mov dword [edi + 0x10], 0x80004005
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x29c], edi
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x274], edi
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov ecx, dword [ebp - 0x27c]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47495a
mov eax, dword [ecx]
mov dword [ebp - 0x27c], eax
push ecx
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x27c]
call edi
mov edi, dword [ebp - 0x274]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x270]
call fcn.00404100
test edi, edi
jns 0x474981
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00404100
jmp 0x474a62
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00404100
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov dword [ebp - 0x274], eax
test eax, eax
js 0x474a62
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4749e1
cmp dword [ebp - 0x2b8], 0x12
je 0x474a62
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4749a4
cmp dword [0x517314], 0
jne 0x474a4b
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x280]
sub ecx, dword [0x517320]
mov edx, dword [ebp - 0x27c]
sbb edx, dword [0x517324]
call fcn.004c6630
mulsd xmm0, qword [0x4f5010]
mov edx, dword [0x51731c]
mov ecx, dword [0x517318]
movsd qword [ebp - 0x288], xmm0
call fcn.004c6630
movsd xmm1, qword [ebp - 0x288]
divsd xmm1, xmm0
comisd xmm1, xmmword [0x4f5018]
ja 0x474a58
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4749a4
mov dword [ebp - 0x274], 0x80004004
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x474a80
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x4e1514]
call edi
mov byte [ebp - 4], 0x1d
xor edi, edi
mov eax, dword [ebp - 0x294]
test eax, eax
jle 0x474ad7
test edi, edi
js 0x474c10
cmp edi, eax
jge 0x474c10
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + edi*8]
test edx, edx
jne 0x474aba
mov eax, dword [ecx + edi*8 + 4]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
jmp 0x474acc
cmp edx, 1
jne 0x474ad2
mov eax, dword [ecx + edi*8 + 4]
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_GetActiveObject]
mov eax, dword [ebp - 0x294]
inc edi
cmp edi, eax
jl 0x474a90
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x474af8
push eax
call fcn.004aaaa1
add esp, 4
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x29c]
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x278], edi
test edi, edi
je 0x474bb8
mov byte [ebp - 4], 0x1f
cmp dword [edi + 0x10], 0
jl 0x474b47
cmp byte [edi + 0x14], 0
je 0x474b47
push dword [edi + 0xc]
mov byte [edi + 0x14], 0
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov byte [ebp - 4], 0x1e
lea eax, [edi + 8]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
or eax, 0xffffffff
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474b8e
mov eax, dword [ecx]
mov dword [ebp - 0x27c], eax
push ecx
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x27c]
call edi
mov edi, dword [ebp - 0x284]
mov byte [ebp - 4], 1
mov dword [edi], 0x4ee1e4
mov eax, dword [edi + 4]
test eax, eax
je 0x474bad
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
push 0x18
push edi
call fcn.004a0f94
add esp, 8
mov edi, dword [ebp - 0x274]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
jmp 0x474bdf
mov eax, 0xe0000007
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0c30
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.00402740
push 0x80004005
call fcn.00402740
push 0x8000000b
call fcn.00402740
int3