Function at 0x140249c70
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 [0x140379a08]
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.0x14006c37f.0]
nop
test eax, eax
js 0x14024a08d
mov eax, dword [rsp + 0x40]
or eax, r15d
mov dword [rsp + 0x40], eax
lea ecx, [rbx + 0x2a]
cmp cx, word [rsp + 0x90]
jne 0x140249ec0
cmp bx, word [rsp + 0x92]
jne 0x140249ec0
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 0x140249dac
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx]
mov rcx, qword [rsp + 0x78]
mov qword [rdx], rcx
test rax, rax
je 0x140249dac
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 0x140249dd3
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x140249dcc
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov eax, esi
jmp 0x14024a08d
movzx eax, word [rsp + 0x90]
cmp qword [rsp + 0x48], rbx
je 0x140249e88
test ax, ax
jne 0x140249e88
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.140082784
nop
lea r8, [rsp + 0x60]
lea rdx, [0x1402ff6f0]
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 0x140249e70
mov rcx, qword [rsp + 0x2e8]
mov r9d, eax
lea r8, str.pcshell_shellwindows.ui.shell_broker_tileiconloaderlib_tileiconloader.cpp
mov edx, 0x18b
call fcn.14001eb0c
nop
lea rcx, [rsp + 0x60]
call fcn.140082784
nop
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x14024a08b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x14024a08b
mov r9, r13
mov r8d, r15d
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.14024a694
nop
mov edi, eax
jmp 0x140249e40
cmp ax, 0x40
mov eax, dword [rsp + 0x40]
jne 0x140249e97
or eax, 0x20
jmp 0x140249e9a
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x140249ec3
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 0x140249ec3
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.14024c508
nop
cmp qword [rsp + 0x58], rbx
jne 0x14024a03e
test byte [r14 + 0x14], 0x20
je 0x14024a03e
cmp word [rsp + 0x90], 0x40
je 0x14024a03e
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
nop dword [rax + rax]
nop
test eax, eax
jne 0x14024a03e
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 0x14024a03e
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14024c940
nop
cmp qword [rsp + 0x80], rbx
jne 0x140249f69
jmp 0x140249f6c
mov dil, bl
test dil, dil
jne 0x14024a014
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 0x14024a014
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.14024c508
nop
mov rdi, rax
lea rax, [rsp + 0x58]
cmp rax, rdi
je 0x140249fec
mov rdx, qword [rdi]
lea rcx, [rsp + 0x58]
call fcn.1400572c0
nop
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14024a014
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.14000aadc
nop
jmp 0x14024a03e
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x14024a066
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14024a05f
call qword [sym.imp.USER32.dll_DestroyIcon]
nop dword [rax + rax]
nop
mov eax, 0x80070490
jmp 0x14024a08d
mov r8, r13
mov rcx, qword [r14]
call fcn.1401b6404
nop
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14024a08b
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.1400a2260
nop
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret