Function at 0x429880
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x470694
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0xc4], 0x6c6c6568
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xffffffff
mov dword [ebp - 0xc0], 0x6f77206f
mov dword [ebp - 0xbc], 0x646c72
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1fdb
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.Expected_getpeername_to_return_SOCKET_ERROR__got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1fdc
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.Expected_WSAGetLastError___to_return_WSAENOTSOCK__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1fe0
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_socket_to_return_a_valid_socket_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1fe3
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.Expected_getpeername_to_return_SOCKET_ERROR__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 0x429a44
mov dword [esp + 4], 0x1fe4
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, 0x2749
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAENOTCONN__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x429a00
mov dword [esp], str.127.0.0.1
mov edi, 0x470694
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb8], 0x8b000002
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc4]
mov dword [esp], ebx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], 0x1fee
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.Expected_sendto_to_succeed__WSAGetLastError_____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], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1ff2
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.Expected_getpeername_to_return_SOCKET_ERROR__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 0x429bb5
mov dword [esp + 4], 0x1ff3
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, 0x2749
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAENOTCONN__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x429b71
lea eax, [ebp - 0xb8]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1ff7
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.Expected_connect_to_succeed__WSAGetLastError_____d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1ffb
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.Expected_getpeername_to_return_SOCKET_ERROR__got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x1ffc
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, 0x271e
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAEFAULT__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0xa8]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x2009
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.Expected_getpeername_to_return_0__got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x200a
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
lea esi, [ebp - 0xc8]
cmp eax, 0x271e
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAEFAULT__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [ebp - 0xc8], 0
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x200f
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.Expected_getpeername_to_return_0__got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2010
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
lea edi, [ebp - 0x98]
cmp eax, 0x271e
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAEFAULT__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2012
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc8]
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 + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [ebp - 0xc8], 0
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov dword [ebp - 0xcc], eax
mov dword [esp + 4], 0x2016
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xcc]
mov dword [esp + 4], str.Expected_getpeername_to_return_0__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], 0x2017
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0xcc], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0xcc]
mov dword [esp + 4], str.Expected_WSAGetLastError___to_return_WSAEFAULT__got__d_n
cmp eax, 0x271e
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2019
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc8]
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 + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [ebp - 0xc8], pe_nt_image_headers32
call sub.ws2_32.dll_getpeername
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x201d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_getpeername_to_return_0__got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x201e
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0xb8], eax
je 0x429fb0
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.Expected_the_returned_structure_to_be_identical_to_the_connect_structure_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2020
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0xc8]
mov dword [esp + 4], str.got__d_n
cmp eax, 0x10
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0xb4], eax
jne 0x429f4c
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xb0], eax
jne 0x429f4c
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0xac], eax
jne 0x429f4c
xor eax, eax
jmp 0x429f51