Function at 0x140026420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r13d, r13d
mov edi, r13d
mov dword [rbp + 0x80], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x140213360]
movdqu xmmword [rbp + 0x120], xmm1
mov word [rbp + 0x110], r13w
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov qword [rbp + 0x98], r13
mov dword [rbp + 0x80], r13d
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x88]
lea r8, str.ProfilesDirectory
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov rcx, 0xffffffff80000002
call fcn.14009ff50
test al, al
je 0x1400264f9
mov r9b, 1
lea r8, [rbp + 0x110]
mov edx, dword [rbp + 0x80]
lea rcx, [rbp + 0x88]
call fcn.1400a0130
jmp 0x1400264ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp + 0x88]
call fcn.140025240
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140026b23
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r13w
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov qword [rbp + 0x98], r13
mov dword [rbp + 0x80], r13d
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x88]
lea r8, str.Local_AppData
lea rdx, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rcx, 0xffffffff80000003
call fcn.14009ff50
test al, al
je 0x1400265ae
xor r9d, r9d
lea r8, [rbp + 0xa8]
mov edx, dword [rbp + 0x80]
lea rcx, [rbp + 0x88]
call fcn.1400a0130
jmp 0x1400265b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp + 0x88]
call fcn.140025240
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140026af3
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea r8d, [rbx + 1]
lea rdx, [0x14020552c]
lea rcx, [rbp + 0x30]
call fcn.140025740
nop
mov byte [rsp + 0x20], bl
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x130]
call fcn.14009d920
nop
lea rcx, [rbp + 0x30]
call fcn.140025f00
mov rsi, qword [rbp + 0x130]
mov r12, qword [rbp + 0x138]
cmp rsi, r12
je 0x140026a9d
movabs r14, 0x7ffffffffffffffe
lea r15, [0x140205530]
lea rbx, [0x140205598]
nop dword [rax]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14002665d
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140026a90
test al, 0x10
je 0x140026a90
mov rax, r14
mov rcx, qword [rbp + 0xb8]
sub rax, rcx
cmp rax, 0x19
jb 0x140026b1d
lea r9, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 7
cmova r9, qword [rbp + 0xa8]
mov qword [rsp + 0x30], 0x19
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xf0]
call fcn.140015aa0
or edi, 1
mov dword [rbp + 0x80], edi
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400266d7
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400266f0
lea rcx, [rsp + 0x60]
call fcn.140025740
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, recvfrom
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x40]
call fcn.140025740
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xf0]
call fcn.140029e20
nop
lea rcx, [rsp + 0x40]
call fcn.140025f00
nop
lea rcx, [rsp + 0x60]
call fcn.140025f00
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0xc8]
call fcn.140023ad0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xc8]
call fcn.1400983a0
test al, al
jne 0x1400267f2
lea rcx, [rbp + 0xc8]
call fcn.14000b040
nop
lea rcx, [rbp + 0xf0]
call fcn.140025f00
jmp 0x140026a90
lea rax, str.vaults
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 6
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.140096740
mov r15, rax
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 1
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x50]
lea rcx, [rax + 0x10]
call fcn.1400297b0
mov rcx, qword [r15 + 0x10]
cmp qword [rax], rcx
je 0x140026a12
lea rax, [0x14020559c]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x58]
lea rcx, [r15 + 0x10]
call fcn.1400297b0
mov rcx, qword [r15 + 0x10]
cmp qword [rax], rcx
jne 0x140026a12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 1
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp + 0xa0], r13
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xa0]
lea rcx, [r15 + 0x10]
call fcn.1400297b0
mov ecx, 3
mov rbx, qword [rbp + 0xa0]
cmp rbx, qword [r15 + 0x10]
cmovne ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, qword [r15 + 0x10]
je 0x140026902
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140025a50
nop
or edi, 2
jmp 0x140026930
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
xor r8d, r8d
lea rdx, [0x140205128]
lea rcx, [rsp + 0x40]
call fcn.140025740
lea rax, [rsp + 0x40]
or edi, 4
mov dword [rbp + 0x80], edi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025a50
or edi, 8
test dil, 4
je 0x140026959
and edi, 0xfffffffb
lea rcx, [rsp + 0x40]
call fcn.140025f00
nop
test dil, 2
je 0x14002696b
and edi, 0xfffffffd
lea rcx, [rbp + 0x60]
call fcn.140025f00
lea rax, [rbp - 0x80]
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r8d, 1
lea rdx, [0x14020559c]
lea rcx, [rbp + 0x10]
call fcn.140025740
nop
lea rcx, [r15 + 0x10]
lea rdx, [rbp + 0x10]
call fcn.1400296b0
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.14002a100
nop
lea rcx, [rbp - 0x80]
call fcn.140025f00
nop
lea rcx, [rbp + 0x10]
call fcn.140025f00
lea rax, [0x140205598]
mov qword [rbp], rax
mov qword [rbp + 8], 1
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x88]
lea rcx, [r15 + 0x10]
call fcn.140024fb0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [r15 + 0x10]
call fcn.1400240e0
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
mov r8d, 1
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xc8]
call fcn.140098a70
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
lea rcx, [rbp + 0xc8]
call fcn.14000b040
nop
lea rcx, [rbp + 0xf0]
call fcn.140025f00
lea rbx, [0x140205598]
movabs r14, 0x7ffffffffffffffe
lea r15, [0x140205530]
add rsi, 0x20
cmp rsi, r12
jne 0x140026650
lea rcx, [rbp + 0x130]
call fcn.140025680
nop
lea rcx, [rbp + 0xa8]
call fcn.140025f00
nop
lea rcx, [rbp + 0x110]
call fcn.140025f00
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Unable_to_retrieve_Local_AppData_directory_
lea rcx, [rbp - 0x80]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x80]
call fcn.14015a550
nop
call fcn.140025b80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_retrieve_profiles_directory_
lea rcx, [rbp - 0x80]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x80]
call fcn.14015a550
int3