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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48670e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4b81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x4c3628], 1
mov ebx, 0x498cd4
jne 0x42c9bc
or dword [0x4c3628], 1
mov dword [ebp - 4], 0
call fcn.0040f7c0
push 0x48d4d0
call fcn.0046219f
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4c364c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004015d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x4c3628], al
jne 0x42ca08
or dword [0x4c3628], eax
mov byte [ebp - 4], 2
call fcn.0040f7c0
push 0x48d4d0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
or esi, 0xffffffff
push eax
mov dword [ebp - 4], esi
call fcn.0040fb40
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 3
call fcn.00406660
add esp, 8
push eax
push edi
mov byte [ebp - 4], 4
call fcn.0042d300
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 0x42ca58
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 0x42ca77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
push edi
push ecx
mov ebx, 0x496048
call fcn.00406660
add esp, 8
mov esi, eax
mov ebx, 5
mov eax, 1
mov dword [ebp - 4], ebx
test byte [0x4c3628], al
jne 0x42cabf
or dword [0x4c3628], eax
mov byte [ebp - 4], 6
call fcn.0040f7c0
push 0x48d4d0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push 0x4c364c
push edx
mov ebx, esi
call fcn.00407820
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x498cd4
mov byte [ebp - 4], 7
call fcn.00406660
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 0x42cb08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0xa
mov byte [ebp - 4], bl
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 0x42cb2c
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 0x42cb3f
test al, 0x10
je 0x42cb5e
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 0x42cddf
mov eax, 1
test byte [0x4c3628], al
jne 0x42cb8a
or dword [0x4c3628], eax
mov byte [ebp - 4], 0xb
call fcn.0040f7c0
push 0x48d4d0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
push 0x4c364c
push ecx
mov ebx, 0x498cd4
call fcn.00406660
add esp, 8
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.0042d300
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cbce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 4
lea ecx, [ebp - 0x18]
push esi
push ecx
mov ebx, str.Funshop4.ico
call fcn.00406660
add esp, 8
push str.INTERNET_SHORTCUT_SHOP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00401c40
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0042d040
lea ecx, [ebp - 0x14]
push str.http:__shop.funshion.com_door.php_sourcedesktop1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0040bab0
add esp, 8
mov byte [ebp - 4], 0x11
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 0x42cc41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
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 0x42cc64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x496310
lea ecx, [ebp - 0x24]
call fcn.00401c40
push 0x496310
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00401c40
mov bl, 0x14
mov byte [ebp - 4], bl
test byte [0x4c3628], 1
jne 0x42ccb0
or dword [0x4c3628], 1
mov byte [ebp - 4], 0x15
call fcn.0040f7c0
push 0x48d4d0
call fcn.0046219f
add esp, 4
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push 0x4c364c
push edi
lea eax, [ebp - 0x14]
push eax
call edx
test eax, eax
mov byte [ebp - 4], 0x13
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 0x42ccfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
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 0x42cd20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
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 0x42cd9c
test edx, edx
jg 0x42cd46
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 0x42cd68
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 0x42cd87
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 0x42cdaa
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 0x42cdcc
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 0x42cdeb
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