Function at 0x14003a2f0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xb0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rax, rcx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
je 0x14003a33f
xor eax, eax
jmp 0x14003a5a1
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [0x1401cd152]
mov qword [rsp + 0x40], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call fcn.14003d0d0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
add rax, 0x11
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140039a00
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_35
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xb0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rax, rcx
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.14003a270
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x78]
add eax, 1
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx], eax
jb 0x14003a49f
cmp qword [rsp + 0xb8], 0
jne 0x14003a4af
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
jmp 0x14003a521
cmp dword [rsp + 0x70], 0
je 0x14003a521
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xb8]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0xb8]
xor eax, eax
mov rcx, qword [rsp + 0x98]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
movsxd rcx, dword [rcx]
mov r9, rax
mov r8, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call fcn.140044c40
mov dword [rsp + 0x70], 1
cmp qword [rsp + 0x40], 0
je 0x14003a54c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140042990
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x68], 0
je 0x14003a570
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0x80], 0
je 0x14003a59d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x70]
add rsp, 0xa0
pop rdi
ret