Function at 0x1400862dc
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x70
xor esi, esi
mov r13, r9
mov r14, r8
and dword [rax - 0x38], esi
xor eax, eax
mov r12, rdx
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140086343
test byte [rcx + 0x1c], 2
je 0x140086343
cmp byte [rcx + 0x19], 5
jb 0x140086343
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x10]
lea r8, [0x140008c50]
call fcn.14000ffa8
mov rdi, qword [rsp + 0xb8]
test rdi, rdi
je 0x140086352
and dword [rdi], esi
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.14007b0b4
mov rbp, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400863b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400863ac
test byte [rcx + 0x1c], 2
je 0x1400863ac
cmp byte [rcx + 0x19], 3
jb 0x1400863ac
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x11]
lea r8, [0x140008c50]
mov r9d, edi
call fcn.1400100e0
mov eax, edi
jmp 0x14008659f
mov ebx, dword [rsp + 0x40]
cmp ebx, 1
jne 0x140086403
mov rcx, rax
call fcn.140076afc
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400863f9
test byte [rcx + 0x1c], 2
je 0x1400863f9
cmp byte [rcx + 0x19], 3
jb 0x1400863f9
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x11]
lea r8, [0x140008c50]
mov r9, r12
call fcn.14001011c
mov eax, 2
jmp 0x14008659f
mov r12d, 0x14
lea rax, [0x1400086e8]
lea r8d, [r12 + 0x38]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], r12d
cmp ebx, r8d
jbe 0x14008658b
lea rdx, [0x14000df80]
mov rcx, rbp
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14008658b
test rdi, rdi
je 0x14008644a
mov dword [rdi], 1
add ebx, 0xffffffb4
mov ecx, ebx
mov dword [rsp + 0x40], ebx
call fcn.140076a54
mov rdi, rax
test rax, rax
jne 0x140086498
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140086560
test byte [rcx + 0x1c], 2
je 0x140086560
cmp byte [rcx + 0x19], 2
jb 0x140086560
lea edx, [rdi + 0x13]
jmp 0x140086517
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rcx, rax
add rdx, 0x4c
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x48]
call fcn.140076afc
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], rsi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x14008652c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140086560
test byte [rcx + 0x1c], 2
je 0x140086560
cmp byte [rcx + 0x19], 2
jb 0x140086560
mov edx, r12d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c50]
mov r9d, esi
call fcn.1400100e0
jmp 0x140086560
mov eax, dword [rsp + 0x50]
mov rcx, rax
mov dword [r13], eax
call fcn.140076a54
mov qword [r14], rax
test rax, rax
jne 0x14008654e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140086560
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14008657d
mov ecx, dword [rsp + 0x50]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call fcn.140076afc
mov eax, esi
jmp 0x14008659f
mov dword [r13], ebx
mov qword [r14], rbp
test rdi, rdi
je 0x14008659d
mov dword [rdi], 2
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret