Function at 0x10289f50
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov ebp, dword [eax + 8]
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x17], 0
call fcn.102629f0
mov esi, dword [esp + 0x34]
lea ebx, [ebp + 0x98]
push ebx
movups xmm0, xmmword [eax]
lea eax, [ebp + 8]
push eax
push esi
movups xmmword [ebp + 0x128], xmm0
call fcn.1028a670
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1028a0d8
push esi
push dword [esp + 0x30]
call fcn.1028a4a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1028a0d8
cmp dword [ebp + 8], 0x17
jne 0x10289fe1
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x1b
push 0x29
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 0xec]
lea eax, [ebp + 0xbc]
push eax
push str.__Trying___s_:_d...
jmp 0x10289ff3
push dword [ebp + 0xec]
lea eax, [ebp + 0xbc]
push eax
push str.__Trying__s:_d...
push esi
call fcn.1026e910
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, 2
je 0x1028a009
cmp eax, 0x17
jne 0x1028a013
cmp dword [ebp + 0xc], 1
jne 0x1028a013
mov al, 1
jmp 0x1028a015
xor al, al
mov byte [esp + 0x12], al
test al, al
je 0x1028a031
cmp byte [esi + 0x678], 0
je 0x1028a031
push dword [ebx]
push esi
call fcn.1028a7e0
add esp, 8
push dword [ebx]
call fcn.10289870
add esp, 4
cmp byte [esp + 0x12], 0
je 0x1028a056
cmp byte [esi + 0x67f], 0
je 0x1028a056
push dword [ebx]
push esi
call fcn.1028a700
add esp, 8
cmp dword [esi + 0x1a4], 0
je 0x1028a09a
push 1
push esi
call fcn.1025d850
mov eax, dword [esi + 0x1a4]
push 0
push dword [ebx]
push dword [esi + 0x1a8]
call eax
push 0
push esi
mov dword [esp + 0x30], eax
call fcn.1025d850
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp eax, 2
jne 0x1028a129
mov byte [esp + 0x13], 1
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x1028a0ab
cmp eax, 0x17
jne 0x1028a138
lea eax, [ebp + 0x18]
push eax
call fcn.10296260
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x38]
push dword [ebx]
push dword [eax + 0xc]
push esi
call fcn.10289980
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1028a138
cmp edi, 1
jne 0x1028a151
lea edi, [eax + 6]
mov ebp, dword [ebx]
mov eax, dword [esp + 0x2c]
cmp ebp, 0xffffffff
je 0x1028a1a0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1028a18f
cmp dword [eax + 0xc], 0
push ebp
push esi
je 0x1028a187
call fcn.1025d5f0
push 1
push esi
call fcn.1025d850
mov eax, dword [esp + 0x24]
push ebp
push dword [eax + 0x10]
mov eax, dword [eax + 0xc]
call eax
push 0
push esi
call fcn.1025d850
add esp, 0x20
jmp 0x1028a196
test eax, eax
je 0x1028a09a
mov edi, 0x2a
jmp 0x1028a0d8
push 1
push dword [ebx]
call fcn.10293180
add esp, 8
cmp dword [ebp + 0xc], 2
setne al
mov byte [ebp + 0x15e], al
test edi, edi
jne 0x1028a0d8
cmp byte [esp + 0x13], 0
je 0x1028a19c
push esi
push dword [esp + 0x30]
call fcn.1028a350
lea eax, [esp + 0x20]
push eax
call fcn.102629f0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x2c]
movups xmmword [ebp + 0x138], xmm0
mov byte [eax + 0x14], 1
jmp 0x1028a1a0
call fcn.1025d5f0
add esp, 8
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0xffffffff
mov eax, dword [esp + 0x2c]
push dword [ebx]
push edi
push str.cf_socket_open_______d__fd_d
push eax
push esi
call fcn.1026e9a0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret