Function at 0x42fe10
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x2c]
sub esp, 0x9c
mov dword [ebp - 0x2c], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0xb5367df1
mov dword [ebp - 0x48], 0x11cfcbac
mov dword [ebp - 0x44], 0x8000ca95
mov dword [ebp - 0x40], 0x92a1485f
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0xdeadbeef
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
sub esp, 0x10
mov dword [ebp - 0x6c], eax
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea ecx, [ebp - 0x50]
sub esp, 4
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0xc8000006
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x119b
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x119c
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 - 0x54]
cmp eax, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0x18], esi
mov dword [esp], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0xc8000006
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov dword [ebp - 0x70], eax
mov dword [esp + 4], 0x11a2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], str.expected_success_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11a3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x70], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x70]
mov dword [esp + 4], str.got_error__u_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], 0x11a4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 4
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 ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0xdeadbeef
sub esp, 4
mov dword [ebp - 0x2c], 0xdeadbeef
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], 0xc8000006
mov dword [ebp - 0x28], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov dword [ebp - 0x70], eax
mov dword [esp + 4], 0x11ac
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], str.expected_success_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11ad
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x70], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x70]
mov dword [esp + 4], str.got_error__u_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], 0x11ae
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [sym.imp.kernel32.dll_GetQueuedCompletionStatus]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x78], ecx
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call ecx
sub esp, 0x14
mov dword [ebp - 0x70], eax
mov dword [esp + 4], 0x11b1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
mov edx, dword fs:[0x18]
mov ecx, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], ecx
mov dword [ebp - 0x74], edx
call fcn.00465cf0
mov dword [esp + 4], 0x11b2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x54]
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], 0x11b3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], str.got_key__Iu_n
cmp eax, 0x7b
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11b4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.got_overlapped__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11b5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x2c]
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], 0x11b6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x28]
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 - 0x50]
lea eax, [ebp - 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc8000006
mov dword [ebp - 0x54], 0xdeadbeef
mov dword [ebp - 0x2c], 0xdeadbeef
mov dword [ebp - 0x28], 0xdeadbeef
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov dword [ebp - 0x70], eax
mov dword [esp + 4], 0x11bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], str.expected_failure_n
cmp eax, 0xffffffff
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11be
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x70], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x70]
mov dword [esp + 4], str.got_error__u_n
cmp eax, 0x2726
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11bf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], str.got_size__u_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], 0x11c0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x2c]
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], 0x11c1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x28]
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 eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x78]
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call ecx
sub esp, 0x14
mov dword [ebp - 0x70], eax
mov dword [esp + 4], 0x11c4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x70]
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], 0x11c5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x74]
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 eax, dword [ebp - 0x6c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], edi
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 edi, eax
lea eax, [ebp - 0x50]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x1c], ebx
mov dword [esp], edi
mov dword [esp + 0x20], 0x420840
mov dword [esp + 0x18], 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 dword [ebp - 0x6c], eax
mov dword [esp + 4], 0x11ce
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], str.expected_failure_n
cmp eax, 0xffffffff
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11cf
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x6c], eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], str.got_error__u_n
cmp eax, 0x271e
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x50]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x18], esi
mov dword [esp], edi
mov dword [esp + 0x20], 0x420840
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc8000006
mov dword [ebp - 0x54], 0xdeadbeef
mov dword [0x478444], 0
call sub.ws2_32.dll_WSAIoctl
sub esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x11d5
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
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11d6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], str.got_size__u_n
cmp eax, 4
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 esi, eax
mov dword [esp + 4], 0x11d9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xc0
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x11da
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], 0x11db
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], 0x11dc
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], 0x11dd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [0x478448]
mov dword [esp + 4], str.got_APC_overlapped__p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret