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

Disassembly:
jmp 0x140011b60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x200], rax
lea rcx, [0x1400240a4]
call fcn.1400113e3
nop
mov dword [rbp + 4], 1
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
mov dword [rbp + 0x104], 0
mov dword [rbp + 0x124], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14001b068]
lea rcx, [rbp + 0x28]
call fcn.140011177
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011c4a
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptOpenAlgorithmProvider_Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xa4]
lea rdx, str.ObjectLength
mov rcx, qword [rbp + 0x28]
call fcn.14001123f
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011ca6
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptGetProperty_1__Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x84]
lea rdx, str.BlockLength
mov rcx, qword [rbp + 0x28]
call fcn.14001123f
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011d02
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptGetProperty_2__Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
cmp dword [rbp + 0x84], 0x10
je 0x140011d17
mov dword [rbp + 4], 0
jmp 0x140011f74
mov eax, dword [rbp + 0xa4]
mov qword [rbp + 0x1f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x1f8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140011d5c
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, qword [rbp + 0x28]
call fcn.140011050
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011daf
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptSetProperty_Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov rax, qword [rbp + 0x230]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0xc8]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.140011186
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011e18
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptGenerateSymmetricKey_Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0x104]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov rax, qword [rbp + 0x230]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x230]
mov r8d, dword [rax + 0x18]
mov rax, qword [rbp + 0x230]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.140011064
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011ea5
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptDecrypt_1__Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
jmp 0x140011f74
mov eax, dword [rbp + 0x104]
mov qword [rbp + 0x1f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x1f8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140011eea
mov dword [rbp + 4], 0
jmp 0x140011f74
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0x64]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x104]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov rax, qword [rbp + 0x230]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x230]
mov r8d, dword [rax + 0x18]
mov rax, qword [rbp + 0x230]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.140011064
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jge 0x140011f74
mov edx, dword [rbp + 0x124]
lea rcx, str.____BCryptDecrypt_2__Failed_With_Error:_0x_0.8X__n
call fcn.1400111c2
nop
mov dword [rbp + 4], 0
cmp qword [rbp + 0x48], 0
je 0x140011f85
mov rcx, qword [rbp + 0x48]
call fcn.1400113a7
nop
cmp qword [rbp + 0x28], 0
je 0x140011f98
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.140011307
nop
cmp qword [rbp + 0xc8], 0
je 0x140011fbb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xc8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp qword [rbp + 0xe8], 0
je 0x140011fec
cmp dword [rbp + 4], 0
je 0x140011fec
mov rax, qword [rbp + 0x230]
mov rcx, qword [rbp + 0xe8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x230]
mov ecx, dword [rbp + 0x104]
mov dword [rax + 8], ecx
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001aef0]
call fcn.140011366
mov eax, edi
mov rcx, qword [rbp + 0x200]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret