Function at 0x1400b5544
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rdi, rcx
mov rcx, qword [rcx + 8]
lea rdx, str.Microsoft_WinInet_
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
je 0x1400b5606
mov esi, dword [rdi + 0x20]
cmp esi, 0x14
jb 0x1400b5787
mov rdi, qword [rdi + 0x28]
lea rcx, [0x1400dd278]
mov rdx, qword [rdi + 4]
cmp rdx, qword [rcx]
jne 0x1400b559e
mov rdx, qword [rdi + 0xc]
cmp rdx, qword [rcx + 8]
jne 0x1400b559e
xor eax, eax
jmp 0x1400b55a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1400b5787
lea rax, [0x1400de0c0]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], Ordinal_79
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b5773
lea rcx, str.___CredentialBlob:
jmp 0x1400b5747
mov rcx, qword [rdi + 8]
lea rdx, str.AppSense_DataNow_
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
je 0x1400b5787
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.14000c020
cmp dword [rdi + 0x20], 0x14
jb 0x1400b5787
mov rbx, qword [rdi + 0x28]
lea rsi, str.AppN_DN_Win
mov ecx, reloc.WLDAP32.dll_Ordinal_12
mov rdi, rbx
repe cmpsb byte [rsi], byte [rdi]
jne 0x1400b5787
cmp dword [rbx + 0xc], 0
je 0x1400b56ea
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000c020
mov edx, dword [rbx + 0xc]
lea rax, [rbx + 0x14]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b56d6
lea rcx, str.___CredentialBlob:
call fcn.14000c020
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400129a4
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000c020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b56ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
mov edx, eax
call fcn.14000c020
cmp dword [rbx + 0x10], 0
je 0x1400b5787
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000c020
mov edx, dword [rbx + 0x10]
xor r9d, r9d
mov dword [rsp + 0x50], edx
mov eax, dword [rbx + 0xc]
xor r8d, r8d
lea rcx, [rax + rbx + 0x14]
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b5773
lea rcx, str.___UnkBlob_______:
call fcn.14000c020
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400129a4
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000c020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b5787
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
mov edx, eax
call fcn.14000c020
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret