Function at 0x4fdbb0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b66bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
movq qword [ebp - 0x1c], xmm0
movzx eax, byte [esi + 0x129]
push eax
push str.createSocket_ipv4
push esi
mov dword [ebp - 0x14], 0
call fcn.00447f20
mov dword [ebp - 4], 0
call fcn.004fcd60
test al, al
jne 0x4fdc22
xor bl, bl
jmp 0x4fde1e
mov ecx, edi
call fcn.004fe3d0
push 0
push 1
push 2
mov bl, 1
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x294], eax
cmp eax, 0xffffffff
jne 0x4fdcf0
call ecx
mov dword [ebp - 0x28], eax
cmp eax, 0x2726
jne 0x4fdcaf
mov eax, dword [esi]
mov ecx, esi
push str.Retry_with_IPPROTO_TCP_explicitly_specified...
call dword [eax + 0x18]
mov eax, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
call eax
mov dword [edi + 0x294], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [edi + 0x294], 0xffffffff
jne 0x4fdd39
cmp eax, 0x276d
jne 0x4fdd1d
push esi
call fcn.00500be0
add esp, 4
test al, al
jne 0x4fdcf4
push str.startupWSA_failed__B_
jmp 0x4fdd30
cmp eax, 0x2734
jne 0x4fdc7a
push 0x14
call fcn.00447b20
mov eax, dword [sym.imp.WS2_32.dll_socket]
add esp, 4
push 0
push 1
push 2
call eax
mov dword [edi + 0x294], eax
cmp eax, 0xffffffff
jne 0x4fdc77
push 0x14
call fcn.00447b20
add esp, 4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
jmp 0x4fdc71
xor eax, eax
jmp 0x4fdc80
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x294], eax
cmp eax, 0xffffffff
jne 0x4fdd39
push esi
push 0
call fcn.004ff690
add esp, 8
push str.Failed_to_create_TCP_socket__AF_INET_SOCK_STREAM_
jmp 0x4fdd30
call ecx
push esi
push 0
push eax
call fcn.004ff220
add esp, 0xc
push str.Failed_to_create_TCP_socket__AF_INET___SOCK_STREAM_
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
xor bl, bl
cmp dword [edi + 0x294], 0xffffffff
mov dword [edi + 0x298], 2
je 0x4fde1e
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xb9c], 0
jne 0x4fdd67
push esi
mov ecx, edi
call fcn.004fcce0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xba4], 0
jne 0x4fdd78
push esi
mov ecx, edi
call fcn.004fcc60
push esi
push 1
mov ecx, edi
call fcn.004fc780
cmp byte [ebp + 0xc], 0
je 0x4fde1e
mov eax, dword [ebp - 0x24]
add eax, 0xba8
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.0042f360
test eax, eax
jne 0x4fddae
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc1c], 0
je 0x4fde1e
push dword [ebp - 0x28]
mov ecx, esi
push str.bindIpAddr1
call fcn.00448a80
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0xc1c]
test eax, eax
je 0x4fddd7
push eax
push str.bindPort
mov ecx, esi
call fcn.00448710
push esi
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
lea ecx, [ebx + 0xba8]
call fcn.0042f3c0
push eax
movzx eax, word [ebx + 0xc1c]
mov ecx, edi
push eax
call fcn.004fcaf0
mov bl, al
test bl, bl
jne 0x4fde1e
mov eax, dword [esi]
mov ecx, esi
push str.Failed_to_bind_to_local_IP_address
call dword [eax + 0x14]
mov ecx, edi
call fcn.004fe3d0
mov dword [edi + 0x294], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00447ff0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret 0xc