Function at 0x1400849a0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov rsi, rcx
lea rax, str.QfDYbi_K5BBEnmPUeV_u8:KH_JSBqjesp6lvZd:woUyUfAnKC2F_921FN1a5QMrUNDTGuSQDCPqV1Wgw_vZdAn2_oMiRwl7FivhX1U_8lOko_WBnYE__mSIA_Rnp.DS18.7VlKP6Ok_n
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x96
xor edi, edi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], rdi
lea rax, fcn.140085340
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x28], rdi
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call fcn.140085340
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140084a56
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x58], rdi
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140084810
test al, al
je 0x140084bd9
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404f9480]
lea rcx, [rbp - 0x38]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x140084bd9
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
js 0x140084bd9
mov r15, qword [rsi]
mov rsi, qword [rsi + 8]
sub rsi, r15
mov dword [rbp - 0x30], edi
mov dword [rsp + 0x48], 1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, esi
mov rdx, r15
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test esi, esi
je 0x140084bd9
mov byte [rsp + 0x50], 0
mov edi, dword [rbp - 0x30]
mov r14, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, r14
sub rcx, rdx
cmp rdi, rcx
jae 0x140084b3e
lea rax, [rdx + rdi]
jmp 0x140084b72
jbe 0x140084b76
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x140084b5e
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.1400851d0
jmp 0x140084b76
sub rdi, rcx
mov r8, rdi
xor edx, edx
mov rcx, r14
call fcn.1403ec370
lea rax, [rdi + r14]
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
mov dword [rsp + 0x48], 1
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x10
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, esi
mov rdx, r15
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x140084bd9
mov edx, dword [rbp - 0x30]
mov rcx, rbx
call fcn.140029870
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
setne bl
jmp 0x140084bdb
xor bl, bl
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140084c2e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140084c08
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rbp - 0x10]
cmp rcx, rax
setne dl
call r8
nop
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14012da9c
nop
int3