Function at 0x1400080c0
Capabilities:
Encrypt data using dpapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov rsi, rcx
mov rdi, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
mov rcx, rdi
mov rdx, rbx
call fcn.14013a130
test rax, rax
je 0x14000875f
mov r14, rax
mov r15, rdx
mov qword [rsp + 0xe0], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
lea rax, [0x14021c2a3]
mov qword [rsp + 0x40], rax
lea rax, [0x14021c2aa]
mov qword [rsp + 0x48], rax
lea rax, [0x14021de81]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x40]
call fcn.140016cf0
mov r12, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, r13
call fcn.140155500
cmp qword [rsp + 0x40], 0
movabs rcx, 0x8000000000000000
je 0x1400081ac
mov rax, qword [rsp + 0x90]
cmp rax, rcx
jne 0x14000896a
mov rsi, rcx
mov rbp, r12
mov r12, r13
mov r13, qword [rsp + 0x48]
jmp 0x1400081b7
mov rsi, rcx
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0xf8]
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.14013a7c0
test rbp, rbp
je 0x1400081e8
mov r8d, 1
mov rcx, r12
mov rdx, rbp
call fcn.140019aa0
mov r14, qword [rsp + 0x100]
mov r15, qword [rsp + 0x108]
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8, rbx
mov r9, r14
call fcn.14013eef0
cmp qword [rsp + 0x40], 0
jne 0x1400088e2
mov rdi, qword [rsp + 0xf8]
lea rcx, [rsp + 0x40]
mov rdx, r14
mov r8, r15
call fcn.140135510
test rdi, rdi
mov rbp, rsi
lea r12, [0x14021de81]
je 0x140008254
mov r8d, 1
mov rcx, r14
mov rdx, rdi
call fcn.140019aa0
mov rdi, qword [rsp + 0x40]
cmp rdi, rbp
mov rsi, qword [rsp + 0xe0]
je 0x1400088f8
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call fcn.140001150
cmp byte [rsp + 0x40], 6
je 0x140008931
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
lea rax, [0x14021c300]
mov qword [rsp + 0x40], rax
lea rax, [0x14021c308]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], 0
lea r14, [rsp + 0xb0]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140016cf0
mov rdx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.140155500
cmp qword [rsp + 0x40], 0
je 0x14000836a
movups xmm0, xmmword [rsp + 0x48]
mov r15, qword [rsp + 0x48]
mov rax, qword [rsp + 0xb0]
movups xmm1, xmmword [r14 + 8]
movaps xmmword [rsp + 0xd0], xmm1
cmp rax, rbp
je 0x14000837a
jmp 0x140008462
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x90]
call fcn.14012f210
mov r15, rax
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400083bb
mov rcx, qword [rsp + 0x48]
mov r8d, 1
call fcn.140019aa0
test r15, r15
jne 0x1400083c7
mov r15, qword [0x1402df8c0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
lea rax, [0x14021c308]
mov qword [rsp + 0x40], rax
lea rax, [0x14021c315]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x40]
call fcn.140016cf0
mov rdx, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
lea rcx, [rsp + 0x40]
mov r8, r12
call fcn.140155500
cmp qword [rsp + 0x40], 0
je 0x140008471
movups xmm0, xmmword [rsp + 0x48]
mov r12, qword [rsp + 0x48]
mov rax, qword [rsp + 0xb0]
movups xmm1, xmmword [r14 + 8]
movaps xmmword [rsp + 0xd0], xmm1
cmp rax, rbp
je 0x140008481
mov qword [rsp + 0x40], rax
movups xmm1, xmmword [r14 + 8]
jmp 0x14000897f
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.14012f210
mov r14, rax
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400084bd
mov rcx, qword [rsp + 0x48]
mov r8d, 1
call fcn.140019aa0
test r14, r14
je 0x140008566
xor ecx, ecx
cmp byte [r14], 3
mov rax, qword [r14 + 0x18]
je 0x14000857d
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
jne 0x140008597
lea r13, [rsp + 0x40]
lea rdx, [rsp + 0xe8]
mov rcx, r13
mov r8d, 1
call fcn.140018990
mov r14, qword [rsp + 0x40]
cmp r14, rbp
je 0x1400089b2
mov r15, qword [rsp + 0x50]
cmp r15, 5
jb 0x1400089eb
mov r12, qword [rsp + 0x48]
add r15, 0xfffffffffffffffb
je 0x140008609
js 0x1400089ff
movzx eax, byte [0x1402dfa01]
mov edx, 1
mov rcx, r15
call fcn.140019a90
mov rbp, rax
test rax, rax
jne 0x14000860e
mov ecx, 1
mov rdx, r15
call fcn.140219ca0
mov r14, qword [0x1402df8c0]
xor ecx, ecx
cmp byte [r14], 3
mov rax, qword [r14 + 0x18]
jne 0x1400084d6
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
je 0x1400084ec
movzx eax, byte [rsp + 0x90]
cmp rax, 3
jb 0x140008749
cmp eax, 3
je 0x140008729
cmp eax, 4
jne 0x14000878f
mov r15, qword [rsp + 0xa8]
test r15, r15
je 0x1400085e1
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call fcn.1400163f0
add r14, 0x20
dec r15
jne 0x1400085d0
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x140008749
mov rcx, qword [rsp + 0xa0]
shl rdx, 5
mov r8d, 8
jmp 0x140008744
mov ebp, 1
lea rdx, [r12 + 5]
mov rcx, rbp
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0xb0], r15d
mov qword [rsp + 0xb8], rbp
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0xb0]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
test r15, r15
je 0x140008694
mov r8d, 1
mov rcx, rbp
mov rdx, r15
call fcn.140019aa0
test r14, r14
je 0x1400086aa
mov r8d, 1
mov rcx, r12
mov rdx, r14
call fcn.140019aa0
movzx eax, byte [rsp + 0x90]
cmp rax, 3
jb 0x140008800
cmp eax, 3
je 0x1400087e0
cmp eax, 4
jne 0x14000882d
mov r15, qword [rsp + 0xa8]
test r15, r15
je 0x140008701
mov r14, qword [rsp + 0xa0]
nop word cs:[rax + rax]
mov rcx, r14
call fcn.1400163f0
add r14, 0x20
dec r15
jne 0x1400086f0
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x140008800
mov rcx, qword [rsp + 0xa0]
shl rdx, 5
mov r8d, 8
jmp 0x1400087fb
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x140008749
mov rcx, qword [rsp + 0xa0]
mov r8d, 1
call fcn.140019aa0
test rdi, rdi
je 0x14000875f
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140019aa0
mov ecx, 0x20
mov edx, 1
call fcn.140019ac0
test rax, rax
je 0x1400088d3
mov qword [rsi], 0x20
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0x20
jmp 0x140008816
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140008877
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov ecx, 1
jmp 0x14000887b
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x140008800
mov rcx, qword [rsp + 0xa0]
mov r8d, 1
call fcn.140019aa0
test rdi, rdi
je 0x140008816
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140019aa0
mov rax, rsi
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400088a5
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov ecx, 1
jmp 0x1400088a9
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x40]
call fcn.140014630
test rdi, rdi
jne 0x14000874e
jmp 0x14000875f
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x40]
call fcn.140014630
test rdi, rdi
jne 0x140008805
jmp 0x140008816
mov ecx, 1
mov edx, 0x20
call fcn.140219ca0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
lea rax, [0x14021c2b8]
jmp 0x14000890c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
lea rax, [0x14021c2d0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14021bf00]
lea r9, [0x14021bfd0]
lea r8, [rsp + 0x90]
mov edx, 0x2b
call fcn.14021a390
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
lea rax, [0x14021c2e8]
mov qword [rsp + 0x20], rax
lea rcx, [0x14021bf00]
lea r9, [0x14021bf30]
lea r8, [rsp + 0xb0]
mov edx, 0x2b
call fcn.14021a390
lea rcx, [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x48]
mov qword [rsp + 0x40], rax
movups xmm1, xmmword [rcx]
movups xmmword [rsp + 0x48], xmm1
movups xmmword [rsp + 0x58], xmm0
lea rax, str.srcmain.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14021e2f8]
lea r9, [0x14021e328]
lea r8, [rsp + 0x40]
mov edx, 0x2b
call fcn.14021a390
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xb0], xmm0
lea rax, [0x14021c318]
mov qword [rsp + 0x20], rax
lea rcx, [0x14021bf00]
lea r9, [0x14021bff0]
lea r8, [rsp + 0xb0]
mov edx, 0x2b
call fcn.14021a390
lea r8, [0x14021c330]
mov ecx, 5
mov rdx, r15
call fcn.14021a430
call fcn.14014afd0
int3