Function at 0x427960
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x74], 0xa441e712
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
mov dword [ebp - 0x70], 0x43ca754f
mov dword [ebp - 0x6c], 0xee0da784
mov dword [ebp - 0x68], 0x6d60cf44
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0x6c6c6568
mov dword [ebp - 0x9c], 0x6f77206f
mov dword [ebp - 0x98], 0x646c72
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1632
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0xa8]
mov dword [esp], ebx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xb0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc8000006
call sub.ws2_32.dll_WSAIoctl
mov eax, dword [ebp - 0xb0]
sub esp, 0x24
test eax, eax
je 0x4289a0
mov dword [esp], str.127.0.0.1
lea edi, [ebp - 0x94]
mov dword [ebp - 0x94], 0x8b000002
call sub.ws2_32.dll_inet_addr
mov dword [ebp - 0x54], edi
sub esp, 4
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xa0]
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x48], 1
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x54]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call dword [ebp - 0xb0]
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x164f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x1651
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10038__got__d_instead_n
cmp eax, 0x2736
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], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [ebp - 0xb0]
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1655
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x1657
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10014__got__d_instead_n
cmp eax, 0x271e
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
lea eax, [ebp - 0xac]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [ebp - 0xb0]
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x165b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x165d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10014__got__d_instead_n
cmp eax, 0x271e
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
lea eax, [ebp - 0x54]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [ebp - 0xb0]
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1661
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x1663
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10014__got__d_instead_n
cmp eax, 0x271e
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1668
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [ebp - 0xbc], eax
mov dword [esp + 4], 0x166b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
xor ecx, ecx
mov eax, 2
mov word [ebp - 0x76], cx
mov dword [ebp - 0x82], 0
mov dword [ebp - 0x7e], 0
mov dword [ebp - 0x7a], 0
mov word [ebp - 0x84], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0x1670
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x84]
mov dword [esp], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
test eax, eax
sete al
mov dword [esp + 4], str.bind_should_have_worked_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1676
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xa4], 0x10
call fcn.00465a80
lea eax, [ebp - 0xa4]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
test eax, eax
sete al
mov dword [esp + 4], str.getsockname_should_have_worked_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1678
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movzx eax, word [ebp - 0x92]
mov dword [esp + 4], str.socket_port_should_be___0_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x10
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x167e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.getsockname_should_have_failed_n
sete al
lea ebx, [ebp - 0x38]
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x1680
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10022__got__d_instead_n
cmp eax, 0x2726
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x8004667e
mov dword [esp], esi
mov dword [ebp - 0x38], 0
call sub.ws2_32.dll_ioctlsocket
lea eax, [ebp - 0xac]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [ebp - 0xac], 0
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [ebp - 0xb0]
sub esp, 0x18
mov dword [ebp - 0xc0], eax
mov dword [esp + 4], 0x1687
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], str.WSASendMsg_should_have_worked_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1688
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [edi + 0x34]
mov eax, 1
test edx, edx
jne 0x428970
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_0__got__d_n
call fcn.00465cf0
mov dword [esp + 4], 0x168a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], str.incorrect_bytes_sent__expected__d__sent__d_n
cmp edx, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
xor edx, edx
xor eax, eax
mov dword [ebp - 0xa4], 0x10
mov dword [ebx + eax], edx
add eax, 4
cmp eax, 0x20
jb 0x428141
lea eax, [ebp - 0xa4]
mov edi, dword fs:[0x18]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x20
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.ws2_32.dll_recvfrom
sub esp, 0x18
mov dword [ebp - 0xc0], eax
mov dword [esp + 4], 0x1692
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], str.got__d__expected__d_n
cmp eax, edx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1694
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov edx, dword [edi + 0x34]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
xor ecx, ecx
mov word [ebp - 0x82], cx
mov dword [ebp - 0xa4], 0x10
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0xa4]
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov dword [ebp - 0xc0], eax
mov dword [esp + 4], 0x169b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], str.getsockname_should_have_worked_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x169c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call sub.ws2_32.dll_inet_ntoa
mov edx, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp + 4], str.expected_0.0.0.0__got__s_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x169e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movzx eax, word [ebp - 0x82]
mov dword [esp + 4], 0x471a5f
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0xac]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x48], 2
mov dword [ebp - 0xac], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [ebp - 0xb0]
sub esp, 0x18
mov dword [ebp - 0xc0], eax
mov dword [esp + 4], 0x16a5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], str.WSASendMsg_should_have_worked_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16a6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.incorrect_bytes_sent__expected__d__sent__d_n
add eax, dword [ebp - 0x64]
cmp edx, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16a8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [edi + 0x34]
mov eax, 1
test edx, edx
je 0x428401
xor eax, eax
cmp edx, 0xdeadbeef
mov dword [ebp - 0xc0], edx
sete al
mov dword [esp], eax
call fcn.00465b60
mov edx, dword [ebp - 0xc0]
test eax, eax
setne al
movzx eax, al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_0__got__d_n
call fcn.00465cf0
xor edx, edx
xor eax, eax
mov dword [ebp - 0xa4], 0x10
mov dword [ebx + eax], edx
add eax, 4
cmp eax, 0x20
jb 0x428423
lea eax, [ebp - 0xa4]
mov edi, dword fs:[0x18]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x20
mov dword [esp], eax
call sub.ws2_32.dll_recvfrom
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x16b0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got__d__expected__d_n
cmp ebx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16b2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov ecx, dword [edi + 0x34]
xor eax, eax
mov edi, 0x470694
test ecx, ecx
sete al
xor ebx, ebx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0xbc]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov word [ebp - 0x82], bx
mov dword [ebp - 0xa4], 0x10
sub esp, 4
mov dword [esp], str.127.0.0.1
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x80], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x16bc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x54]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [ebp - 0xb0]
sub esp, 0x18
cmp eax, 0xffffffff
sete al
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
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 0x4286bb
mov dword [esp + 4], 0x16bf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0xa4]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
test eax, eax
sete al
mov dword [esp + 4], str.getsockname_should_have_worked_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16c0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call sub.ws2_32.dll_inet_ntoa
mov edx, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp + 4], str.expected_0.0.0.0__got__s_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16c2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movzx eax, word [ebp - 0x82]
mov dword [esp + 4], str.sin_port_should_be___0_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x428600
mov dword [esp], ebx
mov edi, 0x470694
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x16c8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16c9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [ebp - 0xb0]
sub esp, 0x18
cmp eax, 0xffffffff
sete al
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x16ca
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0xa4]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], str.getsockname_should_have_failed_n
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x16cc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xa8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10022__got__d_instead_n
cmp eax, 0x2726
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov dword [ebp - 0xac], 0
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 ebx, eax
mov dword [esp + 4], 0x16d2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.socket___failed_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xdeadbeef
lea eax, [ebp - 0xac]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [ebp - 0xb0]
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x16d5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.WSASendMsg_should_have_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [str.windows]
mov ecx, 5
mov dword [ebp - 0xa8], eax
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 0x42894f
mov dword [esp + 4], 0x16d8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], str.expected_10014__got__d_instead_n
cmp eax, 0x2726
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 0x428911
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
cmp edx, 0xdeadbeef
mov dword [ebp - 0xc0], edx
sete al
mov dword [esp], eax
call fcn.00465b60
mov edx, dword [ebp - 0xc0]
test eax, eax
setne al
movzx eax, al
jmp 0x4280e2
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 4], 0x163a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp], str.WSASendMsg_is_unsupported__some_tests_will_be_skipped._n
call fcn.00465e00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret