Function at 0x441700
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x24]
push ebx
mov ebx, eax
lea eax, [ebp - 0x20]
sub esp, 0x3c
call fcn.00420e30
lea eax, [ebp - 0x1c]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [esp], eax
call sub.ws2_32.dll_ioctlsocket
mov edx, dword [ebp - 0x24]
mov ecx, 0x3d
mov eax, ebx
sub esp, 0xc
call fcn.0043f310
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov dword [esp + 0xc], 0
mov eax, 0x14c9
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x472fba
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x14cc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 1
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 + 0xc], 0
mov edx, ebx
mov ecx, 4
mov dword [esp + 8], 0
mov eax, 0x14ce
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov dword [esp + 0xc], 0
mov eax, 0x14cf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x24]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov ecx, dword [ebx]
test ecx, ecx
jne 0x441bf0
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov eax, 0x14d3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, ebx
call fcn.0043f310
mov edx, dword [ebp - 0x24]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov edx, dword [ebx]
test edx, edx
jne 0x441c60
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov eax, 0x14d8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x473756
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x14db
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebx]
test eax, eax
je 0x441c25
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov eax, 0x14df
mov dword [esp + 0xc], 0
mov edi, 0x470694
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x14e2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 1
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 + 0xc], 1
mov edx, ebx
mov ecx, 4
mov dword [esp + 8], 1
mov eax, 0x14e4
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov dword [esp + 0xc], 0
mov eax, 0x14e5
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.ws2_32.dll_recv
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0x10
mov dword [ebp - 0x2c], 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 0x441a99
mov dword [esp + 4], 0x14e8
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__d_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 0x441a60
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov eax, 0x14ea
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x472fba
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x14f0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x3d
call fcn.0043f310
mov dword [esp + 0xc], 0
mov edx, ebx
mov ecx, 4
mov dword [esp + 8], 0
mov eax, 0x14f3
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x14f6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
mov ecx, 4
mov edx, ebx
mov eax, 0x14d2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
jmp 0x441849
mov dword [esp + 0xc], 0
mov ecx, 4
mov edx, ebx
mov eax, 0x14de
mov dword [esp + 8], 1
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
jmp 0x44192a
mov dword [esp + 0xc], 0
mov ecx, 4
mov edx, ebx
mov eax, 0x14d7
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
jmp 0x44189b