Function at 0x140037d20
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4e8
movaps xmmword [rsp + 0x4d0], xmm6
mov rbx, rdx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x4c8], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x1e0]
mov qword [rsi + 0x10], r14
movaps xmm6, xmmword [0x14047fb40]
movaps xmmword [rsi], xmm6
lea rdx, str..opera_diff
mov rcx, rsi
call fcn.14031d9e0
lea rdi, [rsp + 0x200]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.1402e0d10
mov rcx, rdi
mov rdx, rbx
mov r8b, 1
mov r9d, 1
call fcn.14014b5e0
lea rbx, [rsp + 0x1c0]
mov qword [rbx + 0x10], r14
movaps xmmword [rbx], xmm6
mov rcx, rbx
call fcn.14024a5c0
lea r15, [rsp + 0x28]
lea r12, [rsp + 0x1b0]
lea r13, [rsp + 0x190]
lea rbp, [rsp + 0x170]
jmp 0x140037f56
mov r14, qword [rsp + 0x1c8]
test r14, r14
je 0x140037fc3
movzx ecx, byte [rsp + 0x1f7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1e0]
cmovns rcx, rsi
mov qword [rsp + 0x1b0], rcx
mov qword [rsp + 0x1b8], rax
test rax, rax
js 0x1400380ec
test rcx, rcx
jne 0x140037e40
test rax, rax
jne 0x140038118
mov rcx, rbx
mov rdx, r12
call fcn.1403803b0
test al, al
je 0x140037f56
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1a0], rax
movaps xmmword [rsp + 0x190], xmm6
mov rcx, rbx
mov rdx, r13
call fcn.14015d9b0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x180], rax
movaps xmmword [rsp + 0x170], xmm6
lea rax, str..new
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], 4
mov rcx, r13
mov rdx, rbp
lea r8, [rsp + 0x160]
call fcn.14015dbb0
mov rcx, r13
mov rdx, rbx
mov r8, rbp
call fcn.1400d3dc0
test al, al
je 0x140037fa9
cmp byte [rsp + 0x187], 0
mov rcx, rbp
jns 0x140037eeb
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x140037f2b
cmp byte [rsp + 0x187], 0
mov rcx, rbp
jns 0x140037f0a
mov rcx, qword [rsp + 0x170]
and eax, 0xfffffffe
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140037f2b
mov ecx, 2
call fcn.14026cdd0
test al, al
jne 0x140038028
mov rcx, r13
call fcn.140149290
test al, al
je 0x140037f8f
mov rcx, rbp
mov rdx, r13
call fcn.14037b350
test al, al
je 0x140037f8f
mov rcx, rbp
call fcn.14026e190
mov rcx, r13
call fcn.14026e190
mov rcx, rdi
mov rdx, r15
call fcn.14014b8b0
mov rcx, rbx
mov rdx, r15
call fcn.14026e210
mov rcx, r15
call fcn.14026e190
movzx r14d, byte [rsp + 0x1d7]
test r14b, r14b
js 0x140037de4
and r14d, 0x7f
jmp 0x140037dec
lea rcx, str.....operadesktopcommon_autoupdateupdatecheckerupdate_preparer_impl_win.cc
mov edx, 0x50
call fcn.14026ce00
cmp eax, 3
jge 0x140038084
lea rcx, [rsp + 0x170]
call fcn.14026e190
lea rcx, [rsp + 0x190]
call fcn.14026e190
lea rcx, [rsp + 0x1c0]
call fcn.14026e190
lea rcx, [rsp + 0x200]
call fcn.14014b7f0
cmp byte [rsp + 0x1f7], 0
jns 0x140037ff4
mov rcx, qword [rsp + 0x1e0]
call fcn.1402dd16c
test r14, r14
sete bl
mov rcx, qword [rsp + 0x4c8]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x4d0]
add rsp, 0x4e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
lea rdx, str.....operadesktopcommon_autoupdateupdatecheckerupdate_preparer_impl_win.cc
mov r8d, 0x189
mov r9d, 2
call fcn.14015a460
mov r8d, 0x24
lea rcx, [rsp + 0x38]
lea rdx, str._AU__Couldnt_clear_RO_attribute_of
call fcn.14031d7c0
cmp byte [rsp + 0x1a7], 0
mov rdx, r13
jns 0x14003806f
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.14037bc90
mov rcx, r15
call fcn.14015aab0
jmp 0x140037f2b
lea rdx, str.....operadesktopcommon_autoupdateupdatecheckerupdate_preparer_impl_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x18e
mov r9d, 0xfffffffd
call fcn.14015a460
lea rcx, [rsp + 0x38]
lea rdx, str._AU__Unable_to_move_file
mov r8d, SafeArrayCopy
call fcn.14031d7c0
cmp byte [rsp + 0x1a7], 0
js 0x1400380cf
lea rdx, [rsp + 0x190]
jmp 0x1400380d7
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.14037bc90
mov rcx, rsi
call fcn.14015aab0
jmp 0x140037fa9
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.14032ac00
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.14032ac00
int3