Function at 0x4296c0
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp word [esi*2 + 0x44c280], 0
mov dword [esi*4 + 0x44c450], 0
mov dword [esi*4 + 0x44c2a8], 1
jne 0x4296ec
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi*4 + 0x44c230]
push 0x31
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x4297bc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8da
cmp eax, 0x47
ja case.0x42972b.10027
xor ecx, ecx
mov cl, byte [eax + 0x4299d4]
jmp dword [ecx*4 + 0x4299bc]
push str.A_successful_WSAStartup_must_occur_before_using_this_function.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_network_subsystem_has_failed.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.Indicates_that_one_of_the_specified_parameters_was_invalid_such_as_the_window_handle_not_referring_to_an_existing_window__or_the_specified_socket_is_in_an_invalid_state.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.A_blocking_Windows_Sockets_1.1_call_is_in_progress__or_the_service_provider_is_still_processing_a_callback_function.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_descriptor_is_not_a_socket.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push 0x441a5c
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [esi*4 + 0x44c230]
mov edx, esi
shl edx, 4
add edx, 0x44c4a0
push 0x10
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne case.0x4297ff.10008
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
add eax, 0xffffd8ec
cmp eax, 0x59
ja case.0x4297ff.10022
xor ecx, ecx
mov cl, byte [eax + 0x429a68]
jmp dword [ecx*4 + 0x429a1c]
push 0x4414a8
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_network_subsystem_has_failed.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_sockets_local_address_is_already_in_use_and_the_socket_was_not_marked_to_allow_address_reuse_with_SO_REUSEADDR._This_error_usually_occurs_when_executing_bind__but_could_be_delayed_until_this_function_if_the_bind_was_to_a_partially_wild_card_address__involving_ADDR_ANY__and_if_a_specific_address_needs_to_be_committed_at_the_time_of_this_function.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The__blocking__Windows_Socket_1.1_call_was_canceled_through_WSACancelBlockingCall.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.A_blocking_Windows_Sockets_1.1_call_is_in_progress__or_the_service_provider_is_still_processing_a_callback_function.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.A_nonblocking_connect_call_is_in_progress_on_the_specified_socket.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_remote_address_is_not_a_valid_address__such_as_ADDR_ANY_.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.Addresses_in_the_specified_family_cannot_be_used_with_this_socket.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push 0x4417c4
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_name_or_the_namelen_parameter_is_not_a_valid_part_of_the_user_address_space__the_namelen_parameter_is_too_small__or_the_name_parameter_contains_incorrect_address_format_for_the_associated_address_family.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_parameter_s_is_a_listening_socket__or_the_destination_address_specified_is_not_consistent_with_that_of_the_constrained_group_the_socket_belongs_to.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_socket_is_already_connected__connection_oriented_sockets_only_.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_network_cannot_be_reached_from_this_host_at_this_time.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.No_buffer_space_is_available._The_socket_cannot_be_connected.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.The_descriptor_is_not_a_socket.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push 0x44157c
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
push str.Attempt_to_connect_datagram_socket_to_broadcast_address_failed_because_setsockopt_option_SO_BROADCAST_is_not_enabled.
push 0x441b64
call fcn.0042c420
add esp, 8
xor eax, eax
pop edi
pop esi
ret
call edi
push eax
push 0x4414e8
push 0x441b64
call fcn.0042c420
add esp, 0xc
xor eax, eax
pop edi
pop esi
ret
mov dword [esi*4 + 0x44b5fc], 0
pop edi
mov eax, 1
pop esi
ret