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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rbx, r8
mov rdi, rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rbp + 0xb0], r14d
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], 0xf
mov byte [rdx], r14b
xor r8d, r8d
lea rdx, [0x180052af3]
mov rcx, rdi
call fcn.180009460
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 0xf0000020
lea r9d, [r14 + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1800059a7
lea rax, [rbp + 0xc8]
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 0x18000599a
mov r8d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1800056df
mov rbx, qword [rbx]
xor r9d, r9d
mov rdx, rbx
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x18000598d
mov dword [rbp + 0xb0], 0x10
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0xb0]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x18000598d
lea rax, [0x180058828]
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], 3
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 r15, [0x180053e10]
mov qword [rbp + rcx - 0x70], r15
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, [0x1800587a8]
mov qword [rbp - 0x68], rax
mov qword [rbp], r14
mov dword [rbp + 8], 4
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x18], 0x30
lea rdx, [0x180003ba0]
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]
nop dword [rax + rax]
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 0x1800057d0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 0xf
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0xb
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov edx, dword [rbp + 8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x180005869
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x180005869
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x18000589a
test dl, 4
jne 0x180005890
mov rax, qword [rbp - 0x30]
mov r9, qword [rax]
test r9, r9
je 0x180005890
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x18000589a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1800058ae
lea rcx, [rsp + 0x40]
call fcn.180009460
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180005914
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800058ee
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800058e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005944
mov rcx, r8
call fcn.18004cc08
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
mov ecx, 0xf
mov byte [rsp + 0x40], 0
cmp rcx, 0x10
jb 0x180005951
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000594b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000594b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004cc08
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
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.1800088c0
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 + 0xc8]
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
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret