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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x78], rcx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r12 + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140053a74
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140053a67
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140053a61
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x38]
lea edx, [r12 + 4]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140053a8f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
jmp 0x140053b6f
mov ebx, dword [rsp + 0x38]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov r14, r12
mov qword [rsp + 0x60], r12
test rbx, rbx
je 0x140053ada
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140057da0
mov rsi, qword [rsp + 0x50]
lea r15, [rsi + rbx]
mov r8, r15
sub r8, rsi
xor edx, edx
mov rcx, rsi
call fcn.140118720
mov qword [rsp + 0x58], r15
mov r14, qword [rsp + 0x60]
jmp 0x140053ae4
mov r15, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x38]
mov r8, rsi
mov edx, 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140053b8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
test rsi, rsi
je 0x140053b6f
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x140053b64
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053e26
mov rdx, r14
mov rcx, rsi
call fcn.14011460c
mov rax, rdi
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [0x1401635f8]
mov qword [rsp + 0x70], rax
mov qword [rbp], r12
mov qword [rbp + 0x28], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], rax
mov dword [rsp + 0x48], 8
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.140055d40
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], r13
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x78], rax
mov ecx, 0x10
call fcn.1401145d0
mov rbx, rax
mov cl, 1
call fcn.1400ebcdc
mov qword [rbx + 8], rax
mov qword [rbp - 0x28], rbx
lea rax, [rbp - 0x80]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x3c]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x60], r12
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], 4
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rbp + rcx - 0x38], ax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x68], 2
mov rbx, rsi
cmp rsi, r15
je 0x140053cdf
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x70]
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]
lea rcx, [rsp + 0x70]
call fcn.140054730
inc rbx
cmp rbx, r15
jne 0x140053cb0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov dword [rsp + 0x48], 0xc
movups xmmword [rbp + 0x60], xmm0
mov ecx, dword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140053d49
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140053d49
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
sar r8, 1
jmp 0x140053d7e
test cl, 4
jne 0x140053d76
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140053d76
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x140053d7e
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140053d8c
mov rcx, rdi
call fcn.14004ca40
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r13
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140054400
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400ec598
nop
test rsi, rsi
je 0x140053b6f
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x140053b64
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053b64
call fcn.14011c9a4
int3