Function at 0x45eb90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
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, 0x1dc
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x1a0], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebp - 0x148], eax
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov esi, eax
mov dword [ebp - 0x1b4], eax
mov dword [esp + 4], 0x1d3b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_listener_socket__error__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
mov edx, 2
xor eax, eax
mov word [ebp - 0x188], dx
mov dword [ebp - 0x186], 0
mov dword [ebp - 0x182], 0
mov dword [ebp - 0x17e], 0
mov word [ebp - 0x17a], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
mov dword [esp], esi
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1d41
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x19c]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
mov dword [ebp - 0x19c], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1d44
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_get_address__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
mov dword [esp + 4], 1
call sub.ws2_32.dll_listen
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d47
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_listen__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x1ac], eax
mov dword [esp + 4], 0x1d4a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d4e
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.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d4f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2749
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d53
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.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d54
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2749
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x178]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ws2_32.dll_connect
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1d57
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_accept
sub esp, 0xc
mov esi, eax
mov dword [ebp - 0x1b0], eax
mov dword [esp + 4], 0x1d59
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_accept__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [ebp - 0x144], 1
call sub.ws2_32.dll_ioctlsocket
sub esp, 0xc
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d5e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d5f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x4617f4
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1ac]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d63
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d64
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461884
mov dword [esp], edx
mov edi, 0x470694
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1ac]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d68
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x45f1f4
mov dword [esp + 4], 0x1d69
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x45f1b0
mov esi, dword [ebp - 0x1b0]
lea eax, [ebp - 0x195]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d6c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x195]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d6e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], esi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d72
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d73
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461870
mov dword [esp], edx
mov edi, 0x470694
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp], eax
call sub.ws2_32.dll_recv
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0x10
mov ebx, 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 0x45f3d9
mov dword [esp + 4], 0x1d77
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x45f3a4
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x45f454
mov dword [esp + 4], 0x1d78
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x45f410
mov eax, dword [ebp - 0x1b0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d7b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 5
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x1ac]
mov ecx, 5
lea edx, [ebp - 0x195]
call fcn.00451010
mov dword [esp + 4], 0x1d7e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov ebx, eax
call fcn.00465a80
xor eax, eax
cmp ebx, 5
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d7f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x195]
shr eax, 0x10
mov dword [ebp - 0x1bc], eax
je 0x461750
lea eax, [ebp - 0x195]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x45f5e4
cmp ebx, 0xffffffff
je 0x4618c0
mov byte [ebp - 0x144], 0x22
lea edx, [ebp - 0x143]
lea ecx, [ebp - 0x195]
lea edi, [ebp - 0x21]
lea esi, [ebx - 1]
test ebx, ebx
jle 0x45f5b7
cmp edx, edi
ja 0x45f5b7
add ecx, 1
movzx eax, byte [ecx - 1]
cmp al, 0xd
je 0x461720
jg 0x461620
cmp al, 9
je 0x4616b0
cmp al, 0xa
jne 0x461670
mov eax, 0x6e5c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
lea esi, [esi]
lea esi, [ebx - 1]
test ebx, ebx
jg 0x45f572
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x45f5d1
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.00466a20
mov edx, eax
mov ecx, 5
lea esi, [ebp - 0x195]
mov edi, 0x4732b6
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 8], edx
mov dword [esp + 4], str.got__s_n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1ac]
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d83
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d84
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461854
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov esi, dword [ebp - 0x1ac]
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d88
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d89
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d8d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d8e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1b0]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d92
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1d93
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461840
mov dword [esp], edx
mov edi, 0x470694
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1b0]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1d97
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x45f974
mov dword [esp + 4], 0x1d98
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x45f930
lea eax, [ebp - 0x19c]
mov edi, 0x470694
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sub.ws2_32.dll_getpeername
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0xc
mov ebx, 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 0x45fa19
mov dword [esp + 4], 0x1d9c
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x45f9e0
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x45fa6d
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.address_didnt_match_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x45fad0
mov dword [esp + 4], 0x1d9d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x188], eax
jne 0x45fa50
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x184], eax
jne 0x45fa50
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x180], eax
jne 0x45fa50
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x17c], eax
jne 0x45fa50
xor eax, eax
jmp 0x45fa55
lea eax, [ebp - 0x19c]
mov edi, 0x470694
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1da1
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call sub.ws2_32.dll_getpeername
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0xc
mov ebx, 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 0x45fbc9
mov dword [esp + 4], 0x1da4
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x45fb90
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x45fc1d
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.address_didnt_match_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x45fc80
mov dword [esp + 4], 0x1da5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x188], eax
jne 0x45fc00
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x184], eax
jne 0x45fc00
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x180], eax
jne 0x45fc00
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x17c], eax
jne 0x45fc00
xor eax, eax
jmp 0x45fc05
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov edi, dword [ebp - 0x1ac]
lea eax, [ebp - 0x178]
sub esp, 4
mov dword [esp], edi
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1da9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1daa
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2748
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp], edi
mov dword [esp + 4], 0xdeadbeef
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1dae
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.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1daf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x1b0]
sub esp, 4
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
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x1b0], eax
mov dword [esp + 4], 0x1db7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x178]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ws2_32.dll_connect
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1db9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x1b4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov esi, eax
mov dword [ebp - 0x1ac], eax
mov dword [esp + 4], 0x1dbb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
cmp esi, 0xffffffff
mov dword [esp + 4], str.failed_to_accept__error__u_n
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1dbf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1dc0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461824
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov edi, dword [ebp - 0x1b0]
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1dc4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1dc5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp], edi
mov edi, 0x470694
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1dc9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x4600e8
mov dword [esp + 4], 0x1dca
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x4600a4
mov esi, dword [ebp - 0x1ac]
lea eax, [ebp - 0x195]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1dcd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], esi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1dd1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1dd2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x461810
mov dword [esp], edx
mov edi, 0x470694
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp], eax
call sub.ws2_32.dll_recv
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0x10
mov ebx, 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 0x460277
mov dword [esp + 4], 0x1dd6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x460242
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x4602f4
mov dword [esp + 4], 0x1dd7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x4602b0
mov dword [esp], 0xdeadbeef
mov edi, 0x470694
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1ac]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1ddb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x4603d4
mov dword [esp + 4], 0x1ddc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
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 0x460390
lea eax, [ebp - 0x19c]
mov edi, 0x470694
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call sub.ws2_32.dll_getpeername
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0xc
mov ebx, 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 0x460479
mov dword [esp + 4], 0x1de0
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x460440
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x4604cd
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.address_didnt_match_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x460530
mov dword [esp + 4], 0x1de1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x188], eax
jne 0x4604b0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x184], eax
jne 0x4604b0
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x180], eax
jne 0x4604b0
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x17c], eax
jne 0x4604b0
xor eax, eax
jmp 0x4604b5
lea eax, [ebp - 0x19c]
mov edi, 0x470694
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1de5
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sub.ws2_32.dll_getpeername
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0xc
mov ebx, 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 0x460629
mov dword [esp + 4], 0x1de8
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x4605f0
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
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 0x46067d
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.address_didnt_match_n
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x4606e0
mov dword [esp + 4], 0x1de9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x188], eax
jne 0x460660
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x184], eax
jne 0x460660
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x180], eax
jne 0x460660
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x17c], eax
jne 0x460660
xor eax, eax
jmp 0x460665
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x1ac]
sub esp, 4
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
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x1b0], eax
mov dword [esp + 4], 0x1df1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x178]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ws2_32.dll_connect
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1df3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x1b4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov esi, eax
mov dword [ebp - 0x1b8], eax
mov dword [esp + 4], 0x1df5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_accept__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [ebp - 0x144], 1
call sub.ws2_32.dll_ioctlsocket
lea eax, [ebp - 0x195]
mov dword [ebp - 0x190], 5
sub esp, 0xc
mov dword [ebp - 0x18c], eax
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x158]
sub esp, 4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1a0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x190]
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ws2_32.dll_WSARecv
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x1dfc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1dfd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x3e5
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e00
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x1a0]
sub esp, 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x190]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ws2_32.dll_WSARecv
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x1e04
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e05
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], esi
call sub.ws2_32.dll_send
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1e08
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 5
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], 0x3e8
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c4], eax
call eax
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e0b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.wait_timed_out_n
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x1a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetOverlappedResult]
mov dword [ebp - 0x1a4], 0xdeadbeef
mov dword [esp], edi
mov dword [ebp - 0x1c0], eax
call eax
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1e0e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e0f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x1a4]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e10
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x1bc]
test eax, eax
je 0x461780
mov ebx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x195]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x460c55
mov eax, ebx
cmp ebx, 0xffffffff
je 0x4618e2
lea ecx, [ebp - 0x195]
lea edx, [ebp - 0x143]
mov byte [ebp - 0x144], 0x22
lea esi, [ebp - 0x21]
mov dword [ebp - 0x1ac], ecx
lea ebx, [eax - 1]
cmp edx, esi
ja 0x460c28
lea esi, [esi]
nop
test eax, eax
jle 0x460c28
add dword [ebp - 0x1ac], 1
mov eax, dword [ebp - 0x1ac]
movzx eax, byte [eax - 1]
cmp al, 0xd
je 0x461640
jg 0x4615f5
cmp al, 9
je 0x461703
cmp al, 0xa
jne 0x4616c3
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea ebx, [eax - 1]
cmp edx, esi
jbe 0x460be0
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x460c42
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.00466a20
mov edx, eax
mov ecx, 5
lea esi, [ebp - 0x195]
mov edi, 0x4732b6
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 8], edx
mov dword [esp + 4], str.got__s_n
seta al
sbb al, 0
test al, al
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 - 0x158]
mov edi, dword [ebp - 0x1b0]
sub esp, 4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1a0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x190]
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call sub.ws2_32.dll_WSARecv
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x1e14
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e15
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x158]
mov esi, dword [ebp - 0x1b8]
sub esp, 4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1a0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x190]
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call sub.ws2_32.dll_WSARecv
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x1e19
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e1a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x3e5
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov dword [esp + 4], 1
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e1d
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.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], 0x3e8
mov dword [esp], eax
mov eax, dword [ebp - 0x1c4]
call eax
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e20
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.wait_timed_out_n
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x1a4]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a4], 0xdeadbeef
mov dword [esp + 0xc], 0
call eax
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1e23
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e24
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x1a4]
mov dword [esp + 4], str.got_size__u_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
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], esi
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov edi, dword [ebp - 0x1b4]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e2d
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.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e2e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2749
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e32
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.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e33
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2749
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
call sub.ws2_32.dll_closesocket
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 - 0x1ac], eax
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
mov edx, 2
mov dword [ebp - 0x186], 0
sub esp, 0xc
mov ebx, eax
xor eax, eax
mov word [ebp - 0x188], dx
mov dword [esp], str.127.0.0.1
mov dword [ebp - 0x182], 0
mov dword [ebp - 0x17e], 0
mov word [ebp - 0x17a], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1e3f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x19c]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
mov dword [ebp - 0x19c], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1e42
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_get_address__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [ebp - 0x144], 1
call sub.ws2_32.dll_ioctlsocket
sub esp, 0xc
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.ws2_32.dll_shutdown
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1e47
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e48
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 edx, 1
test eax, eax
jne 0x4617e0
mov dword [esp], edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x195]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_recvfrom
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1e4c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e4d
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, 0x274a
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edi, dword [ebp - 0x1ac]
lea eax, [ebp - 0x178]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], edi
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1e50
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 5
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.ws2_32.dll_shutdown
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1e54
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e55
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 edx, 1
test eax, eax
jne 0x4617c4
mov dword [esp], edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x1ac]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1e59
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1e5a
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 edx, 1
test eax, eax
jne 0x4617b0
mov dword [esp], edx
mov edi, 0x470694
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x178]
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4732b6
mov dword [esp], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1e5e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x4615b6
mov dword [esp + 4], 0x1e5f
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, 0x274a
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 0x461572
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x148]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x22
je 0x461733
cmp al, 0x5c
jne 0x4616c3
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x460c21
cmp al, 0x22
je 0x461653
cmp al, 0x5c
jne 0x461670
mov eax, 0x5c5c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x45f5b0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x460c21
mov eax, 0x225c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x45f5b0
lea ebx, [eax - 0x20]
cmp bl, 0x5e
jbe 0x4618a0
mov ebx, 0x785c
add edx, 4
mov word [edx - 4], bx
mov ebx, eax
and eax, 0xf
shr bl, 4
movzx eax, byte [eax + str.0123456789abcdef]
movzx ebx, bl
movzx ebx, byte [ebx + str.0123456789abcdef]
mov byte [edx - 1], al
mov byte [edx - 2], bl
mov ebx, esi
jmp 0x45f5b0
mov eax, 0x745c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x45f5b0
lea edi, [eax - 0x20]
mov ecx, edi
cmp cl, 0x5e
jbe 0x4618b0
mov ecx, eax
mov edi, 0x785c
and eax, 0xf
add edx, 4
shr cl, 4
mov word [edx - 4], di
movzx eax, byte [eax + str.0123456789abcdef]
movzx edi, cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x460c21
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x460c21
mov eax, 0x725c
add edx, 2
mov ebx, esi
mov word [edx - 2], ax
jmp 0x45f5b0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x460c21
lea eax, [ebp - 0x195]
mov dword [esp], str._04x
mov dword [ebp - 0x1b8], eax
movzx eax, word [ebp - 0x1b8]
mov dword [esp + 4], eax
call fcn.00459840
mov edx, eax
jmp 0x45f5e4
lea eax, [ebp - 0x195]
mov dword [esp], str._04x
mov dword [ebp - 0x1ac], eax
movzx eax, word [ebp - 0x1ac]
mov dword [esp + 4], eax
call fcn.00459840
mov edx, eax
jmp 0x460c55
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x4614b9
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x461423
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x461271
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45f06d
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x4601c9
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45ff58
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45f87f
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45f699
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45f32b
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x45f103
mov byte [edx], al
mov ebx, esi
add edx, 1
jmp 0x45f5b0
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x460c21
xor ebx, ebx
cmp byte [ebp - 0x195], 0
je 0x45f555
nop
add ebx, 1
cmp byte [ebp + ebx - 0x195], 0
jne 0x4618d0
jmp 0x45f555
xor eax, eax
cmp byte [ebp - 0x195], 0
je 0x460bb5
add eax, 1
cmp byte [ebp + eax - 0x195], 0
jne 0x4618f1
jmp 0x460bb5