Function at 0x417990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514e18
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp + 8]
mov byte [ebp - 0x29], 0
cmp dword [esi + 0x10], 0
jne 0x417a2a
mov edx, str.515D3FFF_9236_408D_A516_69900458B165
mov ecx, str.No_install_path_provided__querying_registry_for_installation_path__productInstallGUID:__s_
call fcn.0041c410
mov ecx, dword [ebx]
push 0x26
push str.515D3FFF_9236_408D_A516_69900458B165
add ecx, 0x28
call fcn.0041b490
mov ecx, dword [ebx]
call fcn.0045a700
test al, al
jne 0x417a0a
mov ecx, str.No_install_path_provided_and_none_found_in_registry.
call fcn.0041c4a0
jmp 0x417c42
mov eax, dword [ebx]
add eax, 0x140
cmp esi, eax
je 0x417a2a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x417a1f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0041b490
cmp dword [esi + 0x14], 8
jb 0x417a32
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0043a450
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x417a4b
mov eax, dword [eax]
lea ecx, [ebp - 0x29]
mov dword [ebp - 0x50], 0x1dcd6500
mov dword [ebp - 0x34], ecx
mov edx, 0x573cd8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], eax
call fcn.004397a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.0041ec70
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x417ab8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x417ab5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x417ab5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b400
mov byte [ebp - 0x29], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
test esi, esi
je 0x417c1a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417ae0
sub ecx, edx
sar ecx, 1
je 0x417c1a
cmp ecx, 3
jb 0x417b5b
push 2
push 0x542744
push esi
call fcn.004efeec
add esp, 0xc
test eax, eax
je 0x417b5b
cmp word [esi + 2], 0x3a
jne 0x417b5b
cmp word [esi + 4], 0x5c
jne 0x417b5b
lea edx, [ebp - 0x48]
mov ecx, esi
call fcn.00427980
test al, al
jne 0x417b3f
mov ecx, str.Path_not_writable__admin_required
mov byte [ebp - 0x29], 1
call fcn.0041c380
mov esi, 0x542808
jmp 0x417b60
cmp dword [ebp - 0x44], 0
ja 0x417b57
jb 0x417b50
cmp dword [ebp - 0x48], 0x1dcd6500
jae 0x417b57
mov esi, 0x542878
jmp 0x417b60
xor esi, esi
jmp 0x417b60
mov esi, 0x542750
cmp byte [ebp - 0x29], 0
je 0x417c12
cmp byte [ebp + 0xc], 0
jne 0x417c12
mov ecx, str.Relaunching_updater_as_admin.
call fcn.0041c530
push 0x11
xor eax, eax
mov dword [ebp - 0x18], 0
push str._isRetry___true_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0041b490
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004289e0
add esp, 8
mov dword [0x585b40], eax
test eax, eax
je 0x417c03
mov eax, dword [ebp - 0x3c]
push 0
mov byte [eax], 1
mov eax, dword [0x585b48]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x585b48]
mov eax, dword [0x585b40]
push 0
push 0xa
push 0xffffffffffffffff
push dword [ecx + 0xc]
mov dword [ecx + 0x54], eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x28]
call fcn.0041b400
jmp 0x417c42
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b400
test esi, esi
jne 0x417c1f
mov al, 1
jmp 0x417c44
mov esi, str.Installation_path_not_set.
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417c24
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebx]
push esi
add ecx, 0x240
call fcn.0041b490
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret