Function at 0x1400018e0
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 [0x14000e040]
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 0x1400019b9
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140001b78
cmp rsi, 0x1000
jb 0x14000197a
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140001b7e
call fcn.140006f50
test rax, rax
je 0x140001af7
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140001985
mov rcx, rsi
call fcn.140006f50
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 0x1400019c9
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 0x140001b3b
mov esi, dword [rsp + 0xc0]
mov rcx, rbp
sub rcx, rbx
cmp rsi, rcx
jae 0x140001a33
lea rbp, [rsi + rbx]
jmp 0x140001a7d
jbe 0x140001a7d
mov rax, rdi
sub rax, rbx
cmp rsi, rax
jbe 0x140001a6a
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.140006180
mov rdi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
jmp 0x140001a7d
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 0x140001ace
mov rcx, qword [r15]
test rcx, rcx
je 0x140001abf
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001aba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001afe
mov rcx, r8
call fcn.1400071cc
mov qword [r15], rbx
mov qword [r15 + 8], rbp
mov qword [r15 + 0x10], rdi
xor ebx, ebx
xor edi, edi
test rbx, rbx
je 0x140001b10
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x140001b05
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b05
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.1400071cc
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140006e10
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.1400015b0
nop
mov r8, rax
lea rcx, [rsp + 0x88]
call fcn.140004fc0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400013b0
lea rdx, [0x14000b870]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400058f0
int3
call fcn.1400012f0
int3