Function at 0x14002f510
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 [0x140228058]
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 0x14002f9b4
mov qword [rbp - 0x68], r14
mov edx, r14d
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x60], SafeArrayUnlock
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 0x14002f5bf
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 0x14002f5fc
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 0x14002f5fc
mov edx, 0x10
call fcn.14013db80
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 0x14002f634
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 0x14002f66a
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 0x14002f66a
mov edx, 0x10
call fcn.14013db80
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 0x14002f934
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 0x14002f934
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 0x14002f934
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 0x14002f934
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x50]
call fcn.14015cb20
lea rax, [0x1401d5960]
mov qword [rbp + 0x50], rax
lea rax, [0x1401d5958]
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.140025ec0
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.140026050
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 0x14002f810
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.140032b50
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.140032b50
inc esi
cmp esi, dword [rbp - 0x60]
jb 0x14002f7a0
mov ecx, dword [rbp + 0xd8]
mov r8, qword [rbp + 0xd0]
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x30], VariantTimeToDosDateTime
test cl, 2
jne 0x14002f856
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002f856
mov rax, qword [rbp + 0x88]
mov r9, qword [rax]
cmp rdx, r8
cmovb rdx, r8
sub rdx, r9
jmp 0x14002f887
test cl, 4
jne 0x14002f8ba
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002f8ba
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 0x14002f8b1
mov qword [rsp + 0x48], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14015c680
mov word [rsp + rbx + 0x38], r14w
jmp 0x14002f8ba
xor r8d, r8d
call fcn.140015860
nop
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x14002f8e7
mov rcx, rdi
call fcn.140015ad0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14002f92a
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14002f92a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f9da
call fcn.14013db80
nop
lea rcx, [rbp + 0x50]
call fcn.140023f10
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002f958
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14002f9e0
mov rax, qword [rax + 8]
call qword [case.0x14001ac40.0]
mov qword [rbp - 0x50], r14
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14002f978
lea rax, [rbp - 0x48]
cmp rcx, rax
je 0x14002f974
mov edx, 0x10
call fcn.14013db80
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp]
test rcx, rcx
je 0x14002f997
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x14002f9d4
mov edx, dword [rbp + 8]
mov rax, qword [rax + 8]
call qword [case.0x14001ac40.0]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14002f9b4
lea rax, [rbp + 0x10]
cmp rcx, rax
je 0x14002f9b4
mov edx, 0x10
call fcn.14013db80
nop
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14013df50
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14011b9e0
nop
call fcn.14015fb1c
nop
call fcn.14011b9e0
int3