Function at 0x41e0b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0x1c
mov eax, dword [ebp + 8]
push eax
call fcn.0041c610
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41e0f0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], 0xffffff2d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 4]
jmp 0x41e2c9
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x8090
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x41e14f
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], 0xffffff30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], ecx
mov eax, dword [ebp - 4]
push eax
call fcn.004166b0
add esp, 4
xor eax, eax
jmp 0x41e2c9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x80], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 1
mov dword [ebp - 0xc], 0
jmp 0x41e177
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x84]
jae 0x41e19f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx*4 + 0x88]
cmp edx, dword [ebp - 8]
jne 0x41e19d
jmp 0x41e19f
jmp 0x41e16e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x84]
jne 0x41e1eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x84], 0x1000
jae 0x41e1eb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4 + 0x88], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x84]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x84], edx
xor edx, edx
jne 0x41e165
mov dword [ebp - 0x10], 0
jmp 0x41e205
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x84]
jae 0x41e229
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x88]
cmp edx, dword [ebp - 8]
jne 0x41e227
jmp 0x41e229
jmp 0x41e1fc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x84]
jne 0x41e26b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x84], 0x1000
jae 0x41e26b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x88], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], ecx
xor eax, eax
jne 0x41e1f3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov edx, 1
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x80
push 0xffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret