Function at 0x4bd1f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c7b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x14
mov dword [ebp - 4], 0
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4bd23a
call fcn.004f0900
mov edi, eax
jmp 0x4bd23c
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004f1600
mov ecx, edi
mov dword [esi + 0x594], eax
call fcn.004f2980
cmp eax, 1
lea ecx, [ebp - 0x14]
sete al
push ecx
mov ecx, edi
mov byte [esi + 0x56d], al
call fcn.004f2170
lea ecx, [esi + 0x63c]
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.004f2240
push eax
lea edx, [esi + 0x640]
push 0x5e2418
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, edi
call fcn.004f13e0
mov ecx, edi
mov dword [esi + 0x554], eax
call fcn.004f3f30
fst qword [ebp - 0x1c]
fstp dword [esi + 0x648]
mov ecx, edi
call fcn.004f3e00
fst qword [ebp - 0x1c]
fstp dword [esi + 0x64c]
test edi, edi
je 0x4bd2dc
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push 0x18
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x4bd2fc
call fcn.0053c420
mov edi, eax
jmp 0x4bd2fe
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0053ca90
test edi, edi
mov dword [esi + 0x57c], eax
je 0x4bd31b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push 0x18
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x4bd33b
call fcn.005030e0
mov edi, eax
jmp 0x4bd33d
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00517440
mov ecx, edi
mov dword [esi + 0x578], eax
call fcn.00506000
mov dword [esi + 0x574], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00505f30
push eax
lea ecx, [esi + 0x570]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.0051d010
lea ecx, [esi + 0x598]
push eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.0051ac10
fst qword [ebp - 0x1c]
fstp dword [esi + 0x3e4]
mov ecx, edi
call fcn.0051ad40
fst qword [ebp - 0x1c]
fstp dword [esi + 0x3e8]
mov ecx, edi
call fcn.0051df00
fst qword [ebp - 0x1c]
fstp dword [esi + 0x6a4]
mov ecx, edi
call fcn.0051e030
fst qword [ebp - 0x1c]
fstp dword [esi + 0x6a8]
mov ecx, edi
call fcn.0051e160
fst qword [ebp - 0x1c]
fstp dword [esi + 0x6ac]
mov ecx, edi
call fcn.0051e290
fst qword [ebp - 0x1c]
fstp dword [esi + 0x5a4]
mov ecx, edi
call fcn.0051e3c0
fst qword [ebp - 0x1c]
fstp dword [esi + 0x5a8]
mov ecx, edi
call fcn.0051ae70
mov ecx, edi
mov dword [esi + 0x588], eax
call fcn.0051b530
cmp eax, 1
mov ecx, edi
sete dl
mov byte [esi + 0x59c], dl
call fcn.0051b410
mov ecx, edi
mov dword [esi + 0x58c], eax
call fcn.0051a3f0
mov ecx, edi
mov dword [esi + 0x590], eax
call fcn.00518c30
cmp eax, 1
mov ecx, edi
sete al
mov byte [esi + 0x6f0], al
call fcn.00518d50
fst qword [ebp - 0x1c]
fstp dword [esi + 0x6f4]
mov ecx, edi
call fcn.00519200
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x75c], ecx
mov ecx, edi
call fcn.00519320
fst qword [ebp - 0x1c]
fstp dword [esi + 0x760]
mov ecx, edi
call fcn.00519450
fst qword [ebp - 0x1c]
fstp dword [esi + 0x764]
mov ecx, edi
call fcn.00519580
mov ecx, edi
mov dword [esi + 0x768], eax
call fcn.005196a0
mov ecx, edi
mov dword [esi + 0x76c], eax
call fcn.005197c0
mov ecx, edi
mov dword [esi + 0x770], eax
call fcn.00519b20
cmp eax, 1
lea eax, [ebp - 0x14]
sete dl
push eax
mov ecx, edi
mov byte [esi + 0x774], dl
call fcn.00519d60
push eax
lea ecx, [esi + 0x778]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.00519c40
cmp eax, 1
lea edx, [ebp - 0x14]
sete cl
mov byte [esi + 0x775], cl
push edx
mov ecx, edi
call fcn.0051d0e0
push eax
lea ecx, [esi + 0x560]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.00519e30
cmp eax, 1
mov ecx, edi
sete al
mov byte [esi + 0x564], al
call fcn.00519f50
cmp eax, 1
lea edx, [ebp - 0x14]
sete cl
mov byte [esi + 0x565], cl
push edx
mov ecx, edi
call fcn.0051d350
lea ebx, [esi + 0x568]
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.0051d420
cmp eax, 1
mov ecx, edi
sete al
mov byte [esi + 0x56c], al
call fcn.005198e0
cmp eax, 1
sete cl
mov byte [esi + 0x77c], cl
mov ecx, edi
call fcn.00519a00
cmp eax, 1
mov ecx, edi
sete dl
mov byte [esi + 0x77d], dl
call fcn.0051a2d0
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x5cc], ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, edi
call fcn.0051b650
mov dword [esi + 0x5b0], eax
mov eax, dword [esi + 0x574]
cmp eax, 3
je 0x4bd611
cmp eax, 0x12
je 0x4bd611
mov dword [esi + 0x5b0], 0
mov ecx, edi
call fcn.0051ccb0
mov ecx, edi
mov dword [esi + 0x5b4], eax
call fcn.00518680
xor edx, edx
cmp eax, 1
sete dl
mov ecx, edi
mov dword [esi + 0x5b8], edx
call fcn.005187a0
xor ecx, ecx
cmp eax, 1
mov eax, dword [esi + 0x5b0]
sete cl
cmp eax, 4
mov dword [esi + 0x5bc], ecx
je 0x4bd658
cmp eax, 7
jne 0x4bd662
mov dword [esi + 0x5bc], 1
mov ecx, edi
call fcn.00517680
fst qword [ebp - 0x1c]
fstp dword [esi + 0x5c8]
mov ecx, edi
call fcn.0051cdd0
mov dword [esi + 0x7e0], eax
mov eax, dword [esi + 0x5b0]
cmp eax, 1
je 0x4bd6b9
cmp eax, 2
je 0x4bd6b9
cmp eax, 5
je 0x4bd6b9
push 0x417
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x41d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0
jmp 0x4bd6dc
push 0x417
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 5
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x41d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 5
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, edi
call fcn.005179f0
xor edx, edx
cmp eax, 1
sete dl
mov ecx, edi
mov dword [esi + 0x5d0], edx
call fcn.00517b10
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x4d8], ecx
mov ecx, edi
call fcn.00517c30
fst qword [ebp - 0x1c]
fstp dword [esi + 0x4bc]
mov ecx, edi
call fcn.00517d60
fst qword [ebp - 0x1c]
fstp dword [esi + 0x4c0]
mov ecx, edi
call fcn.00517e90
mov ecx, edi
mov dword [esi + 0x4c4], eax
call fcn.00517fb0
mov ecx, edi
mov dword [esi + 0x4c8], eax
call fcn.005180d0
mov ecx, edi
mov dword [esi + 0x4e0], eax
call fcn.005181f0
mov ecx, edi
mov dword [esi + 0x4dc], eax
call fcn.0052ab60
mov ecx, edi
mov dword [esi + 0x62c], eax
call fcn.0051b770
mov ecx, edi
mov dword [esi + 0x5f0], eax
call fcn.0051b890
mov ecx, edi
mov dword [esi + 0x5f4], eax
call fcn.0051bc10
cmp eax, 1
mov ecx, edi
sete dl
mov byte [esi + 0x608], dl
call fcn.0051bd30
cmp eax, 1
mov ecx, edi
sete al
mov byte [esi + 0x609], al
call fcn.0051b9b0
fstp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x5f8], ecx
mov ecx, edi
mov dword [esi + 0x5fc], edx
call fcn.0051bae0
fstp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x600], eax
mov dword [esi + 0x604], ecx
mov ecx, edi
call fcn.0051be50
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x620], edx
mov ecx, edi
mov dword [esi + 0x624], eax
call fcn.0051bf80
fstp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x610], ecx
mov dword [esi + 0x614], edx
mov ecx, edi
call fcn.0051c0b0
fstp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x618], eax
mov dword [esi + 0x61c], ecx
mov ecx, edi
call fcn.0051c1e0
cmp eax, 1
mov ecx, edi
sete dl
mov byte [esi + 0x628], dl
call fcn.0051c300
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x5d4], ecx
mov ecx, edi
call fcn.0051c420
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x5d8], edx
mov ecx, edi
mov dword [esi + 0x5dc], eax
call fcn.0051c550
fstp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x5e0], ecx
mov ecx, edi
mov dword [esi + 0x5e4], edx
call fcn.0051c680
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x5e8], ecx
mov ecx, edi
call fcn.0051c7a0
xor edx, edx
cmp eax, 1
lea eax, [ebp - 0x18]
mov ecx, edi
sete dl
push eax
mov dword [esi + 0x5ec], edx
call fcn.0051c8c0
push eax
lea ecx, [esi + 0x630]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.0051c9a0
push eax
lea ecx, [esi + 0x634]
push 0x5e2418
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
test edi, edi
je 0x4bd913
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push ecx
lea eax, [esi + 0x598]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004bde50
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
push 0
lea ecx, [esi + 0x63c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_ntohl]
push eax
mov eax, dword [esi + 0x380]
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret