Function at 0x101433d
Capabilities:
Connect socket
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov eax, 0x10280b7
call fcn.01022df8
sub esp, 0x150
mov eax, dword [0x102e77c]
push ebx
push esi
push 0x11
push 2
pop esi
push esi
xor ebx, ebx
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x31], bl
call fcn.01014099
push 1
push 3
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.01014099
push 1
push 0x1003f2c
push 4
push ebx
push dword [ebp - 0x3c]
mov byte [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10143b9
mov esi, 0x18f
push esi
push 0x1003ef8
call fcn.0100c9d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1003e88
jmp 0x10145ac
push edi
xor eax, eax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1003a48
mov word [ebp - 0x20], si
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x35
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
xor eax, eax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x40]
push 0x10
lea eax, [ebp - 0x30]
push eax
push edi
mov word [ebp - 0x30], si
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x54], ebx
call dword [sym.imp.WS2_32.dll_connect]
or esi, 0xffffffff
cmp eax, esi
jne 0x1014445
mov esi, 0x1a1
push esi
push 0x1003ef8
call fcn.0100c9d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1003df0
jmp 0x10145ac
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x38], 3
jae 0x1014506
push 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push 0x1003de8
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x1014551
mov ecx, dword [ebp - 0x15c]
xor eax, eax
cmp ecx, ebx
jbe 0x101448b
cmp dword [ebp + eax*4 - 0x158], edi
je 0x101448b
inc eax
cmp eax, ecx
jb 0x101447d
cmp eax, ecx
jne 0x10144a1
cmp ecx, 0x40
jae 0x10144a1
mov dword [ebp + eax*4 - 0x158], edi
inc dword [ebp - 0x15c]
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
lea eax, [ebp - 0x15c]
push eax
push 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, esi
je 0x1014570
cmp eax, 1
jne 0x10144fa
push ebx
push 0x400
push 0x102f380
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
je 0x101458f
mov eax, dword [ebp - 0x38]
inc eax
push eax
push 0x4ef4
push ebx
mov byte [ebp - 0x31], 1
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0x10
inc dword [ebp - 0x38]
cmp byte [ebp - 0x31], bl
je 0x1014448
cmp byte [ebp - 0x31], bl
pop edi
jne 0x1014520
push 0x4ef5
push ebx
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.01013de0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.01013de0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x31]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0102222e
leave
ret 4
mov esi, 0x1a5
push esi
push 0x1003ef8
call fcn.0100c9d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1003d48
jmp 0x10145ac
mov esi, 0x1a9
push esi
push 0x1003ef8
call fcn.0100c9d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1003cf0
jmp 0x10145ac
mov esi, 0x1ae
push esi
push 0x1003ef8
call fcn.0100c9d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1003c70
call fcn.0100cb4a
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.01013d33
push 0x102a174
lea eax, [ebp - 0x50]
push eax
call sub.msvcrt.dll__CxxThrowException
int3