Function at 0x1400d8310
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 rsi, rdx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.140125030
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.1400d16c0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400d8f80
lea rcx, [rsp + 0x48]
call fcn.1400d1610
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
cmp qword [rbx + 8], 0
jne 0x1400d83b5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], 0
xor edi, edi
jmp 0x1400d83ed
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x1400d8445
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], dil
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400d16c0
lea rcx, [rbp - 0x50]
call fcn.1400d8760
mov rax, rsi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400fbcf0
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 0x1400d846e
nop
movsx ecx, byte [rbx]
call fcn.1401057c0
test eax, eax
je 0x1400d846e
movzx edx, byte [rbx]
lea rcx, [rbp - 0x40]
call fcn.1400dce60
add rbx, 1
jne 0x1400d8450
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov r8, rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], dil
movups xmmword [rbp - 0x78], xmm0
mov rcx, rdi
mov rdx, qword [rbp + 0x38]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1400d84c3
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400d84c3
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x30]
cmovb rbx, qword [rbp + 0x30]
sub rbx, r9
mov rcx, r9
jmp 0x1400d84f4
test dl, 4
jne 0x1400d8528
mov rax, qword [rbp]
mov rdx, qword [rax]
mov rbx, rdi
test rdx, rdx
je 0x1400d84f0
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rdx
mov rcx, r9
jmp 0x1400d84f4
mov r9, qword [rbp - 0x78]
test rcx, rcx
je 0x1400d8528
lea rcx, [rsp + 0x48]
cmp rbx, 0xf
ja 0x1400d851b
mov qword [rsp + 0x58], rbx
mov r8, rbx
mov rdx, r9
call fcn.1401253f0
mov byte [rsp + rbx + 0x48], dil
jmp 0x1400d8523
mov rdx, rbx
call fcn.1400dd420
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
test r8, r8
jne 0x1400d8552
lea rdx, [0x140141a10]
call fcn.140125a70
test eax, eax
jne 0x1400d8552
mov bl, 1
jmp 0x1400d8554
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.1400d1610
test bl, bl
jne 0x1400d83e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov ecx, 0xf
mov qword [rbp - 0x80], rcx
mov byte [rsp + 0x68], dil
movups xmmword [rbp - 0x78], xmm0
mov rdx, rdi
mov r8, qword [rbp + 0x38]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1400d85b9
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400d85b9
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x30]
cmovb rbx, qword [rbp + 0x30]
sub rbx, r9
mov rdx, r9
jmp 0x1400d85eb
test r8b, 4
jne 0x1400d861d
mov rax, qword [rbp]
mov r8, qword [rax]
mov rbx, rdi
test r8, r8
je 0x1400d85e7
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, r8
mov rdx, r9
jmp 0x1400d85eb
mov r9, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d861d
cmp rbx, rcx
lea rcx, [rsp + 0x68]
ja 0x1400d8611
mov qword [rsp + 0x78], rbx
mov r8, rbx
mov rdx, r9
call fcn.1401253f0
mov byte [rsp + rbx + 0x68], dil
jmp 0x1400d8619
mov rdx, rbx
call fcn.1400dd420
mov rcx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x78]
mov rax, rcx
sub rax, r8
mov r12d, 0xa
lea r14, str.Password:
cmp rax, r12
jb 0x1400d86b6
lea rax, [r8 + 0xa]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x68]
lea rax, [0x140141a22]
cmp rax, rbx
jbe 0x1400d8679
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400d8679
cmp rbx, r14
ja 0x1400d8671
mov r15, rdi
jmp 0x1400d867c
mov r15, rbx
sub r15, r14
jmp 0x1400d867c
mov r15, r12
inc r8
lea rcx, [rbx + 0xa]
mov rdx, rbx
call fcn.1401253f0
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401253f0
sub r12, r15
lea rdx, [r14 + 0xa]
add rdx, r15
lea rcx, [rbx + r15]
mov r8, r12
call fcn.1401253f0
lea rax, [rsp + 0x68]
jmp 0x1400d86cd
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.1400e3300
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], rdi
mov byte [rax], dil
mov r8d, 1
lea rdx, [0x14013510c]
lea rcx, [rsp + 0x48]
call fcn.1400d3e90
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea rcx, [rsp + 0x48]
call fcn.1400d1610
lea rcx, [rsp + 0x68]
call fcn.1400d1610
jmp 0x1400d840e