Function at 0x452580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498f6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
cmp dword [ebp + 8], 0
je 0x4525b9
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4525b9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4525c0
xor eax, eax
jmp 0x4528a8
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x190
mov dword [ebp - 0x1c], 0x190
mov dword [ebp - 0x18], 7
cmp dword [ebp + 0xc], 0
jne 0x452617
push 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
movzx edx, byte [ebp - 0xd]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00452410
add esp, 0x20
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x452624
xor eax, eax
jmp 0x4528a8
lea ecx, [ebp - 0x70]
call fcn.0041e380
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x70]
push ecx
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0040dd70
call fcn.00420210
add esp, 0x28
push 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00450880
add esp, 0x1c
mov dword [ebp - 0x14], 0
push 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004521b0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x452832
push 0x4b6630
push 0x4b6678
call fcn.00454b60
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00452220
add esp, 0x10
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0x4b66c8
push str._s:CmFindListViewInExplorer_ptSmall_d__d_ptNormal_d__d__succeed
call fcn.00454b60
add esp, 0x18
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452c50
add esp, 0x3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x452830
push 0
push 0
push 0
lea edx, [ebp - 0x40]
push edx
push 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00452c50
add esp, 0x3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x452830
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
push ecx
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00452c50
add esp, 0x3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x452830
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452c50
add esp, 0x3c
mov dword [ebp - 0x14], eax
jmp 0x452844
push str.CJHProcRunHelper::CmRunProcessEx2
push 0x4b67e0
call fcn.00454b60
add esp, 8
cmp dword [ebp - 0x14], 0
je 0x452864
cmp dword [ebp + 0x10], 0
je 0x45285a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
jmp 0x452864
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x45287a
push 0x32
push 3
mov edx, dword [ebp + 0xc]
push edx
call fcn.00450a10
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x452889
mov dword [ebp - 0x30], 1
jmp 0x452890
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00423720
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret