Function at 0x488000
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4883ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x490], 0
jne 0x488053
mov eax, 0x2726
call fcn.00484dd0
mov edx, 0x488418
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
jne 0x48807b
mov eax, 0x2726
call fcn.00484dd0
mov edx, 0x48843c
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47c], 0
jne 0x4880a3
mov eax, 0x2726
call fcn.00484dd0
mov edx, 0x488464
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
xor eax, eax
push ebp
push 0x488195
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x485], 0
jne 0x488101
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x488]
call fcn.00486f44
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x480], ebx
cmp ebx, 0x11
jne 0x4880ea
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 2
jmp 0x4880f7
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x485], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x491], 0
jne 0x48815e
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.00486680
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48c]
call fcn.00486d3c
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x494], eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x494]
call fcn.00485324
mov edx, dword [ebp - 4]
mov word [edx + 0x546], ax
mov eax, dword [ebp - 4]
mov byte [eax + 0x491], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x474], 0
jne 0x48818b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
call fcn.00486ae0
mov edx, dword [ebp - 4]
mov dword [edx + 0x548], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x474], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4881d8
mov eax, dword [ebp - 4]
call fcn.00488638
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x480]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4a4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
call fcn.00485094
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x46c], ebx
inc ebx
jne 0x488220
mov edx, 0x4884a0
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x488271
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d0], 0
je 0x488271
mov dword [ebp - 8], 0xffffffff
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x488271
mov edx, 0x4884b0
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov eax, dword [ebp - 4]
lea edx, [eax + 0x544]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x10
call fcn.00485458
test eax, eax
jne 0x48829d
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.00485d10
jmp 0x4882ba
mov edx, 0x4884d4
mov eax, dword [ebp - 4]
call fcn.00488c64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x90]
jmp 0x4883e1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x488335
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c5], 0
je 0x488335
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c8]
lea eax, [ebp - 0x111]
call fcn.00409544
lea eax, [ebp - 0x111]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
call fcn.00486ae0
mov dword [ebp - 0xc], eax
push 8
lea eax, [ebp - 0x10]
push eax
push 5
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x488335
mov edx, 0x4884e4
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
dec eax
je 0x488367
dec eax
sub eax, 2
jae 0x488399
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.00485d10
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00485d10
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x4883a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov edx, 5
call fcn.00485230
test eax, eax
jne 0x48838a
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.00485d10
jmp 0x4883a8
mov edx, 0x488508
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov edx, 0x488518
mov eax, dword [ebp - 4]
call fcn.00488c64
jmp 0x4883e1
mov edx, dword [ebp - 4]
mov eax, 0x2b
mov dword [edx + 0x4d8], eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x401
call fcn.00484f48
test eax, eax
je 0x4883e1
mov edx, 0x488540
mov eax, dword [ebp - 4]
call fcn.00488c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488406
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.00404590
ret