Function at 0x140081d28
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor esi, esi
mov r12, r9
mov r13, r8
and dword [rbp - 0x20], esi
xor eax, eax
mov r15, rdx
mov qword [rbp - 0x18], rax
mov rbx, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140081d90
test byte [rcx + 0x1c], 2
je 0x140081d90
cmp byte [rcx + 0x19], 5
jb 0x140081d90
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x10]
lea r8, [0x140006a58]
call fcn.14000e618
mov rdi, qword [rbp + 0x58]
test rdi, rdi
je 0x140081d9b
and dword [rdi], esi
lea r8, [rbp - 0x30]
mov rdx, r15
mov rcx, rbx
call fcn.14007607c
mov r14, rax
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x140081dfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140081df4
test byte [rcx + 0x1c], 2
je 0x140081df4
cmp byte [rcx + 0x19], 3
jb 0x140081df4
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x11]
lea r8, [0x140006a58]
mov r9d, edi
call fcn.14000e63c
mov eax, edi
jmp 0x140081fd5
mov ebx, dword [rbp - 0x30]
cmp ebx, 1
jne 0x140081e4a
mov rcx, rax
call fcn.140072328
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140081e40
test byte [rcx + 0x1c], 2
je 0x140081e40
cmp byte [rcx + 0x19], 3
jb 0x140081e40
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x11]
lea r8, [0x140006a58]
mov r9, r15
call fcn.14000e868
mov eax, 2
jmp 0x140081fd5
mov r15d, 0x14
lea rax, [0x140006a68]
lea r8d, [r15 + 0x38]
mov qword [rbp - 8], rax
mov dword [rbp - 0x10], r15d
cmp ebx, r8d
jbe 0x140081fc0
lea rdx, [0x1400063c0]
mov rcx, r14
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140081fc0
test rdi, rdi
je 0x140081e8e
mov dword [rdi], 1
add ebx, 0xffffffb4
mov ecx, ebx
mov dword [rbp - 0x30], ebx
call fcn.140072274
mov rdi, rax
test rax, rax
jne 0x140081edb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140081f99
test byte [rcx + 0x1c], 2
je 0x140081f99
cmp byte [rcx + 0x19], 2
jb 0x140081f99
lea edx, [rdi + 0x13]
jmp 0x140081f53
mov rdx, qword [rbp - 0x28]
mov r8d, dword [rbp - 0x30]
mov rcx, rax
add rdx, 0x4c
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbp - 0x28]
call fcn.140072328
lea rax, [rbp - 0x20]
lea r8, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], rsi
mov qword [rbp - 0x28], rdi
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x140081f68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140081f99
test byte [rcx + 0x1c], 2
je 0x140081f99
cmp byte [rcx + 0x19], 2
jb 0x140081f99
mov edx, r15d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov r9d, esi
call fcn.14000e63c
jmp 0x140081f99
mov eax, dword [rbp - 0x20]
mov ecx, eax
mov dword [r12], eax
call fcn.140072274
mov qword [r13], rax
test rax, rax
jne 0x140081f89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140081f99
mov r8d, dword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x140081fb3
mov ecx, dword [rbp - 0x20]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call fcn.140072328
mov eax, esi
jmp 0x140081fd5
mov dword [r12], ebx
mov qword [r13], r14
test rdi, rdi
je 0x140081fd3
mov dword [rdi], 2
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret