Function at 0x1400d8ca0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140159040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, r8
mov rdi, rdx
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x50]
call fcn.140124420
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x140133e28]
lea rcx, [rsp + 0x48]
call fcn.1400d1ed0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400d98c0
lea rcx, [rsp + 0x48]
call fcn.1400d1e20
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
cmp qword [rbx + 8], 0
jne 0x1400d8d45
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], 0
xor esi, esi
jmp 0x1400d8d7d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x1400d8dd5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], sil
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400d1ed0
lea rcx, [rbp - 0x50]
call fcn.1400d90a0
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400fc020
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1400d8dfe
nop
movsx ecx, byte [rbx]
call fcn.140104c30
test eax, eax
je 0x1400d8dfe
movzx edx, byte [rbx]
lea rcx, [rbp - 0x40]
call fcn.1400dd900
add rbx, 1
jne 0x1400d8de0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401433b0]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], sil
movups xmmword [rbp - 0x78], xmm0
mov rcx, qword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400d8e4a
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d8e4a
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d8e79
test cl, 4
jne 0x1400d8e71
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d8e71
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400d8e79
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d8e88
lea rcx, [rsp + 0x48]
call fcn.1400dd210
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
jne 0x1400d8eb7
lea rdx, [0x140141a20]
call fcn.140124f00
test eax, eax
jne 0x1400d8eb7
mov bl, 1
jmp 0x1400d8eb9
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.1400d1e20
test bl, bl
jne 0x1400d8d78
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1401433b0]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], sil
movups xmmword [rbp - 0x78], xmm0
mov rcx, qword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400d8f17
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d8f17
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d8f46
test cl, 4
jne 0x1400d8f3e
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d8f3e
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400d8f46
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d8f55
lea rcx, [rsp + 0x68]
call fcn.1400dd210
mov r8, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, r8
mov r12d, 0xa
lea r14, str.Password:
cmp rax, r12
jb 0x1400d8ff2
lea rax, [r8 + 0xa]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x68]
lea rax, [0x140141a32]
cmp rax, rbx
jbe 0x1400d8fb5
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400d8fb5
cmp rbx, r14
ja 0x1400d8fad
mov r15, rsi
jmp 0x1400d8fb8
mov r15, rbx
sub r15, r14
jmp 0x1400d8fb8
mov r15, r12
inc r8
lea rcx, [rbx + 0xa]
mov rdx, rbx
call fcn.1401247e0
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401247e0
sub r12, r15
lea rdx, [r14 + 0xa]
add rdx, r15
lea rcx, [rbx + r15]
mov r8, r12
call fcn.1401247e0
lea rax, [rsp + 0x68]
jmp 0x1400d9009
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.1400e3d30
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], sil
mov r8d, 1
lea rdx, [0x14013510c]
lea rcx, [rsp + 0x48]
call fcn.1400d4a50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea rcx, [rsp + 0x48]
call fcn.1400d1e20
lea rcx, [rsp + 0x68]
call fcn.1400d1e20
jmp 0x1400d8d9e