Function at 0x4c84b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b4518
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0x14]
call fcn.0052fe90
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4c8510
mov ecx, 0x104
mov eax, esi
call fcn.00406a80
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..._flashApp.exe
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0058a3a5
add esp, 8
cmp eax, ebx
jl 0x4c87a4
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x4c87a4
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x14]
push eax
call ebp
test eax, eax
je 0x4c85ac
lea eax, [esp + 0x14]
call fcn.00406500
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8593
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x18]
push ecx
call fcn.0052fc60
add esp, 4
mov byte [esp + 0x28], 1
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4c85e8
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00406a80
mov edx, dword [esp + 0x18]
push str...wallpaper360wpapp.exe
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0058a3a5
add esp, 8
cmp eax, ebx
jl 0x4c87a4
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x4c87a4
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x18]
push edx
call ebp
test eax, eax
je 0x4c8664
lea eax, [esp + 0x18]
call fcn.00406500
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c856b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c856b
lea ecx, [esp + 0x1c]
push ecx
call fcn.0052fc60
add esp, 4
mov byte [esp + 0x28], 2
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4c86a0
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.00406a80
mov edx, dword [esp + 0x1c]
push str...wallpaper_flashApp.exe
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0058a3a5
add esp, 8
cmp eax, ebx
jl 0x4c87a4
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx - 8]
jg 0x4c87a4
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x1c]
push edx
call ebp
test eax, eax
je 0x4c871d
lea eax, [esp + 0x1c]
call fcn.00406500
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c8637
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8766
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c878e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00406af0
int3