Function at 0x42eac5
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4eb259
call fcn.00475fe0
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 4
pop ecx
sub eax, ecx
je 0x42ef59
dec eax
je 0x42ef37
dec eax
je 0x42ec19
dec eax
je 0x42ebf4
dec eax
je 0x42eb1e
dec eax
jne 0x42ef71
add esi, 0xb8
cmp dword [esi], 8
jne 0x42ef71
mov dword [esi], 9
jmp 0x42ef71
mov eax, dword [esi + 0xb8]
cmp eax, 6
jl 0x42ef71
cmp eax, 7
jle 0x42eb3b
cmp eax, 9
jne 0x42ef71
cmp eax, 9
jne 0x42eb9e
lea eax, [esi + 0x13c]
xor ebx, ebx
cmp dword [eax], ebx
je 0x42eb61
mov dword [esi + 0x110], ebx
mov dword [eax], ebx
push 0x5532c4
call fcn.00412b2e
pop ecx
jmp 0x42ebdf
mov eax, dword [esi + 0x110]
cmp eax, ebx
je 0x42ebd5
cmp eax, 0x4e20
jne 0x42eb7e
mov dword [esi + 0x110], 0xea60
jmp 0x42ebdf
add eax, 0xea60
cmp eax, 0x124f80
jg 0x42eb92
mov dword [esi + 0x110], eax
jmp 0x42ebdf
mov dword [esi + 0x110], 0x3b9aca00
jmp 0x42ebdf
lea eax, [esi + 0x12c]
xor ebx, ebx
cmp dword [eax], ebx
je 0x42ebb8
mov dword [esi + 0x110], 0x3b9aca00
mov dword [eax], ebx
jmp 0x42ebdf
cmp dword [esi + 0x13c], ebx
lea eax, [esi + 0x13c]
je 0x42ebd5
mov dword [esi + 0x110], ebx
mov dword [eax], ebx
push 0x55328c
jmp 0x42eb59
mov dword [esi + 0x110], 0x4e20
mov dword [esi + 0x114], ebx
mov dword [esi + 0xb8], 8
jmp 0x42ef71
cmp dword [esi + 0xb8], 6
lea eax, [esi + 0xb8]
jne 0x42ef71
and dword [esi + 0x118], 0
mov dword [eax], 7
jmp 0x42ef71
mov eax, dword [esi + 0xb8]
sub eax, 5
je 0x42ec30
dec eax
dec eax
je 0x42ec30
dec eax
dec eax
jne 0x42ef71
xor ebx, ebx
mov dword [esi + 0xb8], 6
cmp dword [esi + 0x11c], ebx
je 0x42ee06
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.004191a7
cmp dword [ebp - 0x34], ebx
jne 0x42ec75
or dword [ebp - 4], 0xffffffff
jmp 0x42ee06
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004191a7
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x42ef2f
cmp eax, ebx
je 0x42ef2f
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x506948
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x60]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42ef26
cmp eax, ebx
je 0x42ef26
or edi, 0xffffffff
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push edx
push str.SucceedEnableType
push eax
call dword [ecx + 0x38]
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
sub eax, ebx
je 0x42ecff
dec eax
mov dword [esi + 0x120], 1
jne 0x42ed05
jmp 0x42ed0a
mov dword [esi + 0x120], ebx
cmp dword [ebp - 0x20], ebx
je 0x42ed56
push dword [esi + 0x120]
push 0x55326c
call fcn.00412b2e
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42ed2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42ed3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42ed4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
jmp 0x42edf9
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
push str.UDPServerList
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
cmp dword [ebp + 8], ebx
je 0x42ed2d
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_NextQQDataArrayStr_struct_IQQDataArray___class_CString__]
pop ecx
test eax, eax
pop ecx
je 0x42eda6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x42ed1c
push 0x3a
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp edi, 0xffffffff
jne 0x42ee0d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42edd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42ede5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42edf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x42ee06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x42ef74
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
inc edi
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::Mid_1
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov word [esi + 0x128], ax
push dword [ebp - 0x1c]
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x42ee90
push 0x488
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42ee8a
push ebx
push ebx
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp - 0x28]
push 0x401
push dword [esi + 0x20]
mov byte [ebp - 4], 7
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CAsyncGetHostByName::constructor_struct_HWND_____unsigned_int__class_CString__int__int_]
mov byte [ebp - 4], 6
jmp 0x42ee9f
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x124]
push eax
call sub.MFC42.DLL_CString::operator_1
movzx eax, word [esi + 0x128]
push dword [esi + 0x120]
push eax
push dword [ebp - 0x1c]
push 0x55323c
call fcn.00412b2e
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42eef2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42ef03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42ef13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x42ef71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42ef71
mov byte [ebp - 4], 1
jmp 0x42eddb
mov byte [ebp - 4], bl
jmp 0x42edeb
mov eax, dword [esi + 0xb8]
add esi, 0xb8
cmp eax, ecx
je 0x42ef51
cmp eax, 7
jle 0x42ef71
cmp eax, 9
jg 0x42ef71
mov dword [esi], 5
jmp 0x42ef71
mov eax, dword [esi + 0xb8]
add esi, 0xb8
cmp eax, 5
jl 0x42ef71
cmp eax, 9
jg 0x42ef71
mov dword [esi], ecx
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4