Function at 0x440fd0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x28]
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
sub esp, 0x2c
call fcn.00420e30
mov edx, dword [ebp - 0x28]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov ecx, 0x20
mov edx, ebx
mov eax, 0x150a
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
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, 0x150b
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x28]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov edx, dword [ebx]
test edx, edx
jne 0x441682
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov eax, 0x150f
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, ebx
call fcn.0043f310
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, 0x3d
call fcn.0043f310
mov eax, dword [ebx]
test eax, eax
jne 0x4416c0
mov dword [esp + 0xc], 0
xor ecx, ecx
mov edx, ebx
lea esi, [ebp - 0x1d]
mov dword [esp + 8], 0
mov eax, 0x1514
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x1517
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0
xor ecx, ecx
mov edx, ebx
mov dword [esp + 0xc], 0
mov eax, 0x1519
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, 1
sub esp, 4
call fcn.00420e30
mov edx, dword [ebp - 0x28]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
mov edx, ebx
mov ecx, 0x20
mov eax, 0x1525
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
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, 0x1526
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
xor ecx, ecx
mov edx, ebx
mov eax, 0x152a
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, 1
sub esp, 4
call fcn.00420e30
mov edx, dword [ebp - 0x28]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
mov eax, dword [ebp - 0x28]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
xor ecx, ecx
mov edx, ebx
mov eax, 0x1537
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.ws2_32.dll_shutdown
mov edx, ebx
mov ecx, 0x20
mov eax, 0x153b
sub esp, 8
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
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, 0x153c
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, 1
sub esp, 4
call fcn.00420e30
mov edx, dword [ebp - 0x28]
mov ecx, 0x3d
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], str.data
mov dword [esp], eax
call sub.ws2_32.dll_send
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x1548
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 5
mov dword [esp + 8], edi
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, 1
mov dword [esp + 8], 0
mov eax, 0x154a
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov edx, ebx
mov ecx, 0x20
mov eax, 0x154e
sub esp, 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x1551
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 3
mov dword [esp + 8], edi
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, 1
mov dword [esp + 8], 0
mov eax, 0x1553
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp], eax
call sub.ws2_32.dll_recv
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x1556
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 2
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], 0
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0xc], 1
mov eax, 0x1558
mov dword [esp + 8], 1
mov dword [esp + 4], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x28]
mov ecx, 1
lea eax, [ebp - 0x24]
sub esp, 4
call fcn.00420e30
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, 0x3d
sub esp, 4
call fcn.0043f310
mov dword [esp + 0xc], 0
mov edx, ebx
mov ecx, 0x20
mov dword [esp + 8], 0
mov eax, 0x1562
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, 1
sub esp, 4
call fcn.00420e30
mov edx, dword [ebp - 0x28]
mov ecx, 0x1d
mov eax, ebx
call fcn.0043f310
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
mov edx, ebx
xor ecx, ecx
mov eax, 0x156e
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, 0x3d
call fcn.0043f310
mov dword [esp + 0xc], 0
mov edx, ebx
mov ecx, 0x20
mov dword [esp + 8], 1
mov eax, 0x1570
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
mov eax, dword [ebp - 0x28]
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, 0x20
mov edx, ebx
mov eax, 0x150e
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
jmp 0x44107e
mov dword [esp + 0xc], 0
mov ecx, 0x20
mov edx, ebx
mov eax, 0x1513
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc8
mov dword [esp], 0
call fcn.0043f3a0
jmp 0x4410d0