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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rbp - 0x41], 0
mov eax, r8d
cmp r8, rax
je 0x18000c593
lea rax, vtable.std::exception.0
mov qword [rbp - 0x59], rax
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea rax, str.The_array_is_too_large.
mov qword [rbp - 9], rax
mov byte [rbp - 1], 1
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.180097068
lea rax, vtable.std::logic_error.0
mov qword [rbp - 0x59], rax
lea rdx, [0x1800fd348]
lea rcx, [rbp - 0x59]
call fcn.1800996e4
int3
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18000c5f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 9]
call fcn.180006c40
nop
mov r8, rax
lea rdx, str.CryptAcquireContextA_failed:
lea rcx, [rbp - 0x31]
call fcn.18000e850
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1800017e0
lea rdx, [0x1800fd130]
lea rcx, [rbp - 0x59]
call fcn.1800996e4
nop
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x18000c668
xor edx, edx
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.180006c40
nop
mov r8, rax
lea rdx, str.CryptCreateHash_failed:
lea rcx, [rbp - 9]
call fcn.18000e850
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1800017e0
lea rdx, [0x1800fd130]
lea rcx, [rbp - 0x59]
call fcn.1800996e4
nop
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x18000c6d8
xor edx, edx
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.180006c40
nop
mov r8, rax
lea rdx, str.CryptCreateHash_failed:
lea rcx, [rbp - 9]
call fcn.18000e850
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1800017e0
lea rdx, [0x1800fd130]
lea rcx, [rbp - 0x59]
call fcn.1800996e4
nop
mov dword [rbp - 0x11], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x27]
mov edx, 2
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ebx, eax
xor edx, edx
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test ebx, ebx
jne 0x18000c75d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.180006c40
nop
mov r8, rax
lea rdx, str.CryptGetHashParam_failed:
lea rcx, [rbp - 9]
call fcn.18000e850
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1800017e0
lea rdx, [0x1800fd130]
lea rcx, [rbp - 0x59]
call fcn.1800996e4
nop
mov r8d, dword [rbp - 0x11]
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.18000c3c0
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret