Function at 0x42eac0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x46c
mov dword [ebp - 0x42c], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call sub.ws2_32.dll_socket
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x2640
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__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 + 0xc], 0
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
mov dword [ebp - 0x434], 0
sub esp, 0x10
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [esp], esi
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x2645
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_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2646
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
lea ebx, [ebp - 0x418]
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2647
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Got_unexpected_size__u._n
cmp eax, 3
mov dword [esp + 8], eax
seta al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x434]
mov dword [esp], esi
mov edi, dword [ebp - 0x434]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov dword [ebp - 0x440], eax
mov dword [esp + 4], 0x264c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x440]
mov dword [esp + 4], str.Got_unexpected_ret__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], 0x264d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x440], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x440]
mov dword [esp + 4], str.Got_unexpected_error__d._n
test eax, eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x264e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x434]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x418]
lea edx, [ecx*8 + 4]
test ecx, ecx
je 0x42edbb
xor eax, eax
nop
add edx, dword [ebx + eax*8 + 8]
add eax, 1
cmp ecx, eax
jne 0x42edb0
mov dword [esp + 4], 0x2655
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0x440], edx
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2658
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2659
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x434]
mov dword [esp], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x265d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x265e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x265f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x434]
mov dword [esp], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2663
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2664
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2665
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x434]
mov dword [esp], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2669
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x266a
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, ebx
cmp eax, 0x2726
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x266b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x434]
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 eax, 0xcccccccc
mov ecx, 0x100
mov dword [ebp - 0x434], 0xdeadbeef
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2671
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2672
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2673
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2674
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x418]
mov dword [esp + 4], str.Got__u_addresses._n
cmp eax, 0xcccccccc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x267b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x267c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x267d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x267e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.Got_status__x._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x267f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.Got_size__Iu._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2685
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2686
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2726
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2687
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x434]
mov edx, dword [ebp - 0x440]
mov dword [esp + 4], str.Expected_size__u__got__u._n
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2688
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.Got_status__x._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2689
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.Got_size__Iu._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x2690
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2691
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2692
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2693
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.Got_status__x._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2694
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.Got_size__Iu._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2695
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x418]
mov dword [esp + 4], str.Got__u_addresses._n
cmp eax, 0xcccccccc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x42c], 0xdeadbeef
mov dword [ebp - 0x428], 0xdeadbeef
mov dword [ebp - 0x434], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x269b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_ret__d._n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x269c
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
test eax, eax
mov dword [esp + 4], str.Got_unexpected_error__d._n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x269d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.Expected_size__u__got__u._n
cmp eax, edx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [ebp - 0x448], edx
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00465cf0
lea eax, [ebp - 0x430]
lea ecx, [ebp - 0x438]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0xc], ecx
mov ecx, dword [sym.imp.kernel32.dll_GetQueuedCompletionStatus]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
mov dword [esp], eax
call ecx
sub esp, 0x14
mov dword [ebp - 0x444], eax
mov dword [esp + 4], 0x26a0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x444]
mov dword [esp + 4], str.Got_error__u._n
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26a1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x434]
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 + 4], 0x26a2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x42c]
mov dword [esp + 4], str.Got_overlapped__p._n
cmp eax, edx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26a3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], str.Got_status__x._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26a4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], str.Got_size__Iu._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x430]
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x438]
mov dword [esp + 8], edx
lea edx, [ebp - 0x434]
mov dword [esp + 4], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x440]
mov dword [esp + 0x10], 0
mov dword [esp], eax
call ecx
sub esp, 0x14
mov dword [ebp - 0x440], eax
mov dword [esp + 4], 0x26a7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x440]
mov dword [esp + 4], str.Expected_failure._n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26a8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.Got_error__u._n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x102
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x43c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
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 esi, eax
lea eax, [ebp - 0x42c]
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x20], 0x420840
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov edi, eax
mov dword [esp + 4], 0x26b2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26b3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x42c]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x434]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0x420840
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x48000016
mov dword [ebp - 0x434], 0xdeadbeef
mov dword [0x478444], 0
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x26b8
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], 0x26b9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str.got_size__u_n
cmp eax, edx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_SleepEx]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x26bc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0xc0
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], 0x26bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x478444]
mov dword [esp + 4], str.APC_was_called__u_times_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], 0x26be
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x478450]
mov dword [esp + 4], str.got_APC_error__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 + 4], 0x26bf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x47844c]
mov dword [esp + 4], str.got_APC_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 + 4], 0x26c0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x478448]
lea ecx, [ebp - 0x42c]
mov dword [esp + 4], str.got_APC_overlapped__p_n
cmp eax, ecx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret