Function at 0x407880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c3f2
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4c17d0]
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 esi, ecx
push esi
call fcn.004075f0
add esp, 4
test al, al
je 0x4078e0
cmp dword [esi + 0x14], 0
je 0x4078e0
cmp dword [esi + 0x18], 8
jb 0x4078ce
mov esi, dword [esi + 4]
jmp 0x4078d1
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408834
lea eax, [ebp - 0xc8]
push eax
call fcn.0040ae20
xor ecx, ecx
mov dword [ebp - 4], 0
cmp ecx, str.Opera
je 0x4086f9
xor edx, edx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
call fcn.0041a690
mov byte [ebp - 4], 2
call fcn.00401040
test al, al
je 0x407c10
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x7c], esp
push edx
mov ecx, 0x4a3cf0
mov esi, 1
call fcn.00416680
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x5c], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00416680
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00415fe0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00415300
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004011f0
test edi, edi
je 0x407c10
lea edx, [ebp - 0x58]
push edx
mov ecx, str.Opera
call fcn.00416680
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004090a0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x4079ce
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x4079e2
call fcn.00478cdf
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
jmp 0x4079f0
test esi, esi
je 0x4079fc
cmp esi, dword [ebp - 0xa4]
je 0x407a01
call fcn.00478cdf
cmp edi, dword [ebp - 0x7c]
je 0x407bed
test esi, esi
jne 0x407be2
call fcn.00478cdf
cmp edi, dword [esi + 0x10]
jb 0x407a21
call fcn.00478cdf
mov eax, dword [edi]
sub eax, 0x10
call fcn.00416a00
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004090a0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x407b95
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x407b95
push eax
mov edx, ecx
push edx
call fcn.00479618
add esp, 8
test eax, eax
je 0x407b95
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x407b95
mov eax, dword [0x4ead14]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ead14
call edx
add eax, 0x10
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00409100
mov ecx, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x84], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x60]
mov edi, 1
call fcn.00416680
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov ebx, esp
call fcn.00416a00
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00415fe0
push eax
mov byte [ebp - 4], 0xa
call fcn.00416130
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004011f0
test edi, edi
mov edi, dword [ebp - 0x60]
je 0x407b52
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.0040e190
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.0040aec0
lea esi, [ebp - 0x100]
call fcn.004074f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x407be9
call fcn.00478cdf
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x407bd3
call fcn.00478cdf
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x4079f0
mov esi, dword [esi]
jmp 0x407a17
mov eax, dword [eax]
jmp 0x407bc6
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x407c27
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x407c33
call fcn.00478cdf
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0040b810
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x4a3cf0
xor esi, esi
call fcn.00416680
push ecx
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00416680
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00415fe0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00415300
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407cc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ce8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x407fb7
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Opera
call fcn.00416680
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.004090a0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x407d24
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x407d38
call fcn.00478cdf
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
xor ebx, ebx
cmp esi, ebx
je 0x407d4f
cmp esi, dword [ebp - 0xa4]
je 0x407d54
call fcn.00478cdf
cmp edi, dword [ebp - 0x7c]
je 0x407f94
cmp esi, ebx
jne 0x407f89
call fcn.00478cdf
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x407d76
call fcn.00478cdf
mov eax, dword [edi]
sub eax, 0x10
call fcn.00416a00
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.004090a0
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x407f3c
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x407f3c
push eax
mov edx, ecx
push edx
call fcn.00479618
add esp, 8
test eax, eax
je 0x407f3c
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x407f3c
mov eax, dword [0x4ead14]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ead14
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00409100
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.00416680
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.00416a00
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00415fe0
push eax
mov byte [ebp - 4], 0x13
call fcn.00416130
mov esi, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x407ef9
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x100]
mov dword [ebp - 0x8c], ecx
push edx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], ebx
call fcn.0040e190
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.0040d440
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.0040d4e0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.004074f0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x407f90
call fcn.00478cdf
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x407f7a
call fcn.00478cdf
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x407d41
mov esi, dword [esi]
jmp 0x407d6c
mov eax, dword [eax]
jmp 0x407f6d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407fb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x407fd2
mov edi, dword [ebp - 0x68]
call fcn.00415630
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00477b12
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.00477b12
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x407ff9
mov eax, dword [ebp - 0x44]
push eax
call fcn.00477b12
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], cx
lea edx, [ebp - 0x78]
push edx
mov byte [ebp - 4], 0x15
call fcn.0041a690
mov byte [ebp - 4], 0x16
call fcn.00401040
test al, al
je 0x408306
lea eax, [ebp - 0x78]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push ecx
mov ecx, 0x4a3cf0
mov esi, 1
call fcn.00416680
push ecx
mov byte [ebp - 4], 0x17
mov edx, esp
mov dword [ebp - 0x84], esp
push edx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00416680
push SysReAllocStringLen
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.00415fe0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00415300
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.004011f0
cmp edi, ebx
je 0x408306
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Opera
call fcn.00416680
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.004090a0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x4080c9
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x4080dd
call fcn.00478cdf
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x4080f2
cmp esi, dword [ebp - 0xa4]
je 0x4080f7
call fcn.00478cdf
cmp edi, dword [ebp - 0x7c]
je 0x4082e3
test esi, esi
jne 0x4082d8
call fcn.00478cdf
cmp edi, dword [esi + 0x10]
jb 0x408117
call fcn.00478cdf
mov eax, dword [edi]
sub eax, 0x10
call fcn.00416a00
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.004090a0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40828b
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x40828b
push eax
mov edx, ecx
push edx
call fcn.00479618
add esp, 8
test eax, eax
je 0x40828b
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x40828b
mov eax, dword [0x4ead14]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ead14
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.00409100
mov ecx, esp
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
mov edi, 1
call fcn.00416680
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.00416a00
add eax, 0x10
push SysReAllocStringLen
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.00415fe0
push eax
mov byte [ebp - 4], 0x1e
call fcn.00416130
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.004011f0
test edi, edi
mov edi, dword [ebp - 0x5c]
je 0x408248
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.0040e190
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x1f
call fcn.0040aec0
lea esi, [ebp - 0x100]
call fcn.004074f0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40826b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40828b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4082df
call fcn.00478cdf
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4082c9
call fcn.00478cdf
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x4080e6
mov esi, dword [esi]
jmp 0x40810d
mov eax, dword [eax]
jmp 0x4082bc
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x40831d
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x408329
call fcn.00478cdf
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0040b810
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x4a3cf0
xor esi, esi
call fcn.00416680
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00416680
push SysReAllocStringLen
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.00415fe0
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00415300
mov esi, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4083bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4086a7
lea ecx, [ebp - 0x58]
push ecx
mov ecx, str.Opera
call fcn.00416680
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x22
call fcn.004090a0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x408418
call fcn.00478cdf
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x40842c
call fcn.00478cdf
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x408441
cmp esi, dword [ebp - 0xa4]
je 0x408446
call fcn.00478cdf
cmp edi, dword [ebp - 0x7c]
je 0x408684
test esi, esi
jne 0x408679
call fcn.00478cdf
cmp edi, dword [esi + 0x10]
jb 0x408466
call fcn.00478cdf
mov eax, dword [edi]
sub eax, 0x10
call fcn.00416a00
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x23
call fcn.004090a0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40862c
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x40862c
push eax
mov edx, ecx
push edx
call fcn.00479618
add esp, 8
test eax, eax
je 0x40862c
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x40862c
mov eax, dword [0x4ead14]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ead14
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x24
call fcn.00409100
mov ecx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x80], esp
push ecx
mov ecx, str.InstallLocation
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.00416680
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.00416a00
add eax, 0x10
push SysReAllocStringLen
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.00415fe0
push eax
mov byte [ebp - 4], 0x27
call fcn.00416130
mov esi, eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408562
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408584
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x4085e9
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x100]
mov dword [ebp - 0x8c], ecx
push edx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], ebx
call fcn.0040e190
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.0040d440
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.0040d4e0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.004074f0
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40860c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x23
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40862c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40864f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x408680
call fcn.00478cdf
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x40866a
call fcn.00478cdf
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x408435
mov esi, dword [esi]
jmp 0x40845c
mov eax, dword [eax]
jmp 0x40865d
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4086a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4086c2
mov edi, dword [ebp - 0x68]
call fcn.00415630
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00477b12
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00477b12
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x4086f9
mov eax, dword [ebp - 0x44]
push eax
call fcn.00477b12
add esp, 4
xor ecx, ecx
push ecx
mov word [ebp - 0x28], cx
push 0x4a3cf0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00409380
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0xb4]
mov edi, dword [edx]
mov ebx, dword [ebp - 0xc8]
lea ecx, [ecx]
mov esi, dword [ebp - 0xb4]
test ebx, ebx
je 0x408742
cmp ebx, dword [ebp - 0xc8]
je 0x408747
call fcn.00478cdf
cmp edi, esi
je 0x408838
test ebx, ebx
jne 0x4087d9
call fcn.00478cdf
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x408768
call fcn.00478cdf
push str.launcher.exe
lea ecx, [edi + 0x24]
lea esi, [ebp - 0x48]
call fcn.0040dce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.0040b530
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x30], 8
jb 0x4087a2
mov eax, dword [ebp - 0x44]
push eax
call fcn.00477b12
add esp, 4
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x4087b2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4087e1
test ebx, ebx
jne 0x4087dd
call fcn.00478cdf
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4087d2
call fcn.00478cdf
mov edi, dword [edi]
jmp 0x408730
mov eax, dword [ebx]
jmp 0x40875e
mov eax, dword [ebx]
jmp 0x4087c8
cmp dword [ebp - 0x14], esi
jb 0x4087f2
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00477b12
add esp, 4
lea eax, [ebp - 0xc8]
xor edx, edx
xor esi, esi
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], dx
call fcn.0040d3b0
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00477b12
mov edx, dword [ebp - 0xc8]
add esp, 4
push edx
mov dword [ebp - 0xb4], esi
call fcn.00477b12
add esp, 4
mov al, 1
jmp 0x40888e
cmp dword [ebp - 0x14], 8
jb 0x40884a
mov eax, dword [ebp - 0x28]
push eax
call fcn.00477b12
add esp, 4
lea edx, [ebp - 0xc8]
xor ecx, ecx
xor esi, esi
push edx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], cx
call fcn.0040d3b0
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00477b12
mov ecx, dword [ebp - 0xc8]
add esp, 4
push ecx
mov dword [ebp - 0xb4], esi
call fcn.00477b12
add esp, 4
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.00477b1d
mov esp, ebp
pop ebp
ret