Function at 0x6053d4
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
xor edx, edx
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1b4], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6056d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
jne 0x6056a7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x605431
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jle 0x605431
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0xffff
jle 0x605485
lea eax, [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 0x1c0], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
lea edx, [ebp - 0x1c4]
mov ecx, 1
mov eax, 0x6056ec
call fcn.0047b9a8
mov eax, dword [ebp - 0x1b4]
xor edx, edx
call fcn.006039d8
jmp 0x6056a7
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x1b0]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b8c
mov word [ebp - 0x1b0], 2
mov eax, dword [ebp - 4]
mov ax, word [eax + 4]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1ae], ax
mov dword [ebp - 0x1ac], 0x100007f
push 0x10
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.wsock32.dll_bind
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x605563
lea eax, [ebp - 0x1c8]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 0x1c0], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
lea edx, [ebp - 0x1c4]
mov ecx, 1
mov eax, 0x605758
call fcn.0047b9a8
mov eax, dword [ebp - 0x1c8]
xor edx, edx
call fcn.006039d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x6056a7
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.wsock32.dll_listen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x6055df
lea eax, [ebp - 0x1cc]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 0x1c0], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
lea edx, [ebp - 0x1c4]
mov ecx, 1
mov eax, 0x6057b4
call fcn.0047b9a8
mov eax, dword [ebp - 0x1cc]
xor edx, edx
call fcn.006039d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x6056a7
cmp word [ebp - 0x1ae], 0
jne 0x60561d
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.wsock32.dll_getsockname
mov ax, word [ebp - 0x1ae]
push eax
call sub.wsock32.dll_htons
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x6042a8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dl, 1
mov eax, dword [0x603b6c]
call fcn.00605898
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov byte [eax + 0xf], 1
mov dl, 1
mov eax, dword [0x602a00]
call fcn.0060331c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x605678
mov edx, dword [0x722330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.006037c0
jmp 0x605689
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.006037c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], 0x604438
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6056d7
lea eax, [ebp - 0x1cc]
mov edx, 2
call fcn.00406d78
lea eax, [ebp - 0x1b4]
call fcn.00406d70
ret