Function at 0x14001d980
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov r13, rdx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov r8, rcx
lea rdx, [rbp - 0x10]
call fcn.1400207e0
nop
mov qword [rbp + 0x48], r15
mov byte [rsp + 0x20], r15b
mov r9b, 1
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000c5a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 8
mov edi, 0xf
mov qword [rbp - 0x40], rdi
movabs rax, 0x74707972635f736f
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], r15b
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400138f0
mov word [rsp + 0x66], r15w
mov qword [rsp + 0x68], 0xd
mov qword [rsp + 0x70], rdi
movsd xmm0, qword [str.encrypted_key]
movsd qword [rsp + 0x58], xmm0
mov ecx, dword [0x140056f68]
mov dword [rsp + 0x60], ecx
movzx ecx, byte [0x140056f6c]
mov byte [rsp + 0x64], cl
mov byte [rsp + 0x65], r15b
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400138f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov r14d, r15d
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], rdi
mov byte [rsp + 0x78], r14b
mov dword [rsp + 0x50], 0x10
cmp byte [rax], 3
jne 0x14001e020
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x78]
cmp rax, rdx
je 0x14001daad
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rdi
jbe 0x14001da9b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.14001a7f0
mov rdi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x78]
lea rbx, [rsp + 0x78]
cmp rdi, 0xf
cmova rbx, qword [rsp + 0x78]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rsi, r15
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x50], 0x4c
mov rax, r14
shr rax, 2
lea r12, [rax + rax*2]
mov qword [rbp - 0x50], r15
test r12, r12
je 0x14001db02
lea r8, [rbp + 0x90]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140005d70
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x58], rdi
mov r9, r14
mov r8, rbx
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x58]
call fcn.140007620
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
sub rcx, rdi
mov r14, qword [rbp - 0x50]
cmp r14, rcx
jae 0x14001db39
lea rbx, [r14 + rdi]
jmp 0x14001db7e
jbe 0x14001db83
mov rax, rsi
sub rax, rdi
cmp r14, rax
jbe 0x14001db6b
lea r8, [rbp + 0x90]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140005d70
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
jmp 0x14001db83
sub r14, rcx
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140053330
add rbx, r14
mov qword [rsp + 0x60], rbx
mov rax, rbx
sub rax, rdi
cmp rax, r12
jbe 0x14001dba8
mov r8d, 0x110
lea rdx, str.C:UsersMohamedDownloads_niggerincludedetail_codec.hpp
lea rcx, str.data::size_binary_result____binary_buffer_size
call fcn.14003b804
nop
lea rdx, [rdi + 5]
cmp rdi, rdx
je 0x14001dbca
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.140052c90
lea rax, [rbx + rdi]
mov qword [rsp + 0x60], rax
mov ebx, eax
sub ebx, edi
mov dword [rbp - 0x20], ebx
mov qword [rbp - 0x18], rdi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x14001de59
mov ecx, dword [rbp - 0x68]
mov r12, qword [rbp - 0x60]
add rcx, r12
mov qword [rbp + 0x90], rcx
mov r14, rcx
sub r14, r12
mov qword [rbp + 0xa0], r15
mov rbx, r15
je 0x14001dcae
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14001e06d
cmp r14, 0x1000
jb 0x14001dc6b
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14001e073
call fcn.140029830
test rax, rax
je 0x14001e079
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14001dc76
mov rcx, r14
call fcn.140029830
mov rbx, rax
mov rax, qword [rbp + 0x90]
sub rax, r12
mov qword [rbp + 0x90], rax
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.140052c90
lea r15, [rbx + r14]
mov rax, qword [rbp + 0x90]
add rax, rbx
mov qword [rbp + 0xa0], rax
mov r12, qword [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [r13], rbx
mov rax, qword [rbp + 0xa0]
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], r15
test rdi, rdi
je 0x14001dd03
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x14001dcf7
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e07f
mov rdx, rsi
mov rcx, rdi
call fcn.14002986c
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14001dd40
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dd3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e014
call fcn.14002986c
nop
movzx edx, byte [rsp + 0x40]
cmp dl, 1
jne 0x14001dd74
cmp qword [rsp + 0x48], 0
jne 0x14001ddf5
mov r8d, 0x4e12
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::object__m_data.m_value.object___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 2
jne 0x14001dd9f
cmp qword [rsp + 0x48], 0
jne 0x14001ddf5
mov r8d, 0x4e13
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::array__m_data.m_value.array___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 3
jne 0x14001ddca
cmp qword [rsp + 0x48], 0
jne 0x14001ddf5
mov r8d, 0x4e14
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::string__m_data.m_value.string___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 8
jne 0x14001ddf5
cmp qword [rsp + 0x48], 0
jne 0x14001ddf5
mov r8d, 0x4e15
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::binary__m_data.m_value.binary___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14001aed0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14001de3b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001de36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e01a
call fcn.14002986c
mov rax, r13
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str._ERROR__Failed_to_decrypt_the_master_key.
lea rcx, [0x14006fe90]
call fcn.1400017c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140025960
movzx edx, al
mov rcx, rbx
call fcn.140020630
mov rcx, rbx
call fcn.14001e090
mov qword [r13], r15
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], r15
test rdi, rdi
je 0x14001ded8
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x14001decc
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e07f
mov rdx, rsi
mov rcx, rdi
call fcn.14002986c
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14001df15
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001df0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e014
call fcn.14002986c
nop
movzx edx, byte [rsp + 0x40]
cmp dl, 1
jne 0x14001df49
cmp qword [rsp + 0x48], 0
jne 0x14001dfca
mov r8d, 0x4e12
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::object__m_data.m_value.object___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 2
jne 0x14001df74
cmp qword [rsp + 0x48], 0
jne 0x14001dfca
mov r8d, 0x4e13
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::array__m_data.m_value.array___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 3
jne 0x14001df9f
cmp qword [rsp + 0x48], 0
jne 0x14001dfca
mov r8d, 0x4e14
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::string__m_data.m_value.string___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
cmp dl, 8
jne 0x14001dfca
cmp qword [rsp + 0x48], 0
jne 0x14001dfca
mov r8d, 0x4e15
lea rdx, str.includejson.hpp
lea rcx, str.m_data.m_type___value_t::binary__m_data.m_value.binary___nullptr
call fcn.14003b804
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14001aed0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14001de3b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001de36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e01a
jmp 0x14001de36
call fcn.14002f614
nop
call fcn.14002f614
nop
mov rcx, rbx
call fcn.1400253f0
mov qword [rbp + 0x90], rax
lea r8, [rbp + 0x90]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x58]
call fcn.1400066c0
nop
mov r9, rbx
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x58]
call fcn.1400073a0
lea rdx, [0x14006c868]
lea rcx, [rbp - 0x58]
call fcn.14002a9d4
nop
call fcn.14001a630
int3
call fcn.14001a090
int3
call fcn.14002f614
nop
call fcn.14002f614
int3