Function at 0x4b1270
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b259
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 0x4b12ba
call fcn.004f0900
mov edi, eax
jmp 0x4b12bc
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004f1600
mov dword [esi + 0x3d8], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004f2170
lea ecx, [esi + 0x3dc]
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 ecx, [esi + 0x3e0]
push 0x5e2418
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, edi
call fcn.004f13e0
mov ecx, edi
mov dword [esi + 0x3b8], eax
call fcn.004f3f30
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x3e8], edx
mov ecx, edi
mov dword [esi + 0x3ec], eax
call fcn.004f3e00
fstp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x3f0], ecx
mov dword [esi + 0x3f4], edx
test edi, edi
je 0x4b1361
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 0x4b1381
call fcn.0053c420
mov edi, eax
jmp 0x4b1383
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0053ca90
test edi, edi
mov dword [esi + 0x3fc], eax
je 0x4b13a0
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 0x4b13c0
call fcn.005030e0
mov edi, eax
jmp 0x4b13c2
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00517440
mov ecx, edi
mov dword [esi + 0x3f8], eax
call fcn.0051a3f0
mov dword [esi + 0x420], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0051d0e0
push eax
lea ecx, [esi + 0x46c]
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
mov ecx, edi
call fcn.00519e30
cmp eax, 1
sete cl
mov byte [esi + 0x470], cl
mov ecx, edi
call fcn.00519f50
cmp eax, 1
lea eax, [ebp - 0x14]
sete dl
push eax
mov ecx, edi
mov byte [esi + 0x471], dl
call fcn.0051d350
lea ebx, [esi + 0x474]
push eax
mov ecx, ebx
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.0051d420
cmp eax, 1
sete cl
mov byte [esi + 0x478], cl
mov ecx, ebx
call sub.MFC42.DLL_CString::MakeUpper
lea edx, [ebp - 0x14]
mov ecx, edi
push edx
call fcn.0051d010
lea ebx, [esi + 0x400]
push eax
mov ecx, ebx
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.0051b530
cmp eax, 1
mov ecx, edi
sete al
mov byte [esi + 0x418], al
call fcn.0051b410
mov ecx, edi
mov dword [esi + 0x41c], eax
call fcn.0051ccb0
mov ecx, edi
mov dword [esi + 0x428], eax
call fcn.005187a0
cmp eax, 1
sete cl
mov byte [esi + 0x42c], cl
mov ecx, edi
call fcn.00519b20
cmp eax, 1
sete dl
mov ecx, edi
mov byte [esi + 0x440], dl
call fcn.00519c40
cmp eax, 1
lea ecx, [ebp - 0x18]
sete al
push ecx
mov ecx, edi
mov byte [esi + 0x441], al
call fcn.00519d60
push eax
lea ecx, [esi + 0x444]
mov byte [ebp - 4], 8
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.005179f0
xor edx, edx
cmp eax, 1
sete dl
mov ecx, edi
mov dword [esi + 0x47c], edx
call fcn.0051b650
cmp eax, 1
mov dword [esi + 0x424], eax
je 0x4b157c
cmp eax, 2
je 0x4b157c
cmp eax, 5
je 0x4b157c
push 0x80fc
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x80fd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0
jmp 0x4b159f
push 0x80fc
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 5
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x80fd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 5
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
test edi, edi
je 0x4b15b2
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, esi
call fcn.004b42c0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004b4540
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
push 0
lea ecx, [esi + 0x3dc]
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]
mov ecx, dword [esi + 0x300]
push eax
push 0
push 0x465
push ecx
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