Function at 0x415d56
Capabilities:
Check if file exists

Disassembly:
push 0xf4
mov eax, 0x52e719
call fcn.004fc737
mov esi, ecx
push esi
mov ecx, str.Opera.exe
call fcn.00414cf7
pop ecx
test al, al
je 0x415d9e
cmp dword [esi + 0x14], 0
je 0x415d9e
cmp dword [esi + 0x18], 8
jb 0x415d88
mov esi, dword [esi + 4]
jmp 0x415d8b
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415d9e
mov al, 1
call fcn.004fc7ba
ret
lea eax, [ebp - 0xc8]
push eax
call fcn.0041cb68
and dword [ebp - 4], 0
xor eax, eax
cmp eax, str.Opera
je 0x4166a2
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 1
call fcn.0046b0ed
mov byte [ebp - 4], 2
call fcn.00405ac9
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
test al, al
je 0x415ff9
lea eax, [ebp - 0x8c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x5c], esp
push 0x53a3d8
xor esi, esi
push eax
inc esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x54], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00401105
test edi, edi
je 0x415ff9
push str.Opera
lea eax, [ebp - 0x54]
push eax
call fcn.004056ee
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.0042a5b4
push dword [ebp - 0x7c]
lea edi, [ebp - 0x8c]
lea esi, [ebp - 0x74]
call fcn.00480d46
push dword [ebp - 0x80]
lea esi, [ebp - 0x64]
call fcn.00480d46
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x415e99
cmp eax, dword [ebp - 0x74]
je 0x415e9e
call fcn.004f2996
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x70]
je 0x415fea
lea esi, [ebp - 0x64]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0042a5b4
push dword [ebp - 0x54]
xor ecx, ecx
lea esi, [ebp - 0x50]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x415fce
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 8
mov eax, esp
mov dword [ebp - 0x68], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x58]
call fcn.004056ee
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x6c], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
inc ecx
mov byte [ebp - 4], 8
call fcn.0040499a
push eax
mov byte [ebp - 4], 0xa
call fcn.00404869
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.00401105
test edi, edi
je 0x415fb8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x100]
push eax
lea esi, [ebp - 0x94]
call fcn.004237f7
lea eax, [ebp - 0x100]
push eax
lea edi, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
call fcn.0041cbf6
lea edi, [ebp - 0x100]
call fcn.0041cc5f
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x64]
call fcn.0041b5a9
jmp 0x415e8d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00405521
lea eax, [ebp - 0x8c]
call fcn.0041b354
lea eax, [ebp - 0x8c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push 0x53a3d8
push eax
xor esi, esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x68], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00401105
test edi, edi
je 0x416208
push str.Opera
lea eax, [ebp - 0x58]
push eax
call fcn.004056ee
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.0042a5b4
push dword [ebp - 0x7c]
lea edi, [ebp - 0x8c]
lea esi, [ebp - 0x94]
call fcn.00480d46
push dword [ebp - 0x80]
lea esi, [ebp - 0x64]
call fcn.00480d46
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4160b3
cmp eax, dword [ebp - 0x94]
je 0x4160b8
call fcn.004f2996
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x90]
je 0x4161fd
lea esi, [ebp - 0x64]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.0042a5b4
push dword [ebp - 0x58]
xor ecx, ecx
lea esi, [ebp - 0x50]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x4161e1
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x11
mov eax, esp
mov dword [ebp - 0x6c], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x54]
call fcn.004056ee
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xac]
push eax
xor ecx, ecx
mov byte [ebp - 4], 0x11
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x13
call fcn.00404869
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 0x11
call fcn.00401105
test edi, edi
je 0x4161cb
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x100]
push eax
lea esi, [ebp - 0x74]
call fcn.004237f7
lea eax, [ebp - 0x100]
push eax
lea edi, [ebp - 0xc8]
mov byte [ebp - 4], 0x14
call fcn.0041cbf6
lea edi, [ebp - 0x100]
call fcn.0041cc5f
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x64]
call fcn.0041b5a9
jmp 0x4160a4
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x8c]
call fcn.0042a18f
push dword [ebp - 0x8c]
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 - 0x8c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0046b0ed
mov byte [ebp - 4], 0x16
call fcn.00405ac9
mov ebx, SysReAllocString
test al, al
je 0x41646c
lea eax, [ebp - 0x8c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push 0x53a3d8
xor esi, esi
push eax
inc esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0x17
mov eax, esp
mov dword [ebp - 0x68], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.00401105
test edi, edi
je 0x41646c
push str.Opera
lea eax, [ebp - 0x58]
push eax
call fcn.004056ee
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.0042a5b4
push dword [ebp - 0x7c]
lea edi, [ebp - 0x8c]
lea esi, [ebp - 0x94]
call fcn.00480d46
push dword [ebp - 0x80]
lea esi, [ebp - 0x64]
call fcn.00480d46
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x416312
cmp eax, dword [ebp - 0x94]
je 0x416317
call fcn.004f2996
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x90]
je 0x41645d
lea esi, [ebp - 0x64]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.0042a5b4
push dword [ebp - 0x58]
xor ecx, ecx
lea esi, [ebp - 0x50]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x416441
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x1c
mov eax, esp
mov dword [ebp - 0x6c], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x54]
call fcn.004056ee
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
inc ecx
mov byte [ebp - 4], 0x1c
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x1e
call fcn.00404869
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.00401105
test edi, edi
je 0x41642b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x100]
push eax
lea esi, [ebp - 0x74]
call fcn.004237f7
lea eax, [ebp - 0x100]
push eax
lea edi, [ebp - 0xc8]
mov byte [ebp - 4], 0x1f
call fcn.0041cbf6
lea edi, [ebp - 0x100]
call fcn.0041cc5f
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x64]
call fcn.0041b5a9
jmp 0x416303
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00405521
lea eax, [ebp - 0x8c]
call fcn.0041b354
lea eax, [ebp - 0x8c]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push 0x53a3d8
push eax
xor esi, esi
call fcn.004056ee
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x68], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.004056ee
push ebx
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0040499a
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00429ecc
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.00401105
test edi, edi
je 0x41667b
push str.Opera
lea eax, [ebp - 0x58]
push eax
call fcn.004056ee
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x22
call fcn.0042a5b4
push dword [ebp - 0x7c]
lea edi, [ebp - 0x8c]
lea esi, [ebp - 0x94]
call fcn.00480d46
push dword [ebp - 0x80]
lea esi, [ebp - 0x64]
call fcn.00480d46
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x416526
cmp eax, dword [ebp - 0x94]
je 0x41652b
call fcn.004f2996
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x90]
je 0x416670
lea esi, [ebp - 0x64]
call fcn.00467597
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404942
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x23
call fcn.0042a5b4
push dword [ebp - 0x58]
xor ecx, ecx
lea esi, [ebp - 0x50]
call fcn.004299ad
cmp eax, 0xffffffff
je 0x416654
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.004271b6
add esp, 4
mov byte [ebp - 4], 0x25
mov eax, esp
mov dword [ebp - 0x6c], esp
push str.InstallLocation
push eax
lea esi, [ebp - 0x54]
call fcn.004056ee
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov edi, esp
call fcn.00404942
add eax, 0x10
mov dword [edi], eax
push ebx
lea eax, [ebp - 0xac]
push eax
xor ecx, ecx
mov byte [ebp - 4], 0x25
call fcn.0040499a
push eax
mov byte [ebp - 4], 0x27
call fcn.00404869
pop ecx
lea esi, [ebp - 0xac]
mov edi, eax
mov byte [ebp - 4], 0x25
call fcn.00401105
test edi, edi
je 0x41663e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x100]
push eax
lea esi, [ebp - 0x74]
call fcn.004237f7
lea eax, [ebp - 0x100]
push eax
lea edi, [ebp - 0xc8]
mov byte [ebp - 4], 0x28
call fcn.0041cbf6
lea edi, [ebp - 0x100]
call fcn.0041cc5f
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00405521
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x64]
call fcn.0041b5a9
jmp 0x416517
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00405521
lea esi, [ebp - 0x8c]
call fcn.0042a18f
push dword [ebp - 0x8c]
call fcn.004f1890
pop ecx
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00404e29
push 0x53a3d8
lea eax, [ebp - 0x4c]
call fcn.004043d1
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc8]
lea edi, [ebp - 0x94]
lea esi, [ebp - 0x64]
mov dword [ebp - 0x94], eax
call fcn.00473017
test al, al
je 0x416770
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 - 0x4c]
push ecx
mov byte [ebp - 4], 0x2a
call fcn.00404b74
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x29
call fcn.00404e29
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x416738
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416750
lea esi, [ebp - 0x64]
call fcn.004ac90e
jmp 0x4166c7
mov bl, 1
push 0
push 1
lea esi, [ebp - 0x4c]
call fcn.00404e29
lea esi, [ebp - 0xc8]
call fcn.0041cba5
mov al, bl
jmp 0x415d98
xor bl, bl
jmp 0x416752