Function at 0x1400117cb
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140028a00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x18f0
call fcn.14001125d
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4b0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1918]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x18b8], rax
mov dword [rbp + 0x18a4], 0
lea rcx, [0x14004d70b]
call fcn.140011df2
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x84], 0x20
lea rax, [rbp + 0xa8]
lea rcx, str.0123456789abcdef
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0xd8]
call fcn.140011dd4
nop
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140028b3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x18b4], eax
lea rdx, str.CryptAcquireContext_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x18b4]
mov edx, ecx
mov rcx, rax
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]
lea rdx, [0x14001107d]
mov rcx, rax
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]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011622
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
jmp 0x140028f86
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140028be8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x18b4], eax
lea rdx, str.CryptCreateHash_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x18b4]
mov edx, ecx
mov rcx, rax
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]
lea rdx, [0x14001107d]
mov rcx, rax
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]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011622
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
jmp 0x140028f86
mov edx, 0x110
lea rcx, [rbp + 0x120]
call fcn.140011988
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x18e8]
lea rcx, [rbp + 0x120]
call fcn.140011aa0
nop
mov rax, qword [rbp + 0x120]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x120]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140028cd7
lea rdx, str.Cannot_open_file:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov rdx, qword [rbp + 0x18e8]
mov rcx, rax
call fcn.140011c67
lea rdx, [0x14001107d]
mov rcx, rax
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011622
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0x120]
call fcn.14001120d
nop
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
jmp 0x140028f86
mov r8d, 0x1000
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 qword [rbp + 0x1888], rax
mov rax, qword [rbp + 0x1888]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x1888]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140028df5
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_public:_long_long___int64____cdecl_std::basic_istream_char__struct_std::char_traits_char__::gcount_void_const___ptr64]
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x250]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140028df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x18b4], eax
lea rdx, str.CryptHashData_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x18b4]
mov edx, ecx
mov rcx, rax
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]
lea rdx, [0x14001107d]
mov rcx, rax
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011622
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0x120]
call fcn.14001120d
nop
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
jmp 0x140028f86
jmp 0x140028cd7
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x48]
mov edx, 2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140028ebc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x18b4], eax
lea rdx, str.CryptGetHashParam_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x18b4]
mov edx, ecx
mov rcx, rax
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]
lea rdx, [0x14001107d]
mov rcx, rax
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011622
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0x120]
call fcn.14001120d
nop
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
jmp 0x140028f86
mov dword [rbp + 0x1264], 0
jmp 0x140028ed6
mov eax, dword [rbp + 0x1264]
inc eax
mov dword [rbp + 0x1264], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x1264], eax
jae 0x140028f2e
mov eax, dword [rbp + 0x1264]
movzx eax, byte [rbp + rax + 0x48]
sar eax, 4
cdqe
movzx edx, byte [rbp + rax + 0xa8]
lea rcx, [rbp + 0xd8]
call fcn.140011492
mov eax, dword [rbp + 0x1264]
movzx eax, byte [rbp + rax + 0x48]
and eax, 0xf
cdqe
movzx edx, byte [rbp + rax + 0xa8]
lea rcx, [rbp + 0xd8]
call fcn.140011492
jmp 0x140028ec8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [rbp + 0xd8]
mov rcx, qword [rbp + 0x18e0]
call fcn.140011cfd
mov eax, dword [rbp + 0x18a4]
or eax, 1
mov dword [rbp + 0x18a4], eax
lea rcx, [rbp + 0x120]
call fcn.14001120d
nop
lea rcx, [rbp + 0xd8]
call fcn.140011276
mov rax, qword [rbp + 0x18e0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x18b8]
xor rcx, rbp
call fcn.140011695
lea rsp, [rbp + 0x18c0]
pop rdi
pop rsi
pop rbp
ret