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

Disassembly:
jmp 0x140082d50
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x20a0
call fcn.1400445d7
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x69c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20c8]
mov rax, qword [0x140117040]
xor rax, rbp
mov qword [rbp + 0x2060], rax
lea rcx, [0x140126122]
call fcn.140045ec3
nop
mov edx, 0x14
lea rcx, [rbp + 8]
call fcn.140044fbe
nop
mov edx, 0xf
lea rcx, [rbp + 0x1c08]
call fcn.140044fbe
mov qword [rbp + 0x2038], rax
mov rax, qword [rbp + 0x2038]
mov qword [rbp + 0x2040], rax
lea r8, str..exe
mov rdx, qword [rbp + 0x2040]
lea rcx, [rbp + 0x48]
call fcn.140045c48
nop
lea rcx, [rbp + 0x1c08]
call fcn.1400445f5
nop
mov edx, 0x19
lea rcx, [rbp + 0x88]
call fcn.140044fbe
nop
lea rcx, [rbp + 0x1c48]
call fcn.140045414
mov qword [rbp + 0x2038], rax
lea rdx, [rbp + 0x1c68]
mov rcx, qword [rbp + 0x2038]
call fcn.140045806
mov rcx, rax
call fcn.14004486b
mov dword [rbp + 0xc4], eax
mov edx, dword [rbp + 0xc4]
lea rcx, [rbp + 0xf0]
call fcn.140044dc5
nop
mov r8d, 9
xor edx, edx
lea rcx, [rbp + 0x1498]
call fcn.140044627
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1c84], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1ca4], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1cc4], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1ce4], eax
lea rax, str....
mov qword [rbp + 0x1d08], rax
mov qword [rbp + 0x1d10], 0xb
lea rax, [rbp + 0x1ff0]
lea rcx, [rbp + 0x1d08]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1c84]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1ca4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1cc4]
lea r8, [rbp + 0x1ce4]
lea rdx, [rbp + 0x1ff0]
lea rcx, [rbp + 0x14b8]
call fcn.1400445cd
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1d34], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1d54], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1d74], eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1498]
call fcn.140044d34
mov dword [rbp + 0x1d94], eax
lea rax, str....
mov qword [rbp + 0x1db8], rax
mov qword [rbp + 0x1dc0], 0xb
lea rax, [rbp + 0x2020]
lea rcx, [rbp + 0x1db8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1d34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d54]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d74]
lea r8, [rbp + 0x1d94]
lea rdx, [rbp + 0x2020]
lea rcx, [rbp + 0x14f8]
call fcn.1400445cd
nop
mov rdx, qword [rbp + 0x2090]
lea rcx, [rbp + 0x1538]
call fcn.140045996
nop
lea rcx, [rbp + 0x1538]
call fcn.140044a64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x1574], eax
lea rcx, [rbp + 0x1538]
call fcn.1400447b2
nop
lea rdx, str.Attempting_to_open_file_for_resource_update:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140044ff5
lea rdx, [rbp + 0x1538]
mov rcx, rax
call fcn.1400451f8
mov qword [rbp + 0x2038], rax
lea rdx, [0x140044f0f]
mov rcx, qword [rbp + 0x2038]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x1538]
call fcn.140044a64
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov qword [rbp + 0x1598], rax
cmp qword [rbp + 0x1598], 0
jne 0x140083155
lea rdx, str.Failed_to_open_file_for_resource_update._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400443a2
mov qword [rbp + 0x2038], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2040], eax
mov edx, dword [rbp + 0x2040]
mov rcx, qword [rbp + 0x2038]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x2048], rax
lea rdx, [0x140044127]
mov rcx, qword [rbp + 0x2048]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x1538]
call fcn.140045a81
nop
lea rcx, [rbp + 0x14f8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x14b8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x88]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x48]
call fcn.1400445f5
nop
lea rcx, [rbp + 8]
call fcn.1400445f5
nop
jmp 0x140083810
lea rax, [rbp + 0x15b8]
mov rdi, rax
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
mov dword [rbp + 0x15b8], 0xfeef04bd
mov dword [rbp + 0x15bc], 0x10000
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x1de8]
lea rcx, [rbp + 0x14b8]
call fcn.140044fcd
mov qword [rbp + 0x2038], rax
mov rax, qword [rbp + 0x2038]
mov qword [rbp + 0x2040], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2040]
call fcn.1400449e2
shl eax, 0x10
mov dword [rbp + 0x2048], eax
mov r9d, 1
mov r8d, 2
lea rdx, [rbp + 0x1e28]
lea rcx, [rbp + 0x14b8]
call fcn.140044fcd
mov qword [rbp + 0x2050], rax
mov rax, qword [rbp + 0x2050]
mov qword [rbp + 0x2058], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2058]
call fcn.1400449e2
mov ecx, dword [rbp + 0x2048]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x15c0], eax
lea rcx, [rbp + 0x1e28]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x1de8]
call fcn.1400445f5
nop
mov r9d, 1
mov r8d, 4
lea rdx, [rbp + 0x1e68]
lea rcx, [rbp + 0x14b8]
call fcn.140044fcd
mov qword [rbp + 0x2038], rax
mov rax, qword [rbp + 0x2038]
mov qword [rbp + 0x2040], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2040]
call fcn.1400449e2
shl eax, 0x10
mov dword [rbp + 0x2048], eax
mov r9d, 1
mov r8d, 6
lea rdx, [rbp + 0x1ea8]
lea rcx, [rbp + 0x14b8]
call fcn.140044fcd
mov qword [rbp + 0x2050], rax
mov rax, qword [rbp + 0x2050]
mov qword [rbp + 0x2058], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2058]
call fcn.1400449e2
mov ecx, dword [rbp + 0x2048]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x15c4], eax
lea rcx, [rbp + 0x1ea8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x1e68]
call fcn.1400445f5
nop
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x1ee8]
lea rcx, [rbp + 0x14f8]
call fcn.140044fcd
mov qword [rbp + 0x2038], rax
mov rax, qword [rbp + 0x2038]
mov qword [rbp + 0x2040], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2040]
call fcn.1400449e2
shl eax, 0x10
mov dword [rbp + 0x2048], eax
mov r9d, 1
mov r8d, 2
lea rdx, [rbp + 0x1f28]
lea rcx, [rbp + 0x14f8]
call fcn.140044fcd
mov qword [rbp + 0x2050], rax
mov rax, qword [rbp + 0x2050]
mov qword [rbp + 0x2058], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2058]
call fcn.1400449e2
mov ecx, dword [rbp + 0x2048]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x15c8], eax
lea rcx, [rbp + 0x1f28]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x1ee8]
call fcn.1400445f5
nop
mov r9d, 1
mov r8d, 4
lea rdx, [rbp + 0x1f68]
lea rcx, [rbp + 0x14f8]
call fcn.140044fcd
mov qword [rbp + 0x2038], rax
mov rax, qword [rbp + 0x2038]
mov qword [rbp + 0x2040], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2040]
call fcn.1400449e2
shl eax, 0x10
mov dword [rbp + 0x2048], eax
mov r9d, 1
mov r8d, 6
lea rdx, [rbp + 0x1fa8]
lea rcx, [rbp + 0x14f8]
call fcn.140044fcd
mov qword [rbp + 0x2050], rax
mov rax, qword [rbp + 0x2050]
mov qword [rbp + 0x2058], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x2058]
call fcn.1400449e2
mov ecx, dword [rbp + 0x2048]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x15cc], eax
lea rcx, [rbp + 0x1fa8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x1f68]
call fcn.1400445f5
nop
mov dword [rbp + 0x15d0], 0x3f
mov dword [rbp + 0x15d4], 0
mov dword [rbp + 0x15d8], 0x40004
mov dword [rbp + 0x15dc], 1
mov dword [rbp + 0x15e0], 0
mov dword [rbp + 0x15e4], 0
mov dword [rbp + 0x15e8], 0
mov dword [rsp + 0x28], 0x34
lea rax, [rbp + 0x15b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
mov edx, 0x10
mov rcx, qword [rbp + 0x1598]
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
jne 0x1400835b4
lea rdx, str.Failed_to_update_version_information._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400443a2
mov qword [rbp + 0x2038], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2040], eax
mov edx, dword [rbp + 0x2040]
mov rcx, qword [rbp + 0x2038]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x2048], rax
lea rdx, [0x140044127]
mov rcx, qword [rbp + 0x2048]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov edx, 1
mov rcx, qword [rbp + 0x1598]
call qword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
nop
lea rcx, [rbp + 0x1538]
call fcn.140045a81
nop
lea rcx, [rbp + 0x14f8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x14b8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x88]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x48]
call fcn.1400445f5
nop
lea rcx, [rbp + 8]
call fcn.1400445f5
nop
jmp 0x140083810
xor edx, edx
mov rcx, qword [rbp + 0x1598]
call qword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x140083621
lea rdx, str.Failed_to_commit_resource_update._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400443a2
mov qword [rbp + 0x2038], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2040], eax
mov edx, dword [rbp + 0x2040]
mov rcx, qword [rbp + 0x2038]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x2048], rax
lea rdx, [0x140044127]
mov rcx, qword [rbp + 0x2048]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x140083747
lea rdx, str.Successfully_set_file_properties_for
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
mov rdx, qword [rbp + 0x2090]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e307c]
mov rcx, rax
call fcn.1400443a2
nop
lea rdx, str.Description:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e30b0]
mov rcx, rax
call fcn.1400443a2
nop
lea rdx, str.Original_Filename:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
lea rdx, [rbp + 0x48]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e30b0]
mov rcx, rax
call fcn.1400443a2
nop
lea rdx, str.Product_Name:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
lea rdx, [rbp + 0x88]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e30b0]
mov rcx, rax
call fcn.1400443a2
nop
lea rdx, str.File_Version:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
lea rdx, [rbp + 0x14b8]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e30b0]
mov rcx, rax
call fcn.1400443a2
nop
lea rdx, str.Product_Version:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400443a2
lea rdx, [rbp + 0x14f8]
mov rcx, rax
call fcn.140045b76
lea rdx, [0x1400e30b0]
mov rcx, rax
call fcn.1400443a2
nop
mov eax, dword [rbp + 0x1574]
and eax, 3
test eax, eax
je 0x1400837c8
lea rcx, [rbp + 0x1538]
call fcn.140044a64
mov edx, dword [rbp + 0x1574]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400837c8
lea rdx, str.Failed_to_re_apply_read_only_or_hidden_attribute._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400443a2
mov qword [rbp + 0x2038], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2040], eax
mov edx, dword [rbp + 0x2040]
mov rcx, qword [rbp + 0x2038]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x2048], rax
lea rdx, [0x140044127]
mov rcx, qword [rbp + 0x2048]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x1538]
call fcn.140045a81
nop
lea rcx, [rbp + 0x14f8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x14b8]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x88]
call fcn.1400445f5
nop
lea rcx, [rbp + 0x48]
call fcn.1400445f5
nop
lea rcx, [rbp + 8]
call fcn.1400445f5
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400d82f0]
call fcn.1400459af
mov rcx, qword [rbp + 0x2060]
xor rcx, rbp
call fcn.140044ef1
lea rsp, [rbp + 0x2070]
pop rdi
pop rsi
pop rbp
ret