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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x140177080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0x70], rcx
xor esi, esi
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x80], reloc.WS2_32.dll_recv
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 0xf
jbe 0x14005c332
mov rdi, qword [rdi]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140047cc0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, [0x14012b728]
mov qword [rsp + rcx + 0x60], rdi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14005c3dd
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x14005c46f
nop dword [rax + rax]
mov r8d, 0x400
lea rdx, [rbp + 0xa0]
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, [rsp + 0x60]
call qword [sym.imp.MSVCP140.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 + 0xa0]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14005c454
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x14005c400
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x88]
mov edx, 2
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14005c4aa
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005c4e0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140049dc0
nop
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x60], rdi
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x70]
call fcn.140046160
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]
mov rax, rbx
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400bc070
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x5b0
pop rdi
pop rsi
pop rbp
ret