Function at 0x40f550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5110fa
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push 0x65
xor eax, eax
mov dword [ebp - 0x48], 7
push str.https:__net.geo.opera.com_opera_stable_windows_utm_sourceldplayerutm_mediumapbutm_campaignbundle
mov dword [edi], 1
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00407100
mov dword [ebp - 4], 0
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x40f5fb
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x40f5f0
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40f5f2
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.004206d0
push str.OperaSetup.tmp
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00408d20
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40f661
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
push 0x53e398
push 0x122
push str.utility::ufile::removeFile
call fcn.0040c770
add esp, 0x14
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.satart_download__s
push 0x17d
push str.LDADManager::downloadOpera
call fcn.0040c770
push 0x64
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.004de630
add esp, 0x1c
lea ecx, [ebp - 0xc4]
call fcn.00431390
push 0
push 0xbb8
push 2
push ecx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.004316a0
test al, al
jne 0x40f90d
push 1
push 0xbb8
push 2
push ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.004316a0
test al, al
je 0x40f72d
push str.OperaSetup.exe
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xdc]
call fcn.00408d20
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00408450
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0xc8], 8
jb 0x40f94c
push dword [ebp - 0xdc]
jmp 0x40f944
push str.download_ad_error
push 0x18c
push str.LDADManager::downloadOpera
call fcn.0040c770
mov eax, dword [0x56cb9c]
add esp, 0xc
test eax, eax
jne 0x40f78e
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x40f783
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40f785
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.00420690
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 8
jb 0x40f7aa
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
cmp word [edx], ax
jne 0x40f7d0
xor ecx, ecx
jmp 0x40f7e4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f7d5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xdc]
call fcn.00407100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf8]
push 0x13
xor eax, eax
mov dword [ebp - 0xe4], 7
push str.opera_downloaderror
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
call fcn.00407100
mov byte [ebp - 4], 0xa
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x40f872
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x40f867
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40f869
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.00426980
cmp dword [ebp - 0xe4], 8
jb 0x40f89e
push dword [ebp - 0xf8]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x40f8d2
push dword [ebp - 0xdc]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xc8], 7
cmp dword [ebp - 0xfc], 8
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
jb 0x40f906
push dword [ebp - 0x110]
call fcn.004c8900
add esp, 4
xor bl, bl
jmp 0x40f9fc
push str.OperaSetup.exe
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x110]
call fcn.00408d20
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00408450
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0xfc], 8
jb 0x40f94c
push dword [ebp - 0x110]
call fcn.004c8900
add esp, 4
push 0x14
xor eax, eax
mov dword [edi], 2
push str._silent___allusers0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
call fcn.00407100
push str.OperaSetup.exe
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.00408d20
sub esp, 8
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xdc]
mov ecx, eax
call fcn.004091f0
add esp, 0xc
cmp dword [ebp - 0xe4], 8
jb 0x40f9c6
push dword [ebp - 0xf8]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x40f9fa
push dword [ebp - 0xdc]
call fcn.004c8900
add esp, 4
mov bl, 1
lea ecx, [ebp - 0xc4]
mov dword [edi], 0
mov byte [ebp - 4], 3
call fcn.00430490
cmp dword [ebp - 0x18], 8
jb 0x40fa22
push dword [ebp - 0x2c]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40fa47
push dword [ebp - 0x44]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40fa6c
push dword [ebp - 0x5c]
call fcn.004c8900
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 4