Function at 0x14017a610
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x328
lea rdi, [rsp + 0x40]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x340]
mov rax, qword [0x1401db040]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.140011710
lea rdx, [0x1401900ac]
lea rcx, [rsp + 0x158]
call fcn.140002760
mov r9d, 1
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140011850
lea rcx, [rsp + 0x158]
call fcn.140002650
nop
lea rax, [rsp + 0x188]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x350]
cmp qword [rax + 8], 0
jne 0x14017a77b
mov rax, qword [rsp + 0x350]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x240]
call fcn.140004010
mov qword [rsp + 0x2f0], rax
mov byte [rsp + 0x230], 0
lea rax, [rsp + 0x231]
mov r8, rax
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x248]
call fcn.140014290
lea rcx, [rsp + 0x258]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
lea rcx, [rsp + 0x258]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x2f0]
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x348]
call fcn.1400144a0
lea rcx, [rsp + 0x50]
call fcn.1400116d0
nop
mov rax, qword [rsp + 0x348]
jmp 0x14017aa6c
mov qword [rsp + 0x1a8], 0
lea rax, [rsp + 0x188]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x14017a87a
mov rax, qword [rsp + 0x350]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x268]
call fcn.140004010
mov qword [rsp + 0x2f8], rax
mov byte [rsp + 0x232], 0
lea rax, [rsp + 0x233]
mov r8, rax
lea rdx, [rsp + 0x232]
lea rcx, [rsp + 0x270]
call fcn.140014290
lea rcx, [rsp + 0x280]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2d0]
lea rcx, [rsp + 0x280]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x2f8]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x348]
call fcn.1400144a0
lea rcx, [rsp + 0x50]
call fcn.1400116d0
nop
mov rax, qword [rsp + 0x348]
jmp 0x14017aa6c
cmp qword [rsp + 0x1a8], 0
je 0x14017a894
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
cmp qword [rsp + 0x1b0], 0
je 0x14017a8f3
mov rax, qword [rsp + 0x1b0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_isprint]
test eax, eax
je 0x14017a8f3
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
movzx edx, byte [rcx]
mov rcx, rax
call fcn.140019070
mov rax, qword [rsp + 0x1b0]
inc rax
mov qword [rsp + 0x1b0], rax
jmp 0x14017a8a4
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x50]
call fcn.140011770
lea rdx, [0x140197ac8]
mov rcx, rax
call fcn.14000cff0
movzx eax, al
test eax, eax
jne 0x14017a928
mov dword [rsp + 0x300], 1
jmp 0x14017a933
mov dword [rsp + 0x300], 0
movzx eax, byte [rsp + 0x300]
mov byte [rsp + 0x290], al
lea rcx, [rsp + 0x1b8]
call fcn.140002650
movzx eax, byte [rsp + 0x290]
test eax, eax
je 0x14017a9cd
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.140011770
mov r8, rax
lea rdx, str.Password:
lea rcx, [rsp + 0x208]
call fcn.140018b40
lea r8, [0x140197acc]
mov rdx, rax
mov rcx, qword [rsp + 0x348]
call fcn.140018af0
lea rcx, [rsp + 0x208]
call fcn.140002650
lea rcx, [rsp + 0x1e0]
call fcn.140002650
lea rcx, [rsp + 0x50]
call fcn.1400116d0
nop
mov rax, qword [rsp + 0x348]
jmp 0x14017aa6c
lea rcx, [rsp + 0x291]
call fcn.140004010
mov qword [rsp + 0x308], rax
mov byte [rsp + 0x234], 0
lea rax, [rsp + 0x235]
mov r8, rax
lea rdx, [rsp + 0x234]
lea rcx, [rsp + 0x298]
call fcn.140014290
lea rcx, [rsp + 0x2a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2e0]
lea rcx, [rsp + 0x2a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x308]
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x348]
call fcn.1400144a0
lea rcx, [rsp + 0x50]
call fcn.1400116d0
nop
mov rax, qword [rsp + 0x348]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401adbd0]
call fcn.140185b40
mov rax, rdi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140061a30
add rsp, 0x328
pop rdi
pop rsi
ret