Function at 0x41a280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 0xd4], 0
jne 0x41a68f
push 0
push str.totalskin.txt
mov dword [edi + 0xd4], 1
call fcn.00469a30
add esp, 8
lea ecx, [ebp - 0x18]
push eax
call fcn.004016a0
push dword [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ebx, [edi + 0xd8]
push ebx
test eax, eax
jne 0x41a343
push str.http:__www.cfxy.me_totalskin.txt
call fcn.004658e0
add esp, 8
test eax, eax
je 0x41a336
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
test eax, eax
jne 0x41a310
call fcn.0044e19c
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x41a34e
push str.DOCTYPE_html_PUBLIC
push eax
call fcn.0044cda3
add esp, 8
test eax, eax
je 0x41a34e
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x41a34e
push ebx
push str.http:__www.qqtmpf.com_totalskin.txt
call fcn.004658e0
jmp 0x41a34b
push dword [ebp - 0x18]
call fcn.0041a0c0
add esp, 8
push 4
call fcn.00429324
add esp, 4
test eax, eax
je 0x41a363
lea ecx, [ebp - 0x40]
mov dword [eax], ecx
jmp 0x41a365
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
xor esi, esi
sar eax, 2
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esi
test eax, eax
je 0x41a53f
cmp esi, eax
jb 0x41a3a0
call fcn.0044e19c
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x40]
push ecx
push 0x47d944
push dword [eax + esi*4]
call fcn.00469c70
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sub eax, esi
sar eax, 2
add esp, 0xc
test eax, eax
jne 0x41a3ce
call fcn.0044e19c
mov esi, dword [ebp - 0x34]
mov esi, dword [esi]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x41a3f6
cmp ecx, dword [esi - 0x10]
jne 0x41a3f6
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41a42f
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x41a5b5
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov edx, dword [esi - 0xc]
lea ecx, [edi + 0x10]
lea eax, [edx*2 + 2]
push eax
push esi
lea eax, [edx*2 + 2]
push eax
push ecx
call fcn.0044ccaa
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
add esi, 0xf0
mov byte [ebp - 4], 3
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x41a44d
xor ecx, ecx
jmp 0x41a455
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov eax, edi
sub eax, edx
sar eax, 2
cmp eax, ecx
jae 0x41a488
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
lea eax, [esi + 8]
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push edi
call fcn.00401440
lea eax, [edi + 4]
add esp, 0x18
mov dword [esi + 0x10], eax
jmp 0x41a4a3
cmp edx, edi
jbe 0x41a491
call fcn.0044e19c
lea eax, [ebp - 0x10]
push eax
push edi
push dword [esi]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040b570
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a4c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x41a4d9
mov eax, dword [ecx + 4]
jmp 0x41a4e7
test eax, eax
jne 0x41a4e5
call fcn.0044e19c
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00402a30
mov edi, dword [ebp - 0x14]
add esp, 4
lea esi, [eax + 0x10]
push esi
push 0
push 0x143
push dword [edi + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a527
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov esi, dword [ebp - 0x1c]
inc esi
sar eax, 2
mov dword [ebp - 0x1c], esi
cmp esi, eax
jb 0x41a3a0
push 0
push 0
push 0x146
push dword [edi + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x41a599
push 0
push 0
push 0x14e
push dword [edi + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x100]
sub eax, dword [edi + 0xfc]
sar eax, 2
test eax, eax
jne 0x41a585
call fcn.0044e19c
mov eax, dword [edi + 0xfc]
mov ecx, edi
push dword [eax]
push 0x3f3
call fcn.00435670
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41a5ba
push 0x80004005
call fcn.00402670
call fcn.00409190
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.http:__www.qqtmpf.com
lea eax, [ebp - 0x1c]
push str._T_uQ
push eax
mov byte [ebp - 4], 4
call fcn.00405230
mov esi, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, edi
push esi
call fcn.00435784
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a60c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 5
test esi, esi
je 0x41a64e
mov edi, dword [ebp - 0x30]
cmp esi, edi
je 0x41a645
mov edi, edi
mov edx, dword [esi]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a63b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x41a620
mov esi, dword [ebp - 0x34]
push esi
call fcn.00429353
add esp, 4
push dword [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00429353
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41a68f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret