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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x24], 0x20
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], r14
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x10], 1
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r14 + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x180025476
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180025422
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180025434
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18002562b
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800256c5
jmp 0x180025626
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18002563c
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180025516
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800254c2
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800254d4
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18002562b
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800256cb
jmp 0x180025626
mov dword [rbp + 0x38], r14d
mov dword [rbp - 0x28], 4
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x38]
mov edx, 4
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1800255a4
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180025550
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180025562
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18002562b
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800256d1
jmp 0x180025626
mov edx, dword [rbp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.1800250a0
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x24]
mov r8, qword [rbp - 0x40]
mov edx, 2
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x18002563c
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800255df
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800255f1
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18002562b
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800256d7
call fcn.18002aef0
mov byte [rbx], 0
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
jmp 0x1800256a4
mov byte [rbx], 1
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x40]
call fcn.1800252c0
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18002565c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18002566e
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800256a4
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002569f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800256bf
call fcn.18002aef0
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18004df84
int3
call fcn.18004df84
int3
call fcn.18004df84
int3
call fcn.18004df84
int3
call fcn.18004df84
int3