Function at 0x40e33e
Capabilities:
Check if file exists

Disassembly:
push 0x1a8
mov eax, 0x58bdc0
call fcn.004321e7
mov esi, ecx
cmp dword [esi + 4], 0
mov ebx, dword [ebp + 8]
ja 0x40e500
lea eax, [ebp - 0x12c]
push eax
call fcn.0040e301
xor eax, eax
mov dword [ebp - 0x134], 0xf
push 1
push 0x5908d4
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x148], al
call fcn.004060c7
push 1
push 0x590d18
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00405d66
push 1
push 0x590d1c
lea ecx, [ebp - 0x148]
call fcn.00405d66
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x148]
push eax
call fcn.00405d66
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp - 0x148]
push eax
call edi
test eax, eax
jne 0x40e4bd
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0044b1c0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0040e0b4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
and dword [ebp - 0x138], 0
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
cmovae eax, dword [ebp - 0x148]
mov byte [eax], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e469
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.00405d66
push 1
push 0x590d1c
lea ecx, [ebp - 0x148]
call fcn.00405d66
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x148]
push eax
call fcn.00405d66
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
call edi
test eax, eax
je 0x40e4e6
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00412b1d
lea ecx, [ebp - 0x148]
call fcn.004061ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.004061ca
lea eax, [ebp - 0x190]
push 0x590d20
push eax
call fcn.00415877
pop ecx
pop ecx
mov edi, 0x3a8
mov dword [ebp - 4], 2
push edi
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00404085
lea eax, [ebp - 0x178]
push eax
call fcn.00409c7e
add esp, 0x20
push edi
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x190]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00405f07
lea eax, [ebp - 0x160]
push eax
call fcn.00409c7e
add esp, 0x20
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0040c1d2
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x199]
push ecx
add eax, 0x28
lea ecx, [ebp - 0x1b4]
push eax
call fcn.0040a578
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 6
call fcn.004061ca
cmp dword [ebp - 0x1b0], 0
jbe 0x40e5ee
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.0040c165
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x199]
add eax, 0x28
push eax
call fcn.00410cbd
mov esi, dword [ebp - 0x1a8]
jmp 0x40e960
and dword [ebp - 0x198], 0
lea ecx, [ebp - 0x198]
and dword [ebp - 0x194], 0
call fcn.00401ed5
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 7
push str.INI_HTTP_CACHE_POPUP_ID_ARRAY
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
push 0xa
pop edi
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_HTTP_CLOUD_REPEAT_TASK_ID_ARRAY
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_TIMER_CLOUD_TASK_LOOP_TIMER
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
push 0x1e
pop esi
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_HTTP_CACHE_ON_TIMER_POPUP_ID_ARRAY
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_HTTP_CACHE_SCREENSAVER_WP_INFO
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
xor edi, edi
lea eax, [ebp - 0x1a4]
push edi
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_TIMER_RIGHT_CLICK_AND_DESKTOP
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
mov dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push edi
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
lea eax, [ebp - 0x160]
push str.INI_TIMER_POPUP_DISPATCH_REPORT
push eax
call fcn.00415729
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004041f9
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x198]
call fcn.0040af7f
push eax
add eax, 0x10
lea ecx, [ebp - 0x198]
push eax
push edi
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402db4
lea ecx, [ebp - 0x130]
call fcn.00406253
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00406253
push ebx
lea ecx, [ebp - 0x160]
call fcn.00404085
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x198]
call fcn.00412066
lea ecx, [ebp - 0x160]
call fcn.00406253
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x198]
mov esi, dword [eax + 0x28]
call fcn.00403d95
lea ecx, [ebp - 0x1b4]
call fcn.0040d27b
lea ecx, [ebp - 0x178]
call fcn.004061ca
lea ecx, [ebp - 0x190]
call fcn.00406253
mov eax, esi
call fcn.00432191
ret 4