Function at 0x10032fb0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x12c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], sym._winsock_startup_12
mov dword [esp], 0x10047314
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
mov ecx, dword [ebx + 0x90]
sub esp, 0x10
test ecx, ecx
je 0x10033222
mov dword [esp + 8], 0
mov dword [esp + 4], 1
movsx eax, word [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_socket]
mov edx, 0x2efd
mov dword [esi], eax
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x10033030
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi + 8]
test edx, edx
je 0x10033061
lea edx, [ebp - 0x110]
mov dword [esp + 4], 0x8004667e
mov dword [ebp - 0x110], 1
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
mov eax, dword [esi]
sub esp, 0xc
mov dword [esi + 8], 0
mov edx, dword [ebx + 0x90]
add ebx, 0x10
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_connect]
lea edx, [ebp - 0x110]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x10033120
mov eax, dword [esi]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x110], 1
mov dword [esp + 0x10], 4
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_setsockopt]
xor edx, edx
sub esp, 0x14
test eax, eax
jns 0x10033024
test byte [0x100471b4], 4
je 0x10033024
mov dword [esp + 0xc], str.setsockopt_TCP_NODELAY__failed_n
mov dword [esp + 8], str.create_netconn_socket
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
mov dword [ebp - 0x124], edx
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x124]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov dword [ebp - 0x124], edx
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0x124]
sub eax, 0x2733
cmp eax, 1
jbe 0x10033160
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov edx, 0x2efd
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
imul edi, edi, 0x3e8
mov dword [esp + 8], edx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x11c], 4
mov dword [ebp - 0x10c], eax
inc eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_select]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
inc eax
sub esp, 0x14
cmp eax, 1
jbe 0x1003313c
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], edx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_getsockopt]
mov edx, dword [ebp - 0x124]
sub esp, 0x14
or eax, dword [ebp - 0x120]
jne 0x1003313c
jmp 0x10033094
mov dword [esp + 8], 0x129
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.server__addr_len
call dword [sym.imp.ucrtbase.dll__assert]
nop