Function at 0x448b50
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, 0x34
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push edi
push 6
push 1
push 2
mov dword [ebp - 0x34], 0x10
mov dword [ebp - 0x30], 1
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x448b98
pop edi
or eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push esi
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [ebp - 0x24], xmm0
mov word [ebp - 0x2c], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x28], eax
xor eax, eax
push 4
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x30]
push eax
push 4
push 0xffff
push edi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x448d23
push 0x10
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x448d23
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x448d23
push 1
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x448d23
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x448d23
push 0x10
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x448d23
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x448d23
push ebx
push 0x4a8158
lea eax, [ebp - 0x1c]
push 0xc
push eax
call fcn.0043b3b0
lea esi, [ebp - 0x1c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x448c86
push 0
sub esi, ecx
lea eax, [ebp - 0x1c]
push esi
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x448d23
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x448d23
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x10]
sub esi, 4
jb 0x448cd7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x448cdc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x448cc6
cmp esi, 0xfffffffc
je 0x448d09
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x448d23
cmp esi, 0xfffffffd
je 0x448d09
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x448d23
cmp esi, 0xfffffffe
je 0x448d09
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x448d23
cmp esi, 0xffffffff
je 0x448d09
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x448d23
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004728e8
mov esp, ebp
pop ebp
ret