Function at 0x40fa90
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 0x6e
xor eax, eax
mov dword [ebp - 0x48], 7
push str.https:__net.geo.opera.com_opera_gx_stable_edition_std_2_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 0x40fb3b
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 0x40fb30
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40fb32
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.OperaSetupGX.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 0x40fba1
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 0x1a4
push str.LDADManager::downloadOperaGX
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 0x40fe4d
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 0x40fc6d
push str.OperaSetupGX.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 0x40fe8c
push dword [ebp - 0xdc]
jmp 0x40fe84
push str.download_ad_error
push 0x1b3
push str.LDADManager::downloadOperaGX
call fcn.0040c770
mov eax, dword [0x56cb9c]
add esp, 0xc
test eax, eax
jne 0x40fcce
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 0x40fcc3
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40fcc5
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 0x40fcea
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 0x40fd10
xor ecx, ecx
jmp 0x40fd24
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fd15
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 0x15
xor eax, eax
mov dword [ebp - 0xe4], 7
push str.operaGX_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 0x40fdb2
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 0x40fda7
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40fda9
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 0x40fdde
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 0x40fe12
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 0x40fe46
push dword [ebp - 0x110]
call fcn.004c8900
add esp, 4
xor bl, bl
jmp 0x40ff3c
push str.OperaSetupGX.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 0x40fe8c
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.OperaSetupGX.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 0x40ff06
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 0x40ff3a
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 0x40ff62
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 0x40ff87
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 0x40ffac
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