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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x4f
push esi
push ebx
sub esp, 0x2fc
mov dword [esp], str.127.0.0.1
call sub.ws2_32.dll_inet_addr
mov word [ebp - 0x296], di
sub esp, 4
mov esi, eax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x29a], 0x4c4c4548
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 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]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x282]
sub esp, 0x10
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x28c]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x278], 2
mov dword [ebp - 0x28c], 0xa
mov dword [ebp - 0x230], 0x10
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x2c4], eax
mov eax, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
mov dword [ebp - 0x274], eax
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x2bc], eax
mov dword [esp + 4], 0x72b
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 - 0x2ac]
mov dword [esp], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x2b4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x4695cc
mov dword [esp + 4], 0xc8000006
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x730
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_WSARecvMsg__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 - 0x278]
mov dword [esp], edi
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], 0x734
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.bind___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x2a0]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [ebp - 0x2a0], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x739
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 + 8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], 2
mov dword [esp], 2
mov dword [ebp - 0x264], eax
call sub.ws2_32.dll_socket
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x73c
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_create_socket__error__u_n
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [ebp - 0x2c0], esi
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [ebp - 0x2b4]
sub esp, 0x14
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x741
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov ebx, eax
call fcn.00465a80
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
sete dl
xor eax, eax
cmp ebx, 0x271e
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.WSARecvMsg___failed_error:__d__ret___d__n
and eax, edx
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x268]
mov eax, dword [ebp - 0x2c0]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x29a]
mov dword [esp + 4], ecx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x746
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.sendto___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 6
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x747
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x34]
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x2a8]
mov dword [esp], edi
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x234]
mov dword [esp + 4], ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [ebp - 0x2b4]
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x74b
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.WSARecvMsg___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x218]
mov dword [esp], edi
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x2b0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 8], 0x13
mov dword [esp + 4], 0
call sub.ws2_32.dll_setsockopt
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x750
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.failed_to_set_IPPROTO_IP_flag_IP_PKTINFO__n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x29a]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x758
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.sendto___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 6
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x759
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov esi, dword [esi + 0x34]
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x2a8]
mov dword [esp], edi
mov edi, 0x470694
mov dword [esp + 8], eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x2a8], 0xdeadbeef
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
call dword [ebp - 0x2b4]
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x75d
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], 0x75e
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, 0x2738
mov dword [esp + 4], str.got_error__u_n
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 0x42a710
mov dword [esp + 4], 0x75f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 6
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 0x42a6d4
mov dword [esp + 4], 0x760
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x21c]
mov dword [esp + 4], str.got_flags__x_n
cmp eax, 0x200
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x21c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x234]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x248], 0xdead1
mov dword [ebp - 0x244], 0xdead2
mov dword [ebp - 0x240], 0xdead3
mov dword [ebp - 0x23c], 0xdead4
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [ebp - 0x2b4]
sub esp, 0x14
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x76b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov ebx, eax
call fcn.00465a80
test esi, esi
mov dword [esp + 8], ebx
setne dl
xor eax, eax
cmp ebx, 0x3e5
mov dword [esp + 4], str.WSARecvMsg___failed_error:__d_n
sete al
and eax, edx
mov dword [esp], eax
call fcn.00465cf0
mov edi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x29a]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x76e
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.sendto___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 6
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x76f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov ecx, dword [edi + 0x34]
xor eax, eax
mov edi, 0x470694
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x770
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.wait_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x771
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x248]
mov dword [esp + 4], str.got_status__x_n
cmp eax, 0x80000005
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x772
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
mov dword [esp + 4], str.got_size__Iu_n
cmp eax, 6
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x773
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], str.got_Offset__Iu_n
cmp eax, 0xdead3
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x774
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], str.got_OffsetHigh__Iu_n
cmp eax, 0xdead4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x2a4]
mov eax, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2a8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x248]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [ebp - 0x2a4], 0xdeadbeef
call sub.ws2_32.dll_WSAGetOverlappedResult
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x777
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_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x778
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, 0x2738
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], 0x779
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 6
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x42ab33
mov dword [esp + 4], 0x77a
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 4], str.got_flags__x_n
cmp eax, 0xdeadbeef
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 0x42aaf5
mov dword [esp + 4], 0x77b
mov edi, 0x470694
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x21c]
mov dword [esp + 4], str.WSARecvMsg___overlapped_operation_set_unexpected_flags__d._n
cmp eax, 0x200
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov ebx, dword fs:[0x18]
call fcn.00465cf0
lea eax, [ebp - 0x268]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x29a]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c0]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp], eax
mov dword [ebp - 0x21c], 0
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x783
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.sendto___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 6
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x784
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.Expected_0__got__d_n
mov dword [esp + 8], eax
mov edx, dword [ebx + 0x34]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x224], 1
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x234]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x248], 0xdead1
mov dword [ebp - 0x244], 0xdead2
mov dword [ebp - 0x240], 0xdead3
mov dword [ebp - 0x23c], 0xdead4
mov dword [ebp - 0x2a8], 0xdeadbeef
mov dword [esp + 0x10], 0x420780
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [ebp - 0x2b4]
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x78d
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 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 0x42ad46
mov dword [esp + 4], 0x78e
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x42ad02
mov dword [esp + 4], 1
mov edi, 0x470694
mov dword [esp], 0x3e8
call dword [sym.imp.kernel32.dll_SleepEx]
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 8
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 0x42adca
mov dword [esp + 4], 0x791
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x42ad92
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 0x42ae3b
mov dword [esp + 4], 0x792
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x478454]
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
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x42ae00
mov dword [esp + 4], 0x793
mov esi, eax
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x21c]
mov dword [esp + 4], str.got_flags__x_n
cmp eax, 0x200
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x248]
mov dword [0x478454], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x234]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0x200
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [ebp - 0x2b4]
sub esp, 0x14
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], 0x79f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov ebx, eax
call fcn.00465a80
test edi, edi
mov dword [esp + 8], ebx
setne dl
xor eax, eax
cmp ebx, 0x3e5
mov dword [esp + 4], str.WSARecvMsg___failed_error:__d_n
sete al
and eax, edx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x7a0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x224]
mov dword [esp + 4], str.WSARecvMsg___control_length_mismatch___d___sizeof_pktbuf_._n
cmp eax, 0x200
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x29a]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x7a3
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.sendto___failed_error:__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 6
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x7a4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.wait_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x248]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [ebp - 0x2a8], 0
call sub.ws2_32.dll_WSAGetOverlappedResult
sub esp, 0x14
mov dword [esp + 4], 0x7a7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp dword [ebp - 0x2a8], 6
mov dword [esp + 4], str.WSARecvMsg___buffer_length_does_not_match_transmitted_data__n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x7a9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
lea eax, [ebp - 0x29a]
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x288]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strncmp]
mov dword [esp + 4], str.WSARecvMsg___buffer_does_not_match_transmitted_data__n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x7ab
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x224]
mov dword [esp + 4], str.WSARecvMsg___control_length_mismatch___d_._n
cmp eax, 0x14
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
cmp dword [ebp - 0x224], 0xb
jbe 0x42b12b
mov ebx, dword [ebp - 0x220]
test ebx, ebx
je 0x42b12b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x42b120
cmp dword [ebx + 8], 0x13
je 0x42b1c4
mov edx, dword [ebp - 0x224]
cmp edx, 0xb
ja 0x42b190
mov dword [esp + 4], 0x7ba
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp + 4], str.IP_PKTINFO_header_information_was_not_returned__n
mov dword [esp], esi
call fcn.00465cf0
mov eax, dword [ebp - 0x2c0]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x2bc]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
add dword [ebp - 0x2c4], 4
mov eax, dword [ebp - 0x2c4]
lea edx, [ebp - 0x28c]
sub esp, 4
cmp eax, edx
je 0x42b201
mov eax, dword [eax]
jmp 0x42a13a
mov eax, dword [ebx]
add edx, dword [ebp - 0x220]
add eax, 3
and eax, 0xfffffffc
lea ecx, [ebx + eax + 0xc]
cmp edx, ecx
jb 0x42b12b
lea ecx, [ebx + eax]
mov edi, dword [ecx]
add edi, 3
and edi, 0xfffffffc
add eax, edi
add ebx, eax
cmp edx, ebx
jb 0x42b12b
mov ebx, ecx
jmp 0x42b10f
mov dword [esp + 4], 0x7b6
mov esi, 1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x264]
mov dword [esp + 4], str.destination_ip_mismatch__n
cmp dword [ebx + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
jmp 0x42b120
mov eax, dword [ebp - 0x238]
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