Function at 0x1400d6700
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 [0x140146040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, r8
mov rdi, rdx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.140114ec0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x1401237d8]
lea rcx, [rsp + 0x48]
call fcn.1400d19d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400d7320
lea rcx, [rsp + 0x48]
call fcn.1400d1970
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
cmp qword [rbx + 8], 0
jne 0x1400d67a5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], 0
xor esi, esi
jmp 0x1400d67dd
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 0x1400d6835
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.1400d19d0
lea rcx, [rbp - 0x50]
call fcn.1400d6b00
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400ed420
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 0x1400d685e
nop
movsx ecx, byte [rbx]
call fcn.1400f5700
test eax, eax
je 0x1400d685e
movzx edx, byte [rbx]
lea rcx, [rbp - 0x40]
call fcn.1400db250
add rbx, 1
jne 0x1400d6840
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140132820]
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 0x1400d68aa
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d68aa
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d68d9
test cl, 4
jne 0x1400d68d1
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d68d1
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 0x1400d68d9
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d68e8
lea rcx, [rsp + 0x48]
call fcn.1400dab60
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
jne 0x1400d6917
lea rdx, [0x140131330]
call fcn.140115900
test eax, eax
jne 0x1400d6917
mov bl, 1
jmp 0x1400d6919
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.1400d1970
test bl, bl
jne 0x1400d67d8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140132820]
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 0x1400d6977
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d6977
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d69a6
test cl, 4
jne 0x1400d699e
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d699e
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 0x1400d69a6
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d69b5
lea rcx, [rsp + 0x68]
call fcn.1400dab60
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 0x1400d6a52
lea rax, [r8 + 0xa]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x68]
lea rax, [0x140131342]
cmp rax, rbx
jbe 0x1400d6a15
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400d6a15
cmp rbx, r14
ja 0x1400d6a0d
mov r15, rsi
jmp 0x1400d6a18
mov r15, rbx
sub r15, r14
jmp 0x1400d6a18
mov r15, r12
inc r8
lea rcx, [rbx + 0xa]
mov rdx, rbx
call fcn.140115280
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.140115280
sub r12, r15
lea rdx, [r14 + 0xa]
add rdx, r15
lea rcx, [rbx + r15]
mov r8, r12
call fcn.140115280
lea rax, [rsp + 0x68]
jmp 0x1400d6a69
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.1400e1680
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, [0x140124abc]
lea rcx, [rsp + 0x48]
call fcn.1400d2b50
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.1400d1970
lea rcx, [rsp + 0x68]
call fcn.1400d1970
jmp 0x1400d67fe