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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x140201060], 0
je 0x140049c89
xor esi, esi
jmp 0x140049f00
mov rsi, rcx
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r9d, 0x2bb
call fcn.140063850
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.14004f6c0
test rsi, rsi
je 0x140049f2a
lea rdi, [rsp + 0x32]
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004bfa0
mov ecx, 0x65
mov rdx, rbx
call fcn.14004b080
test al, al
je 0x140049e02
lea rax, str.SystemTemp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
lea rbx, [rsp + 0x30]
lea r14, [rsp + 0xb0]
lea r8, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1400679b0
mov rcx, rbx
mov rdx, r14
call fcn.140065430
mov rcx, r14
call fcn.1400653b0
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20d
call fcn.140063850
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14004f6c0
test byte [rsp + 0x30], 1
mov rcx, rdi
je 0x140049dd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, rbx
call fcn.14004f740
cmp ebp, 0xffffffff
je 0x140049e02
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400493b0
test al, al
jne 0x140049ecd
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400653b0
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rcx, rbx
call fcn.14004bfa0
mov ecx, 0x67
mov rdx, rbx
call fcn.14004b080
test al, al
je 0x140049eea
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20d
call fcn.140063850
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14004f6c0
test byte [rsp + 0x30], 1
je 0x140049e9c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14004f740
cmp edi, 0xffffffff
je 0x140049eea
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400493b0
test al, al
je 0x140049eea
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400653c0
mov rcx, rdi
call fcn.1400653b0
mov sil, 1
jmp 0x140049ef6
lea rcx, [rsp + 0x30]
call fcn.1400653b0
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.14004f740
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140174050
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r9d, 0x2bd
call fcn.140063850
lea rdx, str.temp
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov r8d, 0xffffffff
mov r9, rdi
call fcn.14006e190
mov rcx, rbx
call fcn.14006e420
jmp 0x140049ce7