Function at 0x42db60
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x6247f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6bae70]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x6bae70]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [0x6c9a40]
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
test al, 1
jne 0x42dbc2
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0x6c9a30
push eax
mov edi, 2
mov edx, 1
push 6
mov ecx, edi
call fcn.0042cb50
mov esi, eax
add esp, 8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x70], 0
cmp esi, 0xffffffff
jne 0x42dc0d
cmp byte [esp + 0x18], 0
je 0x42dc0d
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
mov dword [esp + 0x24], 1
cmp esi, 0xffffffff
jne 0x42dc57
mov eax, dword [0x6c9a40]
test al, 1
jne 0x42dc35
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
mov eax, dword [0x6c9a30]
mov ecx, 0x6c9a30
push 0x2719
mov dword [esp + 0x34], 0x2719
mov eax, dword [eax + 0x18]
call eax
mov byte [esp + 0x34], al
jmp 0x42dca6
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.0044a7e0
test eax, eax
jne 0x42dcba
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], al
mov eax, dword [0x6c9a40]
test al, 1
jne 0x42dca6
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
movq xmm0, qword [esp + 0x30]
mov dword [esp + 0x1c], 0x6c9a30
movq qword [esp + 0x14], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x20], 0x10
movdqa xmmword [esp + 0x44], xmm0
mov word [esp + 0x44], di
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 0x7f000001
call edi
mov dword [esp + 0x48], eax
lea edx, [esp + 0x44]
xor eax, eax
mov ecx, esi
mov word [esp + 0x46], ax
lea eax, [esp + 0x14]
push eax
push 0x10
call fcn.0042bad0
add esp, 8
cmp eax, 0xffffffff
jne 0x42dd17
cmp byte [esp + 0x18], 0
je 0x42dd17
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
lea eax, [esp + 0x14]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x4c]
call fcn.0042ce60
add esp, 8
cmp eax, 0xffffffff
jne 0x42dd49
cmp byte [esp + 0x18], 0
je 0x42dd49
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
push 0
call edi
cmp dword [esp + 0x48], eax
jne 0x42dd5e
push 0x7f000001
call edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0042c350
add esp, 4
cmp eax, 0xffffffff
jne 0x42dd87
cmp byte [esp + 0x18], 0
je 0x42dd87
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
mov edx, 1
lea eax, [esp + 0x14]
push eax
push 6
lea ecx, [edx + 1]
call fcn.0042cb50
mov edi, eax
add esp, 8
mov dword [esp + 0x40], edi
mov byte [esp + 0x70], 1
cmp edi, 0xffffffff
jne 0x42ddc3
cmp byte [esp + 0x18], 0
je 0x42ddc3
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push dword [esp + 0x24]
lea edx, [esp + 0x4c]
call fcn.0042be80
add esp, 8
cmp eax, 0xffffffff
jne 0x42ddf4
cmp byte [esp + 0x18], 0
je 0x42ddf4
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0042b9b0
add esp, 8
mov dword [esp + 0x20], eax
mov byte [esp + 0x70], 2
cmp eax, 0xffffffff
jne 0x42de27
cmp byte [esp + 0x18], 0
je 0x42de27
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 1
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x17], 0
push eax
push ecx
lea edx, [esp + 0x1f]
mov ecx, edi
call fcn.0042cf80
add esp, 0xc
test eax, eax
je 0x42de66
cmp byte [esp + 0x18], 0
je 0x42de66
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 1
push eax
push 4
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push 1
push 6
lea edx, [esp + 0x27]
call fcn.0042cc30
add esp, 0x14
mov dword [esp + 0x28], 1
lea eax, [esp + 0x14]
mov byte [esp + 0x13], 0
lea edx, [esp + 0x13]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0042cf80
add esp, 0xc
test eax, eax
je 0x42decd
cmp byte [esp + 0x18], 0
je 0x42decd
mov edx, str.socket_select_interrupter
lea ecx, [esp + 0x14]
call fcn.00425d80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 1
push eax
push 1
push 6
lea edx, [esp + 0x27]
call fcn.0042cc30
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], edi
cmp esi, 0xffffffff
je 0x42df59
mov eax, dword [0x6c9a40]
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
test al, 1
jne 0x42df37
or eax, 1
mov ecx, 0x6c9a30
mov dword [0x6c9a40], eax
call fcn.00424d50
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0x6c9a30
push eax
push 1
lea edx, [esp + 0x1b]
mov byte [esp + 0x1b], 0
mov ecx, esi
call fcn.0042bbe0
add esp, 8
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005e9734
mov esp, ebp
pop ebp
ret