Function at 0x1400a19c0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1402dd440
mov r8d, 0x104
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r13w
jne 0x1400a1a53
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14007ece0
nop
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r14, qword [rbp - 0x68]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400a1abe
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
xor r8d, r8d
lea rdx, [0x1403ff228]
lea rcx, [rsp + 0x40]
call fcn.14007ece0
movdqu xmm7, xmmword [rsp + 0x50]
movups xmm6, xmmword [rsp + 0x40]
jmp 0x1400a1b64
mov edi, r13d
mov r15d, r13d
mov esi, r13d
mov r12d, r13d
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140137ad0
test al, al
je 0x1400a1b19
mov edi, dword [rsp + 0x48]
shr edi, 0x10
movzx r15d, word [rsp + 0x48]
mov esi, dword [rsp + 0x4c]
shr esi, 0x10
movzx r12d, word [rsp + 0x4c]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov r8d, edi
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x78]
call fcn.1401349c0
movups xmm6, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rbp - 0x78]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
lea rcx, [rsp + 0x78]
call fcn.14007ec70
lea rcx, [0x140492a88]
call fcn.14007ec70
movups xmmword [0x140492a88], xmm6
movups xmmword [0x140492a98], xmm7
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
lea rcx, [rsp + 0x40]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x68]
call fcn.14007ec70
nop
movdqa xmm6, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm6
mov word [rsp + 0x40], r13w
mov dword [rsp + 0x30], 7
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400a1c3a
lea rdx, str.GetUserDefaultLocaleName
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400a1c31
xor edx, edx
mov r8d, MsiAdvertiseScriptW
lea rcx, [rbp - 0x40]
call fcn.1402dd440
mov edx, SHDoDragDrop
lea rcx, [rbp - 0x40]
call rdi
lea rax, [rbp - 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a1c10
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.14007ece0
movdqu xmm6, xmmword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x140492aa8]
call fcn.14007ec70
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x140492aa8], xmm0
movups xmmword [0x140492ab8], xmm6
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
lea rcx, [rsp + 0x40]
call fcn.14007ec70
lea rdx, [rsp + 0x78]
call fcn.1400a2e50
mov rbx, rax
lea rcx, [0x140492ac8]
cmp rcx, rax
je 0x1400a1cba
call fcn.14007ec70
movups xmm0, xmmword [rbx]
movups xmmword [0x140492ac8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140492ad8], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rsp + 0x78]
call fcn.14007ec70
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret