Function at 0x14007a640
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
xorps xmm0, xmm0
mov r12, r9
movups xmmword [rbp - 0x20], xmm0
mov r13, r8
mov r15, rdx
mov rbx, rcx
xor esi, esi
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14007a6a6
test byte [rcx + 0x1c], 2
je 0x14007a6a6
cmp byte [rcx + 0x19], 5
jb 0x14007a6a6
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x10]
lea r8, [0x14008fb78]
call fcn.1400042fc
mov rdi, qword [rbp + 0x58]
test rdi, rdi
je 0x14007a6b1
and dword [rdi], esi
lea r8, [rbp - 0x30]
mov rdx, r15
mov rcx, rbx
call fcn.14006e884
mov qword [rbp - 0x28], rax
mov r14, rax
test rax, rax
jne 0x14007a717
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14007a710
test byte [rcx + 0x1c], 2
je 0x14007a710
cmp byte [rcx + 0x19], 3
jb 0x14007a710
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x11]
mov r9d, edi
lea r8, [0x14008fb78]
call fcn.1400046fc
mov eax, edi
jmp 0x14007a915
mov ebx, dword [rbp - 0x30]
cmp ebx, 1
jne 0x14007a766
mov rcx, r14
call fcn.140069d30
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14007a75c
test byte [rcx + 0x1c], 2
je 0x14007a75c
cmp byte [rcx + 0x19], 3
jb 0x14007a75c
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x11]
mov r9, r15
lea r8, [0x14008fb78]
call fcn.1400044cc
mov eax, 2
jmp 0x14007a915
mov r15d, 0x14
lea rax, [0x14008fb88]
mov qword [rbp - 8], rax
mov dword [rbp - 0x10], r15d
lea r8d, [r15 + 0x38]
cmp ebx, r8d
jbe 0x14007a900
lea rdx, str.5b04adaa_5e01_4160_a61e_02d27d44f9db
mov rcx, r14
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14007a900
test rdi, rdi
je 0x14007a7aa
mov dword [rdi], 1
add ebx, 0xffffffb4
mov ecx, ebx
mov dword [rbp - 0x30], ebx
call fcn.140069c6c
mov rdi, rax
test rax, rax
jne 0x14007a813
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14007a8d3
test byte [rcx + 0x1c], 2
je 0x14007a8d3
cmp byte [rcx + 0x19], 2
jb 0x14007a8d3
lea edx, [rdi + 0x13]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008fb78]
mov r9d, esi
call fcn.1400046fc
jmp 0x14007a8d3
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
mov r8d, dword [rbp - 0x30]
add rdx, 0x4c
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbp - 0x28]
call fcn.140069d30
lea rax, [rbp - 0x20]
mov qword [rbp - 0x28], rdi
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x10]
mov dword [rsp + 0x28], 1
lea rcx, [rbp - 0x30]
and qword [rsp + 0x20], rsi
xor r9d, r9d
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
nop dword [rax + rax]
test eax, eax
jne 0x14007a89c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14007a8d3
test byte [rcx + 0x1c], 2
je 0x14007a8d3
cmp byte [rcx + 0x19], 2
jb 0x14007a8d3
mov edx, r15d
jmp 0x14007a7fb
mov eax, dword [rbp - 0x20]
mov ecx, eax
mov dword [r12], eax
call fcn.140069c6c
mov qword [r13], rax
test rax, rax
jne 0x14007a8c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
jmp 0x14007a8d3
mov r8d, dword [rbp - 0x20]
mov rcx, rax
mov rdx, qword [rbp - 0x18]
call sub.msvcrt.dll_memcpy
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x14007a8f3
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]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x28]
call fcn.140069d30
mov eax, esi
jmp 0x14007a915
mov dword [r12], ebx
mov qword [r13], r14
test rdi, rdi
je 0x14007a913
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