Function at 0x42097c
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
mov eax, 0x4ce453
call fcn.0046fad0
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ebx
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x30]
push edx
push 0x4e7010
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x1c]
lea ecx, [edi + 0x80]
call sub.MFC42.DLL_CConnectionPoint::GetConnections
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
mov dword [ebp - 0x14], ebx
mov dword [edi + 0x338], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.shocking:begin_CQQStatLogic::OnTryLoginToOnline_t_d_r_n
call fcn.00401f9c
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
je 0x4209fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x14]
push edx
push 0x4e7450
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x420c69
cmp dword [ebp - 0x14], ebx
je 0x420c69
push str.Property
lea ecx, [ebp - 0x90]
mov word [ebp - 0x90], bx
call sub.MFC42.DLL_COleVariant::operator
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
lea esi, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x14]
sub esp, 0x10
mov byte [ebp - 4], 3
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 0x420c46
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
push edx
push 0x4e7490
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx]
test eax, eax
jne 0x420c35
lea eax, [ebp - 0x60]
push eax
call sub.MFC42.DLL_AfxVariantInit
mov ax, word [ebp + 8]
mov byte [ebp - 4], 5
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x50]
mov word [ebp - 0x60], 0xb
mov word [ebp - 0x58], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and word [ebp - 0x40], 0
push str.bFirstTime
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x50]
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 - 0x40]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 6
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 - 0x40]
mov byte [ebp - 4], 5
push eax
call ebx
lea eax, [ebp - 0x70]
push eax
call sub.MFC42.DLL_AfxVariantInit
mov ax, word [ebp + 0x14]
mov byte [ebp - 4], 7
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x50]
mov word [ebp - 0x70], 2
mov word [ebp - 0x68], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and word [ebp - 0x40], 0
push str.wOnlineQQStat
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x50]
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 - 0x40]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 8
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], 7
lea eax, [ebp - 0x40]
push eax
call ebx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
push dword [eax + 0x44]
lea eax, [ebp - 0x10]
push 0x52954c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov word [ebp - 0x50], 9
mov dword [ebp - 0x48], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
and word [ebp - 0x80], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_COleVariant::operator_1
lea esi, [ebp - 0x80]
lea edi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0xa
and word [ebp - 0x40], 0
push str.StatLogicObj
lea ecx, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x50]
mov edi, esp
mov eax, dword [ebp - 0x14]
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 - 0xa0]
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 - 0x40]
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], 0xb
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x40]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
call ebx
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
call ebx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
call ebx
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
call ebx
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
test eax, eax
je 0x420c46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x420c57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
call ebx
mov edi, dword [ebp - 0x24]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.shocking:begin_callback_OnTryLoginToOnline_t_d_r_n
call fcn.00401f9c
mov eax, dword [ebp - 0x20]
pop ecx
cmp eax, ebx
pop ecx
lea esi, [eax - 1]
jle 0x420cab
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0x14]
mov eax, dword [eax + 4]
push dword [ebp + 0x10]
mov eax, dword [eax + esi*4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
mov eax, esi
dec esi
test eax, eax
jg 0x420c86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.shocking:end_callback_OnTryLoginToOnline_t_d_r_n
call fcn.00401f9c
pop ecx
mov dword [ebp - 0x18], ebx
pop ecx
cmp dword [ebp + 0x18], ebx
mov byte [ebp - 4], 0xc
je 0x420e99
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x18]
push edx
push 0x4e9c68
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x420e99
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x420e99
mov cx, word [edi + 0x330]
lea edx, [ebp - 0x2c]
push edx
push 2
push ebx
mov esi, 0x301
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x18]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
push 0x4e8408
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 - 0x20]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push edx
push 0x4e8418
push eax
call dword [ecx + 0x30]
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_addr
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
push edx
push 4
push 1
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
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 0x4e6030
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0xe
call dword [eax + 0x1c]
test eax, eax
jne 0x420e7c
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x420e7f
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x10]
test eax, eax
jne 0x420e6b
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x420e6e
and byte [ebp + 0x1b], 0
mov ecx, dword [eax]
lea edx, [ebp + 0x1b]
mov edi, 0x4e897c
push edx
push edi
push eax
call dword [ecx + 0x70]
and byte [ebp + 0x17], 0
cmp byte [ebp + 0x1b], 2
jne 0x420e07
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 - 0x18]
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, 0x4e8988
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x70]
cmp byte [ebp + 0x1b], 6
jne 0x420e6b
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x10
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 - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
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], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x420e7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x420e8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x420eaa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
cmp eax, ebx
je 0x420ebb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x420ecc
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