Function at 0x263d3b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push esi
push edi
lea edi, [ebp - 0xc4]
mov ecx, 0x31
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x23e647e
call fcn.026a74de
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x30], 1
mov esi, esp
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x263d415
or eax, 0xffffffff
jmp 0x263d8c0
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.026a9140
add esp, 0xc
mov ecx, 2
mov word [ebp - 0x18], cx
mov esi, esp
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x14], eax
xor edx, edx
mov word [ebp - 0x16], dx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax], 0xffffffff
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax], 0xffffffff
mov dword [ebp - 0x48], 1
mov esi, esp
push 4
lea edx, [ebp - 0x48]
push edx
push 0xfffffffffffffffb
push 0xffff
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
jne 0x263d4a0
jmp 0x263d86e
mov esi, esp
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
jne 0x263d4c3
jmp 0x263d86e
mov esi, esp
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
je 0x263d4e9
cmp dword [ebp - 0x28], 0x10
jge 0x263d4ee
jmp 0x263d86e
mov esi, esp
push 1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
jne 0x263d50d
jmp 0x263d86e
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.026a5ffe
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx], eax
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + eax], 0xffffffff
jne 0x263d546
jmp 0x263d86e
mov esi, esp
push 0x10
lea edx, [ebp - 0x18]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
jne 0x263d574
jmp 0x263d86e
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0265c770
add esp, 8
test eax, eax
jge 0x263d58b
jmp 0x263d86e
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x3c], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, 0x300
mov word [ebp + eax - 0x38], cx
mov edx, 8
imul eax, edx, 0
xor ecx, ecx
mov word [ebp + eax - 0x36], cx
push 0
push 0x3e8
push 1
lea edx, [ebp - 0x3c]
push edx
call fcn.02639090
add esp, 0x10
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_accept]
cmp esi, esp
call fcn.026a5ffe
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + eax], 0xffffffff
jne 0x263d610
jmp 0x263d86e
lea edx, [ebp - 0xac]
push edx
call fcn.025fc910
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x88]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], 9
push 9
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.02642210
add esp, 0xc
test eax, eax
je 0x263d66e
jmp 0x263d86e
mov esi, esp
push 0
push 9
lea ecx, [ebp - 0x74]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.026a5ffe
nop
mov eax, 4
shl eax, 0
mov ecx, 8
imul edx, ecx, 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax]
mov dword [ebp + edx - 0x3c], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, 0x300
mov word [ebp + edx - 0x38], ax
mov ecx, 8
imul edx, ecx, 0
xor eax, eax
mov word [ebp + edx - 0x36], ax
push 0
push 0x3e8
push 1
lea ecx, [ebp - 0x3c]
push ecx
call fcn.02639090
add esp, 0x10
mov esi, esp
push 0
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xffffffff
jne 0x263d7c1
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x9c], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.025fc910
add esp, 0xfffffff4
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.025fca70
add esp, 0x20
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 0
jl 0x263d7ae
jg 0x263d7a9
cmp dword [ebp - 0xc4], 0xea60
jbe 0x263d7ae
jmp 0x263d86e
cmp dword [ebp - 0x9c], 0x2733
jne 0x263d7bc
jmp 0x263d806
jmp 0x263d86e
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x98]
mov dword [ebp - 0x94], ecx
je 0x263d7e9
mov edx, dword [ebp - 0x90]
add edx, dword [ebp - 0x98]
mov dword [ebp - 0x90], edx
jmp 0x263d806
push 9
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.026a9b64
add esp, 0xc
test eax, eax
je 0x263d804
jmp 0x263d86e
jmp 0x263d813
mov edx, 1
test edx, edx
jne 0x263d695
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x263d857
push 1
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
call fcn.0265c770
add esp, 8
test eax, eax
jl 0x263d855
push 1
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
call fcn.0265c770
add esp, 8
test eax, eax
jge 0x263d857
jmp 0x263d86e
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.026a5ffe
xor eax, eax
jmp 0x263d8c0
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.026a5ffe
mov ecx, 4
imul edx, ecx, 0
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.026a5ffe
mov edx, 4
shl edx, 0
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.026a5ffe
or eax, 0xffffffff
push edx
mov ecx, ebp
push eax
lea edx, [0x263d8f0]
call fcn.026a5faa
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.026a6086
add esp, 0xc4
cmp ebp, esp
call fcn.026a5ffe
mov esp, ebp
pop ebp
ret