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

Disassembly:
jmp 0x140020f40
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x14007dacf]
call fcn.140016b68
nop
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 0x140020fea
jmp 0x140021278
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14004aeb8]
lea rcx, [rbp + 0x28]
call fcn.1400164d3
test eax, eax
jge 0x140021009
jmp 0x140021278
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.1400166cc
test eax, eax
jge 0x140021057
jmp 0x140021278
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 0x140021085
jmp 0x140021278
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.1400166cc
test eax, eax
jge 0x1400210c9
jmp 0x140021278
cmp dword [rbp + 0xe4], 0x10
jbe 0x1400210d7
jmp 0x140021278
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.140016505
test eax, eax
jge 0x140021119
jmp 0x140021278
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.1400160f0
test eax, eax
jge 0x140021181
jmp 0x140021278
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.140016019
mov qword [rbp + 0x128], rax
cmp dword [rbp + 0x164], 0
jl 0x1400211c6
cmp qword [rbp + 0x128], 0
jne 0x1400211cb
jmp 0x140021278
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.1400160f0
test eax, eax
jge 0x140021235
jmp 0x140021278
mov rcx, qword [rbp + 0x48]
call fcn.140016aa5
nop
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 0x140020fcd
cmp qword [rbp + 0x48], 0
je 0x140021289
mov rcx, qword [rbp + 0x48]
call fcn.140016aa5
nop
cmp qword [rbp + 0x28], 0
je 0x14002129c
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.140016870
nop
cmp qword [rbp + 0x68], 0
je 0x1400212ae
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
cmp dword [rbp + 4], 0
jne 0x1400212e8
cmp qword [rbp + 0x128], 0
je 0x1400212cd
xor edx, edx
mov rcx, qword [rbp + 0x128]
call fcn.1400161ae
nop
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.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret