Function at 0x1400b43b0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
test edx, edx
jne 0x1400b4415
mov rcx, qword [rcx + 0x488]
test rcx, rcx
je 0x1400b4415
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b4415
mov rax, qword [rbx + 0x488]
jmp 0x1400b4827
mov rcx, qword [0x140460250]
sub rcx, qword [0x140460248]
movabs r8, 0xe38e38e38e38e39
mov rax, r8
imul rcx
sar rdx, 1
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x1400b4825
mov rcx, qword [0x140460300]
sub rcx, qword [0x1404602f8]
mov rax, r8
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400b4825
mov rcx, rbx
call fcn.1400b6820
test eax, eax
jne 0x1400b4825
cmp dword [rbx + 0x490], eax
jne 0x1400b4825
cmp dword [rbx + 0x4a4], eax
jne 0x1400b4825
cmp dword [rbx + 0x494], eax
jne 0x1400b4825
mov rcx, qword [rbx + 0x480]
test rcx, rcx
je 0x1400b4825
call fcn.140084d80
test eax, eax
jne 0x1400b4825
mov rcx, qword [rbx + 0x480]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b4825
mov rdi, qword [rbx + 0x480]
mov rcx, rbx
call fcn.1400b3e40
mov rsi, rax
test rax, rax
je 0x1400b4673
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b4673
xor ecx, ecx
call fcn.14004bc80
mov rbx, rax
mov rcx, rsi
call fcn.14004bc80
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rdx, rsi
mov rcx, rbx
call fcn.14027c4d8
test eax, eax
jne 0x1400b453d
mov rdi, rsi
jmp 0x1400b4673
mov rcx, rdi
call fcn.140084d80
test eax, eax
jne 0x1400b4673
mov rcx, rdi
call fcn.14004bc80
mov r15, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, r15
call fcn.140084d80
test eax, eax
jne 0x1400b4673
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
call fcn.1400b40f0
mov rsi, qword [rsp + 0x58]
mov rax, rsi
mov r14, qword [rsp + 0x50]
sub rax, r14
sar rax, 5
test rax, rax
je 0x1400b464f
mov r9, rdi
lea r8, [0x14033a7b8]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14004ebd0
mov rbx, r14
cmp r14, rsi
je 0x1400b45fa
nop word [rax + rax]
cmp qword [rbx + 0x18], 8
jb 0x1400b45dc
mov rcx, qword [rbx]
jmp 0x1400b45df
mov rcx, rbx
xor r8d, r8d
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x1400b464f
add rbx, 0x20
cmp rbx, rsi
jne 0x1400b45d0
mov r9, r15
lea r8, [0x14033a898]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14004ebd0
mov rbx, r14
cmp r14, rsi
je 0x1400b464f
nop dword [rax + rax]
cmp qword [rbx + 0x18], 8
jb 0x1400b462c
mov rcx, qword [rbx]
jmp 0x1400b462f
mov rcx, rbx
xor r8d, r8d
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x1400b464c
add rbx, 0x20
cmp rbx, rsi
jne 0x1400b4620
jmp 0x1400b464f
mov rdi, r15
test r14, r14
je 0x1400b4673
mov rdx, rsi
mov rcx, r14
call fcn.1400568e0
mov r8, qword [rsp + 0x60]
sub r8, r14
sar r8, 5
mov rdx, r14
call fcn.140056760
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400b4687
xor edi, edi
jmp 0x1400b4820
test rdi, rdi
je 0x1400b4820
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b4820
mov rcx, rdi
call fcn.14004bc80
mov rsi, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
test rsi, rsi
je 0x1400b4820
mov rcx, rdi
call fcn.14004bc80
mov rbx, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test rbx, rbx
je 0x1400b4820
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1400b4820
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b4820
mov r8d, 1
lea rdx, str.:_Recycle.Bin_:_Recycle.Bin_:Windows_:Windows_:Users_:Documents_and_Settings_:ProgramData_:ProgramDataPackages_:ProgramDataPackages_:Program_Files__x86__:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft_:Program_Files__x86_Windows_:Program_Files__x86_Windows_:Program_Files__x86_Windows_:Program_Files__x86_Windows_:Program_Files__x86_Common_Files_:Program_Files__x86_Common_Files_:Program_Files_:Program_FilesMicrosoft_:Program_FilesMicrosoft_:Program_FilesMicrosoft_:Program_FilesMicrosoft_:Program_FilesWindows_:Program_FilesWindows_:Program_FilesWindows_:Program_FilesWindows_:Program_FilesWindowsCommon_Files_:Program_FilesWindowsCommon_Files_:Program_FilesWindowsApps_:Program_FilesWindowsApps_:UsersAppDataLocal_:UsersAppDataLocalOneDrive_:UsersAppDataLocalOneDrive_:UsersAppDataLocalPackages_:UsersAppDataLocalPackages_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalLow_:UsersAppDataLocalLowMicrosoft_:UsersAppDataLocalLowMicrosoft_:UsersAppDataLocalLowMicrosoft_:UsersAppDataLocalLowMicrosoft_:UsersAppDataRoaming_:UsersAppDataRoamingMicrosoft_:UsersAppDataRoamingMicrosoft_:UsersAppDataRoamingMicrosoft_:UsersAppDataRoamingMicrosoft_:UsersAppData_:UsersDocuments_:UsersDesktop_:UsersDesktop_:UsersOneDrive_:UsersOneDrive_
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x1400b4820
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea edx, [rax + 1]
lea r8d, [rax + 3]
mov rcx, rbx
call fcn.1400526c0
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400b4763
lea r9, [rsp + 0x50]
mov r8, rbx
lea rdx, [0x1400b4220]
mov rcx, rax
call fcn.140052980
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x58]
mov rax, r15
mov r14, qword [rsp + 0x50]
sub rax, r14
sar rax, 5
cmp rax, 1
jne 0x1400b47fa
cmp word [rsi], 0
jne 0x1400b4788
xor r9d, r9d
jmp 0x1400b479b
or r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [rsi + r9*2], 0
jne 0x1400b4790
cmp qword [r14 + 0x18], 8
jb 0x1400b47a7
mov rcx, qword [r14]
jmp 0x1400b47aa
mov rcx, r14
mov r8, rsi
mov rdx, qword [r14 + 0x10]
call fcn.1400570a0
test eax, eax
jne 0x1400b47fa
mov rcx, rbx
call fcn.14004bc80
mov rdi, rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b47ef
mov rdx, qword [rsp + 0x58]
call fcn.1400568e0
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
sub r8, rdx
sar r8, 5
call fcn.140056760
test rdi, rdi
jne 0x1400b4690
jmp 0x1400b4820
test r14, r14
je 0x1400b4820
mov rdx, r15
mov rcx, r14
call fcn.1400568e0
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
sub r8, rdx
sar r8, 5
call fcn.140056760
mov rax, rdi
jmp 0x1400b4827
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret