Function at 0x4880e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbe98
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x51a3c4]
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
lea eax, [ebp - 0x638]
push eax
call fcn.00488c40
lea eax, [ebp - 0x644]
mov dword [ebp - 4], 0
push eax
call fcn.00489020
push 0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push 2
push eax
call fcn.00488df0
add esp, 0x14
mov esi, dword [ebp - 0x640]
or edi, 0xffffffff
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov byte [ebp - 4], 2
test esi, esi
je 0x488324
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a8e20
add esp, 0xc
lea eax, [ebp - 0x218]
push str.360GameAssistant
push esi
push eax
call ebx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488190
sub ecx, edx
sar ecx, 1
je 0x488324
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x4881c7
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x488324
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a8e20
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x638]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x62c]
push eax
call fcn.00488a70
add esp, 4
mov byte [ebp - 4], 3
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x4884bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x63c], eax
push str.start
push str.from
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 4
push str.___s_s
push eax
call fcn.004760e0
mov esi, dword [ebp - 0x63c]
lea eax, [ebp - 0x628]
push 0
push 0
push esi
push dword [ebp - 0x62c]
push eax
call fcn.004884d0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a8e20
add esp, 0x30
lea eax, [ebp - 0x218]
push dword [ebp - 0x644]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x630]
push eax
call fcn.00488f30
push 0
push 0
push 0
push dword [ebp - 0x630]
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 5
push eax
call fcn.004884d0
mov edx, dword [ebp - 0x630]
add esp, 0x18
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4882e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x488303
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x62c]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x488324
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00488df0
add esp, 0xc
mov esi, dword [ebp - 0x634]
mov byte [ebp - 4], 6
test esi, esi
je 0x488420
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a8e20
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp - 0x638]
push esi
push eax
call ebx
lea eax, [ebp - 0x630]
push eax
call fcn.00488a70
add esp, 4
mov byte [ebp - 4], 7
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x4884c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
push str.desktop
push str.from
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], 8
push str.___s_s
push eax
call fcn.004760e0
mov esi, dword [ebp - 0x62c]
lea eax, [ebp - 0x420]
push 0
push 0
push esi
push dword [ebp - 0x630]
push eax
call fcn.004884d0
add esp, 0x24
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4883f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x630]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48841a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x634]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48843b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x640]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48845c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x644]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48847d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x638]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48849f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004a44be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
int3