Function at 0x4389a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create raw socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x45c]
sub esp, 0x4ac
mov dword [ebp - 0x470], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x46c], 0xffffffff
mov dword [ebp - 0x43c], 0x25a207b9
mov dword [ebp - 0x438], 0x4660ddf3
mov dword [ebp - 0x434], 0xe576e98e
mov dword [ebp - 0x430], 0x3e06748c
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x47c], eax
mov dword [esp + 4], 0x1a36
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov dword [ebp - 0x46c], eax
mov dword [esp + 4], 0x1a39
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x46c], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
mov edx, 2
xor eax, eax
mov word [ebp - 0x45c], dx
mov dword [ebp - 0x45a], 0
mov dword [ebp - 0x456], 0
mov dword [ebp - 0x452], 0
mov word [ebp - 0x44e], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x458], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1a3f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x468]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [ebp - 0x468], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1a43
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_get_address__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov dword [esp + 4], 1
call sub.ws2_32.dll_listen
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1a46
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_listen__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x418]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8004667e
mov dword [ebp - 0x418], 0
call sub.ws2_32.dll_ioctlsocket
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1a49
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_set_nonblocking__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x460]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x464]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x43c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0xc8000006
mov dword [esp], eax
mov dword [ebp - 0x460], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x1a4e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_get_ConnectEx__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a50
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x460]
mov dword [esp + 4], str.expected_sizeof_pConnectEx___got__u_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1a54
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a55
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov edi, 0x470694
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
call dword [ebp - 0x464]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x1a5b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a5c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a5d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x438f4e
mov dword [esp + 4], 0x1a5e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x438f10
mov esi, eax
lea eax, [ebp - 0x42c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x468]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffff
call dword [ebp - 0x464]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 4], 0x1a61
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
xor eax, eax
test edi, edi
je 0x43a3b2
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.ConnectEx_on_invalid_socket_returned__d__errno__d_n
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov dword [esp + 4], ebx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x468]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 4], 0x1a65
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
xor eax, eax
test edi, edi
je 0x43a391
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.ConnectEx_on_a_unbound_socket_returned__d__errno__d_n
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
xor eax, eax
mov word [ebp - 0x43e], ax
mov eax, 2
mov dword [ebp - 0x44a], 0
mov dword [ebp - 0x446], 0
mov dword [ebp - 0x442], 0
mov word [ebp - 0x44c], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x44c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x1a6d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x460]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x468]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 4], 0x1a70
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
xor eax, eax
test edi, edi
je 0x43a372
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str.ConnectEx_on_a_NULL_overlapped_returned__d__errno__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x468]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 4], 0x1a76
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
xor eax, eax
test edi, edi
je 0x43a351
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.ConnectEx_failed:_returned__d__errno__d_n
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov eax, dword [ebp - 0x41c]
mov dword [esp + 4], 0x3a98
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x480], eax
call eax
sub esp, 8
mov dword [ebp - 0x484], eax
mov dword [esp + 4], 0x1a79
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x484]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.Waiting_for_connect_event_failed_with__d__errno__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x460]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetOverlappedResult]
mov dword [ebp - 0x484], eax
call eax
sub esp, 0x10
mov dword [ebp - 0x488], eax
mov dword [esp + 4], 0x1a7c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x488]
mov dword [esp + 4], str.Connecting_failed__error__d_n
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a7d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x460]
mov dword [esp + 4], str.Bytes_sent_is__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov dword [ebp - 0x46c], eax
mov dword [esp + 4], 0x1a81
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x46c], 0xffffffff
setne al
xor edi, edi
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
mov eax, 2
mov word [ebp - 0x43e], di
mov dword [ebp - 0x44a], 0
mov dword [ebp - 0x446], 0
mov dword [ebp - 0x442], 0
mov word [ebp - 0x44c], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x44c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x1a87
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x47c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0x470], eax
mov dword [esp + 4], 0x1a8a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_accept_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x470], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, 0x3231
mov byte [ebp - 0x416], 0x33
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x42c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x468]
mov dword [esp + 0x10], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x464]
mov byte [ebp - 0x416], 0
sub esp, 0x1c
mov edi, eax
xor eax, eax
mov dword [esp + 4], 0x1a91
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov word [ebp - 0x418], ax
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
xor eax, eax
test edi, edi
je 0x43a330
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.ConnectEx_failed:_returned__d__errno__d_n
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov eax, dword [ebp - 0x41c]
mov dword [esp + 4], 0x3a98
mov dword [esp], eax
mov eax, dword [ebp - 0x480]
call eax
sub esp, 8
mov dword [ebp - 0x488], eax
mov dword [esp + 4], 0x1a94
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x488]
mov edx, dword [edi + 0x34]
mov dword [esp + 4], str.Waiting_for_connect_event_failed_with__d__errno__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x460]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
mov eax, dword [ebp - 0x484]
call eax
sub esp, 0x10
mov dword [ebp - 0x488], eax
mov dword [esp + 4], 0x1a97
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x488]
mov dword [esp + 4], str.Connecting_failed__error__d_n
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1a98
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x460]
mov dword [esp + 4], str.Bytes_sent_is__d_n
cmp eax, 3
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x47c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0x470], eax
mov dword [esp + 4], 0x1a9b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.could_not_accept_socket_error__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x470], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x470]
mov dword [esp + 8], 3
mov dword [esp], eax
call sub.ws2_32.dll_recv
mov byte [ebp - 0x414], 0
sub esp, 0x10
mov dword [ebp - 0x460], eax
mov dword [esp + 4], 0x1a9f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x460]
mov dword [esp + 4], str.Didnt_get_all_sent_data__got_only__d_n
cmp eax, 3
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1aa0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
cmp byte [ebp - 0x418], 0x31
je 0x43a310
lea eax, [ebp - 0x418]
mov dword [esp], esi
mov edi, 0x470694
mov dword [esp + 8], eax
mov dword [esp + 4], str.Failed_to_get_the_right_data__expected_123__got__s_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x46c]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1aa5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x439834
mov dword [esp + 4], 0x1aa6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x4397f0
mov dword [esp], 0xdeadbeef
mov edi, 0x470694
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x470]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1aaa
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1aab
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x1ab1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ab2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ab3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x439a4f
mov dword [esp + 4], 0x1ab4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x439a11
mov dword [esp], 0xdeadbeef
mov edi, 0x470694
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x470]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x1aba
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1abb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1abc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x439bce
mov dword [esp + 4], 0x1abd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x439b90
mov eax, dword [ebp - 0x46c]
mov edi, 0x470694
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x470]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x47c]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov ecx, 1
lea edx, [ebp - 0x470]
lea eax, [ebp - 0x46c]
sub esp, 4
call fcn.00420e30
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x46c]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1ac7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ac8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x470]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1acc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1acd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x1ad3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ad4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ad5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x439ed2
mov dword [esp + 4], 0x1ad6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x439e94
mov dword [esp], 0xdeadbeef
mov edi, 0x470694
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x470]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x1adc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1add
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ade
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x43a050
mov dword [esp + 4], 0x1adf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x43a012
mov esi, eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x470]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov dword [ebp - 0x46c], eax
mov dword [esp + 4], 0x1ae7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x46c], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
mov edx, 2
xor eax, eax
mov word [ebp - 0x44c], dx
mov dword [ebp - 0x44a], 0
mov dword [ebp - 0x446], 0
mov dword [ebp - 0x442], 0
mov word [ebp - 0x43e], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x44c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x1aed
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov ecx, 0x100
mov dword [esp + 4], ebx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x460]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x468]
mov word [ebp - 0x45a], cx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [ebp - 0x464]
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x1af2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
mov edx, dword fs:[0x18]
mov ecx, dword [edx + 0x34]
test ebx, ebx
jne 0x43a1fd
xor eax, eax
cmp ecx, 0x3e5
sete al
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.ConnectEx_to_bad_destination_failed:_returned__d__errno__d_n
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov eax, dword [ebp - 0x41c]
mov dword [esp + 4], 0x3a98
mov dword [esp], eax
mov eax, dword [ebp - 0x480]
call eax
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1af5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Waiting_for_connect_event_failed_with__d__errno__d_n
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x460]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
mov eax, dword [ebp - 0x484]
call eax
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1af8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
test ebx, ebx
jne 0x43a2cd
xor ecx, ecx
cmp dword [edi + 0x34], 0x4c9
sete cl
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], str.Connecting_to_a_disconnected_host_returned_error__d____d_n
call fcn.00465cf0
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call sub.ws2_32.dll_WSACloseEvent
mov eax, dword [ebp - 0x46c]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp - 0x417], 0x32
jne 0x439749
xor eax, eax
cmp byte [ebp - 0x416], 0x33
sete al
mov esi, eax
jmp 0x439749
mov dword [ebp - 0x488], edx
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x488]
cmp eax, 0x3e5
sete al
movzx eax, al
jmp 0x43953d
mov dword [ebp - 0x480], edx
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x480]
cmp eax, 0x3e5
sete al
movzx eax, al
jmp 0x439218
mov dword [ebp - 0x480], edx
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x480]
cmp eax, 0x57
sete al
movzx eax, al
jmp 0x439167
mov dword [ebp - 0x480], edx
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x480]
cmp eax, 0x2726
sete al
movzx eax, al
jmp 0x439045
mov dword [ebp - 0x480], edx
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x480]
cmp eax, 0x2736
sete al
movzx eax, al
jmp 0x438fc2