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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46aabe
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x48d1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x4938a4], 1
mov ebx, 0x47afac
jne 0x42e26c
or dword [0x4938a4], 1
mov dword [ebp - 4], 0
call fcn.0040d310
push 0x46f4b0
call fcn.0044919e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4938c8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004018a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x4938a4], al
jne 0x42e2b8
or dword [0x4938a4], eax
mov byte [ebp - 4], 2
call fcn.0040d310
push 0x46f4b0
call fcn.0044919e
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
or esi, 0xffffffff
push eax
mov dword [ebp - 4], esi
call fcn.0040d690
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 3
call fcn.0040a210
add esp, 8
push eax
push edi
mov byte [ebp - 4], 4
call fcn.0042ebb0
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 0x42e308
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 0x42e327
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, 0x4776cc
call fcn.0040a210
add esp, 8
mov esi, eax
mov ebx, 5
mov eax, 1
mov dword [ebp - 4], ebx
test byte [0x4938a4], al
jne 0x42e36f
or dword [0x4938a4], eax
mov byte [ebp - 4], 6
call fcn.0040d310
push 0x46f4b0
call fcn.0044919e
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push 0x4938c8
push edx
mov ebx, esi
call fcn.0040a160
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x47afac
mov byte [ebp - 4], 7
call fcn.0040a210
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 0x42e3b8
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 0x42e3dc
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 0x42e3ef
test al, 0x10
je 0x42e40e
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 0x42e68f
mov eax, 1
test byte [0x4938a4], al
jne 0x42e43a
or dword [0x4938a4], eax
mov byte [ebp - 4], 0xb
call fcn.0040d310
push 0x46f4b0
call fcn.0044919e
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
push 0x4938c8
push ecx
mov ebx, 0x47afac
call fcn.0040a210
add esp, 8
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.0042ebb0
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 0x42e47e
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.0040a210
add esp, 8
push str.INTERNET_SHORTCUT_SHOP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00401f10
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0042e8f0
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.0040a2f0
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 0x42e4f1
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 0x42e514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x477604
lea ecx, [ebp - 0x24]
call fcn.00401f10
push 0x477604
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00401f10
mov bl, 0x14
mov byte [ebp - 4], bl
test byte [0x4938a4], 1
jne 0x42e560
or dword [0x4938a4], 1
mov byte [ebp - 4], 0x15
call fcn.0040d310
push 0x46f4b0
call fcn.0044919e
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 0x4938c8
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 0x42e5ae
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 0x42e5d0
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 0x42e64c
test edx, edx
jg 0x42e5f6
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 0x42e618
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 0x42e637
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 0x42e65a
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 0x42e67c
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 0x42e69b
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