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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov r15, rdx
mov r13, rcx
xorps xmm0, xmm0
xor eax, eax
mov rsi, qword [rdx + 8]
sub rsi, qword [rdx]
movdqu xmmword [r11 - 0x60], xmm0
mov edi, eax
mov qword [r11 - 0x50], rax
mov r12d, eax
mov r14d, eax
je 0x140001999
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140001b58
cmp rsi, 0x1000
jb 0x14000195a
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140001b5e
call fcn.1400061b0
test rax, rax
je 0x140001ad7
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140001965
mov rcx, rsi
call fcn.1400061b0
mov r14, rax
mov rbx, r14
mov qword [rsp + 0xa8], rbx
lea rdi, [r14 + rsi]
mov r12, rdi
mov qword [rsp + 0xb8], rdi
mov r8, rsi
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rbp, rdi
mov qword [rsp + 0xb0], rdi
jmp 0x1400019a9
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
sub r8, rdx
sub r12d, r14d
mov dword [rsp + 0x48], 1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [r13 + 8]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
jne 0x140001b1b
mov esi, dword [rsp + 0xc0]
mov rcx, rbp
sub rcx, rbx
cmp rsi, rcx
jae 0x140001a13
lea rbp, [rsi + rbx]
jmp 0x140001a5d
jbe 0x140001a5d
mov rax, rdi
sub rax, rbx
cmp rsi, rax
jbe 0x140001a4a
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.1400052a0
mov rdi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
jmp 0x140001a5d
sub rsi, rcx
mov r8, rsi
xor edx, edx
mov rcx, rbp
call sub.VCRUNTIME140.dll_memset
add rbp, rsi
lea rax, [rsp + 0xa8]
cmp r15, rax
je 0x140001aae
mov rcx, qword [r15]
test rcx, rcx
je 0x140001a9f
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001a9a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001ade
mov rcx, r8
call fcn.14000642c
mov qword [r15], rbx
mov qword [r15 + 8], rbp
mov qword [r15 + 0x10], rdi
xor ebx, ebx
xor edi, edi
test rbx, rbx
je 0x140001af0
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x140001ae5
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ae5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rdi
mov rcx, rbx
call fcn.14000642c
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140006070
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140001310
nop
mov r8, rax
lea rcx, [rsp + 0x88]
call fcn.140004ad0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400011d0
lea rdx, [0x14000a668]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140004eb0
int3
call fcn.140001110
int3