Function at 0x414ea8
Capabilities:
Check if file exists

Disassembly:
push 0x114
mov eax, 0x52e909
call fcn.004fc737
mov edi, 0x53a3d8
push edi
lea eax, [ebp - 0x6c]
call fcn.004043d1
and dword [ebp - 4], 0
lea eax, [ebp - 0xe8]
push eax
call fcn.0041cb68
xor eax, eax
mov byte [ebp - 4], 1
cmp eax, str.opera
je 0x41585f
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 2
call fcn.0046b0ed
mov byte [ebp - 4], 3
call fcn.00405ac9
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
test al, al
je 0x415141
lea eax, [ebp - 0xac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x78], esp
push edi
xor esi, esi
push eax
inc esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x74], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xbc]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xbc]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00401105
test edi, edi
je 0x415141
push str.opera
lea eax, [ebp - 0x74]
push eax
call fcn.004056ee
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.0042a5b4
push dword [ebp - 0x9c]
lea edi, [ebp - 0xac]
lea esi, [ebp - 0x94]
call fcn.00480d46
push dword [ebp - 0xa0]
lea esi, [ebp - 0x84]
call fcn.00480d46
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x414fd2
cmp eax, dword [ebp - 0x94]
je 0x414fd7
call fcn.004f2996
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x90]
je 0x415132
lea esi, [ebp - 0x84]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.0042a5b4
push dword [ebp - 0x74]
xor ecx, ecx
lea esi, [ebp - 0x70]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x415113
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 9
mov eax, esp
mov dword [ebp - 0x8c], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x7c]
call fcn.004056ee
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x78]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x88], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xcc]
xor ecx, ecx
push eax
inc ecx
mov byte [ebp - 4], 9
call fcn.0040499a
push eax
mov byte [ebp - 4], 0xb
call fcn.00404869
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.00401105
test edi, edi
je 0x4150fd
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x120]
push eax
lea esi, [ebp - 0xb4]
call fcn.004237f7
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.0041cbf6
lea edi, [ebp - 0x120]
call fcn.0041cc5f
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x84]
call fcn.0041b5a9
jmp 0x414fc0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00405521
lea eax, [ebp - 0xac]
call fcn.0041b354
lea eax, [ebp - 0xac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x88], esp
push 0x53a3d8
push eax
xor esi, esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [ebp - 0x8c], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00401105
test edi, edi
je 0x415377
push str.opera
lea eax, [ebp - 0x7c]
push eax
call fcn.004056ee
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.0042a5b4
push dword [ebp - 0x9c]
lea edi, [ebp - 0xac]
lea esi, [ebp - 0xb4]
call fcn.00480d46
push dword [ebp - 0xa0]
lea esi, [ebp - 0x84]
call fcn.00480d46
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x41520d
cmp eax, dword [ebp - 0xb4]
je 0x415212
call fcn.004f2996
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xb0]
je 0x41536c
lea esi, [ebp - 0x84]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.0042a5b4
push dword [ebp - 0x7c]
xor ecx, ecx
lea esi, [ebp - 0x70]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x41534d
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x12
mov eax, esp
mov dword [ebp - 0x88], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x74]
call fcn.004056ee
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x78]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x8c], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xcc]
push eax
xor ecx, ecx
mov byte [ebp - 4], 0x12
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x14
call fcn.00404869
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.00401105
test edi, edi
je 0x415337
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x120]
push eax
lea esi, [ebp - 0x94]
call fcn.004237f7
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
call fcn.0041cbf6
lea edi, [ebp - 0x120]
call fcn.0041cc5f
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x84]
call fcn.0041b5a9
jmp 0x4151fb
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0xac]
call fcn.0042a18f
push dword [ebp - 0xac]
call fcn.004f1890
pop ecx
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.00404e29
and dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 0x16
call fcn.0046b0ed
mov byte [ebp - 4], 0x17
call fcn.00405ac9
mov ebx, SysReAllocString
test al, al
je 0x415602
lea eax, [ebp - 0xac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x88], esp
push 0x53a3d8
xor esi, esi
push eax
inc esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0x18
mov eax, esp
mov dword [ebp - 0x8c], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.00401105
test edi, edi
je 0x415602
push str.opera
lea eax, [ebp - 0x7c]
push eax
call fcn.004056ee
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.0042a5b4
push dword [ebp - 0x9c]
lea edi, [ebp - 0xac]
lea esi, [ebp - 0xb4]
call fcn.00480d46
push dword [ebp - 0xa0]
lea esi, [ebp - 0x84]
call fcn.00480d46
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x415493
cmp eax, dword [ebp - 0xb4]
je 0x415498
call fcn.004f2996
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xb0]
je 0x4155f3
lea esi, [ebp - 0x84]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.0042a5b4
push dword [ebp - 0x7c]
xor ecx, ecx
lea esi, [ebp - 0x70]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x4155d4
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1c
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x1d
mov eax, esp
mov dword [ebp - 0x88], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x74]
call fcn.004056ee
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x78]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x8c], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xcc]
xor ecx, ecx
push eax
inc ecx
mov byte [ebp - 4], 0x1d
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x1f
call fcn.00404869
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 0x1d
call fcn.00401105
test edi, edi
je 0x4155be
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x120]
push eax
lea esi, [ebp - 0x94]
call fcn.004237f7
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0xe8]
mov byte [ebp - 4], 0x20
call fcn.0041cbf6
lea edi, [ebp - 0x120]
call fcn.0041cc5f
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x84]
call fcn.0041b5a9
jmp 0x415481
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00405521
lea eax, [ebp - 0xac]
call fcn.0041b354
lea eax, [ebp - 0xac]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x88], esp
push 0x53a3d8
push eax
xor esi, esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0x21
mov eax, esp
mov dword [ebp - 0x8c], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.00401105
test edi, edi
je 0x415838
push str.opera
lea eax, [ebp - 0x7c]
push eax
call fcn.004056ee
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x23
call fcn.0042a5b4
push dword [ebp - 0x9c]
lea edi, [ebp - 0xac]
lea esi, [ebp - 0xb4]
call fcn.00480d46
push dword [ebp - 0xa0]
lea esi, [ebp - 0x84]
call fcn.00480d46
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4156ce
cmp eax, dword [ebp - 0xb4]
je 0x4156d3
call fcn.004f2996
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xb0]
je 0x41582d
lea esi, [ebp - 0x84]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x24
call fcn.0042a5b4
push dword [ebp - 0x7c]
xor ecx, ecx
lea esi, [ebp - 0x70]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x41580e
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x25
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x26
mov eax, esp
mov dword [ebp - 0x88], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x74]
call fcn.004056ee
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x78]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x8c], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xcc]
push eax
xor ecx, ecx
mov byte [ebp - 4], 0x26
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x28
call fcn.00404869
pop ecx
lea esi, [ebp - 0xcc]
mov edi, eax
mov byte [ebp - 4], 0x26
call fcn.00401105
test edi, edi
je 0x4157f8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x120]
push eax
lea esi, [ebp - 0x94]
call fcn.004237f7
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0xe8]
mov byte [ebp - 4], 0x29
call fcn.0041cbf6
lea edi, [ebp - 0x120]
call fcn.0041cc5f
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x84]
call fcn.0041b5a9
jmp 0x4156bc
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0xac]
call fcn.0042a18f
push dword [ebp - 0xac]
call fcn.004f1890
pop ecx
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00404e29
cmp dword [ebp - 0xd0], 0
jne 0x4158fc
lea eax, [ebp - 0x6c]
push eax
mov edx, str.Last_Stable_Install_Path
mov ecx, str.SOFTWAREOpera_Software
call fcn.0041441b
cmp dword [ebp - 0x58], 0
pop ecx
je 0x4158fc
sub esp, 0x1c
lea eax, [ebp - 0x6c]
mov esi, esp
mov dword [ebp - 0x88], esp
push eax
call fcn.0042a58e
lea edi, [ebp - 0x34]
call fcn.00423828
add esp, 0x1c
mov esi, eax
mov byte [ebp - 4], 0x2a
push dword [esi]
lea eax, [ebp - 0x120]
call fcn.004043d1
add esi, 4
push esi
lea esi, [ebp - 0x104]
mov byte [ebp - 4], 0x2b
call fcn.0042a58e
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0xe8]
mov byte [ebp - 4], 0x2c
call fcn.0041cbf6
lea edi, [ebp - 0x120]
call fcn.0041cc5f
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00404e29
push 0x53a3d8
lea eax, [ebp - 0x50]
call fcn.004043d1
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe8]
lea edi, [ebp - 0xb4]
lea esi, [ebp - 0x84]
mov dword [ebp - 0xb4], eax
call fcn.00473017
test al, al
je 0x4159ea
push str.launcher.exe
call fcn.0043bea3
add eax, 0x1c
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00422e08
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 0x2e
call fcn.00404b74
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x2d
call fcn.00404e29
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x41599c
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4159b7
lea esi, [ebp - 0x84]
call fcn.004ac90e
jmp 0x415924
push str.Opera
lea eax, [ebp - 0x78]
push eax
call fcn.004056ee
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x2f
call fcn.00414a82
mov bl, al
mov eax, dword [ebp - 0x78]
neg bl
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405521
test bl, bl
je 0x415a17
xor bl, bl
push 0
push 1
lea esi, [ebp - 0x50]
call fcn.00404e29
lea esi, [ebp - 0xe8]
call fcn.0041cba5
push 0
push 1
lea esi, [ebp - 0x6c]
call fcn.00404e29
mov al, bl
call fcn.004fc7ba
ret
mov bl, 1
jmp 0x4159ec