Function at 0x14006e450
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x220
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xor eax, eax
mov qword [rbp + 0xf8], rax
lea rax, [0x1402f1d00]
mov qword [rbp + 0xf0], rax
mov rcx, rax
call qword [0x1401a9300]
test eax, eax
je 0x14006e4cb
mov ecx, eax
call qword [0x1401a92f0]
mov byte [rbp + 0xf8], 1
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov r8d, 8
cmp qword [rdi + 0x10], r8
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14006e4ff
mov rdx, qword [rdi]
lea rcx, [rbp - 0x40]
call fcn.140047980
lea rdx, [0x1402bcf08]
cmp qword [0x1402bcf20], 0x10
cmovae rdx, qword [0x1402bcf08]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
cmp r8, qword [0x1402bcf18]
jne 0x14006e548
call fcn.14017097b
test eax, eax
mov esi, 1
je 0x14006e54b
mov esi, r13d
lea rcx, [rbp - 0x40]
call fcn.140047920
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [0x1401b5426]
lea rcx, [rbp - 0x40]
call fcn.140047980
nop
mov rcx, rdi
call fcn.14006bd80
mov r14, rax
test rax, rax
jne 0x14006e745
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.1401706d2
lea r15, [0x140227eb8]
mov qword [rbp - 0x10], r15
lea r12, [0x140227c80]
mov qword [rbp], r12
lea rcx, [rbp + 0x88]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x40], 6
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea edx, [r14 + 3]
lea rcx, [rbp + 8]
call fcn.140057c70
nop
lea rdx, str.decrypt_account_failed__HexDecode_failed_
lea rcx, [rbp]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.EncriptUtils::WinDPAPIDecrypt
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x492
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 8]
call fcn.140057bc0
nop
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r14b
lea r8d, [r14 + 0xb]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x48]
call fcn.140047980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [0x1401a9e90]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140055cb0
lea rcx, [rbp + 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x88]
call qword [0x1401a9198]
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r14b
lea rcx, [rbp - 0x40]
call fcn.140047920
nop
lea rcx, [0x1402f1d00]
call qword [0x1401a9310]
test eax, eax
je 0x14006e740
mov ecx, eax
call qword [0x1401a92f0]
nop
jmp 0x14006ed15
mov rax, qword [rdi + 0x10]
shr rax, 1
test esi, esi
jne 0x14006e759
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], r14
jmp 0x14006e767
sub eax, 4
mov dword [rbp - 0x50], eax
lea rax, [r14 + 4]
mov qword [rbp - 0x48], rax
lea rdi, [rbp - 0x60]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rbp - 0x20], r13
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.1401706d2
lea r15, [0x140227eb8]
mov qword [rbp - 0x10], r15
lea r12, [0x140227c80]
mov qword [rbp], r12
lea rcx, [rbp + 0x88]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x40], 0x12
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
mov edx, 3
lea rcx, [rbp + 8]
call fcn.140057c70
nop
lea rdx, str.decrypt_type_is:
lea rcx, [rbp]
call fcn.140058ba0
mov rcx, rax
mov edx, esi
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.EncriptUtils::WinDPAPIDecrypt
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x4a1
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 8]
call fcn.140057bc0
nop
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x48]
call fcn.140047980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140055cb0
lea rcx, [rbp + 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x88]
call qword [0x1401a9198]
test esi, esi
je 0x14006ead2
cmp esi, 1
je 0x14006ea48
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.1401706d2
mov qword [rbp - 0x10], r15
mov qword [rbp], r12
lea rcx, [rbp + 0x88]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x40], 0x132
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
mov edx, 3
lea rcx, [rbp + 8]
call fcn.140057c70
nop
lea rdx, str.get_encript_type_error_
lea rcx, [rbp]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.EncriptUtils::WinDPAPIDecrypt
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x4b4
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 8]
call fcn.140057bc0
nop
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x48]
call fcn.140047980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [0x1401a9e90]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
jmp 0x14006eca8
mov edx, dword [rbp - 0x50]
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.14006d970
test al, al
je 0x14006ecc8
mov rax, qword [rbp - 0x20]
mov dword [rbp - 0x60], eax
mov r8d, eax
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140047980
lea rcx, [rbp - 0x40]
call fcn.140047920
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x40], xmm0
movups xmm6, xmmword [rsp + 0x58]
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.140047920
lea rcx, [rbp - 0x58]
call qword [0x1401a9620]
jmp 0x14006eccd
call fcn.14006c770
mov r8, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14006eb6b
mov r8d, dword [rbp - 0x60]
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140047980
lea rcx, [rbp - 0x40]
call fcn.140047920
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x40], xmm0
movups xmm6, xmmword [rsp + 0x58]
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.140047920
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14006eccd
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.1401706d2
mov qword [rbp - 0x10], r15
mov qword [rbp], r12
lea rcx, [rbp + 0x88]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x40], 0x72
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
mov edx, 3
lea rcx, [rbp + 8]
call fcn.140057c70
nop
lea rdx, str.windpapi_decrypt_account_failed_
lea rcx, [rbp]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.EncriptUtils::WinDPAPIDecrypt
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x4a9
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 8]
call fcn.140057bc0
nop
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x48]
call fcn.140047980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [0x1401a9e90]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rdi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140055cb0
lea rcx, [rbp + 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x88]
call qword [0x1401a9198]
movdqu xmm6, xmmword [rbp - 0x30]
mov rcx, r14
call fcn.14016f49c
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm6
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140047920
nop
lea rcx, [0x1402f1d00]
call qword [0x1401a9310]
test eax, eax
je 0x14006ed15
mov ecx, eax
call qword [0x1401a92f0]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14016ee40
mov rbx, qword [rsp + 0x270]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret