Function at 0x49dff6
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4b66c4
call fcn.0044c320
sub esp, 0x40
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00417673
cmp dword [ebp - 0x44], ebx
je 0x49e1f8
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x49e041
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.00417673
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
push edx
push 0x4c8b30
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x54]
lea edx, [ebp - 0x1c]
push edx
push 0x4b9890
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
cmp eax, ebx
jne 0x49e1d7
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x20]
xor ecx, ecx
push edi
mov edx, dword [eax]
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 3
push eax
call dword [edx + 0x40]
mov edi, dword [ebp + 0xc]
cmp eax, ebx
je 0x49e112
cmp dword [ebp - 0x2c], ebx
jne 0x49e1c6
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [edi]
lea ecx, [ebp + 0xe]
push ecx
push 0x4c88bc
push edi
mov byte [ebp - 4], 4
call dword [eax + 0x30]
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push 0x4eb10c
push eax
call sub.MFC42.DLL_CString::Format
movzx eax, word [ebp + 0xe]
add esp, 0xc
mov ecx, esi
push eax
xor eax, eax
push dword [ebp - 0x28]
push eax
push dword [ebp + 8]
push 2
call fcn.0049e558
test eax, eax
je 0x49e104
mov ecx, esi
call fcn.0049e7dd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x49e13d
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0xc]
push edx
push 0x4c8a3c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0xc], 3
je 0x49e1c6
cmp dword [ebp - 0x2c], ebx
je 0x49e13d
cmp dword [ebp + 0xc], 2
je 0x49e1c6
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 0x49e1a4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x30]
push edx
push 0x4c8a50
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x30], ebx
jne 0x49e1a4
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49e189
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 0x4b91b8
mov ecx, dword [eax]
push 0x4c8a5c
push eax
call dword [ecx + 0x54]
cmp eax, ebx
je 0x49e210
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x49e1b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x49e1c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x49e1d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x49e1e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x49e1f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x49e209
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x49e4bc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
mov esi, 0x4c8a90
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x38]
mov eax, dword [edi]
lea ecx, [ebp - 0xd]
push ecx
push 0x4c884c
push edi
call dword [eax + 0x2c]
mov eax, dword [edi]
lea ecx, [ebp - 0xe]
push ecx
push 0x4c885c
push edi
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 0x4c8ad8
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
cmp dword [ebp - 0x34], 0x14
jne 0x49e271
mov eax, dword [ebp - 0x14]
push 0xa
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004190a4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x3c]
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 esi, dword [eax]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x49e2c5
push ecx
mov dword [ebp + 8], esi
mov ecx, esp
mov dword [ebp + 0xc], esp
mov dword [ecx], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.0043cce5
cmp dword [ebp + 0xc], 0x1e
jle 0x49e2d4
mov eax, dword [ebp - 0x14]
push esi
push 0x4c8b14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [edi]
lea ecx, [ebp - 0xf]
mov esi, 0x4c8884
push ecx
push esi
push edi
call dword [eax + 0x70]
cmp byte [ebp - 0xf], 7
jne 0x49e365
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
push esi
push edi
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 0x49e31b
cmp byte [edx + eax], bl
jne 0x49e320
inc edx
cmp edx, ecx
jl 0x49e311
cmp dword [ebp + 0x10], ebx
je 0x49e359
push 7
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x4c8b04
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x38], esp
push esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0045b7d9
push eax
push edi
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 0x49e443
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
push esi
push 0x4b9e88
mov ecx, dword [eax]
push 0x4c8ae4
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
push 2
push 0x4c8af0
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 + 0xc]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xc
push eax
push 0x4c87d4
push dword [ebp + 8]
mov dword [ebp + 0x10], ebx
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
mov esi, eax
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
mov ecx, dword [eax]
push edx
push 0x4c87e4
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x14]
push esi
push 0x4c8aac
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push 0x4c8ab4
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push esi
push 0x4c8ac0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push 0x4c8acc
push eax
call dword [ecx + 0x14]
lea ecx, [ebp + 0xc]
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 0x49e443
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x49e454
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x49e465
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x49e476
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x49e487
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x49e498
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x49e4a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x49e4b9
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 0x10