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

Disassembly:
push 0x80
mov eax, 0x521183
call fcn.004d8abf
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
and dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4857b4
mov bh, byte [ebp + 0x14]
xor edi, edi
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x57d3ec]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
call fcn.0044f24f
lea ecx, [ebp - 0x1d]
mov eax, dword [eax + 0x1ac]
mov bl, byte [eax + edi + 0x55]
mov byte [ebp - 4], 0
call fcn.0044f694
test bl, bl
je 0x48579b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
and dword [ebp - 0x2c], 0
push 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00438c63
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
call fcn.0040121b
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], 0
jl 0x48584a
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x58], 0
je 0x4852f3
test bh, bh
je 0x4852df
call fcn.0044e82b
test al, al
jne 0x4852df
call fcn.0044e842
test al, al
jne 0x4852df
cmp byte [ebp + 0x20], al
jne 0x4852df
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xe], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
call fcn.0044f24f
lea ecx, [ebp - 0xe]
mov eax, dword [eax + 0x1ac]
mov byte [eax + edi + 0x55], 0
call fcn.0044f694
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x48579b
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], 0x80004005
call fcn.0040687a
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
push ebx
call fcn.00484f48
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.004032ed
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040121b
mov byte [ebp - 4], 8
cmp dword [ebp - 0x40], 0
jl 0x4857dd
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebx + 0x110]
cmp dword [ebp - 0x64], 0
sete cl
mov byte [eax + 0x54], cl
mov eax, dword [ebx + 0x110]
mov ecx, dword [eax + 0x40]
sub ecx, 0x10
call fcn.004070e7
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 0x110]
mov ecx, dword [eax + 0x58]
sub ecx, 0x10
call fcn.004070e7
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [edi - 0xc]
test eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x57d3ec]
setne byte [ebp - 0xe]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xc
call fcn.0044f24f
mov cl, byte [ebp - 0xe]
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
mov byte [eax + 0x4e], cl
lea ecx, [ebp - 0xd]
call fcn.0044f694
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp + 0x14]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2c], ecx
mov ch, byte [eax + 0x29]
mov byte [ebp - 0xe], ch
je 0x485431
test dl, dl
je 0x485431
cmp byte [ebp + 0x18], 0
jne 0x485431
cmp byte [ebp + 0x1c], 0
je 0x485431
mov cl, 1
jmp 0x485433
xor cl, cl
mov eax, dword [eax + 0x110]
cmp byte [eax + 0x54], 0
jne 0x485447
test cl, cl
je 0x4856ba
cmp dword [ebp - 0x2c], 0
jne 0x4856ba
test ch, ch
jne 0x4856ba
mov edx, str.unknown:
mov ecx, edi
call fcn.0042981b
test al, al
je 0x485482
mov edi, str._Unknown_
push edi
call fcn.004ddaa2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.00406efb
mov edi, dword [ebp - 0x18]
push 0x54c5c4
lea ecx, [ebp - 0x4c]
call fcn.00406fea
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.00405d14
test al, al
je 0x4854e0
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xe
call fcn.0044f24f
mov ecx, dword [eax + 0x1ac]
lea eax, [ebp - 0x18]
add ecx, 0x48
add ecx, dword [ebp - 0x14]
push eax
call fcn.00405d6e
lea ecx, [ebp - 0xd]
call fcn.0044f694
jmp 0x485592
push 0x5446d0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x80]
call fcn.00409442
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.0040a037
push 0x5446d0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call fcn.00409442
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.0040a037
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ecx, dword [0x57d3ec]
add ecx, 0x54
mov byte [ebp - 0xd], 1
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.0044f24f
push dword [ebp - 0x24]
mov ecx, dword [eax + 0x1ac]
add ecx, 0x48
add ecx, dword [ebp - 0x14]
call fcn.00405d6e
lea ecx, [ebp - 0xd]
call fcn.0044f694
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x78]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp byte [ebp + 0x14], 0
je 0x485615
cmp byte [ebp + 0x20], 0
jne 0x485615
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0x1f], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
call fcn.0044f24f
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
cmp byte [eax + 0x10], 0
jne 0x48560f
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0x1e], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0x15
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
call fcn.0044f24f
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
cmp byte [eax + 0x11], 0
je 0x485615
mov byte [ebp - 0xe], 1
jmp 0x485619
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0x1c]
test al, 4
je 0x485631
and eax, 0xfffffffb
lea ecx, [ebp - 0x1e]
mov dword [ebp - 0x1c], eax
call fcn.0044f694
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xd
test al, 2
je 0x48564a
and eax, 0xfffffffd
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x1c], eax
call fcn.0044f694
cmp byte [ebp - 0xe], 0
je 0x485681
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x16
call fcn.0044f24f
lea ecx, [ebp - 0xd]
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
mov byte [eax + 0x4c], 1
call fcn.0044f694
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x17
call fcn.0044f24f
lea ecx, [ebp - 0xd]
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
mov byte [eax + 0x4d], 1
call fcn.0044f694
mov ecx, dword [ebp - 0x4c]
jmp 0x48576f
test dl, dl
je 0x48570e
cmp byte [ebp + 0x20], 0
jne 0x48570e
call fcn.0044e82b
test al, al
jne 0x48570e
call fcn.0044e842
test al, al
jne 0x48570e
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x18
call fcn.0044f24f
lea ecx, [ebp - 0xd]
mov eax, dword [eax + 0x1ac]
add eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
mov byte [eax + 0x55], 0
call fcn.0044f694
mov ch, byte [ebp - 0xe]
cmp dword [ebp - 0x24], 0
je 0x485777
test ch, ch
mov edx, str.__up_to_date_
mov eax, str.__installed_
lea ecx, [ebp - 0x30]
cmove eax, edx
lea edx, [ebp - 0x18]
push eax
call fcn.00409442
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [0x57d3ec]
add ecx, 0x54
mov byte [ebp - 0xd], 1
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x1a
call fcn.0044f24f
push dword [ebp - 0x24]
mov ecx, dword [eax + 0x1ac]
add ecx, 0x48
add ecx, dword [ebp - 0x14]
call fcn.00405d6e
lea ecx, [ebp - 0xd]
call fcn.0044f694
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, ebx
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edi, dword [ebp - 0x14]
mov bh, byte [ebp + 0x14]
mov eax, dword [ebp + 8]
add edi, 0xa8
mov esi, dword [esi]
inc dword [ebp - 0x34]
mov dword [ebp - 0x14], edi
cmp esi, dword [eax]
jne 0x485214
mov eax, dword [ebp - 0x28]
and dword [eax], 0
lea ecx, [eax + 8]
and dword [eax + 4], 0
call fcn.0040687a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4857d2
call fcn.00405adf
mov esi, dword [ebp - 0x28]
mov eax, esi
call fcn.004d8a8d
ret
cmp dword [ebp - 0x3c], 0
mov eax, 0x2d55
cmovne eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
push ecx
mov esi, esp
mov dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x38]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x58]
mov dword [esi], eax
call fcn.00406620
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0040121b
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4857d5
call fcn.00405adf
jmp 0x4857d5
cmp dword [ebp - 0x6c], 0
mov eax, 0x2d3b
cmovne eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
push ecx
mov esi, esp
mov dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x68]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x40]
mov dword [esi], eax
call fcn.00406620
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040121b
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x50]
jmp 0x485834