Function at 0x140007c90
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Generate random numbers via winapi
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rbx
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x60]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rbx, r8
mov rax, qword [rbp + 0x68]
lea r8, [rbp - 0x48]
mov qword [rsp + 0x58], rax
mov r14d, edx
xor eax, eax
mov dword [rsp + 0x68], edx
mov r12, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [0x14002bf60]
mov r15d, 0x54f
movups xmmword [rbp - 0x48], xmm0
lea edx, [rax + 0x34]
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x38], xmm0
mov dword [rsp + 0x60], 0x34
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x80], 0x34
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14000811b
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x108], rdi
xor edx, edx
mov dword [rsp + 0x30], 0x34
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x100], r13
xor r13d, r13d
mov dword [rbp - 0x18], r14d
mov edi, r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 0x40]
lea r8d, [r13 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140008103
mov ecx, dword [rsp + 0x60]
call fcn.14000de0c
mov rdi, rax
test rax, rax
je 0x140008103
mov r8d, dword [rsp + 0x60]
cmp r8, 0x34
jb 0x140007da7
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [rbp - 0x18]
mov dword [rdi + 0x30], eax
jmp 0x140007dc1
xor edx, edx
mov rcx, rdi
call fcn.14001ccb0
call fcn.14000ddd8
mov dword [rax], 0x22
call fcn.14000dc3c
mov eax, dword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rbx]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r9d, [rdx + 0x40]
mov qword [rsp + 0x20], rdi
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140008103
mov r11d, dword [rsp + 0x60]
mov r9d, r13d
mov r10d, r11d
mov qword [rsp + 0x158], rsi
shr r10d, 1
je 0x140007e36
mov r8, rdi
nop dword [rax]
mov eax, r11d
lea r8, [r8 + 1]
sub eax, r9d
inc r9d
dec eax
mov ecx, eax
movzx edx, byte [rax + rdi]
movzx eax, byte [r8 - 1]
mov byte [rcx + rdi], al
mov byte [r8 - 1], dl
cmp r9d, r10d
jb 0x140007e10
mov rcx, qword [0x14002bf60]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x64], 0x800
mov edx, 0x800c
mov qword [rsp + 0x70], r13
mov rsi, r13
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400080fb
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140007f43
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r13
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptSignHashA]
test eax, eax
je 0x140007f43
mov ecx, dword [rsp + 0x64]
call fcn.14000de0c
mov rsi, rax
test rax, rax
je 0x140007f43
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptSignHashA]
test eax, eax
je 0x140007f43
mov r11d, dword [rsp + 0x64]
mov r9d, r13d
mov r10d, r11d
shr r10d, 1
je 0x140007f43
mov r8, rsi
nop dword [rax]
nop dword [rax + rax]
mov eax, r11d
lea r8, [r8 + 1]
sub eax, r9d
inc r9d
dec eax
mov ecx, eax
movzx edx, byte [rax + rsi]
movzx eax, byte [r8 - 1]
mov byte [rcx + rsi], al
mov byte [r8 - 1], dl
cmp r9d, r10d
jb 0x140007f10
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x140007f57
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test rsi, rsi
je 0x1400080fb
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x60]
add r12d, r14d
and r12d, 0xfffffff0
add r12d, 0x10
add r13d, r12d
mov ecx, r13d
mov ebx, r13d
call fcn.14000de0c
mov r14, rax
test rax, rax
jne 0x140007f8b
lea r15d, [rax + 0xe]
jmp 0x1400080f3
mov r8, rbx
xor edx, edx
mov rcx, r14
call fcn.14001ccb0
mov r8d, dword [rsp + 0x60]
test r8, r8
je 0x140007fce
mov rcx, r14
cmp rbx, r8
jb 0x140007fb4
mov rdx, rdi
call fcn.14001d070
jmp 0x140007fce
mov r8, rbx
xor edx, edx
call fcn.14001ccb0
call fcn.14000ddd8
mov dword [rax], 0x22
call fcn.14000dc3c
mov eax, dword [rsp + 0x60]
mov ebx, dword [rsp + 0x68]
add rax, r14
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov r8d, ebx
mov qword [rsp + 0x40], rax
call fcn.14001d070
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
mov r8d, dword [rsp + 0x64]
add rcx, rbx
call fcn.14001d070
movups xmm0, xmmword [rbp - 0x48]
mov rcx, qword [0x14002bf60]
xor ebx, ebx
movups xmm1, xmmword [rbp - 0x38]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x7c], 1
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x78]
lea r8d, [rbx + 0x2c]
mov dword [rbp - 0x78], 0x208
xor r9d, r9d
mov dword [rbp - 0x74], 0x6610
mov dword [rbp - 0x70], 0x20
movups xmmword [rbp - 0x6c], xmm0
mov dword [rsp + 0x20], ebx
movups xmmword [rbp - 0x5c], xmm1
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1400080f3
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x7c]
xor r9d, r9d
lea edx, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x1400080e8
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x28]
xor r9d, r9d
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x1400080e8
mov eax, dword [rsp + 0x64]
lea r8d, [rbx + 1]
add dword [rsp + 0x68], eax
xor r9d, r9d
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x30], r12d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1400080d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
jmp 0x1400080e8
mov rax, qword [rsp + 0x50]
mov r15d, ebx
mov qword [rax], r14
mov rax, qword [rsp + 0x58]
mov dword [rax], r13d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, rsi
call fcn.14000ddf8
mov rsi, qword [rsp + 0x158]
mov rcx, rdi
call fcn.14000ddf8
mov r13, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
mov eax, r15d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400092d0
add rsp, 0x110
pop r15
pop r14
pop r12
pop rbx
pop rbp
ret