Function at 0x4a14f8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a1a64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x46c], 0xffffffff
je 0x4a1547
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d2], 7
je 0x4a1547
mov edx, 0x4a1a7c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp byte [eax + 0x490], 0
jne 0x4a1565
mov edx, 0x4a1aa4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47c], 0
jne 0x4a1583
mov edx, 0x4a1ac8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
jne 0x4a15a1
mov edx, 0x4a1af4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4a1a49
xor eax, eax
push ebp
push 0x4a16df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x485], 0
jne 0x4a1613
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x488]
call fcn.004a0be0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x480], ebx
sub ebx, 6
je 0x4a15ed
sub ebx, 0xb
jne 0x4a15fc
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 2
jmp 0x4a1609
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 1
jmp 0x4a1609
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 3
mov eax, dword [ebp - 4]
mov byte [eax + 0x485], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x491], 0
jne 0x4a166a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a031c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48c]
call fcn.004a09d8
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.0049ef70
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 + 0x486], 0
jne 0x4a16a8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004a031c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x498]
call fcn.004a09d8
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x49c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x486], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x474], 0
jne 0x4a16d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
call fcn.004a077c
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 0x4a171c
mov eax, dword [ebp - 4]
call fcn.004a22d4
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.0049ece0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x46c], ebx
inc ebx
jne 0x4a1764
mov edx, 0x4a1b30
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0049f9ac
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d2], 1
je 0x4a1796
mov eax, 0x2726
call fcn.0049ea5c
mov edx, 0x4a1b4c
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x4a18a2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c5], 0
je 0x4a1853
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
cmp eax, 1
je 0x4a17fe
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 8]
push eax
push 3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x4a17fe
mov edx, 0x4a1b84
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov edx, 0x4a1bac
call fcn.00404d44
je 0x4a1853
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.004a077c
mov dword [ebp - 0xc], eax
push 4
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x4a1853
mov edx, 0x4a1bbc
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp dword [eax + 0x548], 0xffffffff
jne 0x4a1990
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x20
mov edx, 0xffff
call fcn.0049ed60
test eax, eax
je 0x4a1990
mov edx, 0x4a1be0
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 4
mov edx, 0xffff
call fcn.0049ed60
test eax, eax
je 0x4a18dd
mov edx, 0x4a1c04
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
test byte [eax + 0x4d1], 2
je 0x4a1924
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 1
mov edx, 6
call fcn.0049ed60
test eax, eax
je 0x4a1924
mov edx, 0x4a1c28
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
call fcn.004a1440
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 8
mov edx, 0xffff
call fcn.0049ed60
test eax, eax
je 0x4a1967
mov edx, 0x4a1c58
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp dword [eax + 0x49c], 0
jne 0x4a1988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov edx, 0x4a1bac
call fcn.00404d44
je 0x4a1990
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, dword [ebp - 4]
mov eax, 0x3b
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.0049ebd4
test eax, eax
je 0x4a19cb
mov edx, 0x4a1c7c
mov eax, dword [ebp - 4]
call fcn.004a2774
jmp 0x4a1a49
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x4a19ed
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0049f9ac
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x4a1a49
mov eax, dword [ebp - 4]
lea edx, [eax + 0x544]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x10
call fcn.0049f060
test eax, eax
jne 0x4a1a19
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0049f9ac
jmp 0x4a1a49
call fcn.0049ea98
cmp eax, 0x2733
jne 0x4a1a31
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0049f9ac
jmp 0x4a1a49
call fcn.0049ea98
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edx, 0x4a1c94
mov eax, dword [ebp - 4]
call fcn.004a2774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1a6b
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040495c
ret