Function at 0x1400031b0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14003a1c0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, r8
mov rbp, rdx
xorps xmm0, xmm0
mov r15, qword [r8]
add r15, 5
movdqu xmmword [rsp + 0x50], xmm0
xor edi, edi
mov qword [rsp + 0x60], rdi
mov rsi, qword [r8 + 8]
sub rsi, r15
je 0x14000326e
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400033e0
cmp rsi, 0x1000
jb 0x140003240
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400033da
call fcn.140026c60
test rax, rax
je 0x1400033a1
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000324b
mov rcx, rsi
call fcn.140026c60
mov rbx, rax
mov qword [rsp + 0x50], rbx
lea rdi, [rbx + rsi]
mov qword [rsp + 0x60], rdi
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x58], rdi
jmp 0x140003273
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rbx
mov rax, qword [r14 + 8]
sub rax, qword [r14]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140003354
mov r8d, dword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x68]
call fcn.14000a170
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14000331b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140026c9c
nop
test rbx, rbx
je 0x14000334f
sub rdi, rbx
mov rcx, rbx
cmp rdi, 0x1000
jb 0x140003344
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rcx, rbx
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400033a1
mov rdx, rdi
mov rcx, rbx
call fcn.140026c9c
mov rax, rbp
jmp 0x1400033b3
lea rdx, str.CryptUnprotectData_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140009970
mov rcx, rax
lea rdx, [0x140009b40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
test rbx, rbx
je 0x1400033b3
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400033a8
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rbx
call fcn.140026c9c
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140026c40
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001420
int3
call fcn.140009300
int3