Function at 0x455090
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x39c
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 - 0x36c], eax
mov dword [esp + 4], 0xbf3
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.socket_failed_unexpectedly:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x36c], 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 - 0x368], eax
mov dword [esp + 4], 0xbf5
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.socket_failed_unexpectedly:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x368], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
cmp edx, eax
mov esi, eax
mov dword [ebp - 0x320], eax
cmovae esi, edx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
je 0x4551cd
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], edx
lea ebx, [ebp - 0x354]
add esi, 1
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
call edi
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x11c]
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x220]
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x324]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [ebp - 0x37c], eax
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
call edi
mov dword [esp + 4], 0xc04
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov edi, eax
sub edi, dword [ebp - 0x37c]
call fcn.00465a80
mov ecx, dword [ebp - 0x364]
xor eax, eax
mov dword [esp + 4], str.select_should_not_return_any_socket_handles_n
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc05
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 9
mov dword [esp + 8], edi
setbe al
mov dword [esp + 4], str.select_was_blocking_for__u_ms__expected___10_ms_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc06
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc07
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc08
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc09
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
cmp eax, edx
je 0x45541c
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], edx
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0x1f4
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc12
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x364]
xor eax, eax
mov dword [esp + 4], str.select_should_not_return_any_socket_handles_n
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc13
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc14
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc15
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc16
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc18
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0x7fffffff
mov dword [esp], eax
call sub.ws2_32.dll_listen
sub esp, 8
cmp eax, 0xffffffff
sete al
mov dword [esp + 4], str.listen_did_not_fail_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc1a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.closesocket_failed_unexpectedly:__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 - 0x36c]
mov dword [ebp - 0x348], 0
mov dword [esp + 0xc], 0
mov dword [ebp - 0x34c], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [0x47846c], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x34c]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x459950
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x384], eax
call eax
sub esp, 0x18
mov edi, eax
mov dword [esp + 4], 0xc20
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.CreateThread_failed_unexpectedly:__d_n
mov dword [ebp - 0x388], edx
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [0x47846c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x380], eax
call eax
mov ecx, dword [sym.imp.kernel32.dll_Sleep]
sub esp, 8
mov dword [ebp - 0x37c], ecx
mov dword [esp], 0xc8
call ecx
mov eax, dword [ebp - 0x36c]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc25
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.closesocket_failed_unexpectedly:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov eax, dword [ebp - 0x380]
mov dword [esp + 4], 0x3e8
call eax
sub esp, 8
mov dword [esp + 4], 0xc28
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x348]
mov dword [esp + 4], str.closesocket_did_not_wake_up_select_n
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x36d]
mov dword [esp + 0xc], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc2a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.peek_at_closed_socket_expected__1_got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x388]
lea eax, [ebp - 0x354]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x220], 0
mov dword [edx + 0x34], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x11c], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc31
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__i_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc32
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2726
mov dword [esp + 4], str.expected_WSAEINVAL__got__i_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x388]
lea eax, [ebp - 0x354]
mov dword [edx + 0x34], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc36
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__i_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc37
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2726
mov dword [esp + 4], str.expected_WSAEINVAL__got__i_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x324]
test edx, edx
je 0x458a2a
cmp dword [ebp - 0x320], 0xffffffff
je 0x4559fa
xor eax, eax
jmp 0x4559e7
cmp dword [ebx + eax*4 + 4], 0xffffffff
je 0x4559fa
add eax, 1
cmp eax, edx
jne 0x4559e0
lea eax, [edx + 1]
cmp edx, 0x40
jne 0x458a2f
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc3c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__i_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc3d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2736
mov dword [esp + 4], str.expected_WSAENOTSOCK__got__i_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc3e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x324], 0
test edx, edx
je 0x458a45
cmp dword [ebp - 0x21c], 0xffffffff
je 0x455b3d
xor eax, eax
jmp 0x455b2a
cmp dword [ebp + eax*4 - 0x21c], 0xffffffff
je 0x455b3d
add eax, 1
cmp edx, eax
jne 0x455b20
lea eax, [edx + 1]
cmp edx, 0x40
jne 0x458a4a
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc44
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__i_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc45
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2736
mov dword [esp + 4], str.expected_WSAENOTSOCK__got__i_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc46
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x220], 0
test edx, edx
je 0x458a60
cmp dword [ebp - 0x118], 0xffffffff
je 0x455c7d
xor eax, eax
jmp 0x455c6a
cmp dword [ebp + eax*4 - 0x118], 0xffffffff
je 0x455c7d
add eax, 1
cmp edx, eax
jne 0x455c60
lea eax, [edx + 1]
cmp edx, 0x40
jne 0x458a65
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc4c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__i_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc4d
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, 0x2736
mov dword [esp + 4], str.expected_WSAENOTSOCK__got__i_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc4e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.FD_should_not_be_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x368]
mov ecx, 1
lea eax, [ebp - 0x36c]
call fcn.00420e30
mov eax, dword [ebp - 0x36c]
lea ecx, [ebp - 0x354]
cmp dword [ebp - 0x368], eax
mov dword [esp + 0x10], ecx
mov esi, eax
mov dword [ebp - 0x320], eax
cmovae esi, dword [ebp - 0x368]
add eax, 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x324], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc57
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__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 - 0x368]
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x354]
mov dword [esp + 8], edx
mov dword [ebp - 0x21c], eax
add eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x220], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc5c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc5d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x320], eax
add eax, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x324], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc63
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc64
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], eax
cmp eax, edx
je 0x455fc5
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
add esi, 1
lea eax, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc6a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc6b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xc6c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xc6e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
cmp eax, 4
sete al
mov dword [esp + 4], str.failed_to_send_data_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [ebp - 0x320], eax
add eax, 1
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x324], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc72
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc73
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], eax
cmp eax, edx
je 0x4561da
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
lea eax, [ebp - 0x354]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc79
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc7a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xc7b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
mov dword [esp], eax
call fcn.00465cf0
jmp 0x456308
mov dword [esp + 4], 0xc82
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
test eax, eax
setg al
mov dword [esp + 4], str.failed_to_send_data_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
lea edi, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x220]
mov dword [ebp - 0x21c], eax
add eax, 1
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x220], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
test eax, eax
jne 0x4562b3
mov eax, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], eax
cmp eax, edx
je 0x45638e
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
lea eax, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc88
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc89
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.fdWrite_socket_is_in_the_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc8a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xc8c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
cmp eax, 4
sete al
mov dword [esp + 4], str.failed_to_send_data_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x37c]
mov dword [esp], 0x64
call eax
mov eax, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
sub esp, 4
mov dword [ebp - 0x320], eax
cmp eax, edx
je 0x456502
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
lea eax, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xc92
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.select_returned__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xc93
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xc94
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x368]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
sub esp, 4
mov dword [esp], str.127.0.0.1
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
call sub.ws2_32.dll_inet_addr
lea edx, [ebp - 0x360]
mov dword [ebp - 0x360], 0x10
mov dword [ebp - 0x340], eax
mov eax, 2
sub esp, 4
mov word [ebp - 0x344], ax
lea eax, [ebp - 0x344]
call fcn.00451fa0
mov dword [esp + 4], ebx
mov edi, eax
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], 0x3d090
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcac
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x360]
mov ecx, 1
lea eax, [ebp - 0x344]
call fcn.00422de0
mov dword [esp + 4], ebx
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], edi
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcb3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcb4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdListen_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x344]
mov dword [esp + 4], eax
mov dword [ebp - 0x360], 0x10
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0x36c], eax
mov dword [esp + 4], 0xcb7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp dword [ebp - 0x36c], 0xffffffff
mov dword [esp + 4], str.expected_a_valid_socket_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], edi
cmp eax, edi
je 0x458bf2
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x11c], 2
cmp dword [ebp - 0x37c], eax
je 0x45695a
mov edx, 2
cmp dword [ebp - 0x31c], eax
je 0x457d0a
lea ecx, [edx + 1]
mov dword [ebp + edx*4 - 0x320], eax
mov dword [ebp - 0x324], ecx
cmp eax, dword [ebp - 0x37c]
je 0x45695a
xor ecx, ecx
jmp 0x456921
mov ecx, 1
cmp eax, dword [ebp - 0x218]
je 0x457d00
lea esi, [ecx + 1]
cmp edx, esi
ja 0x456910
je 0x458a95
cmp eax, dword [ebp - 0x37c]
je 0x45695a
xor ecx, ecx
jmp 0x45694d
mov ecx, 1
cmp eax, dword [ebp - 0x114]
je 0x45695a
lea esi, [ecx + 1]
cmp edx, esi
ja 0x456940
je 0x458a80
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcbf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_2__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcc0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xcc1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcc5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcc6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.expected_0__got__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 - 0x368]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], str.1234
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcca
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_4__got__d_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], ecx
cmp eax, ecx
je 0x456bcb
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov esi, 0x478040
mov edi, str.1234
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcd0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcd1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xcd2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.fdRead_socket_is_in_the_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcd6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcd7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xcd8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xcd9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.fdRead_socket_is_in_the_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcdb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_4__got__d_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcdc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 4], str.data_received_differs_from_sent_n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x47477b
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xce0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], ecx
cmp eax, ecx
je 0x456f8a
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xce6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xce7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
mov byte [0x478040], 0xaf
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcea
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xceb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, byte [0x478040]
mov dword [esp + 4], str.expected_A__got_0x_02X_n
cmp dl, 0x41
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x364]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x364], 1
call sub.ws2_32.dll_setsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcf0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__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 - 0x368]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x47477b
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcf2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], ecx
cmp eax, ecx
je 0x45721b
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcf8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.00465cf0
mov dword [esp + 4], 0xcf9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdRead_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov byte [0x478040], 0xaf
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xcfd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_SOCKET_ERROR__got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xcfe
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.expected_10022__got__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x2726
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd00
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd01
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, byte [0x478040]
mov dword [esp + 4], str.expected_A__got_0x_02X_n
cmp dl, 0x41
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd05
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], esi
cmp eax, esi
je 0x4574af
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x354]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd0a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd0b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x478040
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd0d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__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 - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd0f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [0x4784c4]
test esi, esi
jne 0x457d14
mov eax, dword [ebp - 0x37c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd98
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_0__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x368]
mov ecx, 1
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], 0x3d090
call fcn.00420e30
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
sub esp, 4
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
cmp eax, edx
je 0x45770e
mov dword [ebp - 0x324], 2
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x11c], 2
mov dword [ebp - 0x114], edx
lea eax, [ebp - 0x354]
mov esi, dword fs:[0x18]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xda5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected__1__got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xda6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x2736
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xda8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x324]
mov dword [esp + 4], str.expected_2__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xda9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x11c]
mov dword [esp + 4], str.expected_2__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x368]
mov ecx, 1
lea eax, [ebp - 0x36c]
sub esp, 4
call fcn.00420e30
lea eax, [ebp - 0x35c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x368]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x384]
mov dword [esp + 8], 0x420d40
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov edi, eax
mov dword [esp + 4], 0xdaf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.CreateThread_failed_unexpectedly:__d_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x354]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x368]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x11c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xdb3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xdb4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x380]
mov dword [esp], edi
lea edi, [ebp - 0x368]
mov dword [esp + 4], 0x3e8
call edx
mov eax, dword [ebp - 0x36c]
sub esp, 8
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov edx, edi
lea edi, [ebp - 0x36c]
mov ecx, 1
sub esp, 4
mov eax, edi
call fcn.00420e30
lea ecx, [ebp - 0x35c]
mov eax, dword [ebp - 0x384]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x368]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x420d40
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov edi, eax
mov dword [esp + 4], 0xdba
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.CreateThread_failed_unexpectedly:__d_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x11c], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xdbf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected__1__got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xdc0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x2736
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xdc1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.fdWrite_socket_is_in_the_set_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x380]
mov dword [esp], edi
mov dword [esp + 4], 0x3e8
call edx
mov eax, dword [ebp - 0x36c]
sub esp, 8
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0x3d090
sub esp, 4
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov dword [ebp - 0x368], eax
mov dword [esp + 4], 0xdc9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp dword [ebp - 0x368], 0xffffffff
mov dword [esp + 4], str.socket_call_failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xdcd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xdce
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
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
mov edx, 2
jmp 0x456936
mov edx, 2
jmp 0x456906
mov dword [esp + 8], 6
mov edi, 0x470694
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x334], 0xff0002
mov dword [ebp - 0x330], 0x100007f
call sub.ws2_32.dll_socket
lea edx, [ebp - 0x358]
mov dword [ebp - 0x358], 1
sub esp, 0xc
mov dword [ebp - 0x368], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call sub.ws2_32.dll_ioctlsocket
lea eax, [ebp - 0x334]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd1f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd20
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, 0x2733
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x354], 0xa
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd28
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd29
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
mov dword [esp + 4], 0xd2a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
mov dword [esp + 4], str.select_timeout_should_not_have_changed_n
cmp dword [ebp - 0x350], 0x3d090
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd2f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd30
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.got_error__u_n
cmp eax, 0x274d
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd35
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd36
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.got_error__u_n
cmp eax, 0x274d
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x354], 0xa
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd3e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd3f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x334]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd47
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
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 0x458288
mov dword [esp + 4], 0xd48
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, 0x2733
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 0x458244
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x458b4e
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd53
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_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], 0xd54
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.got_error__u_n
cmp eax, 0x274d
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x354], 0xa
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd5c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd5d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [ebp - 0x360], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x344]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x37c]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd61
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, dword [ebp - 0x364]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
mov edi, 0x470694
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x344]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd63
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
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 0x458594
mov dword [esp + 4], 0xd64
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, 0x2733
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 0x458550
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x458aaa
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov edi, 0x470694
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x354], 1
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd72
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd73
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd78
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd79
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.got_error__u_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 - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
lea edx, [ebp - 0x334]
sub esp, 0xc
mov dword [ebp - 0x368], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd82
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd83
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, 0x274d
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x354]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x354], 0
call sub.ws2_32.dll_select
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd8b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.expected_1__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd8c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], str.fdWrite_socket_is_not_in_the_set_n
call fcn.00465cf0
lea eax, [ebp - 0x360]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x35c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd91
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0x364]
mov dword [esp + 4], str.getsockopt_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete 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 0x458a0b
mov dword [esp + 4], 0xd92
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x35c]
mov dword [esp + 4], str.got_error__u_n
test eax, eax
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 0x4589d0
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
jmp 0x457616
mov eax, 1
mov dword [ebp - 0x324], eax
mov dword [ebp + edx*4 - 0x320], 0xffffffff
jmp 0x4559fa
mov eax, 1
mov dword [ebp - 0x220], eax
mov dword [ebp + edx*4 - 0x21c], 0xffffffff
jmp 0x455b3d
mov eax, 1
mov dword [ebp - 0x11c], eax
mov dword [ebp + edx*4 - 0x118], 0xffffffff
jmp 0x455c7d
add ecx, 2
mov dword [ebp + edx*4 - 0x118], eax
mov dword [ebp - 0x11c], ecx
jmp 0x45695a
add ecx, 2
mov dword [ebp + edx*4 - 0x21c], eax
mov dword [ebp - 0x220], ecx
jmp 0x45692e
lea eax, [ebp - 0x344]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd68
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd69
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, 0x2733
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
jmp 0x4585ad
lea eax, [ebp - 0x334]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x364], eax
mov dword [esp + 4], 0xd4c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x364]
mov dword [esp + 4], str.got__d_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0xd4d
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, 0x2733
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
jmp 0x4582a1
mov eax, dword [ebp - 0x368]
cmp dword [ebp - 0x37c], eax
je 0x45695a
mov edx, 1
jmp 0x4568ee