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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x134
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], 0x2dba
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 dword [esp], 0x476960
xor ecx, ecx
mov edx, ebx
mov eax, str.IPv4_TCP
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0x11
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], 0x2dbf
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 dword [esp], 0x476760
mov edx, ebx
xor ecx, ecx
mov eax, str.IPv4_UDP
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0xff
mov dword [esp + 4], 3
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x42c740
mov dword [esp + 4], 0x2dca
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 dword [esp], 0x476560
xor ecx, ecx
mov edx, ebx
mov eax, str.IPv4_raw
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 0x17
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2dd0
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 dword [esp], 0x476360
mov edx, ebx
mov ecx, 0x29
mov eax, str.IPv6_TCP
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 0x17
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2dd5
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 dword [esp], 0x476160
mov edx, ebx
mov ecx, 0x29
mov eax, str.IPv6_UDP
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0xff
mov dword [esp + 4], 3
mov dword [esp], 0x17
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x42c775
mov dword [esp + 4], 0x2de0
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 dword [esp], 0x475f60
mov ecx, 0x29
mov edx, ebx
mov eax, str.IPv6_raw
call fcn.0042bf30
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetSystemWindowsDirectoryA]
mov edx, ebx
sub esp, 8
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x42c695
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
mov dword [edx], 0x7379735c
mov dword [edx + 4], 0x2e6d6574
mov dword [edx + 8], 0x696e69
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ecx, 0xffff
sub esp, 0x1c
mov ebx, eax
mov edx, eax
mov eax, str.file
mov dword [esp], 0x475f20
call fcn.0042bf30
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x271d
jne 0x42c4b0
mov dword [esp + 4], 0x2dc6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp], str.Raw_IPv4_sockets_are_not_available_n
call fcn.00465de0
jmp 0x42c505
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x271d
jne 0x42c621
mov dword [esp + 4], 0x2ddc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov dword [esp], str.Raw_IPv6_sockets_are_not_available_n
call fcn.00465de0
jmp 0x42c679