Function at 0x140256680
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r13, r9
mov r15d, r8d
mov r12, rdx
mov r14, rcx
xor ebx, ebx
mov qword [r9], rbx
mov byte [rcx + 0x18], bl
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
or dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x40], ebx
mov rax, qword [r12]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov esi, 0x104
mov r9d, esi
lea r8, [rsp + 0x90]
mov edx, r15d
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
nop
test eax, eax
js 0x140256a9d
mov eax, dword [rsp + 0x40]
or eax, r15d
mov dword [rsp + 0x40], eax
lea ecx, [rbx + 0x2a]
cmp cx, word [rsp + 0x90]
jne 0x1402568d0
cmp bx, word [rsp + 0x92]
jne 0x1402568d0
mov ecx, dword [rsp + 0x50]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov dil, 1
mov byte [rsp + 0x80], dil
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x90]
mov edx, esi
call qword [sym.imp.SHELL32.dll_Ordinal_907]
nop dword [rax + rax]
nop
mov esi, eax
cmp byte [rsp + 0x80], bl
je 0x1402567bc
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx]
mov rcx, qword [rsp + 0x78]
mov qword [rdx], rcx
test rax, rax
je 0x1402567bc
mov rcx, rax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
test esi, esi
jns 0x1402567e3
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x1402567dc
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov eax, esi
jmp 0x140256a9d
movzx eax, word [rsp + 0x90]
cmp qword [rsp + 0x48], rbx
je 0x140256898
test ax, ax
jne 0x140256898
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.140081b44
nop
lea r8, [rsp + 0x60]
lea rdx, [0x14030c810]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHCreateItemFromIDList]
nop dword [rax + rax]
nop
mov edi, eax
test eax, eax
jns 0x140256880
mov rcx, qword [rsp + 0x2e8]
mov r9d, eax
lea r8, str.pcshell_shellwindows.ui.shell_broker_tileiconloaderlib_tileiconloader.cpp
mov edx, 0x18b
call fcn.14001e09c
nop
lea rcx, [rsp + 0x60]
call fcn.140081b44
nop
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x140256a9b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x140256a9b
mov r9, r13
mov r8d, r15d
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.1402570a4
nop
mov edi, eax
jmp 0x140256850
cmp ax, 0x40
mov eax, dword [rsp + 0x40]
jne 0x1402568a7
or eax, 0x20
jmp 0x1402568aa
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x1402568d3
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov eax, dword [rsp + 0x40]
jmp 0x1402568d3
mov dil, 1
lea rsi, [r14 + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x50]
lea r8, [rsp + 0x90]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140258f18
nop
cmp qword [rsp + 0x58], rbx
jne 0x140256a4e
test byte [r14 + 0x14], 0x20
je 0x140256a4e
cmp word [rsp + 0x90], 0x40
je 0x140256a4e
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
nop dword [rax + rax]
nop
test eax, eax
jne 0x140256a4e
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
nop
test eax, eax
jne 0x140256a4e
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140259350
nop
cmp qword [rsp + 0x80], rbx
jne 0x140256979
jmp 0x14025697c
mov dil, bl
test dil, dil
jne 0x140256a24
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
nop
test eax, eax
je 0x140256a24
mov eax, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x50]
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r8, qword [rsp + 0x70]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140258f18
nop
mov rdi, rax
lea rax, [rsp + 0x58]
cmp rax, rdi
je 0x1402569fc
mov rdx, qword [rdi]
lea rcx, [rsp + 0x58]
call fcn.140056650
nop
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140256a24
mov qword [rsp + 0x48], rcx
mov rax, qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_DestroyIcon]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x70]
call fcn.14000a8ac
nop
jmp 0x140256a4e
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x140256a76
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140256a6f
call qword [sym.imp.USER32.dll_DestroyIcon]
nop dword [rax + rax]
nop
mov eax, 0x80070490
jmp 0x140256a9d
mov r8, r13
mov rcx, qword [r14]
call fcn.1401c3474
nop
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140256a9b
call qword [sym.imp.USER32.dll_DestroyIcon]
nop dword [rax + rax]
nop
mov eax, edi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400a15a0
nop
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret