Function at 0x452db0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7070
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4530b2
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 4]
cmp eax, eax
mov edx, eax
je 0x452e01
mov esi, edx
mov edi, ebx
add edx, 0x30
mov ecx, 0xc
add ebx, 0x30
cmp edx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x452de8
mov esi, dword [esp + 0x6c]
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x70], eax
mov dword [ebp + 8], ebx
call fcn.00452d80
add esp, 4
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x70]
sub ecx, esi
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00455192
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push str._d._d._d._d:_d
push ecx
mov dword [esp + 0x80], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x1c
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x7c]
push str._d._d._d._d
push eax
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x84]
add esp, 0x18
push ecx
call sub.WSOCK32.dll_inet_addr
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
push 0x28
lea eax, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
mov eax, edx
mov ebx, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x452fb6
mov esi, dword [ebp + 4]
test esi, esi
je 0x452f06
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov edi, edx
ja 0x452f0b
mov edi, 1
test esi, esi
jne 0x452f13
xor edx, edx
jmp 0x452f26
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add edi, edx
test edi, edi
mov eax, edi
jge 0x452f30
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 4
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [ebp + 4]
mov ecx, ebp
push esi
push ebx
push eax
call fcn.00438970
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
push ecx
push 1
push eax
mov ecx, ebp
call fcn.00453100
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
add edx, 0x30
mov ecx, ebp
push edx
push eax
push ebx
call fcn.00438970
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
push ecx
push edx
mov ecx, ebp
call fcn.00439400
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
lea eax, [edi + edi*2]
add esp, 4
shl eax, 4
add eax, esi
mov ecx, ebp
mov dword [ebp + 0xc], eax
call fcn.004530d0
inc eax
mov dword [ebp + 4], esi
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
mov dword [ebp + 8], ecx
jmp 0x453076
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, ebx
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x453027
lea edx, [ebx + 0x30]
push edx
push ecx
push ebx
mov ecx, ebp
call fcn.00438970
mov esi, dword [ebp + 8]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
sub eax, edx
push eax
push esi
call fcn.00453100
mov eax, dword [ebp + 8]
cmp ebx, eax
je 0x453072
mov edi, ebx
add ebx, 0x30
mov ecx, 0xc
lea esi, [esp + 0x2c]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x453011
jmp 0x453072
lea eax, [ecx - 0x30]
push ecx
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00438970
mov edx, dword [ebp + 8]
lea eax, [edx - 0x30]
cmp ebx, eax
je 0x453057
sub eax, 0x30
sub edx, 0x30
mov ecx, 0xc
mov esi, eax
mov edi, edx
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x453042
lea eax, [ebx + 0x30]
cmp ebx, eax
je 0x453072
mov edi, ebx
add ebx, 0x30
mov ecx, 0xc
lea esi, [esp + 0x2c]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x45305e
add dword [ebp + 8], 0x30
mov esi, dword [esp + 0x70]
push esi
call fcn.00452d80
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp byte [esi], 0
jne 0x452e18
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret