Function at 0x48cf30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
xor eax, eax
mov esi, 7
push 0x576bd0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
call fcn.0044fc50
push 4
call fcn.0051d4d3
add esp, 4
cmp eax, ebx
je 0x48cf7f
lea ecx, [ebp - 0x58]
mov dword [eax], ecx
mov dword [ebp - 0x58], eax
jmp 0x48cf82
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x58]
call fcn.004451d0
lea edx, [ebp - 0x58]
push edx
push str.InstallLocation
push str.opera
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
call fcn.0048c820
lea eax, [ebp - 0x58]
push eax
push str.InstallLocation
push str.opera
push SysReAllocString
call fcn.0048c820
add esp, 0x20
cmp dword [ebp - 0x40], ebx
jne 0x48d072
mov edx, dword [str.Last_Stable_Install_Path]
mov eax, dword [str.SOFTWAREOpera_Software]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push eax
call fcn.00468330
add esp, 0xc
cmp dword [ebp - 0x28], ebx
je 0x48d072
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x3c]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0044f8b0
lea ecx, [ebp - 0x7c]
push str.opera
push ecx
call fcn.0045e380
add esp, 0x24
push eax
lea ecx, [ebp - 0xb4]
call fcn.0045e3d0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [ebp - 0xb4]
push edx
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0046cba0
push 1
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0045cb00
mov dword [edi], esi
mov edx, dword [esi + 4]
lea ecx, [ebp - 0xb4]
mov dword [edx], esi
call fcn.0044f4f0
cmp dword [ebp - 0x60], 8
jb 0x48d072
mov eax, dword [ebp - 0x74]
push eax
call fcn.0051d230
add esp, 4
xor ecx, ecx
push ebx
mov word [ebp - 0x1c], cx
push 0x576bd0
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ebx
call fcn.0044fc50
mov edx, dword [ebp - 0x44]
mov esi, dword [edx]
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x44]
test edi, edi
je 0x48d0a4
cmp edi, dword [ebp - 0x58]
je 0x48d0a9
call fcn.0051f89a
cmp esi, ebx
je 0x48d23c
test edi, edi
jne 0x48d130
call fcn.0051f89a
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x48d0c6
call fcn.0051f89a
push str.launcher.exe
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x78]
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 - 0x60], ebx
jb 0x48d0fe
mov edx, dword [ebp - 0x74]
push edx
call fcn.0051d230
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x48d109
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d138
test edi, edi
jne 0x48d134
call fcn.0051f89a
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x48d129
call fcn.0051f89a
mov esi, dword [esi]
jmp 0x48d098
mov eax, dword [edi]
jmp 0x48d0bc
mov eax, dword [edi]
jmp 0x48d11f
push str.Opera
lea ecx, [ebp - 0x5c]
call fcn.00464b60
lea eax, [ebp - 0x5c]
push 1
push eax
call fcn.0048c280
add esp, 8
test al, al
mov eax, dword [ebp - 0x5c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
test bl, bl
je 0x48d1d5
cmp dword [ebp - 8], edi
jb 0x48d191
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0051d230
add esp, 4
xor edx, edx
xor esi, esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], esi
mov word [ebp - 0x1c], dx
call fcn.0047a520
mov eax, dword [ebp - 0x44]
push eax
call fcn.0051d230
mov ecx, dword [ebp - 0x58]
push ecx
mov dword [ebp - 0x44], esi
call fcn.0051d230
add esp, 8
cmp dword [ebp - 0x24], edi
jb 0x48d29b
mov edx, dword [ebp - 0x38]
push edx
jmp 0x48d293
cmp dword [ebp - 8], edi
jb 0x48d1e6
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 - 0x58]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], esi
call fcn.0047a520
mov edx, dword [ebp - 0x44]
push edx
call fcn.0051d230
mov eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x44], esi
call fcn.0051d230
add esp, 8
cmp dword [ebp - 0x24], edi
jb 0x48d229
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0051d230
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov esi, 8
cmp dword [ebp - 8], esi
jb 0x48d252
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0051d230
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.0047a520
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0051d230
mov edx, dword [ebp - 0x58]
push edx
mov dword [ebp - 0x44], 0
call fcn.0051d230
add esp, 8
cmp dword [ebp - 0x24], esi
jb 0x48d29b
mov eax, dword [ebp - 0x38]
push eax
call fcn.0051d230
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret