Function at 0x48d2b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push str.Opera.exe
call fcn.00468860
add esp, 8
xor edi, edi
test al, al
je 0x48d309
cmp dword [esi + 0x14], edi
je 0x48d309
cmp dword [esi + 0x18], 8
jb 0x48d2e9
mov esi, dword [esi + 4]
jmp 0x48d2ec
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d309
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push 4
call fcn.0051d4d3
add esp, 4
cmp eax, edi
je 0x48d321
lea ecx, [ebp - 0x3c]
mov dword [eax], ecx
mov dword [ebp - 0x3c], eax
jmp 0x48d324
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x3c]
call fcn.004451d0
lea edx, [ebp - 0x3c]
push edx
push str.InstallLocation
push str.Opera
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call fcn.0048c820
lea eax, [ebp - 0x3c]
push eax
push str.InstallLocation
push str.Opera
push SysReAllocString
call fcn.0048c820
add esp, 0x20
xor ecx, ecx
push edi
mov word [ebp - 0x1c], cx
push 0x576bd0
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edi
call fcn.0044fc50
mov edx, dword [ebp - 0x28]
mov esi, dword [edx]
mov edi, dword [ebp - 0x3c]
push ebx
lea esp, [esp]
mov ebx, dword [ebp - 0x28]
test edi, edi
je 0x48d39c
cmp edi, dword [ebp - 0x3c]
je 0x48d3a1
call fcn.0051f89a
cmp esi, ebx
je 0x48d486
test edi, edi
jne 0x48d428
call fcn.0051f89a
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x48d3be
call fcn.0051f89a
push str.launcher.exe
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045e100
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0044f8b0
mov ebx, 8
cmp dword [ebp - 0x40], ebx
jb 0x48d3f6
mov edx, dword [ebp - 0x54]
push edx
call fcn.0051d230
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x48d401
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d430
test edi, edi
jne 0x48d42c
call fcn.0051f89a
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x48d421
call fcn.0051f89a
mov esi, dword [esi]
jmp 0x48d390
mov eax, dword [edi]
jmp 0x48d3b4
mov eax, dword [edi]
jmp 0x48d417
cmp dword [ebp - 8], ebx
jb 0x48d441
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0051d230
add esp, 4
xor ecx, ecx
mov word [ebp - 0x1c], cx
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], esi
call fcn.0047a520
mov edx, dword [ebp - 0x28]
push edx
call fcn.0051d230
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x28], esi
call fcn.0051d230
add esp, 8
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 8
jb 0x48d498
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0051d230
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], dx
call fcn.0047a520
mov eax, dword [ebp - 0x28]
push eax
call fcn.0051d230
mov ecx, dword [ebp - 0x3c]
push ecx
mov dword [ebp - 0x28], 0
call fcn.0051d230
mov ecx, dword [ebp - 4]
add esp, 8
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret