Function at 0x140001610
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, 0x268
movaps xmmword [rsp + 0x250], xmm7
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x140068028]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rsi, [rsp + 0x11c]
mov r8d, 0x110
mov rcx, rsi
xor edx, edx
call fcn.140010620
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 + 0x110]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140001b2a
xorps xmm7, xmm7
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0xb0], 0
lea rsi, [rsp + 0x88]
movaps xmm6, xmmword [0x14005c610]
movaps xmmword [rsi + 8], xmm6
movaps xmmword [rsi - 8], xmm6
mov edx, 0x7d1
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140001977
mov rdi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400019e8
mov r14, rax
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400019d2
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, ebx
mov r9, r14
call fcn.140002920
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140001793
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdi, [rsp + 0x118]
lea r15, [rsp + 0xc8]
mov rax, qword [r15 - 8]
mov qword [rdi - 8], rax
mov qword [r15 - 8], 0
cmp byte [rdi + 0x17], 0
movzx r8d, byte [r15 + 0x17]
js 0x140002384
test r8b, r8b
jns 0x140001804
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov rcx, rdi
call fcn.14000ba60
cmp byte [rsp + 0xdf], 0
jns 0x140001813
mov rax, qword [rsp + 0xc8]
mov word [rax], 0
mov qword [rsp + 0xd0], 0
jmp 0x140001825
mov rax, qword [r15 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
mov word [rsp + 0xc8], 0
mov byte [rsp + 0xdf], 0
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140001838
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0xc0], 0
cmp byte [rsp + 0xdf], 0
js 0x14000195b
je 0x140001897
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0xdf], 0
jns 0x140001897
mov rax, qword [rsp + 0xc8]
mov word [rax], 0
mov qword [rsp + 0xd0], 0
cmp byte [rsp + 0xdf], 0
jns 0x140001897
mov rcx, qword [rsp + 0xc8]
call fcn.14000d2f0
mov rax, qword [rsp + 0x110]
test rax, rax
je 0x140002196
mov qword [rsp + 0x80], rax
cmp byte [rsp + 0x12f], 0
js 0x140001ba3
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
mov word [rsp + 0x118], 0
mov byte [rsp + 0x12f], 0
mov qword [rsp + 0x110], 0
cmp byte [rsp + 0x12f], 0
js 0x140001946
je 0x140001939
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0x12f], 0
jns 0x140001939
mov rax, qword [rsp + 0x118]
mov word [rax], 0
mov qword [rsp + 0x120], 0
cmp byte [rsp + 0x12f], 0
jns 0x140001939
mov rcx, qword [rsp + 0x118]
call fcn.14000d2f0
mov rcx, qword [rsp + 0x80]
jmp 0x140001a43
cmp qword [rsp + 0x120], 0
je 0x14000192c
mov rdi, qword [rsp + 0x118]
jmp 0x1400018f6
cmp qword [rsp + 0xd0], 0
je 0x14000188a
mov r15, qword [rsp + 0xc8]
jmp 0x140001854
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x110]
mov dword [rdi], 0x110
mov dword [rdi + 4], eax
movups xmmword [rdi + 8], xmm7
mov qword [rdi + 0x18], 0
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140002700
cmp byte [rdi + 0x1f], 0
jns 0x1400019bd
mov rcx, qword [rsp + 0x118]
call fcn.14000d2f0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm0
jmp 0x140001a41
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x110]
mov dword [rdi], 0x11c
jmp 0x1400019fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x110]
mov dword [rdi], 0x116
mov dword [rdi + 4], eax
xorps xmm7, xmm7
movups xmmword [rdi + 8], xmm7
mov qword [rdi + 0x18], 0
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140002700
cmp byte [rdi + 0x1f], 0
jns 0x140001a31
mov rcx, qword [rsp + 0x118]
call fcn.14000d2f0
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x90], xmm7
xor ecx, ecx
lea rdx, [0x14005cb17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001be7
call qword [0x140071008]
mov edi, eax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140001a74
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x80], 0
cmp byte [rsp + 0x9f], 0
js 0x140001af2
je 0x140001acf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0x9f], 0
jns 0x140001acf
mov rax, qword [rsp + 0x88]
mov word [rax], 0
mov qword [rsp + 0x90], 0
cmp byte [rsp + 0x9f], 0
jns 0x140001acf
mov rcx, qword [rsp + 0x88]
call fcn.14000d2f0
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
je 0x140001b6d
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
je 0x140001b65
mov rbx, rax
jmp 0x140001b18
cmp qword [rsp + 0x90], 0
je 0x140001ac2
mov rsi, qword [rsp + 0x88]
jmp 0x140001a8c
mov rcx, qword [rax - 0x18]
call fcn.14000d2f0
mov rax, rbx
cmp rbx, rsi
je 0x140001b65
add rbx, 0xffffffffffffffe0
je 0x140001cd3
cmp byte [rax - 1], 0
jns 0x140001b10
jmp 0x140001b07
movabs rax, 0x400000000008
lea rcx, [rsp + 0x110]
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_106.0.4998.76.0
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, 3
jmp 0x140001b6d
mov rcx, rsi
call fcn.14000d2f0
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14000deb0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x240]
movaps xmm7, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
mov rcx, rsi
call fcn.14000b5a0
cmp byte [rsp + 0x12f], 0
jns 0x1400018cc
mov rax, qword [rsp + 0x118]
mov word [rax], 0
mov qword [rsp + 0x120], 0
jmp 0x1400018de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r13, [rsp + 0x110]
mov dword [r13], 0xa9
mov dword [r13 + 4], eax
xorps xmm0, xmm0
movups xmmword [r13 + 8], xmm0
mov qword [r13 + 0x18], 0
lea rcx, [rsp + 0xa0]
mov rdx, r13
call fcn.140002700
cmp byte [r13 + 0x1f], 0
jns 0x140001c35
mov rcx, qword [rsp + 0x118]
call fcn.14000d2f0
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
lea rdx, str.Fatal_error_upon_loading_installer_executable:_r_n
call fcn.140039c30
mov r14, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
cmp r14, rax
jne 0x140001cff
lea rdx, str._r_n_r_nWhen_reporting_this_error__click_on_this_text_and_press_CtrlC_to_copy_it.
mov r8d, 0x4e
lea rdi, [rsp + 0x60]
mov rcx, rdi
call fcn.14000b6b0
cmp byte [rsp + 0x77], 0
jns 0x140001c9b
mov rdi, qword [rsp + 0x60]
lea r8, str.Opera_installer_106.0.4998.76.0
xor ecx, ecx
mov rdx, rdi
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [rsp + 0x77], 0
lea rsi, [rsp + 0x88]
jns 0x140001cc9
mov rcx, qword [rsp + 0x60]
call fcn.14000d2f0
mov edi, 2
jmp 0x140001a61
lea rax, [0x14005c945]
mov qword [rsp + 0x20], rax
lea rcx, [0x14005c8a4]
lea rdx, [0x14005c867]
lea r9, [0x14005c966]
mov r8d, 0x44
call fcn.14004f9c0
add r14, 8
lea rbp, [rsp + 0xf0]
lea rsi, str.In_line
lea rdi, [rsp + 0x60]
xorps xmm7, xmm7
jmp 0x140001e58
mov ecx, 0x20
call fcn.14000d2b4
mov rdx, rax
mov qword [rsp + 0x40], rax
movabs rax, 0x7ffffffffffffff7
add rax, 0x29
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0x1b
lea rax, str._Error_cannot_be_retrieved_
cmp rdx, rax
ja 0x140001d6d
lea rax, [rdx + 0x1b]
lea rcx, str._Error_cannot_be_retrieved_
cmp rax, rcx
ja 0x1400023bc
movups xmm0, xmmword [0x14005cb95]
movups xmmword [rdx + 0xb], xmm0
movups xmm0, xmmword [str._Error_cannot_be_retrieved_]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x1b], 0
mov cl, 0x80
mov eax, 0x1b
mov r12, rbx
mov r8d, ecx
and r8b, 0x7f
test cl, cl
lea rcx, [rsp + 0x40]
cmovns rdx, rcx
movzx r8d, r8b
cmovs r8, rax
add r8, rdx
mov rcx, rdi
call fcn.1400023f0
movzx eax, byte [r15 + 0x1f]
test al, al
jns 0x140001dc2
mov rax, qword [r14 + 8]
test rax, rax
je 0x140001e1f
mov rcx, r13
lea rdx, [0x14005c784]
mov r8, r14
call fcn.140002570
movzx r8d, byte [rsp + 0x127]
test r8b, r8b
jns 0x140001df9
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
jmp 0x140001e00
and r8d, 0x7f
mov rdx, r13
mov rcx, rdi
call fcn.14000b6b0
cmp byte [rsp + 0x127], 0
jns 0x140001e1f
mov rcx, qword [rsp + 0x110]
call fcn.14000d2f0
mov r8d, 2
mov rcx, rdi
lea rdx, [0x14005c788]
call fcn.14000b6b0
cmp byte [rsp + 0x57], 0
jns 0x140001e45
mov rcx, qword [rsp + 0x40]
call fcn.14000d2f0
add r14, 0x20
add r15, 0x20
cmp r15, qword [rsp + 0x38]
je 0x140001c75
mov qword [rsp + 0xfe], r12
movaps xmmword [rsp + 0xf0], xmm6
mov ecx, dword [r14 - 8]
mov r8d, 0xb
mov rdx, rbp
mov r9d, 0xa
call fcn.14001ff0c
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call fcn.14000b6b0
lea r15, [rsp + 0xc0]
mov rcx, r15
mov rdx, rbp
call fcn.140039c30
mov r8d, 1
mov rcx, r15
lea rdx, [0x14005c784]
call fcn.14000b6b0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x120], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x110], xmm0
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
movzx eax, byte [rsp + 0x127]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
cmovns rdx, r13
mov rcx, rdi
call fcn.14000b6b0
cmp byte [rsp + 0x127], 0
jns 0x140001f20
mov rcx, qword [rsp + 0x110]
call fcn.14000d2f0
cmp byte [rsp + 0xd7], 0
jns 0x140001f37
mov rcx, qword [rsp + 0xc0]
call fcn.14000d2f0
lea r15, [r14 - 8]
mov qword [rsp + 0x50], r12
movaps xmmword [rsp + 0x40], xmm6
mov rbx, r12
mov r12d, dword [r15 + 4]
mov r8d, 0x100
mov rcx, r13
mov dl, 0xaa
call fcn.140010620
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x100
mov ecx, 0x1200
xor edx, edx
mov r8d, r12d
mov r9d, 0x409
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x140001d1f
mov qword [rsp + 0xd0], rbx
movaps xmmword [rsp + 0xc0], xmm6
mov rdi, r13
mov rcx, r13
call fcn.1400242d0
mov r12, rax
movabs rax, 0x7ffffffffffffff7
cmp r12, rax
ja 0x1400023af
cmp r12, 0x16
ja 0x140002052
mov byte [rsp + 0xd7], r12b
lea rcx, [rsp + 0xc0]
lea rbx, [rcx + r12]
mov rdx, rdi
cmp rbx, rdi
setbe al
cmp rcx, rdi
ja 0x140001ff5
test al, al
je 0x1400023bc
test r12, r12
je 0x140002005
mov rdx, rdi
mov r8, r12
call fcn.14000ff70
mov byte [rbx], 0
movzx eax, byte [rsp + 0xd7]
mov ecx, eax
and ecx, 0x7e
test al, al
mov r8, qword [rsp + 0xc8]
cmovs rcx, r8
cmp rcx, 2
jae 0x1400020c4
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
jns 0x1400020a8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x40]
call fcn.14000af70
jmp 0x140002101
mov rax, r12
and rax, 0xfffffffffffffff8
add rax, 8
mov rbx, r12
or rbx, 7
cmp rbx, 0x17
cmove rbx, rax
inc rbx
mov rcx, rbx
call fcn.14000d2b4
mov rcx, rax
mov qword [rsp + 0xc0], rax
movabs rax, 0x7ffffffffffffff7
add rax, 9
or rax, rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xc8], r12
jmp 0x140001fdb
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x140002101
mov r9d, eax
and r9d, 0x7f
test al, al
cmovs r9, r8
add r9, 0xfffffffffffffffe
lea rax, [rsp + 0xef]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
xor r8d, r8d
call fcn.14000b1e0
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rsi, str.In_line
mov r13, rdi
cmp byte [rsp + 0xd7], 0
lea rdi, [rsp + 0x60]
jns 0x140002127
mov rcx, qword [rsp + 0xc0]
call fcn.14000d2f0
mov cl, byte [rsp + 0x57]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
jmp 0x140001d90
and r8d, 0x7f
mov rdx, rbx
jmp 0x140002158
test r8b, r8b
jns 0x14000213a
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, rdi
call fcn.14000b970
jmp 0x14000225d
mov rax, qword [rsp + 0xc8]
mov word [rax], 0
mov qword [rsp + 0xd0], 0
jmp 0x14000227d
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
jmp 0x14000226b
lea r12, [rsp + 0xc0]
mov dword [r12], 0x127
xorps xmm0, xmm0
movups xmmword [r12 + 4], xmm0
movups xmmword [r12 + 0x10], xmm0
lea r15, [rsp + 0xa0]
mov rcx, r15
mov rdx, r12
call fcn.140002700
cmp byte [r12 + 0x1f], 0
jns 0x1400021dd
mov rcx, qword [rsp + 0xc8]
call fcn.14000d2f0
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0xc0]
mov edx, 1
mov r8d, ebx
mov r9, r14
call fcn.140002920
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14000220d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rbx, [rsp + 0xc8]
mov rax, qword [rbx - 8]
mov qword [rsp + 0x110], rax
mov qword [rbx - 8], 0
cmp byte [rsp + 0x12f], 0
movzx r8d, byte [rbx + 0x17]
js 0x140002143
test r8b, r8b
jns 0x140002183
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov rcx, rdi
call fcn.14000ba60
cmp byte [rsp + 0xdf], 0
js 0x140002165
mov word [rsp + 0xc8], 0
mov byte [rsp + 0xdf], 0
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140002290
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0xc0], 0
cmp byte [rsp + 0xdf], 0
js 0x140002368
je 0x1400022ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0xdf], 0
jns 0x1400022ef
mov rax, qword [rsp + 0xc8]
mov word [rax], 0
mov qword [rsp + 0xd0], 0
cmp byte [rsp + 0xdf], 0
jns 0x1400022ef
mov rcx, qword [rsp + 0xc8]
call fcn.14000d2f0
mov rax, qword [rsp + 0x110]
test rax, rax
jne 0x1400018a8
lea rbx, [rsp + 0xc0]
mov dword [rbx], 0x12b
xorps xmm7, xmm7
movups xmmword [rbx + 4], xmm7
movups xmmword [rbx + 0x10], xmm7
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140002700
cmp byte [rbx + 0x1f], 0
jns 0x14000233c
mov rcx, qword [rsp + 0xc8]
call fcn.14000d2f0
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x90], xmm7
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400018de
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400018de
cmp qword [rsp + 0xd0], 0
je 0x1400022e2
mov rbx, qword [rsp + 0xc8]
jmp 0x1400022ac
test r8b, r8b
js 0x140002392
and r8d, 0x7f
mov rdx, r15
jmp 0x1400023a2
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, rdi
call fcn.14000b970
jmp 0x1400017df
lea rcx, [rsp + 0xc0]
call fcn.140039da0
lea rax, [0x14005c984]
mov qword [rsp + 0x20], rax
lea rcx, [0x14005c8a4]
lea rdx, [0x14005c9c9]
lea r9, [0x14005c9a7]
mov r8d, 0xf3
call fcn.14004f9c0
int3
jmp 0x140001610