Function at 0x420580
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499a60
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, 0x4af298
call fcn.004066b0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4205e0
test al, 0x10
jne 0x4205e0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esi + 4]
lea ecx, [ebp - 0x18]
push edi
push ecx
mov ebx, str.FunshionGame2.ico
call fcn.004066b0
add esp, 8
push str.INTERNET_SHORTCUT_GAME
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401c90
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00420bf0
lea ecx, [ebp - 0x14]
push str.http:__game.funshion.com_door.php_sourcedesktop
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040b5a0
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x4aac6c
call fcn.00401c90
mov byte [ebp - 4], 8
mov eax, dword [edi]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x2c], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4aef28
call fcn.00401c90
push ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x34], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp + 8], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [eax]
add esp, 4
mov ecx, esi
mov byte [ebp - 4], 6
call edx
or edx, 0xffffffff
mov byte [ebp - 4], 1
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x420799
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42073b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42075e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420784
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4