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

Disassembly:
jmp 0x14001fdc0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x140078ab9]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x128], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001fe69
jmp 0x1400200f6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140047ec8]
lea rcx, [rbp + 0x28]
call fcn.1400154a6
test eax, eax
jge 0x14001fe88
jmp 0x1400200f6
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 0
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xa4]
lea rdx, str.ObjectLength
mov rcx, qword [rbp + 0x28]
call fcn.140015690
test eax, eax
jge 0x14001fed6
jmp 0x1400200f6
mov eax, dword [rbp + 0xa4]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0x108], 0
jne 0x14001ff04
jmp 0x1400200f6
mov dword [rbp + 0xe4], 0
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xe4]
lea rdx, str.BlockLength
mov rcx, qword [rbp + 0x28]
call fcn.140015690
test eax, eax
jge 0x14001ff48
jmp 0x1400200f6
cmp dword [rbp + 0xe4], 0x10
jbe 0x14001ff56
jmp 0x1400200f6
mov dword [rsp + 0x30], 0
mov eax, dword [rbp + 0x280]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0x108]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.1400154d3
test eax, eax
jge 0x14001ff98
jmp 0x1400200f6
mov dword [rbp + 0x84], 0
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0x84]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0xe4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x268]
mov rdx, qword [rbp + 0x260]
mov rcx, qword [rbp + 0x48]
call fcn.1400150eb
test eax, eax
jge 0x140020000
jmp 0x1400200f6
mov eax, dword [rbp + 0x84]
mov qword [rbp + 0x148], rax
lea r9, [rbp + 0x164]
mov r8d, 4
mov edx, 0x3000
lea rcx, [rbp + 0x148]
call fcn.140015019
mov qword [rbp + 0x128], rax
cmp dword [rbp + 0x164], 0
jl 0x140020045
cmp qword [rbp + 0x128], 0
jne 0x14002004a
jmp 0x1400200f6
mov dword [rbp + 0xc4], 0
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0xe4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x268]
mov rdx, qword [rbp + 0x260]
mov rcx, qword [rbp + 0x48]
call fcn.1400150eb
test eax, eax
jge 0x1400200b4
jmp 0x1400200f6
mov rcx, qword [rbp + 0x48]
call fcn.140015a4b
mov qword [rbp + 0x48], 0
mov rax, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x128]
mov qword [rax], rcx
mov rax, qword [rbp + 0x290]
mov ecx, dword [rbp + 0x84]
mov dword [rax], ecx
mov dword [rbp + 4], 1
xor eax, eax
test eax, eax
jne 0x14001fe4c
cmp qword [rbp + 0x48], 0
je 0x140020106
mov rcx, qword [rbp + 0x48]
call fcn.140015a4b
cmp qword [rbp + 0x28], 0
je 0x140020118
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.14001582a
cmp qword [rbp + 0x68], 0
je 0x140020129
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
cmp dword [rbp + 4], 0
jne 0x140020162
cmp qword [rbp + 0x128], 0
je 0x140020147
xor edx, edx
mov rcx, qword [rbp + 0x128]
call fcn.14001519f
mov rax, qword [rbp + 0x288]
mov qword [rax], 0
mov rax, qword [rbp + 0x290]
mov dword [rax], 0
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret