Function at 0x140003d60
Capabilities:
Hash data via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x210
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov r12, r8
mov r14, rcx
xor edi, edi
mov eax, edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], eax
lea rbx, [rcx + 0xe8]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140003dd2
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov byte [r14 + 0x138], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
mov qword [rsp + 0x48], rax
mov ecx, 0x400000
call qword [sym.imp.mfc140u.dll_operator_1]
mov r15, rax
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rdi
mov dword [rbp + 0x90], 0x8003
mov eax, edi
mov dword [rsp + 0x38], eax
test esi, esi
jle 0x14000451e
movsd xmm8, qword [0x14000d6c0]
nop dword [rax + rax]
movsxd r13, eax
xor r9d, r9d
mov r8, r13
mov edx, 0x199
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp qword [rax + 0x28], 0
je 0x140003e7a
mov r9, rax
xorps xmm2, xmm2
mov edx, 1
mov rcx, r12
call fcn.1400028a0
jmp 0x140004301
mov rdi, qword [rax]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], eax
mov rdx, qword [rdi]
mov dword [rsp + 0x20], 1
lea r9, [0x14000cda8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov r8, qword [rsi + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.140006270
nop
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140006020
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 6
jne 0x14000441a
mov r8d, 0x40000
mov rdx, r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x78]
call fcn.140003840
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, r15
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rcx, [rbp + 0x78]
call fcn.1400039f0
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 1
je 0x1400040b5
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x10], 0
je 0x140003fd5
lea rdi, [rsp + 0x70]
call fcn.1400063d0
test al, al
mov eax, 0
cmove rdi, rax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
mov eax, 0
cmovne rdi, rax
mov byte [rbp - 0x14], al
mov byte [rbp - 0x1f], al
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor ecx, ecx
mov qword [rbp - 0x10], rcx
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rcx
test rdi, rdi
jne 0x140004016
jmp 0x140003ff8
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor ecx, ecx
mov qword [rbp - 0x10], rcx
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rcx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140004039
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov qword [rsi + 0x28], rax
lea r9, [rbp + 0x98]
mov r8, r13
mov edx, 0x198
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x14000409d
cmp dword [rbp + 0xa4], 0
jl 0x14000409d
lea rdx, [rbp + 0xb8]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0xc4]
sub eax, dword [rbp + 0xbc]
cmp dword [rbp + 0x9c], eax
jg 0x14000409d
xor r8d, r8d
lea rdx, [rbp + 0x98]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov r9, rsi
xorps xmm2, xmm2
mov edx, 1
mov rcx, r12
call fcn.1400028a0
jmp 0x1400042af
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rcx, [rbp + 0x78]
call fcn.140003840
mov rcx, qword [rsi + 0x18]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400040e1
cvtsi2sd xmm0, rcx
jmp 0x1400040f6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
movaps xmm7, xmm8
divsd xmm7, xmm0
xorps xmm6, xmm6
cmp byte [r14 + 0x138], 0
jne 0x14000431a
mov r8d, 0x400000
mov rdx, r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov edx, dword [rsp + rcx + 0x70]
movzx eax, dl
and al, 1
jne 0x14000417b
test dl, 6
jne 0x14000416b
xor r9d, r9d
mov r8d, 0x400000
mov rdx, r15
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
addsd xmm6, xmm7
mov r9, rsi
movaps xmm2, xmm6
xor edx, edx
mov rcx, r12
call fcn.1400028a0
jmp 0x140004101
mov edx, 2
xor r13d, r13d
mov esi, r13d
jmp 0x140004208
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, r15
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rcx, [rbp + 0x78]
call fcn.1400039f0
mov qword [rsi + 0x28], rax
lea r9, [rbp + 0xa8]
mov r8, r13
mov edx, 0x198
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140004200
cmp dword [rbp + 0xb4], 0
jl 0x140004200
lea rdx, [rbp + 0xc8]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0xd4]
sub eax, dword [rbp + 0xcc]
cmp dword [rbp + 0xac], eax
jg 0x140004200
xor r8d, r8d
lea rdx, [rbp + 0xa8]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 1
xor r13d, r13d
mov r9, rsi
xorps xmm2, xmm2
mov rcx, r12
call fcn.1400028a0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x10], 0
je 0x14000426f
lea rdi, [rsp + 0x70]
call fcn.1400063d0
test al, al
cmove rdi, r13
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rdi, r13
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], r13
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], r13
test rdi, rdi
jne 0x1400042af
jmp 0x140004290
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], r13
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], r13
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.140005f70
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp eax, dword [rsp + 0x48]
jl 0x140003e40
jmp 0x14000451e
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x10], 0
je 0x140004378
lea rdi, [rsp + 0x70]
call fcn.1400063d0
test al, al
mov esi, 0
cmove rdi, rsi
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rdi, rsi
mov byte [rbp - 0x14], sil
mov byte [rbp - 0x1f], sil
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], rsi
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rsi
test rdi, rdi
jne 0x1400043b9
jmp 0x14000439b
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor ecx, ecx
mov qword [rbp - 0x10], rcx
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rcx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_operator]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.140005f70
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140004528
xor r9d, r9d
xorps xmm2, xmm2
lea edx, [r9 + 2]
mov rcx, r12
call fcn.1400028a0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x10], 0
je 0x14000448a
lea rdi, [rsp + 0x70]
call fcn.1400063d0
test al, al
mov esi, 0
cmove rdi, rsi
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rdi, rsi
mov byte [rbp - 0x14], sil
mov byte [rbp - 0x1f], sil
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], rsi
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rsi
test rdi, rdi
jne 0x1400044cc
jmp 0x1400044ad
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor ecx, ecx
mov qword [rbp - 0x10], rcx
mov rax, qword [0x140054378]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rcx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.140005f70
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_operator]
nop
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.1400080a0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret