Function at 0x555a10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 0x31e8]
push esi
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], esi
call fcn.00548d60
cmp eax, esi
je 0x555a92
mov ecx, ebx
call fcn.00549540
lea esi, [ebx + 0x424]
push esi
call fcn.005dfac7
mov eax, dword [esi]
mov edx, dword [ebx + 0x418]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [ebx + 0x430], eax
jl 0x555a81
mov ecx, ebx
call fcn.00556990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x31e8]
lea ecx, [ebp - 0x28]
push ecx
push 0x8004667e
push edx
mov dword [ebp - 0x28], esi
call sub.WS2_32.dll_ioctlsocket
push 0x2da0
call fcn.005f6c5c
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [ebp - 0x14], edi
je 0x555a81
mov ecx, 0xb68
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x31e8]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
push ecx
push edx
mov ecx, ebx
mov dword [ebp - 0x2c], 0x2da0
call fcn.00555870
mov ecx, ebx
call fcn.00551af0
push 0x6db4f8
mov ecx, ebx
call fcn.005474d0
mov eax, dword [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.005474d0
push 8
lea ecx, [ebx + 0x31d8]
call fcn.00595110
mov ecx, ebx
call fcn.00549570
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x8c], 4
mov dword [ebp - 0x1c], esi
mov byte [ecx + 0x2d9f], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.005599f0
test al, al
je 0x555b88
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00559ea0
add esp, 0xc
cmp eax, esi
je 0x555b41
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ebp - 0x64]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
je 0x555b92
jmp 0x555b41
xor al, al
test al, al
je 0x555cb1
mov ecx, dword [ebx + 0x31f4]
mov dword [ecx + 0x230], 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
mov dword [ebx + 0x3a40], edx
push ecx
mov dword [ebx + 0x3a44], eax
call fcn.005e02d3
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0xc8]
lea edx, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.005e1ccb
add esp, 8
push eax
lea eax, [ebp - 0xa4]
push 0x6bc090
push eax
call fcn.005deb38
mov ecx, dword [ebx + 0xb0]
add esp, 0xc
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x555c18
mov edx, dword [ebx + 0x31f4]
mov eax, dword [edx + 0xb8]
lea edx, [ebp - 0xa4]
push eax
push edx
call fcn.005ba600
jmp 0x555c54
lea edi, [ebp - 0xa4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0xa4]
push ecx
push edx
push eax
call fcn.005e0470
add esp, 0xc
test eax, eax
je 0x555c54
lea ecx, [ebp - 0xa4]
push 0
push ecx
mov ecx, ebx
call fcn.00559870
mov dword [ebp - 0x1c], 1
mov edx, dword [ebx + 0x31f4]
push 0x6db4e8
mov ecx, ebx
mov dword [edx + 0x868], 1
call fcn.005474d0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x54]
push eax
push ecx
lea eax, [ebp - 0xa4]
push edx
push eax
lea ecx, [ebp - 0x24c]
push 0x6db4a0
push ecx
call fcn.005deb38
add esp, 0x24
lea edx, [ebp - 0x24c]
mov ecx, ebx
push edx
call fcn.005474d0
mov eax, dword [ebp - 0x14]
push eax
call fcn.005f6c85
mov edx, dword [ebx + 0x3a40]
mov esi, dword [ebx + 0x3a44]
mov ecx, edx
add esp, 4
or ecx, esi
je 0x555d74
mov ecx, dword [ebx + 0x31f4]
mov eax, dword [ecx + 0x1a8]
mov edi, dword [ecx + 0x1ac]
or eax, edi
jne 0x555d17
push 1
push esi
push edx
call fcn.005a05c0
mov edx, dword [ebx + 0x31f4]
mov dword [edx + 0x84c], 3
mov ecx, dword [ebx + 0x31f4]
mov eax, dword [ecx + 0x864]
test eax, eax
jne 0x555d17
call fcn.0055b750
mov ecx, dword [ebx + 0x31f4]
mov eax, dword [ecx + 0xf4]
test eax, eax
je 0x555d84
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov esi, eax
or esi, edx
je 0x555d84
cmp eax, dword [ebx + 0x3a40]
jne 0x555d49
cmp edx, dword [ebx + 0x3a44]
je 0x555d84
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x555d84
push 0
call fcn.0055d360
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x31f4]
mov dword [eax + 0x84c], 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret