Function at 0x4301d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f618
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4921d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x498dec], 1
mov ebx, 0x47eaf4
jne 0x43022c
or dword [0x498dec], 1
mov dword [ebp - 4], 0
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x498e10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x498dec], al
jne 0x430278
or dword [0x498dec], eax
mov byte [ebp - 4], 2
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
or esi, 0xffffffff
push eax
mov dword [ebp - 4], esi
call fcn.0040efa0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 3
call fcn.004060a0
add esp, 8
mov ebx, dword [ebp + 8]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00430ab0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4302cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4302ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 0x47bd18
call fcn.004060a0
add esp, 8
mov esi, eax
mov ebx, 5
mov eax, 1
mov dword [ebp - 4], ebx
test byte [0x498dec], al
jne 0x430332
or dword [0x498dec], eax
mov byte [ebp - 4], 6
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push 0x498e10
push edx
mov ebx, esi
call fcn.00407390
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x47eaf4
mov byte [ebp - 4], 7
call fcn.004060a0
add esp, 0x10
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43037b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43039e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4303b1
test al, 0x10
je 0x4303d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4305e0
lea esi, [edi + 4]
lea ecx, [ebp - 0x18]
push esi
push ecx
mov ebx, str.Funshop4.ico
call fcn.004060a0
add esp, 8
push str.INTERNET_SHORTCUT_SHOP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00401c60
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.004307f0
lea ecx, [ebp - 0x14]
push str.http:__shop.funshion.com_door.php_sourcedesktop1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040b610
add esp, 8
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
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 0x430463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47bfe0
lea ecx, [ebp - 0x24]
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00401c60
mov bl, 0x12
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x4304af
or dword [0x498dec], 1
mov byte [ebp - 4], 0x13
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
mov edx, dword [edi]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push 0x498e10
push ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call edx
test eax, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4304ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test bl, bl
je 0x43059d
test edx, edx
jg 0x430547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x430588
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 esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edx, edx
jg 0x4305ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4305cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4305ec
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 esi
pop ebx
mov esp, ebp
pop ebp
ret 4