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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1800616b0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x10e0], rbx
mov qword [rsp + 0x10e8], rsi
mov rax, qword [0x1800e92b0]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r15
cmp qword [rcx + 0x18], 8
jb 0x180015808
mov rax, qword [rcx]
jmp 0x18001580b
mov rax, rbx
mov word [rax], r15w
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call fcn.180081920
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
movabs r12, 0x7fffffffffffffff
test eax, eax
jne 0x180015887
mov dword [rsp + 0x20], r15d
lea r9d, [rax + 1]
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x180015a48
cmp qword [rsi + 0x18], 8
jb 0x180015893
mov rcx, qword [rsi]
jmp 0x180015896
mov rcx, rsi
lea rdx, [0x1800d0c70]
call fcn.18008f0e0
mov rdi, rax
test rax, rax
je 0x180015a3a
lea rax, [rsp + 0x30]
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]
mov r14d, 0x100
mov rcx, rdi
call fcn.18008eecc
test eax, eax
jne 0x180015929
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call fcn.180081920
mov r9, rdi
mov edx, 1
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call fcn.18008ee04
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, rdi
call fcn.18008eecc
test eax, eax
je 0x1800158e0
sub r14, 1
jne 0x1800158d4
mov rcx, rdi
call fcn.18008de24
mov dword [rsp + 0x44], reloc.WS2_32.dll_recv
mov byte [rbp - 0x80], r14b
xor eax, eax
mov qword [rbp - 0x7f], rax
mov dword [rbp - 0x77], eax
mov word [rbp - 0x73], ax
mov byte [rbp - 0x71], al
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x80]
lea edx, [rax + 2]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180015600
mov rdi, rax
cmp rbx, rax
je 0x1800159d4
cmp qword [rbx + 0x18], 8
jb 0x1800159a9
mov r8, qword [rbx + 0x18]
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1800060c0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1800159c1
mov rax, qword [rbx]
jmp 0x1800159c4
mov rax, rbx
mov word [rax], r15w
mov rdx, rdi
mov rcx, rbx
call fcn.180015700
nop
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x180015a3a
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r12
jbe 0x1800159f2
call fcn.180083e00
int3
add rax, rax
cmp rax, 0x1000
jb 0x180015a35
test cl, 0x1f
je 0x180015a08
call fcn.180083e00
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180015a17
call fcn.180083e00
int3
sub rcx, rax
cmp rcx, 8
jae 0x180015a26
call fcn.180083e00
int3
cmp rcx, 0x27
jbe 0x180015a32
call fcn.180083e00
int3
mov rcx, rax
call fcn.180060d7c
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x180015aab
inc rax
mov rcx, qword [rsi]
cmp rax, r12
jbe 0x180015a63
call fcn.180083e00
int3
add rax, rax
cmp rax, 0x1000
jb 0x180015aa6
test cl, 0x1f
je 0x180015a79
call fcn.180083e00
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180015a88
call fcn.180083e00
int3
sub rcx, rax
cmp rcx, 8
jae 0x180015a97
call fcn.180083e00
int3
cmp rcx, 0x27
jbe 0x180015aa3
call fcn.180083e00
int3
mov rcx, rax
call fcn.180060d7c
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 8
jb 0x180015ac1
mov rsi, qword [rsi]
mov word [rsi], r15w
mov rax, rbx
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1800612f0
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret