Function at 0x497660
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4fb217
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x44], ebp
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x80]
mov byte [esp + 0x140], 3
call fcn.0044a000
push edi
lea ecx, [esp + 0x12c]
mov byte [esp + 0x144], 4
mov dword [esp + 0x14], edi
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x144], 5
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x144], 6
call fcn.0044e9a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 7
call fcn.00463770
push ecx
mov byte [esp + 0x144], 8
mov ecx, esp
mov dword [esp + 0x18], esp
push str.invite
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x148], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x52c978
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 8
call fcn.004637f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.fetchqq
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x148], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x52c96c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 8
call fcn.004637f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dwUin
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x148], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push str.token_uin
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 8
call fcn.004637f0
mov ecx, ebp
call fcn.00443570
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.g_tk
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x44]
call fcn.00463980
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 0xc
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
push edi
push edi
push 1
lea ecx, [esp + 0x2c]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.http:__api.pengyou.com_p.htm
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x15c], 0xd
mov ecx, esp
mov dword [esp + 0x34], esp
push str.http:__api.pengyou.com_index.php
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x15c], 8
push ecx
call fcn.0040b4c0
add esp, 0x20
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
mov dl, byte [esp + 0x3b]
mov esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x28], dl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x497917
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x128]
push 1
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x14c], 0xf
call fcn.0044a090
and eax, 0xff
xor edi, edi
mov ebx, eax
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov byte [esp + 0x140], 8
je 0x497970
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x497967
cmp al, 0xff
je 0x497967
dec al
mov byte [ecx], al
jmp 0x497970
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebx, edi
je 0x497d7f
push str.result
lea ecx, [esp + 0x12c]
call fcn.0044fea0
mov ecx, eax
call fcn.0044f140
xor ecx, ecx
cmp eax, 7
sete cl
mov eax, ecx
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x497d7b
push str.friend_is_reg
push str.result
lea ecx, [esp + 0x130]
call fcn.0044fea0
mov ecx, eax
call fcn.0044fea0
push eax
lea ecx, [esp + 0x11c]
call fcn.0044f040
lea ecx, [esp + 0x118]
call fcn.0044f140
xor edx, edx
cmp eax, 6
sete dl
mov eax, edx
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x497d7b
mov eax, dword [ebp + 0xb4]
lea esi, [ebp + 0xb0]
cmp eax, edi
jne 0x497a11
xor ebp, ebp
jmp 0x497a19
mov ebp, dword [esi + 8]
sub ebp, eax
sar ebp, 2
xor ebx, ebx
test ebp, ebp
jle 0x497a71
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0xb4]
mov edi, dword [eax + ebx*4]
test edi, edi
mov dword [esp + 0x14], edi
je 0x497a6c
lea ecx, [edi + 8]
mov byte [esp + 0x140], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov byte [esp + 0x140], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x497a1f
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
cmp ecx, ecx
mov eax, ecx
je 0x497a8b
mov edi, dword [eax]
add eax, 4
mov dword [edx], edi
add edx, 4
cmp eax, ecx
jne 0x497a7d
mov ecx, dword [esi + 8]
mov dword [esi + 8], edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x118]
call fcn.0044fc80
mov ebp, eax
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x48], ebx
jle 0x497d79
push ebx
lea ecx, [esp + 0x11c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x74]
call fcn.0044f040
lea ecx, [esp + 0x70]
call fcn.0044f140
cmp eax, 7
jne 0x497d6c
push 0x10
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x140], 0x12
je 0x497b25
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 4]
mov byte [esp + 0x140], 0x13
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x140], 0x14
call sub.MFC42.DLL_CString::CString_4
mov eax, edi
jmp 0x497b27
xor eax, eax
push str.hash
lea ecx, [esp + 0x74]
mov byte [esp + 0x144], 8
mov dword [esp + 0x14], eax
call fcn.0044fea0
lea edx, [esp + 0x60]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x144], 0x15
lea ecx, [eax + 8]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x60]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
push str.realname
lea ecx, [esp + 0x74]
call fcn.0044fea0
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0x144], 0x16
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
push str.logo
lea ecx, [esp + 0x74]
call fcn.0044fea0
lea edx, [esp + 0x68]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x144], 0x17
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x68]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [edx + 0xb8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x497ce0
mov edx, dword [esi + 4]
test edx, edx
je 0x497c32
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x497c37
mov ecx, 1
test edx, edx
jne 0x497c3f
xor eax, eax
jmp 0x497c44
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x18], eax
jge 0x497c50
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.004b1440
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, esi
call fcn.004b1410
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.004b1440
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.004a9290
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x1c]
add esp, 4
lea eax, [ebp + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x497cc1
xor ecx, ecx
jmp 0x497cc9
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
mov ebx, dword [esp + 0x48]
lea ecx, [ebp + ecx*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 8], ecx
jmp 0x497d6c
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x497d2e
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.004b1440
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004b1410
mov eax, dword [esi + 8]
cmp edi, eax
je 0x497d68
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x497d1f
jmp 0x497d68
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004b1440
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x497d54
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x497d45
lea eax, [edi + 4]
cmp edi, eax
je 0x497d68
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x497d5b
add dword [esi + 8], 4
inc ebx
cmp ebx, ebp
mov dword [esp + 0x48], ebx
jl 0x497ab5
xor edi, edi
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 7
call fcn.004637b0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 6
call fcn.0044eec0
lea ecx, [esp + 0x118]
mov byte [esp + 0x140], 5
call fcn.0044eec0
lea ecx, [esp + 0x128]
mov byte [esp + 0x140], 4
call fcn.0044eec0
mov eax, dword [esp + 0x108]
mov byte [esp + 0x140], 0x18
cmp eax, edi
je 0x497df9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x497df0
cmp al, 0xff
je 0x497df0
dec al
mov byte [ecx], al
jmp 0x497df9
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x108], edi
cmp ecx, edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
je 0x497e34
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x497e2b
cmp al, 0xff
je 0x497e2b
dec al
mov byte [ecx], al
jmp 0x497e34
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe4], edi
cmp eax, edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edi
je 0x497f76
mov ecx, dword [esp + 0xbc]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xc0], 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 + 0xdc]
dec eax
mov dword [esp + 0xdc], eax
je 0x497e9d
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
cmp edx, eax
jne 0x497f69
mov eax, dword [esp + 0xc0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xc0], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xe0]
add esp, 4
cmp eax, edi
jne 0x497f29
lea ecx, [esp + 0x28]
call fcn.004051c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xb8], ecx
push eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x497f69
mov eax, dword [esp + 0xc0]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x54]
call fcn.0042c610
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
cmp dword [esp + 0xdc], edi
jne 0x497e58
mov eax, dword [esp + 0xac]
mov byte [esp + 0x140], 3
cmp eax, edi
je 0x498099
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
add ecx, 4
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xac], eax
je 0x497fc0
mov eax, dword [esp + 0x88]
mov edx, ecx
cmp edx, eax
jne 0x49808c
mov ecx, dword [esp + 0x90]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x90], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xb0]
add esp, 4
cmp eax, edi
jne 0x49804c
lea ecx, [esp + 0x4c]
call fcn.004051c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x88], ecx
push eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x49808c
mov eax, dword [esp + 0x90]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.0042c610
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
cmp dword [esp + 0xac], edi
jne 0x497f8d
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov dword [esp + 0x140], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x138]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 4