Function at 0x405260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513170
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0x13
xor eax, eax
mov dword [ebp - 4], 0
push str.LittlePicViewer.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4052f6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x13
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicUpdate.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x405342
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x16
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicUninstall.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40538e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x12
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicMeans.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4053da
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x14
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicService.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x405426
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x12
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicPoark.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x405472
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x14
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicPoark64.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4054be
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
push 0x11
xor eax, eax
mov dword [ebp - 0x14], 7
push str.LittlePicTool.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x68]
call fcn.00406de0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40550a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
mov ebx, dword [ebp - 0x64]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x68]
mov ecx, ebx
sub ecx, esi
mov dword [ebp - 0x2c], 7
imul ecx
xor ecx, ecx
xor edi, edi
sar edx, 3
mov eax, edx
mov word [ebp - 0x40], cx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
push 0xffffffffffffffff
push ecx
add eax, 0x6c
lea ecx, [ebp - 0x40]
push eax
call fcn.00402060
mov byte [ebp - 4], 9
cmp esi, ebx
je 0x4055f9
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
call fcn.00402060
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x405591
mov edx, dword [esi]
jmp 0x405593
mov edx, esi
cmp word [edx], 0
jne 0x40559d
xor ecx, ecx
jmp 0x4055b4
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4055a2
sub ecx, ebx
mov ebx, dword [ebp - 0x64]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401f30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4055d5
inc edi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x4055ee
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
add esi, 0x18
cmp esi, ebx
jne 0x405560
xor ebx, ebx
cmp edi, dword [ebp - 0x6c]
jl 0x405671
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
mov ebx, 1
call fcn.00414615
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0x58]
cmp esi, 8
push 2
push 0x519db4
push dword [ebp - 0x48]
cmovae eax, edi
mov byte [ebp - 4], 0xb
push eax
call fcn.004064a0
add esp, 0x10
test eax, eax
je 0x40565b
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
add ecx, 0x150
cmp ecx, eax
je 0x40565b
push 0xffffffffffffffff
push 0
push eax
call fcn.00402060
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
mov byte [ebp - 4], 9
cmp esi, 8
jb 0x405671
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.00402280
mov ecx, dword [ebp - 0x5c]
push ebx
push str.84c83
push str.AppSetting
call fcn.004163a5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x405699
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402280
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413012
mov esp, ebp
pop ebp
ret