Function at 0x1400d8170
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 [0x140156040]
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.140121750
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x140130fc8]
lea rcx, [rsp + 0x48]
call fcn.1400d1ed0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400d8d90
lea rcx, [rsp + 0x48]
call fcn.1400d1e20
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
cmp qword [rbx + 8], 0
jne 0x1400d8215
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [rsp + 0x40], 0
xor esi, esi
jmp 0x1400d824d
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 0x1400d82a5
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.1400d8570
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400fb0b0
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 0x1400d82ce
nop
movsx ecx, byte [rbx]
call fcn.1401039f0
test eax, eax
je 0x1400d82ce
movzx edx, byte [rbx]
lea rcx, [rbp - 0x40]
call fcn.1400dcdd0
add rbx, 1
jne 0x1400d82b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140140550]
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 0x1400d831a
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d831a
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d8349
test cl, 4
jne 0x1400d8341
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d8341
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 0x1400d8349
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d8358
lea rcx, [rsp + 0x48]
call fcn.1400dc6e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
jne 0x1400d8387
lea rdx, [0x14013ebc0]
call fcn.140122230
test eax, eax
jne 0x1400d8387
mov bl, 1
jmp 0x1400d8389
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.1400d1e20
test bl, bl
jne 0x1400d8248
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140140550]
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 0x1400d83e7
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400d83e7
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400d8416
test cl, 4
jne 0x1400d840e
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d840e
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 0x1400d8416
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400d8425
lea rcx, [rsp + 0x68]
call fcn.1400dc6e0
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 0x1400d84c2
lea rax, [r8 + 0xa]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x68]
lea rax, [0x14013ebd2]
cmp rax, rbx
jbe 0x1400d8485
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400d8485
cmp rbx, r14
ja 0x1400d847d
mov r15, rsi
jmp 0x1400d8488
mov r15, rbx
sub r15, r14
jmp 0x1400d8488
mov r15, r12
inc r8
lea rcx, [rbx + 0xa]
mov rdx, rbx
call fcn.140121b10
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.140121b10
sub r12, r15
lea rdx, [r14 + 0xa]
add rdx, r15
lea rcx, [rbx + r15]
mov r8, r12
call fcn.140121b10
lea rax, [rsp + 0x68]
jmp 0x1400d84d9
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.1400e3200
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, [0x1401322ac]
lea rcx, [rsp + 0x48]
call fcn.1400d3f20
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 0x1400d826e