Function at 0x462b13
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4d6c40
call fcn.0046fad0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 0x54]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041861a
cmp dword [ebp - 0x3c], ebx
je 0x462d1c
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x462b5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x3c]
call fcn.0041861a
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
push edx
push 0x4ecc0c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 0x54]
lea edx, [ebp - 0x1c]
push edx
push 0x4f97c0
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
cmp eax, ebx
jne 0x462cfb
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x20]
xor ecx, ecx
push esi
mov edx, dword [eax]
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 3
push eax
call dword [edx + 0x40]
mov esi, dword [ebp + 0xc]
cmp eax, ebx
je 0x462c31
cmp dword [ebp - 0x28], ebx
je 0x462bd2
cmp dword [ebp + 0x14], ebx
jne 0x462cea
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi]
lea ecx, [ebp + 0x16]
push ecx
push 0x4ec98c
push esi
mov byte [ebp - 4], 4
call dword [eax + 0x30]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x528f88
push eax
call sub.MFC42.DLL_CString::Format
movzx eax, word [ebp + 0x16]
add esp, 0xc
mov ecx, edi
push eax
xor eax, eax
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push 2
call fcn.00463066
test eax, eax
je 0x462c23
mov ecx, edi
call fcn.004632eb
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x462c61
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0xc]
push edx
push 0x4ecb18
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0xc], 3
je 0x462cea
cmp dword [ebp - 0x28], ebx
je 0x462c61
cmp dword [ebp + 0xc], 2
jne 0x462c61
cmp dword [ebp + 0x14], ebx
jne 0x462cea
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
xor ecx, ecx
mov edx, dword [eax]
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 6
push eax
call dword [edx + 0x24]
cmp eax, ebx
jne 0x462cc8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x2c]
push edx
push 0x4ecb2c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x2c], ebx
jne 0x462cc8
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x462cad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push 0x4ea440
mov ecx, dword [eax]
push 0x4ecb38
push eax
call dword [ecx + 0x54]
cmp eax, ebx
je 0x462d34
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x462cd9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x462cea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x462cfb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x462d0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x462d1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x462d2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x462fca
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
push 0x4ecb6c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [esi]
lea ecx, [ebp - 0xd]
push ecx
push 0x4ec91c
push esi
call dword [eax + 0x2c]
mov eax, dword [esi]
lea ecx, [ebp - 0xe]
push ecx
push 0x4ec92c
push esi
call dword [eax + 0x2c]
movzx ax, byte [ebp - 0xd]
movzx cx, byte [ebp - 0xe]
imul eax, eax, 0x64
add eax, ecx
mov ecx, dword [ebp - 0x14]
push eax
push 0x4ecbb4
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00418601
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov edi, dword [eax]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x462dd3
push ecx
mov dword [ebp + 8], edi
mov ecx, esp
mov dword [ebp + 0x14], esp
mov dword [ecx], eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.004628ab
cmp dword [ebp + 0x14], 0x1e
jle 0x462de2
mov eax, dword [ebp - 0x14]
push edi
push str.dwLastChatTime
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xf]
mov edi, 0x4ec954
push ecx
push edi
push esi
call dword [eax + 0x70]
cmp byte [ebp - 0xf], 7
jne 0x462e73
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
push edi
push esi
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataBuf_struct_IQQData___char_const___class_CString__]
mov eax, dword [ebp + 8]
add esp, 0xc
xor edx, edx
mov ecx, dword [eax - 8]
cmp ecx, ebx
jle 0x462e29
cmp byte [edx + eax], bl
jne 0x462e2e
inc edx
cmp edx, ecx
jl 0x462e1f
cmp dword [ebp + 0x10], ebx
je 0x462e67
push 7
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push 0x4ecbe0
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp + 0xc], esp
push edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004185b7
push eax
push esi
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_CopyAFieldQQData_struct_IQQData___struct_IQQData___class_CString__class_CString__unsigned_char_]
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x10], ebx
je 0x462f51
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
push esi
push 0x4e5840
mov ecx, dword [eax]
push 0x4ecbc0
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
push 2
push 0x4ecbcc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [ebp + 8], ebx
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push esi
mov byte [ebp - 4], 0xb
call dword [eax + 0x14]
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0xc
push eax
push str.IP.DataSender
push dword [ebp + 8]
mov dword [ebp + 0x14], ebx
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
add esp, 0xc
push dword [ebp + 0x10]
call sub.WSOCK32.dll_inet_addr
mov esi, eax
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x14]
mov ecx, dword [eax]
push edx
push str.Port.DataSender
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x14]
push esi
push str.dwC2CIP
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push str.wC2CPort
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push esi
push 0x4ecb9c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push 0x4ecba8
push eax
call dword [ecx + 0x14]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x462f51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x462f62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x462f73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x462f84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x462f95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x462fa6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x462fb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x462fc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14