Function at 0x1400fa610
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r12d, edx
mov r14, rcx
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x38], xmm0
xor r13d, r13d
mov word [rbp - 0x48], r13w
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [r9 + r8*2], r13w
jne 0x1400fa670
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.14007ece0
nop
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r13w
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400fa6ce
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x28]
call fcn.14007ece0
jmp 0x1400fa741
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, str._s.backup
lea rcx, [rbp + 0x18]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400fa6f7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.1400ac220
nop
lea rcx, [rbp + 0x18]
call fcn.14007ec70
lea rcx, [rbp - 0x28]
call fcn.14007ec70
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbp + 8]
movups xmmword [rbp - 0x18], xmm1
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r13w
lea rcx, [rbp - 8]
call fcn.14007ec70
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400faa12
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.14019e1f0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
lea r8, str.FindWindow
lea rdx, [rbp - 0x78]
call fcn.140096310
test al, al
je 0x1400faa08
lea rcx, [rbp - 0x78]
call fcn.1401a1180
test al, al
je 0x1400faa08
lea rdx, [r14 + 0xfd8]
lea rcx, [rsp + 0x70]
call fcn.1401001d0
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rsp + 0x78]
je 0x1400fa90f
add rbx, 8
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400fa7e8
lock inc dword [rcx + 8]
mov rcx, qword [rbx]
mov rax, qword [rbx - 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x38]
call fcn.1400f4d00
mov rcx, qword [rbx]
test al, al
je 0x1400fa857
test rcx, rcx
je 0x1400fa813
lock inc dword [rcx + 8]
mov rcx, qword [rbx]
mov rax, qword [rbx - 8]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x28], rcx
test rdi, rdi
je 0x1400fa855
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400fa855
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400fa855
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400fa887
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
test rcx, rcx
je 0x1400fa86c
lock inc dword [rcx + 8]
mov rcx, qword [rbx]
mov rax, qword [rbx - 8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400ee7c0
add rbx, 0x10
lea rax, [rbx - 8]
cmp rax, qword [rsp + 0x78]
jne 0x1400fa7d0
cmp qword [rsp + 0x20], 0
je 0x1400fa90f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400fa8b9
lock inc dword [rcx + 8]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1400ee7c0
mov qword [rsp + 0x20], r13
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x28], r13
test rbx, rbx
je 0x1400fa90f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400fa90f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400fa90f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov ebx, dword [r14 + 0x88]
lea rdx, str.fence
lea rcx, [rbp - 0x78]
call fcn.14019ec70
mov r9d, ebx
mov r8d, ebx
lea rdx, [r14 + 0xfd8]
mov rcx, rax
call fcn.1400dd260
test al, al
jne 0x1400fa94b
lea rcx, [r14 + 0xfd8]
call fcn.140100080
mov rcx, r14
call fcn.1400ff700
mov rax, qword [r14 + 0xfe0]
mov rcx, r14
cmp qword [r14 + 0xfd8], rax
jne 0x1400fa96d
call fcn.1400edde0
jmp 0x1400fa97d
mov r8, r12
xor r9d, r9d
mov edx, 0xbec
call fcn.14012b090
lea rdx, [r14 + 0x900]
lea rax, [r14 + 0x8d8]
test r14, r14
cmove rax, r13
mov qword [rdx + 0x90], rax
lea rcx, [rdx + 8]
lea r8, str.enum_desktop
call fcn.14009c070
lea r9, [rbp - 0x78]
mov edx, 0xc0d
lea r8d, [rdx - 0x16]
mov rcx, qword [r14 + 0x1038]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400fa9fd
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400fa9fd
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400fa9fd
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x70]
call fcn.1400dc9b0
nop
lea rcx, [rbp - 0x78]
call fcn.14019e6b0
nop
lea rcx, [rbp - 0x28]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x48]
call fcn.14007ec70
xor eax, eax
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret