Function at 0x1800037b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
mov rdi, rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rbp + 0xd0], r15d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov r14d, 0xf
mov qword [rdx + 0x18], r14
mov byte [rdx], r15b
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 0xf0000020
lea r9d, [r15 + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x180003b1f
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180003b12
mov r8d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180003867
mov rbx, qword [rbx]
xor r9d, r9d
mov rdx, rbx
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180003b05
mov dword [rbp + 0xd0], 0x10
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0xd0]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x180003b05
lea rax, [0x18006b8a8]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
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], 9
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
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 [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r12, [0x180066e30]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x18006b818]
mov qword [rbp - 0x68], rax
mov qword [rbp], r15
mov dword [rbp + 8], 4
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x18], 0x30
lea rdx, [0x180001860]
lea rcx, [rbp - 0x70]
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]
lea rsi, [rsp + 0x78]
movzx ebx, byte [rsi]
mov edx, 2
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x70]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov edx, ebx
lea rcx, [rbp - 0x70]
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___unsigned_int____ptr64]
inc rsi
lea rax, [rbp - 0x78]
cmp rsi, rax
jne 0x180003953
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm6, xmmword [0x18006d570]
movdqu xmmword [rsp + 0x50], xmm6
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0xd
movups xmmword [rsp + 0x60], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800039eb
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1800039eb
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x180003a1c
test cl, 4
jne 0x180003a12
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x180003a12
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x180003a1c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x180003a31
lea rcx, [rsp + 0x40]
call fcn.180008300
movdqu xmm6, xmmword [rsp + 0x50]
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180003a87
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180003a71
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180003a6c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003abc
mov rcx, r8
call fcn.18005db54
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
mov byte [rsp + 0x40], 0
jmp 0x180003a8c
mov r14, qword [rsp + 0x58]
cmp r14, 0x10
jb 0x180003ac9
lea rdx, [r14 + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003ac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005db54
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.180005f80
lea rcx, [rbp - 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 + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret