Function at 0x42cce0
Capabilities:
Connect socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push eax
mov dword [esi + 0x3010c], edi
mov dword [esi + 0x30108], edi
mov dword [esi + 0x300e8], edi
mov dword [esi + 0x300e4], edi
call sub.WSOCK32.dll_htonl
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
push ecx
call sub.WSOCK32.dll_htons
push edi
push 1
push 2
mov word [esp + 0x1e], ax
call sub.WSOCK32.dll_socket
or ebx, 0xffffffff
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x42cd58
push str.socket_creation_failed
push 0x163
push str.C:projectsuobuild2D3_0_2client_src_shared_base_socklib.cxx
call fcn.004ded00
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 8
lea edx, [esp + 0xc]
push 4
push edx
push 1
push 6
push eax
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 0x10
push eax
push ecx
mov word [esp + 0x1c], 2
call sub.WSOCK32.dll_connect
test eax, eax
je 0x42cda3
mov edx, dword [esi + 4]
push edx
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x6c
ret 8
cmp dword [0xcf38d4], edi
jne 0x42cf24
mov dword [esi + 0x300fc], 1
mov ecx, dword [0xcf3904]
cmp ecx, edi
jne 0x42cdcf
mov ecx, dword [esi + 0x30104]
mov dword [0xcf3904], ecx
mov eax, ecx
xor ecx, 0xffffaaaa
not eax
mov edx, eax
and ecx, 0xffff
xor edx, 0x1357
mov dword [esp + 0x80], edi
shl edx, 0x10
or ecx, edx
mov dword [esi + 0x300ec], ecx
mov edx, dword [0xcf3904]
mov ecx, eax
xor edx, 0x43210000
xor ecx, 0xabcdffff
and ecx, 0xffff0000
shr edx, 0x10
or ecx, edx
mov dword [esi + 0x300f0], ecx
mov ecx, dword [0xcf3904]
mov edx, ecx
xor edx, eax
and edx, 0xf0f0f0f
xor edx, ecx
xor edx, 0xa76e25ea
mov dword [esi + 0x300f4], edx
mov ecx, dword [0xcf3904]
xor ecx, eax
lea edx, [esp + 0x80]
and ecx, 0xf0f0f0f
push edx
xor ecx, eax
mov eax, dword [esi + 4]
xor ecx, 0xf4bc319d
push 0x8004667e
push eax
mov dword [esi + 0x300f8], ecx
call sub.WSOCK32.dll_ioctlsocket
mov ecx, dword [0xcf3904]
push ecx
call sub.WSOCK32.dll_htonl
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 4]
push edi
lea edx, [esp + 0x80]
push 4
push edx
push eax
call sub.WSOCK32.dll_send
cmp eax, ebx
jne 0x42cebd
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x42cea6
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], ebx
push str.socket_error_in_send
mov ecx, esi
call fcn.0042cf60
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x6c
ret 8
push eax
lea ecx, [esi + 0x40]
call fcn.00413ed0
mov ecx, dword [esi + 0x300f0]
mov edx, dword [esp + 0x7c]
lea ebx, [esi + 0x30120]
mov dword [0x636b4c], ecx
push edx
mov ecx, ebx
call fcn.004d94b0
lea eax, [esp + 0x20]
push eax
call fcn.004b9410
add esp, 4
mov ecx, ebx
push pe_nt_image_headers32
call fcn.004d9600
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004b9440
lea edx, [esp + 0x2c]
lea eax, [esi + 0x31370]
push edx
push eax
call fcn.004b9500
add esp, 0x14
mov dword [esi + 0x31380], edi
jmp 0x42cf2a
mov dword [esi + 0x300fc], edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x7c]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x88], 1
call sub.WSOCK32.dll_ioctlsocket
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x6c
ret 8