Function at 0x140057360
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x5d8
mov dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x5e0]
call fcn.140054f10
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x5e8]
call fcn.14005a750
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x1400575e9
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400575dd
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400575cf
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, 0x400
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140057485
cmp dword [rsp + 0x4c], 0
je 0x140057485
xor r9d, r9d
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
jmp 0x140057435
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x98]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400575c3
mov edx, 1
lea rcx, [rsp + 0xe0]
call fcn.140054a90
nop
lea rdx, [0x14005cf20]
lea rcx, [rsp + 0xe0]
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]
mov qword [rsp + 0x78], rax
mov dl, 0x30
lea rcx, [rsp + 0x44]
call fcn.1400540d0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400509d0
nop
mov dword [rsp + 0x40], 0
jmp 0x14005751c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jae 0x140057575
mov edx, 2
lea rcx, [rsp + 0xa8]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140050a20
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x40]
movzx eax, byte [rsp + rax + 0x98]
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x80]
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]
nop
jmp 0x140057512
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xe0]
call fcn.1400610f0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x5e0]
call fcn.140056180
lea rcx, [rsp + 0xb8]
call fcn.140055c40
nop
lea rcx, [rsp + 0xe0]
call fcn.140057060
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x5e0]
add rsp, 0x5d8
ret