Function at 0x1400ce120
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140546618]
xor rax, rsp
mov qword [rbp + 0x10], rax
movzx esi, r8b
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r14b
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400ce170
lea rcx, [rsp + 0x60]
call fcn.140005ff0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400cdcf0
nop
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x80], 0x208
mov dword [rbp - 0x7c], 0x6610
mov dword [rbp - 0x78], 0x20
mov dword [rbp - 0x30], 0x55555855
mov dword [rbp - 0x2c], 0x58555558
mov dword [rbp - 0x28], 0x6f435555
mov dword [rbp - 0x24], 0x6e616d6d
mov dword [rbp - 0x20], 0x694c5564
mov dword [rbp - 0x1c], 0x5555656e
mov dword [rbp - 0x18], 0x58555558
mov dword [rbp - 0x14], 0x55585555
mov dword [rbp - 0x50], 0x6f435555
mov dword [rbp - 0x4c], 0x6e616d6d
mov dword [rbp - 0x48], 0x694c5564
mov dword [rbp - 0x44], 0x5555656e
mov dword [rbp - 0x10], 0x44445844
mov dword [rbp - 0xc], 0x58444458
mov dword [rbp - 8], 0x6f434444
mov dword [rbp - 4], 0x6769666e
mov dword [rbp], 0x6e554455
mov dword [rbp + 4], 0x44446d61
mov dword [rbp + 8], 0x58444458
mov dword [rbp + 0xc], 0x44584444
mov dword [rbp - 0x40], 0x6f434444
mov dword [rbp - 0x3c], 0x6769666e
mov dword [rbp - 0x38], 0x6e554455
mov dword [rbp - 0x34], 0x44446d61
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x10]
test sil, sil
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x74], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x64], xmm1
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
lea r8, [rbp - 0x50]
lea rax, [rbp - 0x40]
test sil, sil
cmovne r8, rax
xor r9d, r9d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x48]
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400ce320
mov r8, rbx
mov rcx, rdi
call fcn.140005ff0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400ce37b
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce368
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce3d7
call fcn.14036fd20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400ce3b4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce3af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce3d1
call fcn.14036fd20
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14036fcc0
add rsp, 0x120
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1403933ec
nop
call fcn.1403933ec
nop
int3