Function at 0x4252e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4966f6
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4d7204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
call fcn.00401da0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00404db0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4253e3
lea ecx, [ebp - 0x64]
push ecx
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.00401da0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x6c
push eax
push str.DoTask:
lea ecx, [ebp - 0x10c]
call fcn.00404010
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
call fcn.00401970
mov ecx, eax
call fcn.00401a10
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
call fcn.00405070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00404db0
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
call fcn.00405e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425411
mov ecx, dword [ebp - 0x14]
call fcn.0040aaa0
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
call fcn.00422e70
jmp 0x4254e9
lea eax, [ebp - 0x6c]
push eax
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
call fcn.00401da0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00404db0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x4254e9
lea ecx, [ebp - 0x74]
push ecx
call fcn.0042a2f0
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
call fcn.00401da0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, 0x54
push eax
push str.TrayPath_not_exist.
lea ecx, [ebp - 0x1a4]
call fcn.00404010
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x54]
call fcn.00401970
mov ecx, eax
call fcn.00401a10
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.00405070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00404db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret