Function at 0x4011f0
Capabilities:
Check os version
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov eax, dword [0x450014]
xor eax, ebp
mov dword [esp + 0x198], eax
lea esi, [esp + 0x7c]
push 0x118
push 0
push esi
call fcn.0040f8a0
add esp, 0xc
mov dword [esi - 4], 0x11c
lea esi, [esp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x401252
cmp dword [esp + 0x7c], 6
ja 0x401252
jne 0x40138b
cmp dword [esp + 0x80], 0
je 0x40138b
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
push 0xa
push 0x7d1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40132c
mov edi, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401379
mov esi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4013c0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
lea esi, [esp + 0x48]
lea ecx, [esp + 0x78]
xor edx, edx
push esi
mov dword [esp + 0x10], eax
push eax
push edi
call fcn.00402070
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4012e1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [esp + 0x64]
mov eax, dword [esp + 0x78]
mov dword [esi - 4], eax
mov dword [esp + 0x78], 0
cmp byte [esi + 0xb], 0
movzx eax, byte [esp + 0x87]
lea ebx, [esp + 0x7c]
js 0x40141d
test al, al
jns 0x40140d
mov ecx, esi
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.00409a70
jmp 0x401437
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x78]
mov dword [esi], 0x119
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x48]
mov edx, esi
call fcn.00401ed0
cmp byte [esi + 0x13], 0
jns 0x401368
push dword [esp + 0x80]
call fcn.0040bd22
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
xor edi, edi
jmp 0x401709
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x78]
mov dword [esi], 0x11f
jmp 0x4013d0
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x4000
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor eax, eax
push eax
push str.Opera_installer_79.0.4143.22.0
push str.This_Opera_installer_works_only_on_Windows_7_or_higher._r_nVisit_____www.opera.com_____to_download_compatible_version.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 3
jmp 0x401b99
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x78]
mov dword [esi], 0x125
mov dword [esi + 4], eax
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
lea ecx, [esp + 0x48]
mov edx, esi
call fcn.00401ed0
cmp byte [esi + 0x13], 0
jns 0x4013fe
push dword [esp + 0x80]
call fcn.0040bd22
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
jmp 0x401709
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
movq xmm0, qword [ebx]
movq qword [esi], xmm0
jmp 0x401437
mov edx, ebx
test al, al
jns 0x40142e
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, esi
push eax
push edx
call fcn.00409960
cmp byte [esp + 0x87], 0
js 0x401452
mov word [esp + 0x7c], 0
mov byte [esp + 0x87], 0
jmp 0x401466
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x401475
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x87]
mov ecx, eax
test al, al
jns 0x401492
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4014d4
test al, al
jns 0x40149e
mov ebx, dword [esp + 0x7c]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x87], 0
js 0x4014b9
mov byte [esp + 0x87], 0
jmp 0x4014e4
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
mov al, byte [esp + 0x87]
test al, al
jns 0x4014e4
push dword [esp + 0x7c]
call fcn.0040bd22
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x401666
lea ebx, [esp + 0x78]
mov dword [ebx], 0x130
pxor xmm0, xmm0
movdqu xmmword [ebx + 4], xmm0
lea ecx, [esp + 0x48]
mov edx, ebx
call fcn.00401ed0
cmp byte [ebx + 0x13], 0
jns 0x401523
push dword [esp + 0x80]
call fcn.0040bd22
add esp, 4
lea ecx, [esp + 0x78]
xor edx, edx
inc edx
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x10]
push edi
call fcn.00402070
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40154b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [esp + 0x7c]
mov eax, dword [edi - 4]
mov dword [esp + 0x60], eax
mov dword [edi - 4], 0
cmp byte [esp + 0x6f], 0
movzx eax, byte [edi + 0xb]
js 0x401593
test al, al
jns 0x401583
mov ecx, esi
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.00409a70
jmp 0x4015ad
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movq xmm0, qword [edi]
movq qword [esi], xmm0
jmp 0x4015ad
mov edx, edi
test al, al
jns 0x4015a4
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, esi
push eax
push edx
call fcn.00409960
cmp byte [esp + 0x87], 0
js 0x4015c8
mov word [esp + 0x7c], 0
mov byte [esp + 0x87], 0
jmp 0x4015dc
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4015eb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x87]
mov ecx, eax
test al, al
jns 0x401608
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x40164a
test al, al
jns 0x401614
mov edi, dword [esp + 0x7c]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x87], 0
js 0x40162f
mov byte [esp + 0x87], 0
jmp 0x40165a
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
mov al, byte [esp + 0x87]
test al, al
jns 0x40165a
push dword [esp + 0x7c]
call fcn.0040bd22
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x401bb1
lea ecx, [esp + 0x34]
mov dword [ecx - 4], eax
cmp byte [esp + 0x6f], 0
js 0x401684
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movq xmm0, qword [esi]
movq qword [ecx], xmm0
jmp 0x40169c
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.0040b510
cmp byte [esp + 0x6f], 0
js 0x401c06
mov word [esp + 0x64], 0
mov byte [esp + 0x6f], 0
mov dword [esp + 0x60], 0
movzx eax, byte [esp + 0x6f]
mov ecx, eax
test al, al
jns 0x4016bf
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4016f5
test al, al
jns 0x4016cb
mov esi, dword [esp + 0x64]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x6f], 0
js 0x4016e0
mov byte [esp + 0x6f], 0
jmp 0x401705
mov eax, dword [esp + 0x64]
mov word [eax], 0
mov dword [esp + 0x68], 0
mov al, byte [esp + 0x6f]
test al, al
jns 0x401705
push dword [esp + 0x64]
call fcn.0040bd22
add esp, 4
mov edi, dword [esp + 0x30]
push 0x44a4ba
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401722
call eax
mov esi, eax
jmp 0x401ae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x78]
mov dword [esi], 0xb2
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x48]
mov edx, esi
call fcn.00401ed0
cmp byte [esi + 0x13], 0
jns 0x401760
push dword [esp + 0x80]
call fcn.0040bd22
add esp, 4
push 0x70
call fcn.0040bcf2
add esp, 4
mov edi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0x80000038
mov dword [esp + 0x28], 0x30
push 0x60
push str.Fatal_error_upon_loading_installer_executable:_r_n
push eax
call fcn.0040eda0
add esp, 0xc
mov word [edi + 0x60], 0
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x401aa6
add esi, 8
xor eax, eax
dec eax
lea ebx, [esp + 0x24]
mov dword [esp + 0x72], eax
mov dword [esp + 0x6e], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
push 0xa
push 0xb
lea edi, [esp + 0x68]
push edi
push dword [esi - 8]
call fcn.00419aed
add esp, 0x10
mov ecx, ebx
push str.In_line
call fcn.00409b00
push edi
call fcn.0041ce88
add esp, 4
cmp eax, 0x7ffffff0
jae 0x401c1c
mov ebx, eax
cmp eax, 5
mov dword [esp + 0xc], esi
jae 0x40182a
mov byte [esp + 0x5f], bl
cmp ebx, 3
jne 0x401a95
movzx eax, word [esp + 0x64]
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
lea edi, [esp + 0x54]
jmp 0x401867
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0040bcf2
add esp, 4
mov edi, eax
mov dword [esp + 0x54], eax
or esi, 0x80000000
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x64]
push eax
push edi
call fcn.0040eda0
add esp, 0xc
mov word [edi + ebx*2], 0
lea ecx, [esp + 0x54]
push 0x44a37e
call fcn.00409b00
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
movq xmm0, qword [eax]
movq qword [esp + 0x78], xmm0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
movzx eax, byte [esp + 0x83]
test al, al
cmovs eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea ebx, [esp + 0x78]
cmovns edx, ebx
lea ecx, [esp + 0x24]
push eax
push edx
call fcn.0040b6b0
cmp byte [esp + 0x83], 0
jns 0x4018d4
push dword [esp + 0x78]
call fcn.0040bd22
add esp, 4
add esi, 0xfffffff8
cmp byte [esp + 0x5f], 0
jns 0x4018ea
push dword [esp + 0x54]
call fcn.0040bd22
add esp, 4
xor ebx, ebx
dec ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov esi, dword [esi + 4]
mov eax, 0x100
push eax
push 0xff
lea edi, [esp + 0x80]
push edi
call fcn.0040f8a0
add esp, 0xc
xor eax, eax
push eax
mov ecx, 0x100
push ecx
push edi
push 0x409
push esi
push eax
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x401958
lea edi, [esp + 0x18]
mov ecx, edi
push str._Error_cannot_be_retrieved_
call fcn.0042e9e0
mov esi, dword [esp + 0xc]
lea ebx, [esp + 0x24]
jmp 0x4019e3
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ebx, [esp + 0x54]
mov ecx, ebx
push edi
call fcn.0042e9e0
movzx ecx, byte [esp + 0x5f]
test cl, cl
mov eax, dword [esp + 0x58]
mov edx, ecx
cmovs edx, eax
cmp edx, 2
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x18]
jb 0x4019a6
add edx, 0xfffffffe
mov ecx, edi
lea eax, [esp + 0x60]
push eax
push edx
push 0
push ebx
call fcn.00409800
lea ebx, [esp + 0x24]
jmp 0x4019d0
test cl, cl
lea ebx, [esp + 0x24]
js 0x4019c4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
movq xmm0, qword [esp + 0x54]
movq qword [esp + 0x18], xmm0
jmp 0x4019d0
mov ecx, edi
push eax
push dword [esp + 0x58]
call fcn.0040ad20
cmp byte [esp + 0x5f], 0
jns 0x4019e3
push dword [esp + 0x54]
call fcn.0040bd22
add esp, 4
movzx eax, byte [esp + 0x23]
test al, al
jns 0x4019f4
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add eax, edi
mov ecx, ebx
push eax
push edi
call fcn.00401c30
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 0x13]
test al, al
jns 0x401a0e
mov eax, dword [esi + 4]
test eax, eax
je 0x401a5f
push esi
push 0x44a37e
lea eax, [esp + 0x80]
push eax
call fcn.00401df0
add esp, 0xc
movzx eax, byte [esp + 0x83]
lea edx, [esp + 0x78]
test al, al
jns 0x401a40
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ecx, ebx
push eax
push edx
call fcn.0040b6b0
cmp byte [esp + 0x83], 0
jns 0x401a5f
push dword [esp + 0x78]
call fcn.0040bd22
add esp, 4
mov ecx, ebx
push 0x44a382
call fcn.00409b00
cmp byte [esp + 0x23], 0
jns 0x401a7e
push dword [esp + 0x18]
call fcn.0040bd22
add esp, 4
add esi, 0x14
add edi, 0x14
cmp edi, dword [esp + 0x10]
mov eax, 0xffffffff
jne 0x4017b4
jmp 0x401aa6
lea edi, [esp + 0x54]
test ebx, ebx
je 0x401867
jmp 0x401854
lea esi, [esp + 0x24]
mov ecx, esi
push 0x44a388
call fcn.00409b00
cmp byte [esi + 0xb], 0
jns 0x401ac0
mov esi, dword [esp + 0x24]
xor eax, eax
push eax
push str.Opera_installer_79.0.4143.22.0
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [esp + 0x2f], 0
jns 0x401ae3
push dword [esp + 0x24]
call fcn.0040bd22
add esp, 4
mov esi, 2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x401af7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x30], 0
movzx eax, byte [esp + 0x3f]
mov ecx, eax
test al, al
jns 0x401b0e
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x401b4a
test al, al
jns 0x401b1c
mov eax, dword [esp + 0x34]
jmp 0x401b20
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x3f], 0
js 0x401b35
mov byte [esp + 0x3f], 0
jmp 0x401b5a
mov eax, dword [esp + 0x34]
mov word [eax], 0
mov dword [esp + 0x38], 0
mov al, byte [esp + 0x3f]
test al, al
jns 0x401b5a
push dword [esp + 0x34]
call fcn.0040bd22
add esp, 4
mov edi, dword [esp + 0x48]
test edi, edi
je 0x401b99
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x401b8a
lea ebx, [eax - 0x14]
cmp byte [eax - 1], 0
jns 0x401b7e
push dword [eax - 0xc]
call fcn.0040bd22
add esp, 4
mov eax, ebx
cmp ebx, edi
jne 0x401b6a
mov eax, dword [esp + 0x48]
jmp 0x401b8c
mov eax, edi
mov dword [esp + 0x4c], edi
push eax
call fcn.0040bd22
add esp, 4
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.0040c228
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x78]
mov dword [edi], 0x134
pxor xmm0, xmm0
movdqu xmmword [edi + 4], xmm0
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00401ed0
cmp byte [edi + 0x13], 0
jns 0x401be4
push dword [esp + 0x80]
call fcn.0040bd22
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4016a8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4016a8
mov eax, dword [esp + 0x64]
mov word [eax], 0
mov dword [esp + 0x68], 0
jmp 0x4016a8
lea ecx, [esp + 0x54]
call fcn.0043f9e0
int3