Function at 0x1400075bc
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
and dword [rsp + 0x30], 0
and qword [rbp + 0x50], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14000763a
lea rdx, [0x140011f35]
mov rcx, rdi
call fcn.1400047d0
jmp 0x140007977
and qword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14000766f
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140007626
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rbp + 0x40]
test eax, eax
jne 0x140007692
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x140007661
and dword [rbp + 0x48], 0
mov r14d, 4
mov dword [rbp + 0x58], r14d
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x48]
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400076c0
mov rcx, qword [rbp + 0x40]
jmp 0x14000768a
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov edx, dword [rbp + 0x48]
lea rcx, [rbp + 0x60]
call fcn.1400090f4
nop
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x48]
mov rsi, qword [rbp + 0x60]
mov r8, rsi
mov edx, 2
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140007764
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [0x140011f35]
mov rcx, rdi
call fcn.1400047d0
nop
test rsi, rsi
je 0x140007977
mov rdx, qword [rbp + 0x70]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000796f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000796f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400123e8]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r13
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
and qword [rbp - 0x40], 0
mov dword [rbp - 0x38], r14d
mov rbx, rsi
cmp rsi, qword [rbp + 0x68]
je 0x140007844
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x78], 2
lea rdx, [0x140006e9c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
movzx edx, byte [rbx]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc rbx
cmp rbx, qword [rbp + 0x68]
jne 0x1400077fd
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x30], 0xa
test byte [rbp - 0x38], 2
jne 0x14000789b
mov rax, qword [rbp - 0x68]
mov rbx, qword [rax]
test rbx, rbx
je 0x14000789b
mov rax, qword [rsp + 0x78]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x40]
cmovb rbx, qword [rbp - 0x40]
sub rbx, r9
jmp 0x1400078c2
test byte [rbp - 0x38], r14b
jne 0x1400078fa
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400078fa
mov rax, qword [rsp + 0x70]
mov r9, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
cmp rbx, qword [rdi + 0x18]
ja 0x1400078ee
cmp qword [rdi + 0x18], 0x10
mov r14, rdi
jb 0x1400078d5
mov r14, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x1400078fa
mov rdx, rbx
mov rcx, rdi
call fcn.140006304
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r13
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14000998c
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rsi, rsi
je 0x140007977
mov rdx, qword [rbp + 0x70]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000796f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000796f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000ee94
mov rax, rdi
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14000ee70
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret