Function at 0x496fc0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4fb0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov dword [esp + 0x118], ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x64]
mov byte [esp + 0x118], 1
call fcn.0044a000
push ebp
lea ecx, [esp + 0x100]
mov byte [esp + 0x11c], 2
call fcn.0044e9a0
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x11c], 3
call fcn.0044e9a0
push ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 4
call fcn.0044e9a0
mov bl, 5
mov ecx, esi
mov byte [esp + 0x118], bl
call fcn.00443570
push eax
call dword [sym.imp.MSVCRT.dll_rand]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x124]
fild dword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0x30]
fmul qword [0x503f28]
fstp qword [esp]
push eax
push str.http:__r.qzone.qq.com_cgi_bin_tfriend_friend_show_qqfriends.cgi_uin_ufollow_flag0rd_lfg_tk_u
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.http:__cnc.qzs.qq.com_qzone_setting_visit.html
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x138], 6
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x2c]
mov byte [esp + 0x134], bl
push eax
call fcn.0040b4c0
add esp, 0x20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 7
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x118], bl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push str._Callback_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
xor ecx, ecx
cmp eax, ebp
setge cl
cmp ecx, ebp
mov dword [esp + 0x10], ecx
je 0x497420
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
add eax, 0xa
sub ecx, 0xd
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
mov al, byte [esp + 0x2b]
mov byte [esp + 0x34], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0xfc]
push 1
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x124], 9
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x118], bl
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x10], edi
je 0x4971e9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4971e0
cmp al, 0xff
je 0x4971e0
dec al
mov byte [ecx], al
jmp 0x4971e9
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebp
je 0x497420
push str.items
lea ecx, [esp + 0x100]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x58]
call fcn.0044f040
lea ecx, [esp + 0x54]
call fcn.0044f140
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x497420
mov ecx, dword [esi + 0xa4]
lea ebp, [esi + 0xa0]
xor edi, edi
cmp ecx, edi
jne 0x49724e
mov dword [esp + 0x1c], edi
jmp 0x49725a
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], edi
jle 0x4972a7
jmp 0x497266
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0xa4]
mov esi, dword [eax + edi*4]
test esi, esi
mov dword [esp + 0x20], esi
je 0x49729e
lea ecx, [esi + 4]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x497262
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
cmp ecx, ecx
mov eax, ecx
je 0x4972c1
mov esi, dword [eax]
add eax, 4
mov dword [edx], esi
add edx, 4
cmp eax, ecx
jne 0x4972b3
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [ebp + 8], edx
call fcn.0044fc80
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x49741e
push esi
lea ecx, [esp + 0x58]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x48]
call fcn.0044f040
push 0x10
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10c], edi
test edi, edi
mov byte [esp + 0x118], 0xb
je 0x497330
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 4]
mov byte [esp + 0x118], 0xc
call sub.MFC42.DLL_CString::CString_4
mov eax, edi
jmp 0x497332
xor eax, eax
push 0x526278
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], bl
mov dword [esp + 0x1c], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + 8], eax
push str.yellow
lea ecx, [esp + 0x48]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x44]
push str.name
mov dword [edx + 0xc], eax
call fcn.0044fea0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040c8b0
add esp, 8
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x11c], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
push 0x52c848
lea ecx, [esp + 0x48]
call fcn.0044fea0
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
mov edx, dword [esp + 0x18]
push eax
mov byte [esp + 0x11c], 0xe
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 1
mov eax, dword [eax + 0xa8]
mov ecx, ebp
push eax
call fcn.0047f0e0
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x4972e2
xor ebp, ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 4
call fcn.0044eec0
lea ecx, [esp + 0x54]
mov byte [esp + 0x118], 3
call fcn.0044eec0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x118], 2
call fcn.0044eec0
mov eax, dword [esp + 0xec]
mov byte [esp + 0x118], 0xf
cmp eax, ebp
je 0x497486
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49747d
cmp al, 0xff
je 0x49747d
dec al
mov byte [ecx], al
jmp 0x497486
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xec], ebp
cmp ecx, ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], ebp
je 0x4974c1
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4974b8
cmp al, 0xff
je 0x4974b8
dec al
mov byte [ecx], al
jmp 0x4974c1
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc8], ebp
cmp eax, ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
je 0x497537
mov ecx, dword [esp + 0xa0]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xa4], ecx
lea ecx, [eax + 0xc]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xc0]
dec eax
mov dword [esp + 0xc0], eax
je 0x497522
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
cmp edx, eax
jne 0x49752e
lea ecx, [esp + 0x94]
call fcn.0042c550
cmp dword [esp + 0xc0], ebp
jne 0x4974e1
mov eax, dword [esp + 0x90]
mov byte [esp + 0x118], 1
cmp eax, ebp
je 0x497615
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x90]
add ecx, 4
dec eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], eax
je 0x497578
mov eax, ecx
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jne 0x497608
mov ecx, dword [esp + 0x74]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x74], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x94]
add esp, 4
cmp eax, ebp
jne 0x4975ec
lea ecx, [esp + 0x34]
call fcn.004051c0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x68], eax
push ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x497608
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x90], ebp
jne 0x49754e
lea ecx, [esp + 0x14]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 4