Function at 0x452d10
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6ef0
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, dword [esp + 0x60]
test esi, esi
je 0x453012
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 0x452d61
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 0x452d48
mov esi, dword [esp + 0x6c]
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x70], eax
mov dword [ebp + 8], ebx
call fcn.00452ce0
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.004550d2
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 0x452f16
mov esi, dword [ebp + 4]
test esi, esi
je 0x452e66
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 0x452e6b
mov edi, 1
test esi, esi
jne 0x452e73
xor edx, edx
jmp 0x452e86
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 0x452e90
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.00438a00
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
push ecx
push 1
push eax
mov ecx, ebp
call fcn.00453060
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
add edx, 0x30
mov ecx, ebp
push edx
push eax
push ebx
call fcn.00438a00
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
push ecx
push edx
mov ecx, ebp
call fcn.00439470
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.00453030
inc eax
mov dword [ebp + 4], esi
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
mov dword [ebp + 8], ecx
jmp 0x452fd6
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 0x452f87
lea edx, [ebx + 0x30]
push edx
push ecx
push ebx
mov ecx, ebp
call fcn.00438a00
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.00453060
mov eax, dword [ebp + 8]
cmp ebx, eax
je 0x452fd2
mov edi, ebx
add ebx, 0x30
mov ecx, 0xc
lea esi, [esp + 0x2c]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x452f71
jmp 0x452fd2
lea eax, [ecx - 0x30]
push ecx
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00438a00
mov edx, dword [ebp + 8]
lea eax, [edx - 0x30]
cmp ebx, eax
je 0x452fb7
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 0x452fa2
lea eax, [ebx + 0x30]
cmp ebx, eax
je 0x452fd2
mov edi, ebx
add ebx, 0x30
mov ecx, 0xc
lea esi, [esp + 0x2c]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x452fbe
add dword [ebp + 8], 0x30
mov esi, dword [esp + 0x70]
push esi
call fcn.00452ce0
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 0x452d78
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret