Function at 0x4c0e80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
mov byte [ebp - 2], 0
mov esi, dword [esi + 8]
mov dword [ebp - 8], esi
call fcn.00487840
lea ebx, [esi + 0x98]
push ebx
movups xmm0, xmmword [eax]
lea eax, [esi + 8]
push eax
movups xmmword [esi + 0x128], xmm0
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc], eax
call fcn.004c16c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4c1007
push esi
push dword [ebp + 8]
call fcn.004c1510
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c1007
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x17
jne 0x4c0f07
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 0x1b
push 0x29
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, str.__Trying___s_:_d...
jmp 0x4c0f0c
mov ecx, str.__Trying__s:_d...
mov eax, dword [ebp - 8]
push dword [eax + 0xec]
add eax, 0xbc
push eax
push ecx
push esi
call fcn.004932b0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax]
cmp eax, 2
je 0x4c0f34
cmp eax, 0x17
jne 0x4c0f41
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 1
jne 0x4c0f41
mov al, 1
jmp 0x4c0f43
xor al, al
mov byte [ebp - 1], al
test al, al
je 0x4c0f5e
cmp byte [esi + 0x6d4], 0
je 0x4c0f5e
push dword [ebx]
push esi
call fcn.004c1830
add esp, 8
push dword [ebx]
call fcn.004c06b0
add esp, 4
cmp byte [ebp - 1], 0
je 0x4c0f82
cmp byte [esi + 0x6db], 0
je 0x4c0f82
push dword [ebx]
push esi
call fcn.004c1750
add esp, 8
cmp dword [esi + 0x1ac], 0
je 0x4c0fc3
push 1
push esi
call fcn.00481fb0
mov eax, dword [esi + 0x1ac]
push 0
push dword [ebx]
push dword [esi + 0x1b0]
call eax
push 0
push esi
mov dword [ebp - 0x10], eax
call fcn.00481fb0
mov eax, dword [ebp - 0x10]
add esp, 0x1c
cmp eax, 2
jne 0x4c1051
mov byte [ebp - 2], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 2
je 0x4c0fd6
cmp eax, 0x17
jne 0x4c1060
mov eax, dword [ebp - 8]
add eax, 0x18
push eax
call fcn.004ce480
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [ebx]
push dword [eax + 0xc]
push esi
call fcn.004c0850
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4c1060
cmp edi, 1
jne 0x4c106c
lea edi, [eax + 6]
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
je 0x4c10c2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
test eax, eax
je 0x4c10ae
cmp dword [eax + 0x30], 0
push ebx
push esi
je 0x4c10a6
call fcn.00481d90
push 1
push esi
call fcn.00481fb0
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push esi
call fcn.00481fb0
add esp, 0x20
jmp 0x4c10b5
test eax, eax
je 0x4c0fc3
mov edi, 0x2a
jmp 0x4c1007
push 1
push dword [ebx]
call fcn.004c9a10
add esp, 8
test edi, edi
jne 0x4c1007
cmp byte [ebp - 2], 0
je 0x4c10c2
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.004c13f0
lea eax, [ebp - 0x20]
push eax
call fcn.00487840
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 8]
movups xmmword [eax + 0x138], xmm0
mov eax, edi
mov byte [ebx + 0x14], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00481d90
add esp, 8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 8]
mov dword [eax + 0x98], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret