Function at 0x44d060
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x4c]
sub esp, 0xcc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x5c], 0x7fda2e11
mov dword [ebp - 0x58], 0x436f8630
mov dword [ebp - 0x54], 0x36f531a0
mov dword [ebp - 0x50], 0x57c1eea6
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x258b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], str.127.0.0.1
xor eax, eax
mov edx, 2
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x4a], 0
mov dword [ebp - 0x46], 0
mov dword [ebp - 0x42], 0
mov word [ebp - 0x3e], ax
call sub.ws2_32.dll_inet_addr
sub esp, 4
mov dword [ebp - 0x48], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_bind
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2591
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_bind__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x68]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [ebp - 0x68], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2594
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], edi
mov dword [esp + 4], 1
mov dword [ebp - 0x7c], edi
call sub.ws2_32.dll_listen
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x2597
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_listen__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x259a
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 ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x60]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc8000006
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x259e
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_ConnectEx__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [ebp - 0x88], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call edx
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x25a3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_create_port__error__u_n
mov dword [ebp - 0x8c], edx
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x3c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x25a5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x25a7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_accept__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
mov dword [esp + 4], 2
call sub.ws2_32.dll_shutdown
sub esp, 8
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0x25aa
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0x80]
mov dword [esp + 4], str.failed_to_shutdown__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x70]
mov dword [esp], edi
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x64]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [sym.imp.kernel32.dll_GetQueuedCompletionStatus]
mov dword [esp + 0x10], 0
mov dword [ebp - 0x84], ecx
call ecx
sub esp, 0x14
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0x25ad
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x80]
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], 0x25ae
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edx + 0x34], 0x102
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
lea esi, [ebp - 0x3c]
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], edi
mov dword [ebp - 0x80], ebx
call ebx
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
mov dword [esp + 4], 0x25b7
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 ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x88]
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call edx
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x25b9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_create_port__error__u_n
mov dword [ebp - 0x90], edx
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_connect
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x25bb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x25bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_accept__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
mov dword [esp + 4], 0
call sub.ws2_32.dll_WSASendDisconnect
sub esp, 8
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25c0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0x8c]
mov dword [esp + 4], str.failed_to_shutdown__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
mov dword [esp + 4], 0
call sub.ws2_32.dll_WSARecvDisconnect
sub esp, 8
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25c3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ecx, dword [ebp - 0x8c]
mov dword [esp + 4], str.failed_to_shutdown__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x70]
mov dword [esp], edi
mov ecx, dword [ebp - 0x84]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x64]
mov dword [esp + 8], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
call ecx
sub esp, 0x14
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25c6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x8c]
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], 0x25c7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.got_error__u_n
mov dword [ebp - 0x94], edx
mov dword [esp + 8], eax
cmp dword [edx + 0x34], 0x102
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
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov ebx, dword [ebp - 0x80]
sub esp, 4
mov dword [esp], edi
call ebx
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
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25d0
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 esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x88]
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call edx
sub esp, 0x10
mov edi, eax
mov dword [ebp - 0x90], eax
mov dword [esp + 4], 0x25d2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_create_port__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
mov dword [esp + 4], 1
call dword [sym.imp.kernel32.dll_SetFileCompletionNotificationModes]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x25d4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
mov dword [ebp - 0x98], edx
call fcn.00465cf0
lea edx, [ebp - 0x3c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_connect
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x25d6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov ebx, eax
mov dword [ebp - 0x94], eax
mov dword [esp + 4], 0x25d8
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 ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x2c]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [ebp - 0x6c]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x25dc
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], 0x25dd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.got_error__u_n
mov dword [ebp - 0xa0], edx
mov dword [esp + 8], eax
cmp dword [edx + 0x34], 0x3e5
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0x3e8
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x9c], eax
call eax
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x25e0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.wait_failed_n
sete al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x60]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetOverlappedResult]
mov dword [ebp - 0x60], 0xdeadbeef
mov dword [esp + 0xc], 1
mov dword [ebp - 0x98], eax
call eax
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x25e4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
call fcn.00465cf0
mov dword [esp + 4], 0x25e5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], str.got__u_bytes_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x70]
mov dword [esp], edi
mov ecx, dword [ebp - 0x84]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x64]
mov edi, 0x470694
mov dword [esp + 8], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0xdeadbeef
mov dword [ebp - 0x64], 0xdeadbeef
mov dword [ebp - 0x70], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
call ecx
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0x14
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
mov edx, dword [ebp - 0xa0]
mov esi, edx
jmp 0x44dc00
mov dword [esp + 4], 0x25eb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x44dbd0
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 0x44dc6a
mov dword [esp + 4], 0x25ec
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], str.got_key__Ix_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 0x44dc32
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 0x44dcd8
mov dword [esp + 4], 0x25ed
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], str.got__u_bytes_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 0x44dca0
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 0x44dd4b
mov dword [esp + 4], 0x25ee
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
mov dword [esp + 4], str.got_overlapped__p_n
cmp eax, ecx
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 0x44dd10
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x8c]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x90]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call eax
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
mov dword [esp + 4], 0x25f7
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 ebx, 0xffffffff
setne al
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov dword [esp], ebx
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x25f9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_create_port__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x3c]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25fb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x8c]
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x25fd
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 - 0x8c], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [ebp - 0x6c]
sub esp, 0x10
mov dword [ebp - 0x90], eax
mov dword [esp + 4], 0x2601
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], str.expected_success_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2602
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov ecx, dword [edi + 0x34]
mov eax, 1
test ecx, ecx
jne 0x44e400
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
lea eax, [ebp - 0x70]
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x64]
mov dword [esp + 8], eax
lea eax, [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
mov edi, eax
mov dword [esp + 4], 0x2605
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test edi, edi
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00465cf0
mov dword [esp + 4], 0x2606
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 ecx, dword [ebp - 0x8c]
mov dword [esp], ecx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x80]
sub esp, 4
mov dword [esp], esi
call eax
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
mov dword [esp + 4], 0x260f
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 ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x88]
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call ecx
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x2611
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_create_port__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x3c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sub.ws2_32.dll_connect
sub esp, 0xc
mov dword [ebp - 0x88], eax
mov dword [esp + 4], 0x2613
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x88]
mov dword [esp + 4], str.failed_to_connect__error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ecx
call sub.ws2_32.dll_accept
sub esp, 0xc
mov dword [ebp - 0x7c], eax
mov dword [esp + 4], 0x2615
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 - 0x7c], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x2c]
mov dword [edi + 0x34], 0xdeadbeef
or dword [ebp - 0x1c], 1
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call dword [ebp - 0x6c]
sub esp, 0x10
mov dword [ebp - 0x88], eax
mov dword [esp + 4], 0x261b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x88]
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], 0x261c
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], 0x3e5
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 4], 0x3e8
mov dword [esp], eax
call edx
sub esp, 8
mov dword [ebp - 0x88], eax
mov dword [esp + 4], 0x261f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x88]
mov dword [esp + 4], str.wait_failed_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x60]
mov dword [esp], ebx
mov dword [esp + 8], edx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x60], 0xdeadbeef
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 0xc], 1
call edx
sub esp, 0x10
mov dword [ebp - 0x88], eax
mov dword [esp + 4], 0x2623
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp - 0x88]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2624
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], str.got__u_bytes_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea edx, [ebp - 0x70]
mov dword [esp], esi
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x64]
mov dword [esp + 8], edx
lea edx, [ebp - 0x60]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x10], 0
call edx
sub esp, 0x14
mov dword [ebp - 0x84], eax
mov dword [esp + 4], 0x2627
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x84]
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], 0x2628
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 ecx, dword [ebp - 0x7c]
mov dword [esp], ecx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
mov edi, dword [ebp - 0x80]
sub esp, 4
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x1c]
sub esp, 4
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
cmp ecx, 0xdeadbeef
sete al
jmp 0x44df71