Function at 0x1400b137c
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rdx, str.Microsoft_WinInet_
mov rcx, qword [rcx + 8]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400b142c
mov edx, dword [rbx + 0x20]
cmp edx, 0x14
jb 0x1400b15a0
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 4]
cmp rax, qword [0x1400c7c40]
jne 0x1400b15a0
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400c7c48]
jne 0x1400b15a0
lea rax, [0x1400c6d20]
mov dword [rbp - 0x20], edx
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rbp - 0x10], SQLSetEnvAttr
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b158c
lea rcx, str.___CredentialBlob:
jmp 0x1400b1563
mov rcx, qword [rbx + 8]
lea rdx, str.AppSense_DataNow_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400b15a0
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.14000bdc4
cmp dword [rbx + 0x20], 0x14
jb 0x1400b15a0
mov rbx, qword [rbx + 0x28]
lea rcx, str.AppN_DN_Win
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400b15a0
cmp dword [rbx + 0xc], eax
je 0x1400b1508
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdc4
mov eax, dword [rbx + 0xc]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
xor r9d, r9d
lea rax, [rbx + 0x14]
xor r8d, r8d
mov qword [rbp - 0x18], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b14f4
lea rcx, str.___CredentialBlob:
call fcn.14000bdc4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.140012848
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdc4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b1508
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.14000bdc4
cmp dword [rbx + 0x10], 0
je 0x1400b15a0
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdc4
mov eax, dword [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov dword [rbp - 0x20], eax
xor r9d, r9d
mov eax, dword [rbx + 0xc]
xor r8d, r8d
add rcx, rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b158c
lea rcx, str.___UnkBlob_______:
call fcn.14000bdc4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.140012848
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdc4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b15a0
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.14000bdc4
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret