Function at 0x140120300
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rdx, str.Microsoft_WinInet_
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.14013c108
test rax, rax
je 0x140120420
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x20], 0x14
jb 0x14012041b
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
add rax, 4
mov r8d, 0x10
lea rdx, [0x1401703a0]
mov rcx, rax
call fcn.140161ba0
test eax, eax
jne 0x14012041b
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], Ordinal_77
lea rax, [0x14016f490]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140120407
lea rcx, str.___CredentialBlob:
call fcn.140013fd0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14001ff80
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14012041b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.140013fd0
jmp 0x1401205f1
lea rdx, str.AppSense_DataNow_
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.14013c108
test rax, rax
je 0x1401205f1
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.140013fd0
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x20], 0x14
jb 0x1401205f1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rdx, rax
lea rcx, str.AppN_DN_Win
call fcn.140151960
test eax, eax
jne 0x1401205f1
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc], 0
je 0x14012053a
lea rcx, str.Decrypting_additional_blob_n
call fcn.140013fd0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140120526
lea rcx, str.___CredentialBlob:
call fcn.140013fd0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14001ff80
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14012053a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.140013fd0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
je 0x1401205f1
lea rcx, str.Decrypting_additional_blob_n
call fcn.140013fd0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x14]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1401205dd
lea rcx, str.___UnkBlob_______:
call fcn.140013fd0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14001ff80
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1401205f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.140013fd0
add rsp, 0x88
ret