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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004b150]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], r12
mov word [rbp + 0x98], r12w
lea rdx, [0x140033aa0]
lea rcx, [rbp + 0x90]
call fcn.140003ecc
nop
mov edi, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x34], 0x10
mov esi, r12d
mov rax, qword [r15 + 0x20]
mov rdx, qword [rax + 0x10]
add rdx, 0x50
or r14, 0xffffffffffffffff
mov r9, r14
xor r8d, r8d
lea rcx, [rbp + 0x90]
call fcn.140003fc4
lea rbx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae rbx, qword [rbp + 0x98]
lea rax, [0x140039758]
mov qword [rsp + 0x60], rax
lea rax, [0x1400323e0]
mov qword [rbp], rax
lea r13d, [r12 + 1]
mov dword [rsp + 0x30], r13d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14000e430
nop
mov rax, qword [rsp + 0x60]
movsxd rdx, dword [rax + 4]
lea rax, [0x1400323a8]
mov qword [rsp + rdx + 0x60], rax
lea rcx, [rsp + 0x70]
call fcn.14000e31c
nop
cmp qword [rbp - 8], r12
jne 0x140017f52
lea edx, [r12 + 0x21]
lea r8d, [r12 + 0x40]
mov rcx, rbx
call fcn.14002eb88
test rax, rax
je 0x140017f52
mov r8d, r13d
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000e270
mov rcx, qword [rbp - 0x28]
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14002e170
mov rax, qword [rbx + 8]
cmp rax, r14
jae 0x140017f23
inc rax
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x40]
call fcn.14002e1f0
nop
lea rcx, [rsp + 0x50]
call fcn.14000f0d0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000e064
nop
lea rcx, [rsp + 0x50]
call fcn.140012114
jmp 0x140017f7e
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r9, [rsp + 0x60]
add rcx, r9
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r12
cmove edx, eax
xor r8d, r8d
call fcn.1400104b8
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 6
jne 0x140017fea
mov rcx, qword [rbp + rcx - 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, 2
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rax, qword [rax + 0x40]
call qword [0x140032bd8]
movsxd rax, dword [rbp + 0x70]
add rax, qword [rbp + 0x68]
cmp rax, r14
jne 0x140017fea
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r9, [rsp + 0x60]
add rcx, r9
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r12
cmove edx, eax
xor r8d, r8d
call fcn.1400104b8
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 6
jne 0x14001801d
mov rcx, qword [rbp + rcx - 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, r13d
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rax, qword [rax + 0x40]
call qword [0x140032bd8]
jmp 0x14001802a
movdqa xmm0, xmmword [0x14003e130]
movdqu xmmword [rbp + 0x68], xmm0
mov ebx, dword [rbp + 0x68]
add ebx, dword [rbp + 0x70]
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r12
mov word [rbp + 0x70], r12w
lea rdx, [0x140033aa0]
lea rcx, [rbp + 0x68]
call fcn.140003ecc
mov dword [rsp + 0x30], 3
mov r8d, 0xa
lea rdx, [rbp + 0x110]
mov ecx, ebx
call qword [sym.imp.msvcrt.dll__itow]
nop dword [rax + rax]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x68]
call fcn.140003ecc
lea rcx, [r15 + 0x90]
mov r9, r14
xor r8d, r8d
lea rdx, [rbp + 0x68]
call fcn.140003fc4
nop
cmp qword [rbp + 0x88], 8
jb 0x1400180b4
mov rcx, qword [rbp + 0x70]
call sub.msvcrt.dll_free
test ebx, ebx
je 0x1400181a4
mov r14d, ebx
mov ecx, ebx
call fcn.14002d198
mov rdi, rax
mov rcx, qword [rsp + 0x60]
movsxd rcx, dword [rcx + 4]
test byte [rsp + rcx + 0x70], 6
jne 0x140018133
mov rcx, qword [rbp + rcx - 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x40]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x68]
call qword [0x140032bd8]
movsxd rax, dword [rbp + 0x70]
add rax, qword [rbp + 0x68]
cmp rax, 0xffffffffffffffff
jne 0x140018133
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r9, [rsp + 0x60]
add rcx, r9
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r12
cmove edx, eax
xor r8d, r8d
call fcn.1400104b8
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400184bc
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 6
je 0x14001824c
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r12
mov word [rbp + 0x70], r12w
lea rdx, str.Error_reading_the_file.
lea rcx, [rbp + 0x68]
call fcn.140003ecc
nop
mov rax, qword [r15 + 0x10]
lea rdx, [rbp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.140006e34
nop
cmp qword [rbp + 0x88], 8
jb 0x1400181a4
mov rcx, qword [rbp + 0x70]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x60]
call fcn.14000d528
test rdi, rdi
je 0x1400181bc
mov rcx, rdi
call sub.msvcrt.dll_free
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400323a8]
mov qword [rsp + rcx + 0x60], rax
lea rcx, [rsp + 0x70]
call fcn.14000de80
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400323a0]
mov qword [rsp + rcx + 0x60], rax
lea rax, [0x1400323e0]
mov qword [rbp], rax
lea rcx, [rbp]
call fcn.14002df68
nop
cmp qword [rbp + 0xb0], 8
jb 0x14001821b
mov rcx, qword [rbp + 0x98]
call sub.msvcrt.dll_free
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14002d5f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movups xmm0, xmmword [str.0123456789abcdef]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [0x14003d158]
movups xmmword [rbp + 0x78], xmm1
movzx eax, word [0x14003d168]
mov word [rbp + 0x88], ax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, r13d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
nop dword [rax + rax]
test eax, eax
je 0x1400181a4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop dword [rax + rax]
test eax, eax
je 0x1400181a4
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
nop dword [rax + rax]
test eax, eax
je 0x1400181a4
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x34]
lea r8, [rbp + 0xb8]
mov edx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop dword [rax + rax]
test eax, eax
je 0x1400181a4
mov r8d, r12d
mov r9d, dword [rsp + 0x34]
test r9d, r9d
je 0x14001836f
cmp r8d, 0x20
jae 0x14001836d
mov eax, r8d
movzx edx, byte [rbp + rax + 0xb8]
mov eax, edx
shr rax, 4
mov ecx, esi
movzx eax, word [rbp + rax*2 + 0x68]
mov word [rbp + rcx*2 + 0xd0], ax
add esi, r13d
and edx, 0xf
movzx eax, word [rbp + rdx*2 + 0x68]
mov word [rbp + rsi*2 + 0xd0], ax
add esi, r13d
add r8d, r13d
cmp r8d, r9d
jb 0x140018325
cmp r8d, 0x20
ja 0x140018384
mov eax, r8d
add rax, rax
cmp rax, 0x40
jae 0x1400183bd
mov word [rbp + rax + 0xd0], r12w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop dword [rax + rax]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop dword [rax + rax]
lea rcx, [r15 + 0x40]
lea rdx, [rbp + 0xd0]
call fcn.140003ecc
jmp 0x1400181a4
call fcn.14002de38
int3