Function at 0x42a2c6
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4c2247
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x8c
push ebx
push esi
push edi
lea eax, [ebp - 0x28]
mov edi, ecx
push eax
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
xor ebx, ebx
mov dword [edi + 0x33c], eax
mov dword [ebp - 0x24], ebx
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x24]
push edx
push 0x4d7b40
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x1c]
test eax, eax
jne 0x42a563
cmp dword [ebp - 0x24], ebx
je 0x42a563
push str.Property
lea ecx, [ebp - 0x88]
mov word [ebp - 0x88], bx
call sub.MFC42.DLL_COleVariant::operator
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x20]
lea esi, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov byte [ebp - 4], 2
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jne 0x42a540
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push 0x4d7b80
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 3
call dword [ecx]
test eax, eax
jne 0x42a52f
lea eax, [ebp - 0x58]
push eax
call sub.MFC42.DLL_AfxVariantInit
mov ax, word [ebp + 8]
mov byte [ebp - 4], 4
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x48]
mov word [ebp - 0x58], 0xb
mov word [ebp - 0x50], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and word [ebp - 0x38], 0
push str.bFirstTime
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x48]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
call ebx
lea eax, [ebp - 0x68]
push eax
call sub.MFC42.DLL_AfxVariantInit
mov ax, word [ebp + 0x14]
mov byte [ebp - 4], 6
lea esi, [ebp - 0x68]
lea edi, [ebp - 0x48]
mov word [ebp - 0x68], 2
mov word [ebp - 0x60], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and word [ebp - 0x38], 0
push str.wOnlineQQStat
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x48]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x38]
push eax
call ebx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
push dword [eax + 0x44]
lea eax, [ebp - 0x18]
push 0x51209c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov word [ebp - 0x48], 9
mov dword [ebp - 0x40], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
and word [ebp - 0x78], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_COleVariant::operator_1
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 9
and word [ebp - 0x38], 0
push str.StatLogicObj
lea ecx, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x48]
mov edi, esp
mov eax, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x98]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0xa
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x40]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 9
push eax
call ebx
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
call ebx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
push eax
call ebx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x42a540
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test eax, eax
je 0x42a551
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 4], 0
lea eax, [ebp - 0x88]
push eax
call ebx
mov edi, dword [ebp - 0x14]
xor ebx, ebx
lea ecx, [edi + 0x80]
call sub.MFC42.DLL_CConnectionPoint::GetConnections
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], eax
cmp ecx, ebx
lea esi, [ecx - 1]
jle 0x42a5a2
jmp 0x42a580
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x18]
mov eax, dword [eax + 4]
push dword [ebp + 0x14]
mov eax, dword [eax + esi*4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
mov eax, esi
dec esi
test eax, eax
jg 0x42a57d
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x18], ebx
mov byte [ebp - 4], 0xb
je 0x42a77d
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10]
push edx
push 0x4e0c38
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x42a77d
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42a77d
mov cx, word [edi + 0x334]
lea edx, [ebp - 0x20]
push edx
push 2
push ebx
mov esi, 0x301
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x18]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push eax
push 0x4d8918
push dword [ebp + 0x18]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
mov eax, dword [ebp + 0x18]
add esp, 0xc
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push edx
push 0x4d8928
push eax
call dword [ecx + 0x30]
push dword [ebp - 0x18]
call sub.WSOCK32.dll_inet_addr
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
push edx
push 4
push 1
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 2
mov ecx, dword [eax]
push 2
push ebx
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp + 0x10], ebx
mov edi, dword [edi + 0x38]
lea ecx, [ebp + 0x10]
push ecx
push 0x4d5910
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0xd
call dword [eax + 0x1c]
test eax, eax
jne 0x42a760
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x42a763
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x10]
test eax, eax
jne 0x42a74f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42a752
and byte [ebp + 0x1b], 0
mov ecx, dword [eax]
lea edx, [ebp + 0x1b]
mov edi, 0x4d8e6c
push edx
push edi
push eax
call dword [ecx + 0x70]
and byte [ebp + 0x17], 0
cmp byte [ebp + 0x1b], 2
jne 0x42a6eb
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x17]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x17]
push edx
push 1
mov ecx, dword [eax]
push 3
push ebx
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
and byte [ebp + 0x1b], 0
lea edx, [ebp + 0x1b]
mov edi, 0x4d8e78
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x70]
cmp byte [ebp + 0x1b], 6
jne 0x42a74f
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
add esp, 0xc
push dword [ebp + 0xc]
call sub.WSOCK32.dll_inet_addr
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
push edx
push 4
push 4
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x18]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42a760
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x42a771
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
and byte [ebp - 4], 0
cmp eax, ebx
je 0x42a78e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x42a79f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14