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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x920], rbx
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x3c], r15d
xor eax, eax
mov qword [rbp + 0x5a8], rax
mov qword [rbp + 0x5b0], rax
lea rcx, [rbp + 0x5a8]
call fcn.14006c110
nop
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r15 + 1]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x5a8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14006c3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movdqa xmm0, xmmword [0x14019d3d0]
movdqa xmmword [rbp + 0x5d0], xmm0
movdqa xmm1, xmmword [0x14019d160]
movdqa xmmword [rbp + 0x5e0], xmm1
movdqa xmm0, xmmword [str.m_rudssns___0_]
movdqa xmmword [rbp + 0x5f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x600], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x610], xmm0
movdqa xmmword [rbp + 0x620], xmm1
movdqa xmmword [rbp + 0x630], xmm0
movdqa xmmword [rbp + 0x640], xmm1
mov r9b, 1
lea r8, [0x1401723c8]
lea edx, [r15 + 0x30]
lea rcx, [rbp + 0x5d0]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp + 0x490]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x14006c31f
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140030d20
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x14006c37c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x14006c37c
mov r10, qword [rbx + 0x18]
nop dword [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006c37c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x14006c350
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.140019dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14006c393
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400eefd4
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x78], rax
lea rdx, [0x1401fdcb0]
lea rcx, [rbp - 0x78]
call fcn.1400ef340
nop
xor eax, eax
mov qword [rbp + 0x598], rax
mov qword [rbp + 0x5a0], rax
lea rcx, [rbp + 0x598]
call fcn.14006c180
nop
mov rdx, qword [rbp + 0x598]
mov rax, qword [rbp + 0x5a8]
test rax, rax
mov rcx, r15
je 0x14006c3f9
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14006c563
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movdqa xmm0, xmmword [0x14019d810]
movdqa xmmword [rbp + 0x650], xmm0
movdqa xmm1, xmmword [0x14019d850]
movdqa xmmword [rbp + 0x660], xmm1
movdqa xmm0, xmmword [0x14019cf60]
movdqa xmmword [rbp + 0x670], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x680], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x690], xmm0
movdqa xmmword [rbp + 0x6a0], xmm1
movdqa xmmword [rbp + 0x6b0], xmm0
movdqa xmmword [rbp + 0x6c0], xmm1
mov r9b, 0xaa
lea r8, [0x140172400]
mov edx, 0x2c
lea rcx, [rbp + 0x650]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006c4ba
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.140030d20
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x14006c51c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x14006c51c
mov r10, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006c51c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x14006c4f0
mov rdx, rbx
lea rcx, [rbp + 8]
call fcn.140019dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14006c533
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.1400eefd4
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x60], rax
lea rdx, [0x1401fdcb0]
lea rcx, [rbp - 0x60]
call fcn.1400ef340
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14006c571
mov rbx, qword [rbx]
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x14006c583
mov rcx, qword [rax]
xor r9d, r9d
mov r8d, edx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14006c6e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
movdqa xmm0, xmmword [0x14019d1e0]
movdqa xmmword [rbp + 0x750], xmm0
movdqa xmm1, xmmword [0x14019d430]
movdqa xmmword [rbp + 0x760], xmm1
movdqa xmm0, xmmword [0x14019cc50]
movdqa xmmword [rbp + 0x770], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x780], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x790], xmm0
movdqa xmmword [rbp + 0x7a0], xmm1
movdqa xmmword [rbp + 0x7b0], xmm0
movdqa xmmword [rbp + 0x7c0], xmm1
mov r9b, 0x54
lea r8, [0x140172430]
mov edx, 0x23
lea rcx, [rbp + 0x750]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp + 0x390]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006c63d
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.140030d20
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x14006c69c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x14006c69c
mov r10, qword [rbx + 0x18]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006c69c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x14006c670
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.140019dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14006c6b3
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.1400eefd4
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x48], rax
lea rdx, [0x1401fdcb0]
lea rcx, [rbp - 0x48]
call fcn.1400ef340
nop
mov dword [rbp + 0x590], select
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x14006c6ff
mov rcx, qword [rax]
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x590]
lea r8, [rbp + 0x5b8]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14006c864
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movdqa xmm0, xmmword [0x14019d830]
movdqa xmmword [rbp + 0x6d0], xmm0
movdqa xmm1, xmmword [0x14019d580]
movdqa xmmword [rbp + 0x6e0], xmm1
movdqa xmm0, xmmword [0x14019d020]
movdqa xmmword [rbp + 0x6f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x700], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x710], xmm0
movdqa xmmword [rbp + 0x720], xmm1
movdqa xmmword [rbp + 0x730], xmm0
movdqa xmmword [rbp + 0x740], xmm1
mov r9b, 0xfd
lea r8, [0x140172458]
mov edx, 0x2d
lea rcx, [rbp + 0x6d0]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006c7c8
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140030d20
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x14006c81d
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x14006c81d
mov r10, qword [rbx + 0x18]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006c81d
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x14006c7f1
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.140019dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14006c834
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400eefd4
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x20], rax
lea rdx, [0x1401fdcb0]
lea rcx, [rbp - 0x20]
call fcn.1400ef340
nop
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], r15
mov byte [r14], 0
mov dword [rsp + 0x3c], 1
mov edx, 0x20
mov rcx, r14
call fcn.14001a3e0
mov rdi, r15
or rsi, 0xffffffffffffffff
movzx eax, byte [rbp + rdi + 0x5b8]
mov dword [rsp + 0x30], eax
lea rdx, str._02x
lea rcx, [rbp + 0x90]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006c8c0
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001d600
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x14006c91c
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x14006c91c
mov r10, qword [rbx + 0x18]
nop dword [rax + rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
mov qword [rbp - 8], rdx
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006c91c
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x14006c8f0
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140019dc0
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.14002c470
nop
cmp qword [rbp - 0x80], 0x10
jb 0x14006c94d
mov rcx, qword [rsp + 0x68]
call fcn.1400ed78c
mov qword [rbp - 0x80], select
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
lea rcx, [rbp + 0x90]
call fcn.1400178d0
inc rdi
cmp rdi, 0x10
jl 0x14006c890
mov rbx, qword [rbp + 0x5a0]
test rbx, rbx
je 0x14006c9a2
lock dec dword [rbx + 8]
jne 0x14006c9a2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x14006c9a2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov rbx, qword [rbp + 0x5b0]
test rbx, rbx
je 0x14006c9cb
lock dec dword [rbx + 8]
jne 0x14006c9cb
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x14006c9cb
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + ioctlsocket]
mov rax, r14
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400efba0
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret