Function at 0x755f9c06
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x756291d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], edi
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f9c37
test byte [eax + 0x1c], 8
jne 0x7560edbe
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x24]
push eax
push 0xfffffffffffffffb
mov ebx, 0xffff
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x24], 1
call esi
test edi, edi
jne 0x7560ede1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x20], ax
mov dword [ebp - 0x2c], 0x10
cmp eax, 0x17
je 0x75605705
mov ax, word [ebp + 0x14]
test ax, ax
ja 0x755ffc31
cmp word [ebp - 0x1e], 0
movzx eax, word [ebp - 0x1e]
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
jne 0x755ffc3a
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x7560eebf
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f9cd0
test byte [eax + 0x1c], 8
jne 0x7560ee7b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.755f2eaf
leave
ret 0x10
mov word [ebp - 0x1e], ax
jmp 0x755f9c8d
mov edi, dword [sym.imp.WS2_32.dll_bind]
call edi
mov dword [ebp - 0x28], eax
test eax, eax
je 0x755f9cba
jmp 0x7560edf5
mov dword [ebp - 0x2c], 0x1c
jmp 0x755f9c80
movzx ecx, word [ebp + 0x14]
push ecx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x755f98c4
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561be04
jmp 0x755f9c37
push edi
push 0x1c
lea eax, [ebp - 0x20]
push eax
call fcn.756214bf
mov dword [ebp - 0x2c], eax
jmp 0x755f9c80
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov ecx, dword [0x7562a848]
cmp ecx, 0x7562a848
je 0x7560ee3b
test byte [ecx + 0x1c], 8
je 0x7560ee3b
push eax
push dword [ebp - 0x30]
call fcn.7562156a
push eax
movzx eax, word [ebp - 0x34]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x7562a848]
push dword [ebp + 8]
push 0x755f98c4
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561bd9b
cmp dword [ebp - 0x24], 0
je 0x7560eeb3
and dword [ebp - 0x24], 0
push 4
lea eax, [ebp - 0x24]
push eax
push 0xfffffffffffffffb
push ebx
push dword [ebp + 8]
call esi
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x24], 1
call esi
push dword [ebp - 0x2c]
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
jmp 0x755ffc40
push dword [ebp - 0x1e]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push dword [ebp - 0x30]
call fcn.7562156a
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x755f98c4
push 0x39
mov eax, dword [0x7562a848]
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561be83
jmp 0x755f9cd0
mov dword [ebp - 0x28], 0x267b
jmp 0x755f9cd0
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f9cd0
test byte [eax + 0x1c], 8
je 0x755f9cd0
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.7562156a
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x755f98c4
push 0x36
jmp 0x7560ee9e