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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rsp + 0x30], 1
test rdx, rdx
je 0x140030452
mov qword [rbp - 0x68], r14
mov edx, r14d
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x60], SafeArrayAccessData
mov qword [rsp + 0x70], r14
mov ecx, r14d
lea r8, vtable.std::_Func_impl_no_alloc_int____cdecl___unsigned_long_long_unsigned___int64___unsigned_long_int___int__unsigned_long_long_unsigned___int64___unsigned_long_int_.0
cmp qword [sym.imp.ADVAPI32.dll_CryptReleaseContext], r14
je 0x14003006f
mov qword [rsp + 0x38], r8
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rbp], r14
mov dword [rbp + 8], r14d
mov qword [rbp + 0x48], r14
test rcx, rcx
je 0x1400300ac
mov qword [rbp + 0x10], r8
mov rax, qword [rcx + 8]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rcx, rax
je 0x1400300ac
mov edx, 0x10
call fcn.1401218ec
mov rdx, qword [rbp - 0x70]
mov qword [rsp + 0x70], r14
mov rcx, r14
lea r8, vtable.std::_Func_impl_no_alloc_int____cdecl___unsigned_long_long_unsigned___int64____int__unsigned_long_long_unsigned___int64__.0
cmp qword [sym.imp.ADVAPI32.dll_CryptDestroyHash], r14
je 0x1400300e4
mov qword [rsp + 0x38], r8
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x10], r14
test rcx, rcx
je 0x14003011a
mov qword [rbp - 0x48], r8
mov rax, qword [rcx + 8]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x38]
cmp rcx, rax
je 0x14003011a
mov edx, 0x10
call fcn.1401218ec
nop
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400303e4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400303e4
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400303e4
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x150]
mov edx, 2
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400303e4
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x50]
call fcn.140140260
lea rax, [0x1401b3160]
mov qword [rbp + 0x50], rax
lea rax, [0x1401b3158]
mov qword [rbp + 0x60], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xe8], rax
mov dword [rsp + 0x30], 3
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x50]
call fcn.140024fc0
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x68]
call fcn.140025150
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x68], rax
mov r8, r14
mov qword [rbp + 0xd0], r14
mov ecx, r14d
mov dword [rbp + 0xd8], ecx
mov esi, r14d
cmp dword [rbp - 0x60], r14d
jbe 0x1400302c0
nop dword [rax + rax]
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0x78]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0x78], eax
mov eax, esi
lea rbx, [rbp + 0x150]
add rbx, rax
movzx edx, byte [rbx]
shr edx, 4
lea rcx, [rbp + 0x60]
call fcn.14002e480
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0x78]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0x78], eax
movzx edx, byte [rbx]
and edx, 0xf
lea rcx, [rbp + 0x60]
call fcn.14002e480
inc esi
cmp esi, dword [rbp - 0x60]
jb 0x140030250
mov ecx, dword [rbp + 0xd8]
mov r8, qword [rbp + 0xd0]
movdqa xmm0, xmmword [0x1401b5bd0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x30], SafeArrayDestroy
test cl, 2
jne 0x140030306
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140030306
mov rax, qword [rbp + 0x88]
mov r9, qword [rax]
cmp rdx, r8
cmovb rdx, r8
sub rdx, r9
jmp 0x140030337
test cl, 4
jne 0x14003036a
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003036a
mov rax, qword [rbp + 0x80]
mov r9, qword [rax]
mov rax, qword [rbp + 0xb8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
sar rdx, 1
lea rcx, [rsp + 0x38]
cmp rdx, 7
ja 0x140030361
mov qword [rsp + 0x48], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14013fdf0
mov word [rsp + rbx + 0x38], r14w
jmp 0x14003036a
xor r8d, r8d
call fcn.140014f60
nop
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x140030397
mov rcx, rdi
call fcn.1400151d0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400303da
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400303da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400303d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030478
call fcn.1401218ec
nop
lea rcx, [rbp + 0x50]
call fcn.140022d90
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400303fd
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14003047e
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14003041d
lea rax, [rbp - 0x48]
cmp rcx, rax
je 0x140030419
mov edx, 0x10
call fcn.1401218ec
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp]
test rcx, rcx
je 0x140030435
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x140030472
mov edx, dword [rbp + 8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140030452
lea rax, [rbp + 0x10]
cmp rcx, rax
je 0x140030452
mov edx, 0x10
call fcn.1401218ec
nop
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140121cc0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400ffb0c
nop
call fcn.1401431fc
nop
call fcn.1400ffb0c
int3