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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdf56
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x68683c]
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, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, ecx
movzx ecx, byte [edi + 0x125]
push ecx
push str.createSocket_ipv4
push edi
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], eax
call fcn.0045a1f0
cmp byte [0x6838c8], 0
mov dword [ebp - 4], 0
je 0x5516ac
lea ecx, [ebp - 0x144]
call fcn.0046dee0
lea ebx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.0054d4e0
mov byte [ebp - 4], 0
mov ecx, ebx
test al, al
jne 0x5516a7
call fcn.0046df00
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
xor al, al
jmp 0x5518b2
call fcn.0046df00
mov ecx, esi
call fcn.0054f330
mov ebx, dword [sym.imp.WS2_32.dll_socket]
push 0
push 1
push 2
mov byte [ebp - 0x145], 1
mov dword [ebp - 0x150], 0
call ebx
mov dword [esi + 0x294], eax
cmp eax, 0xffffffff
jne 0x55173c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x150], eax
cmp eax, 0x2726
jne 0x551700
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.Retry_with_IPPROTO_TCP_explicitly_specified...
mov ecx, edi
call eax
jmp 0x55172e
cmp eax, 0x2734
jne 0x55173c
push 0x14
call fcn.0044cc90
add esp, 4
push 0
push 1
push 2
call ebx
mov dword [esi + 0x294], eax
cmp eax, 0xffffffff
jne 0x55173c
push 0x14
call fcn.0044cc90
add esp, 4
push 6
push 1
push 2
call ebx
mov dword [esi + 0x294], eax
cmp dword [esi + 0x294], 0xffffffff
jne 0x5517b3
cmp dword [ebp - 0x150], 0x276d
jne 0x55178c
mov ebx, edi
call fcn.0054d4e0
test al, al
jne 0x551763
push str.startupWSA_failed__B_
jmp 0x5517a3
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x294], eax
cmp eax, 0xffffffff
jne 0x5517b3
push edi
push 0
call fcn.0054fb50
add esp, 8
push str.Failed_to_create_TCP_socket__AF_INET_SOCK_STREAM_
jmp 0x5517a3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
push 0
push eax
call fcn.0054dde0
add esp, 0xc
push str.Failed_to_create_TCP_socket__AF_INET___SOCK_STREAM_
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov byte [ebp - 0x145], 0
cmp dword [esi + 0x294], 0xffffffff
mov dword [esi + 0x298], 2
je 0x55189a
mov ebx, dword [ebp - 0x14c]
cmp byte [ebx + 0xb9c], 0
jne 0x5517e1
push edi
mov ecx, esi
call fcn.0054d970
cmp byte [ebx + 0xba4], 0
jne 0x5517f2
push edi
mov ecx, esi
call fcn.0054d9f0
cmp byte [ebp + 0x10], 0
je 0x55189a
add ebx, 0xba8
mov ecx, ebx
call fcn.0044daa0
test eax, eax
jne 0x55181b
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0xc1c], eax
je 0x55189a
push ebx
push str.bindIpAddr1
mov ecx, edi
call fcn.00459a60
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0xc1c]
test eax, eax
je 0x551845
push eax
push str.bindPort
mov ecx, edi
call fcn.00459e10
push edi
lea eax, [ebp - 0x145]
push eax
mov ecx, ebx
mov byte [ebp - 0x145], 0
call fcn.0044da90
mov ecx, dword [ebp - 0x14c]
movzx edx, word [ecx + 0xc1c]
push eax
push edx
mov ecx, esi
call fcn.00550520
mov byte [ebp - 0x145], al
test al, al
jne 0x55189a
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Failed_to_bind_to_local_IP_address
mov ecx, edi
call edx
mov ecx, esi
call fcn.0054f330
mov dword [esi + 0x294], 0xffffffff
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
mov al, byte [ebp - 0x145]
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.005a6cf8
mov esp, ebp
pop ebp
ret 0xc