Function at 0x4c1380
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x400
add eax, 0xffffd8ec
push esi
cmp eax, 0x59
push edi
ja case.0x4c13a2.10032
xor ecx, ecx
mov cl, byte [eax + 0x4c15cc]
jmp dword [ecx*4 + 0x4c1558]
lea edx, [esp + 8]
mov edi, str.A_successful_WSAStartup_must_occur_before_using_this_function.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_network_subsystem_or_the_associated_service_provider_has_failed.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_specified_address_family_is_not_supported.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_specified_address_is_already_in_use.__See_the_SO_REUSEADDR_socket_option_under_setsockopt._
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_name_or_the_namelen_parameter_is_not_a_valid_part_of_the_user_address_space__the_namelen_parameter_is_too_small__the_name_parameter_contains_incorrect_address_format_for_the_associated_address_family__or_the_first_two_bytes_of_the_memory_block_specified_by_name_does_not_match_the_address_family_associated_with_the_socket_descriptor_s.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.A_blocking_Windows_Sockets_1.1_call_is_in_progress__or_the_service_provider_is_still_processing_a_callback_function.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_is_already_bound_to_an_address.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.No_more_socket_descriptors_are_available.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.No_buffer_space_is_available._The_socket_cannot_be_created.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_descriptor_is_not_a_socket.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_specified_protocol_is_the_wrong_type_for_this_socket.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_is_already_connected.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_referenced_socket_is_not_of_a_type_that_supports_the_listen_operation.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The__blocking__call_was_canceled_through_WSACancelBlockingCall.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.A_nonblocking_connect_call_is_in_progress_on_the_specified_socket._Note_In_order_to_preserve_backward_compatibility__this_error_is_reported_as_WSAEINVAL_to_Windows_Sockets_1.1_applications_that_link_to_either_WINSOCK.DLL_or_WSOCK32.DLL.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_specified_address_is_not_available_from_the_local_machine.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_attempt_to_connect_was_forcefully_rejected.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_network_cannot_be_reached_from_this_host_at_this_time.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.Attempt_to_connect_timed_out_without_establishing_a_connection.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_is_marked_as_nonblocking_and_no_connections_are_present_to_be_accepted.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.Attempt_to_connect_datagram_socket_to_broadcast_address_failed_because_setsockopt_option_SO_BROADCAST_is_not_enabled.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_connection_has_been_broken_due_to_the_remote_host_resetting.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_is_not_connected.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_has_been_shut_down__it_is_not_possible_to_send_on_a_socket_after_shutdown_has_been_invoked_with_how_set_to_SD_SEND_or_SD_BOTH.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_socket_is_message_oriented__and_the_message_is_larger_than_the_maximum_supported_by_the_underlying_transport.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_remote_host_cannot_be_reached_from_this_host_at_this_time.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_virtual_circuit_was_terminated_due_to_a_time_out_or_other_failure._The_application_should_close_the_socket_as_it_is_no_longer_usable.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.The_virtual_circuit_was_reset_by_the_remote_side_executing_a_hard_or_abortive_close._The_application_should_close_the_socket_as_it_is_no_longer_usable._On_a_UDP_datagram_socket_this_error_would_indicate_that_a_previous_send_operation_resulted_in_an_ICMP_Port_Unreachable_message.
jmp 0x4c1519
lea edx, [esp + 8]
mov edi, str.UNKNOWN_ERROR.
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 8]
push ecx
call esi
push 0x507294
call esi
pop edi
pop esi
add esp, 0x400
ret 4