Function at 0x46eca0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x46ef7c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0046416c
test al, al
je 0x46ee7c
xor eax, eax
push ebp
push 0x46ed32
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045e4f4
mov edx, dword [0x47ae30]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0045e5c4
mov edx, dword [0x47acec]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0045e644
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045e4f4
push ebp
mov eax, 0x1f40
call fcn.0046ec40
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ed52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp byte [eax + 8], 0
je 0x46ef59
test esi, esi
je 0x46ed8c
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
push ebp
push 0x46ee57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46ef94
push dword [ebp - 8]
push 0x46efa8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00408c34
push dword [ebp - 0x18]
push 0x46efb4
push 0x46efc8
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00404a94
push dword [ebp - 0xc]
push 0x46efd4
push 0x46efc8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a94
push dword [ebp - 0xc]
push 0x46efe8
push 0x46efc8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a94
push dword [ebp - 0xc]
push 0x46f008
push 0x46efc8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a94
push dword [ebp - 0xc]
push 0x46f030
push 0x46efc8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 0xc]
call fcn.0045dd48
test eax, eax
setg bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ef59
xor eax, eax
push ebp
push 0x46ef4d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46eee2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045e4f4
mov edx, dword [0x47ae30]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0045e5c4
mov edx, dword [0x47acec]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0045e644
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045e4f4
push ebp
mov eax, 0x1f40
call fcn.0046ec40
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ef07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp byte [eax + 8], 0
je 0x46ef41
mov bl, 1
test esi, esi
je 0x46ef43
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_setsockopt
jmp 0x46ef43
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ef59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef83
lea eax, [ebp - 0x18]
call fcn.00404714
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404738
ret