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

Disassembly:
push 0xffffffffffffffff
push 0x101a9778
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
movzx eax, byte [edi + 0x125]
push eax
push str.createSocket_ipv4
push edi
lea ecx, [esp + 0x20]
call fcn.10061660
xor ebx, ebx
mov dword [esp + 0x28], ebx
call fcn.1010e650
test al, al
jne 0x10111e6b
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.100616a0
xor al, al
jmp 0x1011203c
mov ecx, esi
call fcn.10110190
mov ebp, dword [sym.imp.WS2_32.dll_socket]
push ebx
push 1
push 2
mov byte [esp + 0x40], 1
call ebp
cmp eax, 0xffffffff
mov dword [esi + 0x294], eax
jne 0x10111eec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2726
jne 0x10111eaf
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.Retry_with_IPPROTO_TCP_explicitly_specified...
mov ecx, edi
call eax
jmp 0x10111ede
cmp ebx, 0x2734
jne 0x10111eec
push 0x14
call fcn.1002ace0
add esp, 4
push 0
push 1
push 2
call ebp
cmp eax, 0xffffffff
mov dword [esi + 0x294], eax
jne 0x10111eec
push 0x14
call fcn.1002ace0
add esp, 4
push 6
push 1
push 2
call ebp
mov dword [esi + 0x294], eax
cmp dword [esi + 0x294], 0xffffffff
jne 0x10111f59
cmp ebx, 0x276d
jne 0x10111f34
mov ecx, edi
call fcn.1010e460
test al, al
jne 0x10111f0f
push str.startupWSA_failed__B_
jmp 0x10111f4b
push 0
push 1
push 2
call ebp
cmp eax, 0xffffffff
mov dword [esi + 0x294], eax
jne 0x10111f59
push edi
push 0
call fcn.10110920
add esp, 8
push str.Failed_to_create_TCP_socket__AF_INET_SOCK_STREAM_
jmp 0x10111f4b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
push 0
push eax
call fcn.1010ed00
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 [esp + 0x34], 0
cmp dword [esi + 0x294], 0xffffffff
mov dword [esi + 0x298], 2
je 0x10112027
mov ebp, dword [esp + 0x30]
cmp byte [ebp + 0xb9c], 0
jne 0x10111f85
push edi
mov ecx, esi
call fcn.1010e8f0
cmp byte [ebp + 0xba4], 0
jne 0x10111f96
push edi
mov ecx, esi
call fcn.1010e970
cmp byte [esp + 0x38], 0
je 0x10112027
lea ebx, [ebp + 0xba8]
mov ecx, ebx
call fcn.1000f630
test eax, eax
jne 0x10111fba
cmp dword [ebp + 0xc1c], eax
je 0x10112027
push ebx
push str.bindIpAddr1
mov ecx, edi
call fcn.10060fd0
mov eax, dword [ebp + 0xc1c]
test eax, eax
je 0x10111fde
push eax
push str.bindPort
mov ecx, edi
call fcn.100612a0
push edi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov byte [esp + 0x40], 0
call fcn.1008be90
movzx edx, word [ebp + 0xc1c]
push eax
push edx
mov ecx, esi
call fcn.101112f0
test al, al
mov byte [esp + 0x34], al
jne 0x10112027
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.10110190
mov dword [esi + 0x294], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.100616a0
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc