Function at 0x180001150
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 0x180001236
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800011e2
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800011f4
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800013eb
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800013e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001485
jmp 0x1800013e6
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 0x1800013fc
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 0x1800012d6
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180001282
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180001294
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800013eb
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800013e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000148b
jmp 0x1800013e6
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 0x180001364
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180001310
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180001322
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800013eb
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800013e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001491
jmp 0x1800013e6
mov edx, dword [rbp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.180003c50
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 0x1800013fc
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18000139f
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800013b1
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800013eb
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800013e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001497
call fcn.1800076f8
mov byte [rbx], 0
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
jmp 0x180001464
mov byte [rbx], 1
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x40]
call fcn.180003e70
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18000141c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18000142e
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180001464
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000145f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000147f
call fcn.1800076f8
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.180028b54
int3
call fcn.180028b54
int3
call fcn.180028b54
int3
call fcn.180028b54
int3
call fcn.180028b54
int3