Function at 0x140019530
Capabilities:
Acquire credentials from windows credential manager
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1700
call fcn.14001d460
sub rsp, rax
mov r12, rdx
mov rbx, rcx
xor r14d, r14d
mov word [rcx], r14w
xor edx, edx
mov r8d, 0x186c
add rcx, 8
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x652]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x650], r14w
call sub.msvcrt.dll_memset
lea rcx, [rbx + 0x1664]
call fcn.140013b7c
cmp r12, r14
mov r15d, 0x104
jne 0x1400195cb
lea rdx, [rbx + 0x1664]
lea rcx, [rsp + 0x650]
mov r8d, r15d
call fcn.140012c7c
mov word [rsp + 0x656], r14w
lea r12, [rsp + 0x650]
lea rdx, [rbx + 0x1664]
mov r8d, 3
mov rcx, r12
call sub.msvcrt.dll__wcsnicmp
or r13, 0xffffffffffffffff
cmp eax, r14d
jne 0x1400195f5
mov dword [rbx + 0x1870], 1
jmp 0x140019633
xor eax, eax
mov rcx, r13
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
add rcx, 0x10
cmp rcx, r15
jae 0x140019624
lea r8, [rbx + 0x1664]
lea rdx, str.WindowsSystem32
mov rcx, r12
call fcn.140013c5c
jmp 0x14001962c
mov word [rbx + 0x1664], r14w
mov dword [rbx + 0x1870], r14d
cmp dword [rbx + 0x1870], r14d
jne 0x14001966f
xor eax, eax
lea rdi, [rbx + 0x1664]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 6
cmp rcx, r15
jae 0x14001966f
lea rdx, str.Config
lea rcx, [rbx + 0x1664]
mov r8, rbx
call fcn.140013c5c
jmp 0x140019673
mov word [rbx], r14w
xor eax, eax
lea rdi, [rbx + 0x1664]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0x11
cmp rcx, r15
jae 0x1400196aa
lea r8, [rbx + 0x414]
lea rdx, str.MicrosoftProtect
lea rcx, [rbx + 0x1664]
call fcn.140013c5c
jmp 0x1400196b2
mov word [rbx + 0x414], r14w
cmp dword [rbx + 0x1870], r14d
je 0x1400196e2
lea rcx, [rbx + 0x1250]
mov edx, 0x1a
call fcn.1400021d8
lea rcx, [rbx + 0x145a]
mov edx, 0x1c
call fcn.1400021d8
jmp 0x140019abc
lea rax, [rsp + 0xab8]
mov edi, 0x208
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8, rdi
mov qword [rsp + 0xab0], r13
mov qword [rsp + 0xd40], rax
mov word [rsp + 0xab8], r14w
mov word [rsp + 0x1220], r14w
mov word [rsp + 0xf98], r14w
mov word [rsp + 0x230], r14w
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x22]
mov r8, rdi
xor edx, edx
mov word [rsp + 0x20], r14w
call sub.msvcrt.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
lea r13d, [rax + 1]
not rcx
add rcx, 5
cmp rcx, r15
jae 0x14001977f
lea r8, [rsp + 0x230]
lea rdx, str.Users
mov rcx, r12
call fcn.140013c5c
jmp 0x140019788
mov word [rsp + 0x230], r14w
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400197d8
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
mov r13d, r14d
not rcx
add rcx, 0x16
cmp rcx, r15
jae 0x1400197cf
lea r8, [rsp + 0x230]
lea rdx, str.Documents_And_Settings
mov rcx, r12
call fcn.140013c5c
jmp 0x1400197d8
mov word [rsp + 0x230], r14w
lea r8, [rsp + 0x230]
lea rdx, [0x14001e9e8]
lea rcx, [rsp + 0xab0]
call fcn.140011450
xor eax, eax
mov dword [rsp + 0x1730], r14d
mov dword [rsp + 0x1734], eax
jmp 0x1400199ae
lea rcx, [rsp + 0xab0]
call fcn.140011050
cmp eax, r14d
je 0x1400199ae
lea rdx, str.default
lea rcx, [rsp + 0xd74]
call sub.msvcrt.dll__wcsicmp
cmp eax, r14d
je 0x1400199ae
lea rdx, str.LocalService
lea rcx, [rsp + 0xd74]
call sub.msvcrt.dll__wcsicmp
cmp eax, r14d
je 0x1400199ae
lea rdx, str.All_Users
lea rcx, [rsp + 0xd74]
call sub.msvcrt.dll__wcsicmp
cmp eax, r14d
je 0x1400199ae
lea rdx, str.NetworkService
lea rcx, [rsp + 0xd74]
call sub.msvcrt.dll__wcsicmp
cmp eax, r14d
je 0x1400199ae
lea rdx, str.Default_User
lea rcx, [rsp + 0xd74]
call sub.msvcrt.dll__wcsicmp
cmp eax, r14d
je 0x1400199ae
lea rcx, [rsp + 0x442]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x440], r14w
call sub.msvcrt.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xf98]
repne scasw ax, word [rdi]
not rcx
add rcx, 0xa
cmp rcx, r15
jae 0x14001990a
lea r8, [rsp + 0x440]
lea rdx, str.ntuser.dat
lea rcx, [rsp + 0xf98]
call fcn.140013c5c
jmp 0x140019913
mov word [rsp + 0x440], r14w
lea rcx, [rsp + 0x864]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x860], r14d
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x14b0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140019966
lea rdx, [rsp + 0x14b0]
lea rcx, [rsp + 0x860]
mov r8, rax
call fcn.140011b6c
jmp 0x140019969
mov eax, r14d
cmp eax, r14d
je 0x1400199ae
lea rdx, [rsp + 0x1730]
lea rcx, [rsp + 0x874]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, r14d
jle 0x1400199ae
mov rax, qword [rsp + 0x874]
lea rdx, [rsp + 0xf98]
lea rcx, [rsp + 0x20]
mov r8d, r15d
mov qword [rsp + 0x1730], rax
call fcn.140012c7c
lea rcx, [rsp + 0xab0]
call fcn.140011370
cmp eax, r14d
jne 0x14001980a
cmp word [rsp + 0x20], r14w
je 0x140019aab
xor eax, eax
cmp r13d, r14d
lea rdi, [rsp + 0x20]
je 0x140019a40
or r13, 0xffffffffffffffff
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0xf
cmp rcx, r15
jae 0x140019a0c
lea r8, [rbx + 0x1250]
lea rdx, str.AppDataRoaming
lea rcx, [rsp + 0x20]
call fcn.140013c5c
jmp 0x140019a14
mov word [rbx + 0x1250], r14w
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0xd
cmp rcx, r15
jae 0x140019a36
lea rdx, str.AppDataLocal
jmp 0x140019a98
mov word [rbx + 0x145a], r14w
jmp 0x140019aaf
or r13, 0xffffffffffffffff
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0x10
cmp rcx, r15
jae 0x140019a70
lea r8, [rbx + 0x1250]
lea rdx, str.Application_Data
lea rcx, [rsp + 0x20]
call fcn.140013c5c
jmp 0x140019a78
mov word [rbx + 0x1250], r14w
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0x1f
cmp rcx, r15
jae 0x140019a36
lea rdx, str.Local_SettingsApplication_Data
lea r8, [rbx + 0x145a]
lea rcx, [rsp + 0x20]
call fcn.140013c5c
jmp 0x140019aaf
or r13, 0xffffffffffffffff
lea rcx, [rsp + 0xab0]
call fcn.140010cd0
cmp word [rbx + 0x1250], r14w
je 0x140019b01
xor eax, eax
lea rdi, [rbx + 0x1250]
mov rcx, r13
repne scasw ax, word [rdi]
lea r8, [rbx + 0x20a]
not rcx
add rcx, 0x11
cmp rcx, r15
jae 0x140019afd
lea rdx, str.MicrosoftProtect
lea rcx, [rbx + 0x1250]
call fcn.140013c5c
jmp 0x140019b01
mov word [r8], r14w
cmp word [rbx + 0x145a], r14w
je 0x140019b4a
xor eax, eax
lea rdi, [rbx + 0x145a]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0xf
cmp rcx, r15
jae 0x140019b42
lea r8, [rbx + 0xa28]
lea rdx, str.MicrosoftVault
lea rcx, [rbx + 0x145a]
call fcn.140013c5c
jmp 0x140019b4a
mov word [rbx + 0xa28], r14w
xor eax, eax
mov rcx, r13
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
add rcx, 0x1b
cmp rcx, r15
jae 0x140019b79
lea r8, [rbx + 0xc32]
lea rdx, str.ProgramDataMicrosoftVault
mov rcx, r12
call fcn.140013c5c
jmp 0x140019b81
mov word [rbx + 0xc32], r14w
xor eax, eax
lea rdi, [rbx + 0x1664]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
add rcx, 0x32
cmp rcx, r15
jae 0x140019bb8
lea r8, [rbx + 0xe3c]
lea rdx, str.config_systemprofileAppDataLocalMicrosoftVault
lea rcx, [rbx + 0x1664]
call fcn.140013c5c
jmp 0x140019bc0
mov word [rbx + 0xe3c], r14w
lea r11, [rsp + 0x1700]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret