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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm7
movaps xmmword [rsp + 0x220], xmm6
mov rax, qword [0x140063018]
xor rax, rsp
mov qword [rsp + 0x218], rax
lea rsi, [rsp + 0xfc]
mov r8d, 0x110
mov rcx, rsi
xor edx, edx
call fcn.140010e80
mov dword [rsi - 0xc], 0x11c
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
movabs rcx, 0x100000006
mov qword [rsi - 8], rcx
mov word [rsi + 0x108], 0
lea rcx, [rsp + 0xf0]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140001385
xorps xmm7, xmm7
movaps xmmword [rsp + 0x90], xmm7
mov qword [rsp + 0xa0], 0
movaps xmm6, xmmword [0x140058b00]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov edx, 0x7d1
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400013c3
mov rsi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000141b
mov rbx, rax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140001431
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, edi
mov r9, r14
call fcn.140002250
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140001330
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rsi, [rsp + 0xf8]
lea rbp, [rsp + 0xb8]
mov rax, qword [rbp - 8]
mov qword [rsi - 8], rax
mov qword [rbp - 8], 0
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rbp + 0x17]
js 0x140001e4e
test r8b, r8b
jns 0x14000148e
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
mov rcx, rsi
call fcn.14000be00
jmp 0x14000149d
movabs rax, 0x400000000008
lea rcx, [rsp + 0xf0]
mov qword [rcx], rax
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rdx, str.This_Opera_installer_works_only_on_Windows_7_or_higher._r_nVisit_____www.opera.com_____to_download_compatible_version.
lea r8, str.Opera_installer_83.0.4254.70.0
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 3
jmp 0x140001d95
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rsp + 0xf0]
mov dword [rsi], 0x110
mov dword [rsi + 4], eax
movups xmmword [rsi + 8], xmm7
mov qword [rsi + 0x18], 0
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1400020a0
cmp byte [rsi + 0x1f], 0
jns 0x140001409
mov rcx, qword [rsp + 0xf8]
call fcn.14000daf0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm0
jmp 0x140001487
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rsp + 0xf0]
mov dword [rsi], 0x116
jmp 0x140001445
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rsp + 0xf0]
mov dword [rsi], 0x11c
mov dword [rsi + 4], eax
xorps xmm7, xmm7
movups xmmword [rsi + 8], xmm7
mov qword [rsi + 0x18], 0
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1400020a0
cmp byte [rsi + 0x1f], 0
jns 0x14000147a
mov rcx, qword [rsp + 0xf8]
call fcn.14000daf0
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x80], xmm7
xor ecx, ecx
jmp 0x140001801
mov rax, qword [rbp + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
cmp byte [rsp + 0xcf], 0
js 0x1400014bb
mov word [rsp + 0xb8], 0
mov byte [rsp + 0xcf], 0
jmp 0x1400014d4
mov rax, qword [rsp + 0xb8]
mov word [rax], 0
mov qword [rsp + 0xc0], 0
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400014e7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xcf]
mov rcx, rax
test al, al
jns 0x14000150a
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140001558
test al, al
jns 0x14000151b
mov rbp, qword [rsp + 0xb8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0xcf], 0
js 0x140001538
mov byte [rsp + 0xcf], 0
jmp 0x140001569
mov rax, qword [rsp + 0xb8]
mov word [rax], 0
mov qword [rsp + 0xc0], 0
mov al, byte [rsp + 0xcf]
test al, al
jns 0x140001569
mov rcx, qword [rsp + 0xb8]
call fcn.14000daf0
mov rax, qword [rsp + 0xf0]
test rax, rax
jne 0x140001722
lea rbx, [rsp + 0xb0]
mov dword [rbx], 0x127
xorps xmm0, xmm0
movups xmmword [rbx + 4], xmm0
movups xmmword [rbx + 0x10], xmm0
lea rbp, [rsp + 0x90]
mov rcx, rbp
mov rdx, rbx
call fcn.1400020a0
cmp byte [rbx + 0x1f], 0
jns 0x1400015b9
mov rcx, qword [rsp + 0xb8]
call fcn.14000daf0
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0xb0]
mov edx, 1
mov r8d, edi
mov r9, r14
call fcn.140002250
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x1400015e9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdi, [rsp + 0xb8]
mov rax, qword [rdi - 8]
mov qword [rsp + 0xf0], rax
mov qword [rdi - 8], 0
cmp byte [rsp + 0x10f], 0
movzx r8d, byte [rdi + 0x17]
js 0x140001e73
test r8b, r8b
jns 0x140001637
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
mov rcx, rsi
call fcn.14000be00
jmp 0x140001645
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
cmp byte [rsp + 0xcf], 0
js 0x140001663
mov word [rsp + 0xb8], 0
mov byte [rsp + 0xcf], 0
jmp 0x14000167c
mov rax, qword [rsp + 0xb8]
mov word [rax], 0
mov qword [rsp + 0xc0], 0
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14000168f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xcf]
mov rcx, rax
test al, al
jns 0x1400016b2
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140001700
test al, al
jns 0x1400016c3
mov rdi, qword [rsp + 0xb8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0xcf], 0
js 0x1400016e0
mov byte [rsp + 0xcf], 0
jmp 0x140001711
mov rax, qword [rsp + 0xb8]
mov word [rax], 0
mov qword [rsp + 0xc0], 0
mov al, byte [rsp + 0xcf]
test al, al
jns 0x140001711
mov rcx, qword [rsp + 0xb8]
call fcn.14000daf0
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x140001dcb
lea rcx, [rsp + 0x78]
mov qword [rcx - 8], rax
cmp byte [rsp + 0x10f], 0
js 0x140001745
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x140001768
mov rdx, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
call fcn.14000d3e0
cmp byte [rsp + 0x10f], 0
js 0x140001e30
mov word [rsp + 0xf8], 0
mov byte [rsp + 0x10f], 0
mov qword [rsp + 0xf0], 0
movzx eax, byte [rsp + 0x10f]
mov rcx, rax
test al, al
jns 0x14000179d
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1400017eb
test al, al
jns 0x1400017ae
mov rsi, qword [rsp + 0xf8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0x10f], 0
js 0x1400017cb
mov byte [rsp + 0x10f], 0
jmp 0x1400017fc
mov rax, qword [rsp + 0xf8]
mov word [rax], 0
mov qword [rsp + 0x100], 0
mov al, byte [rsp + 0x10f]
test al, al
jns 0x1400017fc
mov rcx, qword [rsp + 0xf8]
call fcn.14000daf0
mov rcx, qword [rsp + 0x70]
lea rdx, [0x140058db2]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001820
call qword [0x14006c010]
mov esi, eax
jmp 0x140001cbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rsp + 0xf0]
mov dword [rsi], 0xa9
mov dword [rsi + 4], eax
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1400020a0
cmp byte [rsi + 0x1f], 0
jns 0x140001869
mov rcx, qword [rsp + 0xf8]
call fcn.14000daf0
movabs r15, 0x7fffffffffffffef
mov ecx, 0x70
call fcn.14000dab4
mov rdi, rax
mov qword [rsp + 0x58], rax
lea rax, [r15 + 0x49]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0x30
lea rdx, str.Fatal_error_upon_loading_installer_executable:_r_n
mov r8d, 0x60
mov rcx, rdi
call fcn.140010a70
mov word [rdi + 0x60], 0
mov rdi, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
cmp rdi, rax
je 0x140001c72
add rdi, 8
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x58]
lea r12, [rsp + 0xb0]
xorps xmm7, xmm7
lea rsi, [rsp + 0x40]
mov r13, rsi
mov qword [rsp + 0xde], r14
movaps xmmword [rsp + 0xd0], xmm6
mov ecx, dword [rdi - 8]
mov r8d, 0xb
lea rsi, [rsp + 0xd0]
mov rdx, rsi
mov r9d, 0xa
call fcn.14001c844
mov rcx, rbp
lea rdx, str.In_line
call fcn.14000beb0
mov rcx, rsi
call fcn.1400203fc
cmp rax, r15
ja 0x140001e98
mov r14, rax
cmp rax, 0xb
lea rsi, [rsp + 0xf0]
jae 0x140001988
mov byte [rsp + 0xc7], r14b
cmp r14, 3
jne 0x140001c64
movzx eax, word [rsp + 0xd4]
mov word [rsp + 0xb4], ax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xb0], eax
jmp 0x1400019d1
lea rbx, [r14 + 8]
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.14000dab4
mov r12, rax
mov qword [rsp + 0xb0], rax
lea rax, [r15 + 0x11]
or rax, rbx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], r14
mov r8, r14
add r8, r14
mov rcx, r12
lea rdx, [rsp + 0xd0]
call fcn.140010a70
mov word [r12 + r14*2], 0
lea r12, [rsp + 0xb0]
mov rcx, r12
lea rdx, [0x140058c74]
call fcn.14000beb0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x100], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm0
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
movzx r8d, byte [rsp + 0x107]
test r8b, r8b
cmovs r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
cmovns rdx, rsi
mov rcx, rbp
call fcn.14000d460
cmp byte [rsp + 0x107], 0
jns 0x140001a51
mov rcx, qword [rsp + 0xf0]
call fcn.14000daf0
lea rbx, [rdi - 8]
cmp byte [rsp + 0xc7], 0
movabs r14, 0xaaaaaaaaaaaaaaaa
jns 0x140001a76
mov rcx, qword [rsp + 0xb0]
call fcn.14000daf0
mov qword [rsp + 0x50], r14
movaps xmmword [rsp + 0x40], xmm6
mov ebp, dword [rbx + 4]
mov r8d, 0x100
mov rcx, rsi
mov dl, 0xaa
call fcn.140010e80
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x100
mov ecx, 0x1200
xor edx, edx
mov r8d, ebp
mov r9d, 0x409
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140001adf
mov rcx, r13
lea rdx, str._Error_cannot_be_retrieved_
call fcn.140034d60
mov rsi, r13
lea rbp, [rsp + 0x58]
jmp 0x140001b91
mov qword [rsp + 0xc0], r14
movaps xmmword [rsp + 0xb0], xmm6
mov rcx, r12
mov rdx, rsi
call fcn.140034d60
movzx eax, byte [rsp + 0xc7]
test al, al
mov r8, qword [rsp + 0xb8]
mov r9, rax
cmovs r9, r8
cmp r9, 2
jb 0x140001b42
add r9, 0xfffffffffffffffe
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov rsi, r13
mov rcx, r13
mov rdx, r12
xor r8d, r8d
call fcn.14000b8e0
lea rbp, [rsp + 0x58]
jmp 0x140001b7a
test al, al
mov rsi, r13
lea rbp, [rsp + 0x58]
js 0x140001b6a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x140001b7a
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.14000cc60
cmp byte [rsp + 0xc7], 0
jns 0x140001b91
mov rcx, qword [rsp + 0xb0]
call fcn.14000daf0
movzx r8d, byte [rsp + 0x57]
mov rdx, rsi
test r8b, r8b
jns 0x140001ba9
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
add r8, rdx
mov rcx, rbp
call fcn.140001eb0
movzx eax, byte [rbx + 0x1f]
test al, al
jns 0x140001bc0
mov rax, qword [rdi + 8]
test rax, rax
jne 0x140001bfa
mov rcx, rbp
lea rdx, [0x140058c78]
call fcn.14000beb0
cmp byte [rsp + 0x57], 0
jns 0x140001be5
mov rcx, qword [rsp + 0x40]
call fcn.14000daf0
add rdi, 0x20
add rbx, 0x20
cmp rbx, qword [rsp + 0x38]
jne 0x1400018f3
jmp 0x140001c72
mov r13, r15
lea r15, [rsp + 0xf0]
mov rcx, r15
lea rdx, [0x140058c74]
mov r8, rdi
call fcn.140034c70
movzx r8d, byte [rsp + 0x107]
test r8b, r8b
jns 0x140001c35
mov r8, qword [rsp + 0xf8]
mov r15, qword [rsp + 0xf0]
lea rbp, [rsp + 0x58]
mov rcx, rbp
mov rdx, r15
call fcn.14000d460
cmp byte [rsp + 0x107], 0
jns 0x140001c5c
mov rcx, qword [rsp + 0xf0]
call fcn.14000daf0
mov r15, r13
jmp 0x140001bc5
test r14, r14
je 0x1400019d1
jmp 0x1400019bb
lea rdx, str._r_n_r_nWhen_reporting_this_error__click_on_this_text_and_press_CtrlC_to_copy_it.
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.14000beb0
cmp byte [rsi + 0x17], 0
jns 0x140001c91
mov rsi, qword [rsp + 0x58]
lea r8, str.Opera_installer_83.0.4254.70.0
xor ecx, ecx
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [rsp + 0x6f], 0
jns 0x140001cb7
mov rcx, qword [rsp + 0x58]
call fcn.14000daf0
mov esi, 2
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140001ccc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x8f]
mov rcx, rax
test al, al
jns 0x140001cec
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140001d38
test al, al
jns 0x140001cfc
mov rcx, qword [rsp + 0x78]
jmp 0x140001d01
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0x8f], 0
js 0x140001d1b
mov byte [rsp + 0x8f], 0
jmp 0x140001d46
mov rax, qword [rsp + 0x78]
mov word [rax], 0
mov qword [rsp + 0x80], 0
mov al, byte [rsp + 0x8f]
test al, al
jns 0x140001d46
mov rcx, qword [rsp + 0x78]
call fcn.14000daf0
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x140001d95
mov rax, qword [rsp + 0x98]
cmp rax, rdi
je 0x140001d85
lea rbx, [rax - 0x20]
cmp byte [rax - 1], 0
jns 0x140001d73
mov rcx, qword [rax - 0x18]
call fcn.14000daf0
mov rax, rbx
cmp rbx, rdi
jne 0x140001d60
mov rcx, qword [rsp + 0x90]
jmp 0x140001d88
mov rcx, rdi
mov qword [rsp + 0x98], rdi
call fcn.14000daf0
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.14000e1d0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x220]
movaps xmm7, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0xb0]
mov dword [rdi], 0x12b
xorps xmm7, xmm7
movups xmmword [rdi + 4], xmm7
movups xmmword [rdi + 0x10], xmm7
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.1400020a0
cmp byte [rdi + 0x1f], 0
jns 0x140001e07
mov rcx, qword [rsp + 0xb8]
call fcn.14000daf0
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x80], xmm7
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14000177a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000177a
mov rax, qword [rsp + 0xf8]
mov word [rax], 0
mov qword [rsp + 0x100], 0
jmp 0x14000177a
mov rdx, rbp
test r8b, r8b
jns 0x140001e66
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.14000bd80
jmp 0x14000149d
mov rdx, rdi
test r8b, r8b
jns 0x140001e8b
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.14000bd80
jmp 0x140001645
lea rcx, [rsp + 0xb0]
call fcn.14004a510
int3
jmp 0x1400011b0