Function at 0x452160
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create raw socket
Create tcp socket
Create thread
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

Disassembly:
push ebp
xor eax, eax
mov edx, 2
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov word [ebp - 0xba], ax
mov eax, dword [0x4784a0]
mov dword [ebp - 0xc6], 0
mov dword [ebp - 0xc2], 0
mov dword [ebp - 0xbe], 0
mov word [ebp - 0xc8], dx
mov dword [ebp - 0xc4], 0x100007f
test eax, eax
je 0x454654
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x189e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xe4], eax
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x189f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], str.expected_10022__got__d_n
cmp eax, 0x2726
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x18a3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xe4], eax
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x18a4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], str.expected_10014__got__d_n
cmp eax, 0x271e
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x18a8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xe4], eax
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x18a9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], str.expected_10022__got__d_n
cmp eax, 0x2726
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x34]
mov ebx, 0x475b5a
mov dword [esp + 4], 0x18ad
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xe4], eax
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x18ae
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], str.expected_10014__got__d_n
cmp eax, 0x271e
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
call sub.ws2_32.dll_inet_addr
lea edx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0x10
mov dword [ebp - 0xb4], eax
mov eax, 2
sub esp, 4
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xb8]
call fcn.00451fa0
mov dword [ebp - 0xf0], 0x475b5a
mov dword [ebp - 0xec], eax
mov eax, 1
nop
mov dword [esp], 0xdeadbeef
mov edi, dword [ebp - 0xec]
mov word [ebp - 0x94], ax
mov eax, 0xffffdead
mov dword [ebp - 0x98], edi
mov edi, 0x470694
mov word [ebp - 0x92], ax
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
mov esi, dword [str.windows]
mov ecx, 5
mov dword [ebp - 0xe8], eax
sub esp, 0xc
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 0x45258c
mov dword [esp + 4], 0x18bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x452550
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 0x452604
mov dword [esp + 4], 0x18be
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x4525c0
cmp ebx, 0x475b72
je 0x452620
movzx eax, word [ebx]
add ebx, 2
jmp 0x4524d0
mov edi, dword [ebp - 0xec]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x94], 0xdead0310
mov dword [esp + 8], 0
mov dword [ebp - 0x98], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x18c6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__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 + 4], 0x18c7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x94], 0xdead0001
mov dword [ebp - 0x8c], 0xdead0300
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x18d1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__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 + 4], 0x18d2
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
test eax, eax
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], 0x18d3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 4
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x18d4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x8a]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], 0xdead0300
mov dword [ebp - 0x90], 0xabacab
mov dword [ebp - 0x8c], 0xdead0300
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x18de
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__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 + 4], 0x18df
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
test eax, eax
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], 0x18e0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x18e1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x8a]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 4
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x98], edi
mov edi, 0x470694
mov dword [ebp - 0x94], 0xdead0300
mov dword [ebp - 0x90], 0xabacab
mov dword [ebp - 0x8c], 0xdead0001
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4784a0]
mov esi, dword [str.windows]
mov ecx, 5
mov dword [ebp - 0xe8], eax
sub esp, 0xc
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 0x452a0c
mov dword [esp + 4], 0x18eb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x4529d0
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 0x452a84
mov dword [esp + 4], 0x18ec
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x452a40
mov dword [esp + 4], 0x18ed
mov edi, 0x470694
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
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 0x452b2d
mov dword [esp + 4], 0x18ee
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x8a]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x452af0
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x94], 0xdead0001
mov dword [ebp - 0x90], 0xabacab
mov dword [ebp - 0x8c], 0xdead0001
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x18f8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x18f9
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, 0x2736
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], 0x18fa
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 4
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x18fb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x8a]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 4
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xe0]
mov ecx, 1
lea eax, [ebp - 0xb8]
call fcn.00422de0
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0x94], 0xdead0300
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], edi
mov dword [esp + 8], 0x64
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1904
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x1905
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 0x100
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, 0xffffdead
mov dword [esp + 8], 0
mov word [ebp - 0x92], ax
lea eax, [ebp - 0x98]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1909
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x190a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 0x100
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x94], 0xdead0210
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x190f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__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 + 4], 0x1910
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0xdc], eax
mov dword [esp + 4], 0x1913
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 dword [ebp - 0xdc], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0xa8]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xa8], 1
mov dword [esp], eax
call sub.ws2_32.dll_ioctlsocket
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 1
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call sub.ws2_32.dll_ioctlsocket
mov ebx, dword [ebp - 0xf0]
mov edx, 1
sub esp, 0xc
lea esi, [esi]
mov eax, dword [ebp - 0xdc]
mov dword [esp], 0xdeadbeef
mov edi, 0x470694
mov word [ebp - 0x94], dx
mov dword [ebp - 0x98], eax
mov eax, 0xffffdead
mov word [ebp - 0x92], ax
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
mov esi, dword [str.windows]
mov ecx, 5
mov dword [ebp - 0xe8], eax
sub esp, 0xc
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 0x45300c
mov dword [esp + 4], 0x191e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x452fd0
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 0x453084
mov dword [esp + 4], 0x191f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x453040
cmp ebx, 0x475b72
je 0x4530a0
movzx edx, word [ebx]
add ebx, 2
jmp 0x452f50
mov eax, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0x94], 0xdead0310
lea ebx, [ebp - 0xce]
mov dword [ebp - 0x8c], 0xdead0310
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x84], 0xdead0310
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x192e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.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], 0x192f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1930
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x8a]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 0x10
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1931
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x82]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 0x10
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0xdc]
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 - 0xe8], eax
mov dword [esp + 4], 0x1936
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__d_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x300
mov dword [esp + 4], 0
mov dword [esp], 0x100
mov eax, 0x1938
call fcn.00420c40
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x110
mov eax, 0x1939
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x193a
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov edx, ebx
mov ecx, 6
call fcn.00451010
mov dword [esp + 4], 0x193d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0xe8], eax
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__d_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x193f
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1940
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
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 - 0xe8], eax
mov dword [esp + 4], 0x1959
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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 edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x195b
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x300
mov dword [esp + 4], 0
mov dword [esp], 0x200
mov eax, 0x195c
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x210
mov eax, 0x195d
call fcn.00420c40
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp], eax
mov byte [ebp - 0xce], 0xcc
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1961
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x1962
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, byte [ebp - 0xce]
mov dword [esp + 4], str.got__x_n
cmp dl, 0x41
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1964
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1965
call fcn.00420c40
lea eax, [ebp - 0xe8]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov dword [ebp - 0xe8], 1
call sub.ws2_32.dll_setsockopt
sub esp, 0x14
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x196b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0xd8]
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 - 0xe8], eax
mov dword [esp + 4], 0x196d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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 edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x196f
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x300
mov dword [esp + 4], 0
mov dword [esp], 0x100
mov eax, 0x1970
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x110
mov eax, 0x1971
call fcn.00420c40
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp], eax
mov byte [ebp - 0xce], 0xcc
call sub.ws2_32.dll_recv
sub esp, 0x10
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1975
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x1976
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, byte [ebp - 0xce]
mov dword [esp + 4], str.got__x_n
cmp dl, 0x41
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1978
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 1
mov dword [esp], 0x10
mov eax, 0x1979
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x197e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1980
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 1
mov dword [esp], 0x10
mov eax, 0x1981
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
sub esp, 8
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1984
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1986
call fcn.00420c40
mov dword [esp + 4], 1
mov edx, dword [ebp - 0xdc]
xor ecx, ecx
mov dword [esp], 2
mov eax, 0x1987
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 1
mov dword [esp], 0x12
mov eax, 0x1988
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0xdc]
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
lea edx, [ebp - 0xb8]
sub esp, 0xc
mov dword [ebp - 0xd8], 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 - 0xe8], eax
mov dword [esp + 4], 0x1991
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
lea ebx, [ebp - 0xd8]
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0xdc], eax
mov dword [esp + 4], 0x1993
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
cmp dword [ebp - 0xdc], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov edx, dword [ebp - 0xdc]
xor ecx, ecx
mov eax, 0x1997
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 2
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x12
mov eax, 0x1998
call fcn.00420c40
mov eax, dword [ebp - 0xdc]
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 - 0xb8]
sub esp, 0xc
mov dword [ebp - 0xd8], 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 - 0xe8], eax
mov dword [esp + 4], 0x19a0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0xdc], eax
mov dword [esp + 4], 0x19a2
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
cmp dword [ebp - 0xdc], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0xd8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], str.data
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19a5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__d_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x19a7
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x300
mov dword [esp + 4], 0
mov dword [esp], 0x100
mov eax, 0x19a8
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x110
mov eax, 0x19a9
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
sub esp, 8
mov dword [ebp - 0xe8], eax
mov eax, 0x19ad
mov dword [esp + 4], 0
mov dword [esp], 0x10
call fcn.00420c40
mov dword [esp + 4], 1
mov edx, dword [ebp - 0xdc]
xor ecx, ecx
mov dword [esp], 2
mov eax, 0x19ae
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 1
mov dword [esp], 0x112
mov eax, 0x19af
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0xdc]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov ecx, 1
lea edx, [ebp - 0xdc]
mov eax, ebx
sub esp, 4
call fcn.00420e30
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x420d40
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebp - 0x94], 0xdead0300
mov ebx, eax
mov eax, dword [ebp - 0xd8]
sub esp, 0x18
mov dword [esp + 8], 0x7d0
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x19be
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 4
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x3e8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19c0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edi, dword [ebp - 0xe8]
xor eax, eax
mov dword [esp + 4], str.wait_failed_n
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0xdc]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [0x4784c4]
sub esp, 4
test eax, eax
jne 0x4540a9
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
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 - 0xd8], eax
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
sub esp, 0xc
mov dword [ebp - 0xdc], eax
mov eax, 0x1a0c
mov dword [esp + 4], 0
mov dword [esp], 0x10
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1a0d
call fcn.00420c40
lea eax, [ebp - 0xc8]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1a10
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1a13
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1a15
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1a16
call fcn.00420c40
lea eax, [ebp - 0xb8]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], str.data
mov dword [esp], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x1a19
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.got__d_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0xd8]
mov ecx, 0x300
mov dword [esp + 4], 0
mov dword [esp], 0x100
mov eax, 0x1a1b
call fcn.00420c40
mov edx, dword [ebp - 0xd8]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x110
mov eax, 0x1a1c
call fcn.00420c40
mov edx, dword [ebp - 0xdc]
mov ecx, 0x310
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, 0x1a1d
call fcn.00420c40
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0xdc]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 6
mov edi, 0x470694
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa8], 0xff0002
mov dword [ebp - 0xa4], 0x100007f
call sub.ws2_32.dll_socket
mov dword [ebp - 0xd4], 1
sub esp, 0xc
mov ebx, eax
lea eax, [ebp - 0xd4]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8004667e
call sub.ws2_32.dll_ioctlsocket
lea eax, [ebp - 0xa8]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19d8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x19d9
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
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], 0xdead0310
mov dword [esp + 8], 0x2710
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4784a0]
mov esi, dword [str.windows]
mov ecx, 5
mov dword [ebp - 0xe8], eax
sub esp, 0xc
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 0x45425c
mov dword [esp + 4], 0x19df
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x454220
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 0x4542ce
mov dword [esp + 4], 0x19e0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x92]
mov dword [esp + 4], str.got_events__x_n
cmp dx, 0x13
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x454290
lea esi, [ebp - 0xe4]
lea eax, [ebp - 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xe4], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19e5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, dword [ebp - 0xe8]
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], 0x19e6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
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 - 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xe4], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19eb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0xe8]
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], 0x19ec
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
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 dword [esp + 4], 1
mov edx, ebx
mov ecx, 0x310
mov dword [esp], 0x13
mov eax, 0x19ee
call fcn.00420c40
mov dword [esp], ebx
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 ebx, eax
lea eax, [ebp - 0xa8]
mov dword [esp], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19f7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe8]
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], 0x19f8
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
mov edi, 0x470694
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 dword [esp + 4], 1
mov edx, ebx
mov ecx, 0x310
mov dword [esp], 0x13
mov eax, 0x19fa
call fcn.00420c40
lea eax, [ebp - 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xe4], 0xdeadbeef
call sub.ws2_32.dll_getsockopt
sub esp, 0x14
mov dword [ebp - 0xe8], eax
mov dword [esp + 4], 0x19ff
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0xe8]
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 0x45463b
mov dword [esp + 4], 0x1a00
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xe4]
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 0x454600
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
jmp 0x453dde
mov dword [esp + 4], 0x1896
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp], str.WSAPoll_is_unsupported__some_tests_will_be_skipped._n
call fcn.00465e00
jmp 0x4540a1