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

Disassembly:
jmp 0x14002efe0
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, 0x3e8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x408]
lea rcx, [0x140083926]
call fcn.14001df69
mov dword [rbp + 4], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x118], 0
mov dword [rbp + 0x154], 0
mov edx, 0x2e
lea rcx, [rbp + 0x48]
call fcn.14001dad2
mov edx, 0x20
lea rcx, [rbp + 0x178]
call fcn.14001dad2
mov dword [rbp + 0x4a], 0x15
mov r8d, 0x15
mov edx, 0x45
lea rcx, [rbp + 0x4e]
call fcn.14001dba9
mov r8d, 0x10
mov edx, 0x45
lea rcx, [rbp + 0x63]
call fcn.14001dba9
mov r8d, 0x20
lea rdx, str.C110DD4FE9434147B92A5A1E3FDBF29A
lea rcx, [rbp + 0x178]
call fcn.14001d767
mov eax, 1
imul rax, rax, 0xd
lea rax, [rbp + rax + 0x178]
mov r8d, 0x10
lea rdx, [rbp + 0x63]
mov rcx, rax
call fcn.14001d767
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0xf8], 0
jne 0x14002f110
jmp 0x14002f27e
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140060590]
lea rcx, [rbp + 0xb8]
call fcn.14001d62c
test eax, eax
jge 0x14002f132
jmp 0x14002f27e
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xd8]
mov rcx, qword [rbp + 0xb8]
call fcn.14001d668
test eax, eax
jge 0x14002f170
jmp 0x14002f27e
mov eax, dword [rbp + 0x4a]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
je 0x14002f274
mov eax, dword [rbp + 0x4a]
mov r8d, eax
lea rdx, [rbp + 0x4e]
mov rcx, qword [rbp + 0x1b8]
call fcn.14001d767
mov eax, dword [rbp + 0x3b8]
add eax, 0x40
mov dword [rbp + 0x134], eax
mov eax, dword [rbp + 0x134]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0
je 0x14002f274
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0x154]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x134]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x118]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x4a]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x3b8]
mov rdx, qword [rbp + 0x3b0]
mov rcx, qword [rbp + 0xd8]
call fcn.14001dcd5
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x14002f261
mov dword [rbp + 0x384], 1
jmp 0x14002f26b
mov dword [rbp + 0x384], 0
mov eax, dword [rbp + 0x384]
mov dword [rbp + 4], eax
xor eax, eax
test eax, eax
jne 0x14002f0b1
cmp qword [rbp + 0xd8], 0
je 0x14002f294
mov rcx, qword [rbp + 0xd8]
call fcn.14001de47
cmp qword [rbp + 0xb8], 0
je 0x14002f2ac
xor edx, edx
mov rcx, qword [rbp + 0xb8]
call fcn.14001db4f
cmp dword [rbp + 4], 0
je 0x14002f37d
cmp dword [rbp + 0x154], 0
je 0x14002f37d
cmp qword [rbp + 0x118], 0
je 0x14002f37d
mov eax, dword [rbp + 0x154]
add rax, 0x34
mov dword [rbp + 0x1d4], eax
mov eax, dword [rbp + 0x1d4]
mov ecx, eax
call fcn.14001d2da
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
je 0x14002f37d
mov r8d, 0x2e
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x1f8]
call fcn.14001d767
mov eax, dword [rbp + 0x154]
mov rcx, qword [rbp + 0x1f8]
add rcx, 0x2e
mov r8d, eax
mov rdx, qword [rbp + 0x118]
call fcn.14001d767
mov eax, dword [rbp + 0x1d4]
mov rcx, qword [rbp + 0x1f8]
lea rax, [rcx + rax - 6]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov ecx, dword [rbp + 0x154]
mov dword [rax], ecx
mov rax, qword [rbp + 0x3c0]
mov rcx, qword [rbp + 0x1f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x3c8]
mov ecx, dword [rbp + 0x1d4]
mov dword [rax], ecx
cmp qword [rbp + 0xf8], 0
je 0x14002f394
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140060300]
call fcn.14001dcb2
mov eax, edi
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret