Function at 0x755f9b13
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], 1
mov eax, dword [0x7562a848]
mov ebx, 0x7562a848
mov edi, 0x755f98c4
cmp eax, ebx
je 0x755f9b46
test byte [eax + 0x1c], 8
jne 0x7560ef5c
mov esi, dword [ebp + 0xc]
dec esi
neg esi
sbb esi, esi
and esi, 0xb
add esi, 6
push dword [ebp + 0x18]
push 0
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x7560ef80
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x10]
push eax
push 0x3005
push 0xffff
push dword [ebp - 8]
call esi
cmp eax, 0xffffffff
je 0x7560effa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.755f9c06
mov dword [ebp - 4], eax
test eax, eax
jne 0x7560f023
cmp dword [ebp + 0xc], 2
jne 0x755f9be4
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
dec eax
dec eax
neg eax
sbb eax, eax
push 0x13
and eax, 0x29
push eax
push dword [ebp - 8]
mov dword [ebp - 0x14], 1
call esi
cmp eax, 0xffffffff
je 0x7560f090
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x755f9bf7
test byte [eax + 0x1c], 8
jne 0x7560f0c0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561be41
jmp 0x755f9b46
and dword [ebp - 8], 0
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x7560efb5
test byte [eax + 0x1c], 8
je 0x7560efb5
push dword [ebp - 4]
push dword [ebp + 0xc]
push edi
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
mov eax, dword [0x7562a848]
cmp dword [ebp - 4], 0x276d
jne 0x7560f028
cmp dword [ebp - 0xc], 0
jne 0x7560f028
cmp eax, ebx
je 0x7560efdf
test byte [eax + 0x1c], 8
je 0x7560efdf
push dword [ebp + 0xc]
push edi
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
push 0
mov dword [ebp - 0xc], 1
call sym.DNSAPI.dll_Socket_InitWinsock
mov dword [ebp - 4], eax
test eax, eax
je 0x755f9b54
jmp 0x7560f023
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x7560f064
test byte [eax + 0x1c], 8
je 0x7560f028
push dword [ebp - 4]
push edi
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x7560f064
test byte [eax + 0x1c], 8
je 0x7560f064
push dword [ebp + 0x14]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push dword [ebp + 0x10]
call fcn.7562156a
push eax
push dword [ebp + 0xc]
mov eax, dword [0x7562a848]
push dword [ebp + 8]
push dword [ebp - 4]
push edi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561bd9b
cmp dword [ebp - 8], 0
je 0x7560f073
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 4], 0
jne 0x7560f080
mov dword [ebp - 4], 0x267b
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x755f9bfa
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x7560f064
test byte [eax + 0x1c], 8
je 0x7560f028
push dword [ebp - 4]
push 2
push edi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
jmp 0x7560f023
push dword [ebp + 0x14]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push dword [ebp + 0x10]
call fcn.7562156a
push eax
push dword [ebp + 0xc]
mov eax, dword [0x7562a848]
push dword [ebp + 8]
push dword [ebp - 8]
push edi
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561bd9b
jmp 0x755f9bf7