Function at 0x140001a30
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140005018]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rcx
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx ecx, word [r14 + 0x10]
xor r15d, r15d
mov edi, 0x1d0
mov qword [rbp - 9], r15
mov qword [rbp + 0x2f], rdi
call fcn.140001d80
lea r9, [rbp + 0x2f]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp - 9]
lea rcx, [r15 - 1]
call fcn.140001d91
lea r9d, [r15 + 0x18]
mov dword [rbp + 0x17], edi
xor r8d, r8d
mov qword [rbp + 0xf], r15
xor edx, edx
mov qword [rbp + 7], r15
lea rcx, [rbp + 0xf]
mov qword [rbp + 0x27], r15
mov esi, r15d
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rbx, str._p_
test eax, eax
je 0x140001ba5
mov rcx, qword [rbp + 0xf]
lea rax, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001b6c
mov rcx, qword [rbp + 7]
lea r8d, [r15 + 0x10]
xor r9d, r9d
lea rdx, [0x140005220]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001b6c
mov r8, qword [rbp + 7]
lea rax, [rbp + 0x27]
mov rcx, qword [rbp + 0xf]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001b6c
mov rcx, qword [rbp + 0x27]
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea r8d, [r15 + 1]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov esi, eax
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140001b7b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140001b8a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140001b9b
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test esi, esi
jne 0x140001ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbp - 9]
cmp rax, rbx
jbe 0x140001bf4
lea rcx, [0x140005220]
cmp rax, rcx
jae 0x140001bf4
lea rcx, [0x14000521e]
sub rdi, rcx
lea rdx, [rax + 0x1ce]
nop dword [rax + rax]
movzx eax, byte [rcx + 1]
lea rcx, [rcx - 2]
mov byte [rdx + 1], al
lea rdx, [rdx - 2]
movzx eax, byte [rcx + 2]
mov byte [rdx + 2], al
lea rax, [rdi + rcx]
test rax, rax
jne 0x140001bd0
jmp 0x140001ca9
lea r8, [0x14000521f]
mov rdx, r15
lea rcx, [rax + 0x1cf]
cmp rax, r8
ja 0x140001c24
cmp rcx, rbx
jb 0x140001c24
nop
movzx ecx, byte [rdx + rbx]
mov byte [rdx + rax], cl
inc rdx
cmp rdx, rdi
jb 0x140001c10
jmp 0x140001ca9
mov ecx, 3
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140001c30
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
movzx ecx, word [r14 + 0x28]
mov dword [rbp + 0x1f], r15d
call fcn.140001d80
lea rax, [rbp + 0x1f]
mov r9d, 0x20
lea r8, [rbp + 0x2f]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 9]
mov rcx, 0xffffffffffffffff
call fcn.140001d91
movzx ecx, word [r14 + 0x40]
mov qword [rbp - 1], 0xffffffffffffffff
call fcn.140001d80
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 1]
mov qword [rsp + 0x50], r15
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdx
mov edx, 0x1fffff
call fcn.140001d91
movzx ecx, word [r14 + 0x58]
mov qword [rbp + 0x37], 0xffffffffff676980
call fcn.140001d80
mov rcx, qword [rbp - 1]
lea r8, [rbp + 0x37]
xor edx, edx
call fcn.140001d91
mov eax, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140001db0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret