Function at 0x4016b0
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x188
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x120]
push 0x110
push 0
push edi
call fcn.004152f0
add esp, 0xc
mov dword [edi - 0xc], 0x11c
sub esp, 0x10
movdqa xmm0, xmmword [0x44ef90]
movdqu xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov esi, 3
xor ecx, ecx
inc ecx
push esi
push ecx
push edx
push eax
call ebx
push esi
push 0x20
push edx
push eax
call ebx
mov dword [edi - 8], 6
xor ecx, ecx
inc ecx
mov dword [edi - 4], ecx
mov word [edi + 0x108], 0
lea esi, [ebp - 0x12c]
push edx
push eax
push 0x23
push esi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x401b5a
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
lea edi, [ebp - 0x16c]
pcmpeqd xmm0, xmm0
movdqu xmmword [edi - 4], xmm0
push 0xa
push 0x7d1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x401a43
mov esi, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4018a5
mov edi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40184c
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x144], xmm0
lea edi, [ebp - 0x160]
lea ecx, [ebp - 0x12c]
xor edx, edx
push edi
mov dword [ebp - 0x18c], eax
push eax
push esi
call fcn.004025d0
add esp, 0xc
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x4017e3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [ebp - 0x140]
lea ebx, [ebp - 0x128]
mov eax, dword [ebx - 4]
mov dword [edi - 4], eax
mov dword [ebx - 4], 0
cmp byte [edi + 0xb], 0
movzx eax, byte [ebx + 0xb]
js 0x40213a
test al, al
jns 0x4018cd
mov ecx, edi
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call fcn.00410370
cmp byte [ebp - 0x11d], 0
jns 0x4018db
mov eax, dword [ebp - 0x128]
mov word [eax], 0
mov dword [ebp - 0x124], 0
jmp 0x4018eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x12c]
mov dword [esi], 0x11c
mov dword [esi + 4], eax
pxor xmm0, xmm0
movq qword [esi + 8], xmm0
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x160]
mov edx, esi
call fcn.004023f0
cmp byte [esi + 0x13], 0
jns 0x401892
push dword [ebp - 0x124]
call fcn.00411790
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x170], xmm0
xor eax, eax
jmp 0x4019e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x12c]
mov dword [esi], 0x116
jmp 0x401a4f
cmp dword [ebp - 0x124], 0
je 0x40193f
mov ebx, dword [ebp - 0x128]
jmp 0x401911
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
movq xmm0, qword [ebx]
movq qword [edi], xmm0
mov word [ebp - 0x128], 0
mov byte [ebp - 0x11d], 0
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4018fc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x12c], 0
cmp byte [ebp - 0x11d], 0
js 0x4018bc
je 0x40194d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 0x11d], 0
jns 0x40194d
mov eax, dword [ebp - 0x128]
mov word [eax], 0
mov dword [ebp - 0x124], 0
cmp byte [ebp - 0x11d], 0
jns 0x40194d
push dword [ebp - 0x128]
call fcn.00411790
add esp, 4
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x401bbf
mov dword [ebp - 0x170], eax
cmp byte [ebp - 0x135], 0
js 0x401a05
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x16c]
mov dword [ecx + 8], eax
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov word [ebp - 0x140], 0
mov byte [ebp - 0x135], 0
mov dword [ebp - 0x144], 0
cmp byte [ebp - 0x135], 0
js 0x4019f4
je 0x4019e3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 0x135], 0
jns 0x4019e3
mov eax, dword [ebp - 0x140]
mov word [eax], 0
mov dword [ebp - 0x13c], 0
cmp byte [ebp - 0x135], 0
jns 0x4019e3
push dword [ebp - 0x140]
call fcn.00411790
add esp, 4
mov eax, dword [ebp - 0x170]
lea edi, [ebp - 0x16c]
jmp 0x401a91
cmp dword [ebp - 0x13c], 0
je 0x4019d5
mov edi, dword [ebp - 0x140]
jmp 0x4019a7
lea ecx, [ebp - 0x16c]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
call fcn.0040fed0
cmp byte [ebp - 0x135], 0
jns 0x401982
mov eax, dword [ebp - 0x140]
mov word [eax], 0
mov dword [ebp - 0x13c], 0
jmp 0x401992
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], 0x110
mov dword [esi + 4], eax
pxor xmm0, xmm0
movq qword [esi + 8], xmm0
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x160]
mov edx, esi
call fcn.004023f0
cmp byte [esi + 0x13], 0
jns 0x401a83
push dword [ebp - 0x124]
call fcn.00411790
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x170], xmm0
xor eax, eax
push 0x44f4f2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401d7e
mov ecx, eax
call dword [0x451b2c]
call ecx
mov esi, eax
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x401ac2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x170], 0
cmp byte [ebp - 0x161], 0
js 0x401b2b
je 0x401b13
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 0x161], 0
jns 0x401b13
mov eax, dword [ebp - 0x16c]
mov word [eax], 0
mov dword [ebp - 0x168], 0
cmp byte [ebp - 0x161], 0
jns 0x401b13
push dword [ebp - 0x16c]
call fcn.00411790
add esp, 4
mov edi, dword [ebp - 0x160]
test edi, edi
je 0x401b99
mov eax, dword [ebp - 0x15c]
cmp eax, edi
je 0x401b90
mov ebx, eax
jmp 0x401b4d
cmp dword [ebp - 0x168], 0
je 0x401b05
mov edi, dword [ebp - 0x16c]
jmp 0x401ad7
push dword [eax - 0xc]
call fcn.00411790
add esp, 4
mov eax, ebx
cmp ebx, edi
je 0x401b90
add ebx, 0xffffffec
je 0x401bb0
cmp byte [eax - 1], 0
jns 0x401b47
jmp 0x401b3c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0x128], 0x4000
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor eax, eax
push eax
push 0x44ef28
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
push edi
call fcn.00411790
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004120c9
mov eax, esi
add esp, 0x188
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x44f2c7
push 0x44f243
call fcn.00445fc0
lea ebx, [ebp - 0x12c]
mov dword [ebx], 0x127
pxor xmm0, xmm0
movdqu xmmword [ebx + 4], xmm0
lea ecx, [ebp - 0x160]
mov edx, ebx
call fcn.004023f0
cmp byte [ebx + 0x13], 0
jns 0x401bf5
push dword [ebp - 0x124]
call fcn.00411790
add esp, 4
lea ecx, [ebp - 0x12c]
xor edx, edx
inc edx
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x18c]
push esi
call fcn.004025d0
add esp, 0xc
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x401c25
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [ebp - 0x128]
mov eax, dword [esi - 4]
mov dword [ebp - 0x144], eax
mov dword [esi - 4], 0
cmp byte [ebp - 0x135], 0
movzx eax, byte [esi + 0xb]
js 0x40215a
test al, al
jns 0x401c94
mov ecx, edi
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call fcn.00410370
cmp byte [ebp - 0x11d], 0
jns 0x401ca2
mov eax, dword [ebp - 0x128]
mov word [eax], 0
mov dword [ebp - 0x124], 0
jmp 0x401cb2
cmp dword [ebp - 0x124], 0
je 0x401d06
mov esi, dword [ebp - 0x128]
jmp 0x401cd8
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov word [ebp - 0x128], 0
mov byte [ebp - 0x11d], 0
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x401cc3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x12c], 0
cmp byte [ebp - 0x11d], 0
js 0x401c83
je 0x401d14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 0x11d], 0
jns 0x401d14
mov eax, dword [ebp - 0x128]
mov word [eax], 0
mov dword [ebp - 0x124], 0
cmp byte [ebp - 0x11d], 0
jns 0x401d14
push dword [ebp - 0x128]
call fcn.00411790
add esp, 4
mov eax, dword [ebp - 0x144]
test eax, eax
jne 0x40195b
lea esi, [ebp - 0x12c]
mov dword [esi], 0x12b
pxor xmm0, xmm0
movdqu xmmword [esi + 4], xmm0
lea ecx, [ebp - 0x160]
mov edx, esi
call fcn.004023f0
cmp byte [esi + 0x13], 0
jns 0x401d58
push dword [ebp - 0x124]
call fcn.00411790
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x170], xmm0
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x401992
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401992
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x12c]
mov dword [esi], 0xa9
mov dword [esi + 4], eax
pxor xmm0, xmm0
movq qword [esi + 8], xmm0
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x160]
mov edx, esi
call fcn.004023f0
cmp byte [esi + 0x13], 0
jns 0x401dc4
push dword [ebp - 0x124]
call fcn.00411790
add esp, 4
xor eax, eax
dec eax
lea ecx, [ebp - 0x17c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push str.Fatal_error_upon_loading_installer_executable:_r_n
call fcn.004376d0
mov edi, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x194], eax
cmp edi, eax
je 0x401e03
add edi, 8
lea ebx, [ebp - 0x154]
jmp 0x401f83
lea esi, [ebp - 0x17c]
mov ecx, esi
push 0x4e
push 0x44f118
call fcn.00410060
cmp byte [ebp - 0x171], 0
jns 0x401e26
mov esi, dword [ebp - 0x17c]
xor eax, eax
push eax
push 0x44ef28
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0x171], 0
lea edi, [ebp - 0x16c]
jns 0x401e53
push dword [ebp - 0x17c]
call fcn.00411790
add esp, 4
mov esi, 2
jmp 0x401ab1
add edx, 0xfffffffe
lea esi, [ebp - 0x188]
mov ecx, esi
lea eax, [ebp - 0x145]
push eax
push edx
push 0
push ebx
call fcn.0040fbc0
mov edi, dword [ebp - 0x190]
cmp byte [ebp - 0x149], 0
jns 0x401eb5
push dword [ebp - 0x154]
call fcn.00411790
add esp, 4
jmp 0x401eb5
lea esi, [ebp - 0x188]
mov ecx, esi
push str._Error_cannot_be_retrieved_
call fcn.004377c0
mov edi, dword [ebp - 0x190]
lea ebx, [ebp - 0x154]
movzx eax, byte [ebp - 0x17d]
test al, al
jns 0x401ecc
mov esi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x184]
add eax, esi
lea ecx, [ebp - 0x17c]
push eax
push esi
call fcn.00402180
mov eax, dword [ebp - 0x18c]
movzx eax, byte [eax + 0x13]
test al, al
jns 0x401eec
mov eax, dword [edi + 4]
test eax, eax
je 0x401f42
push edi
push 0x44f10e
lea esi, [ebp - 0x12c]
push esi
call fcn.004022d0
add esp, 0xc
movzx eax, byte [ebp - 0x121]
mov edx, esi
test al, al
jns 0x401f1e
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x17c]
push eax
push edx
call fcn.00410060
cmp byte [ebp - 0x121], 0
jns 0x401f42
push dword [ebp - 0x12c]
call fcn.00411790
add esp, 4
lea ecx, [ebp - 0x17c]
push 2
push 0x44f112
call fcn.00410060
cmp byte [ebp - 0x17d], 0
jns 0x401f6b
push dword [ebp - 0x188]
call fcn.00411790
add esp, 4
add edi, 0x14
mov eax, dword [ebp - 0x18c]
add eax, 0x14
cmp eax, dword [ebp - 0x194]
je 0x401e03
xor eax, eax
dec eax
mov dword [ebp - 0x132], eax
mov dword [ebp - 0x136], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x144], xmm0
push 0xa
push 0xb
lea esi, [ebp - 0x144]
push esi
push dword [edi - 8]
call fcn.00421c5b
add esp, 0x10
lea ecx, [ebp - 0x17c]
push 8
push str.In_line
call fcn.00410060
mov ecx, ebx
push esi
call fcn.004376d0
mov ecx, ebx
push 1
push 0x44f10e
call fcn.00410060
mov ecx, dword [eax + 8]
mov dword [ebp - 0x124], ecx
movq xmm0, qword [eax]
movq qword [ebp - 0x12c], xmm0
pxor xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
movzx eax, byte [ebp - 0x121]
test al, al
cmovs eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
lea esi, [ebp - 0x12c]
cmovns edx, esi
lea ecx, [ebp - 0x17c]
push eax
push edx
call fcn.00410060
cmp byte [ebp - 0x121], 0
jns 0x402043
push dword [ebp - 0x12c]
call fcn.00411790
add esp, 4
cmp byte [ebp - 0x149], 0
jns 0x40205a
push dword [ebp - 0x154]
call fcn.00411790
add esp, 4
mov dword [ebp - 0x190], edi
lea ecx, [edi - 8]
xor edi, edi
dec edi
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x18c], ecx
mov ebx, dword [ecx + 4]
mov eax, 0x100
push eax
push 0xff
push esi
call fcn.004152f0
add esp, 0xc
xor eax, eax
push eax
mov ecx, 0x100
push ecx
push esi
push 0x409
push ebx
push eax
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x401e97
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
lea ebx, [ebp - 0x154]
mov ecx, ebx
push esi
call fcn.004377c0
movzx ecx, byte [ebp - 0x149]
test cl, cl
mov eax, dword [ebp - 0x150]
mov edx, ecx
cmovs edx, eax
cmp edx, 2
jae 0x401e5d
test cl, cl
mov edi, dword [ebp - 0x190]
lea esi, [ebp - 0x188]
js 0x402127
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x180], eax
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x188], xmm0
jmp 0x401e7e
mov ecx, esi
push eax
push dword [ebp - 0x154]
call fcn.0040f9d0
jmp 0x401e7e
mov edx, ebx
test al, al
jns 0x40214c
mov eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
mov ecx, edi
push eax
push edx
call fcn.004102a0
jmp 0x401825
mov edx, esi
test al, al
jns 0x40216c
mov eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
mov ecx, edi
push eax
push edx
call fcn.004102a0
jmp 0x401c63