Function at 0x41fcd5
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44214d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004211f6
and eax, 0xff
test eax, eax
jne 0x41fd16
xor eax, eax
jmp 0x41fe46
mov dword [ebp - 0x40], 0x10
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41fd6b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x48]
push edx
push str.SWBaseSocket::accept___error:
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
call dword [edx + 0x54]
xor eax, eax
jmp 0x41fe46
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x34], 2
jne 0x41fd87
push 1
push 0x8004667e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041f83f
add esp, 0xc
lea edx, [ebp - 0x4c]
push edx
push str.SWBaseSocket___setsockopt_TCP_NODELAY_failed:
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
push 4
lea eax, [ebp - 0x18]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41fde6
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x64], eax
push 0
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
call dword [edx + 0x54]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
call dword [eax + 0x48]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41fe1e
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x54]
jmp 0x41fe46
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4