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

Disassembly:
jmp 0x140011840
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x14001e148]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x1400240a2]
call fcn.1400113b1
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 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
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14001b768]
lea rcx, [rbp + 0x48]
call fcn.140011177
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14001191d
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptOpenAlgorithmProvider_Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xa4]
lea rdx, str.ObjectLength
mov rcx, qword [rbp + 0x48]
call fcn.140011217
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140011974
mov eax, dword [0x14001e134]
add eax, 0x14
mov r8d, dword [rbp + 4]
mov edx, eax
lea rcx, str.____BCryptGetProperty___d__Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x84]
lea rdx, str.BlockLength
mov rcx, qword [rbp + 0x48]
call fcn.140011217
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400119cb
mov eax, dword [0x14001e134]
add eax, 0x19
mov r8d, dword [rbp + 4]
mov edx, eax
lea rcx, str.____BCryptGetProperty___d__Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
cmp dword [rbp + 0x84], 0x10
je 0x1400119d9
jmp 0x140011c31
mov eax, dword [rbp + 0xa4]
mov qword [rbp + 0x1d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x1d8]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140011a2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error:__d__n
call fcn.1400111b8
jmp 0x140011c31
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, qword [rbp + 0x48]
call fcn.14001104b
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140011a70
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptSetProperty_Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0xc8]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.140011181
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140011ac4
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptGenerateSymmetricKey_Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
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 + 0x228]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x218]
mov rdx, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x68]
call fcn.14001105f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140011b40
mov eax, dword [0x14001e134]
add eax, 0x30
mov r8d, dword [rbp + 4]
mov edx, eax
lea rcx, str.____BCryptDecrypt___d__Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
mov eax, dword [rbp + 0x104]
mov qword [rbp + 0x1d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x1d8]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140011b95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error:__d__n
call fcn.1400111b8
jmp 0x140011c31
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0x24]
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 + 0x228]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x218]
mov rdx, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x68]
call fcn.14001105f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140011c10
mov eax, dword [0x14001e134]
add eax, 0x3a
mov r8d, dword [rbp + 4]
mov edx, eax
lea rcx, str.____BCryptDecrypt___d__Failed_With_Error:_0x_0.8X__n
call fcn.1400111b8
jmp 0x140011c31
mov rax, qword [rbp + 0x230]
mov rcx, qword [rbp + 0xe8]
mov qword [rax], rcx
mov eax, dword [rbp + 0x104]
mov rcx, qword [rbp + 0x238]
mov qword [rcx], rax
cmp qword [rbp + 0x68], 0
je 0x140011c41
mov rcx, qword [rbp + 0x68]
call fcn.14001137f
cmp qword [rbp + 0x48], 0
je 0x140011c53
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.1400112d0
cmp qword [rbp + 0xc8], 0
je 0x140011c75
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]
cmp qword [rbp + 0xe8], 0
je 0x140011ca4
mov rax, qword [rbp + 0x230]
cmp qword [rax], 0
jne 0x140011ca4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x230]
cmp qword [rax], 0
je 0x140011cca
mov rax, qword [rbp + 0x238]
cmp qword [rax], 0
je 0x140011cca
mov dword [rbp + 0x1d4], 1
jmp 0x140011cd4
mov dword [rbp + 0x1d4], 0
mov eax, dword [rbp + 0x1d4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001b420]
call fcn.14001133e
mov eax, edi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret