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

Disassembly:
jmp 0x1400dd2c0
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 [0x140299008]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14029f0a3]
call fcn.1400dc3f2
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, [0x140296798]
lea rcx, [rbp + 0x48]
call fcn.1400dc190
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd39d
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptOpenAlgorithmProvider_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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.1400dc24e
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd3e8
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptGetProperty_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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.1400dc24e
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd433
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptGetProperty_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
cmp dword [rbp + 0x84], 0x10
je 0x1400dd441
jmp 0x1400dd681
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 0x1400dd496
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error:__d_n
call fcn.1400dc1db
jmp 0x1400dd681
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, qword [rbp + 0x48]
call fcn.1400dc04b
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd4d8
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptSetProperty_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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.1400dc19f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd52c
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptGenerateSymmetricKey_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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.1400dc05f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd59c
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptDecrypt_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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 0x1400dd5f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error:__d_n
call fcn.1400dc1db
jmp 0x1400dd681
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.1400dc05f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400dd660
mov edx, dword [rbp + 4]
lea rcx, str.____BCryptDecrypt_Failed_With_Error:_0x_0.8X_n
call fcn.1400dc1db
jmp 0x1400dd681
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 0x1400dd691
mov rcx, qword [rbp + 0x68]
call fcn.1400dc3bb
cmp qword [rbp + 0x48], 0
je 0x1400dd6a3
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.1400dc307
cmp qword [rbp + 0xc8], 0
je 0x1400dd6c5
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 0x1400dd6f4
mov rax, qword [rbp + 0x230]
cmp qword [rax], 0
jne 0x1400dd6f4
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 0x1400dd71a
mov rax, qword [rbp + 0x238]
cmp qword [rax], 0
je 0x1400dd71a
mov dword [rbp + 0x1d4], 1
jmp 0x1400dd724
mov dword [rbp + 0x1d4], 0
mov eax, dword [rbp + 0x1d4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140295f90]
call fcn.1400dc375
mov eax, edi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.1400dc1f9
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret