Function at 0x110d8660
Capabilities:
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11187acb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x111ec774]
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 ebx, dword [ebp + 8]
mov esi, ecx
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x58], edi
call fcn.110deb60
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, 1
je 0x110d86e8
cmp eax, ecx
je 0x110d86f0
push 0x21
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
push 0x111ab84c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
call fcn.11009270
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.110e08d0
push 0x111d6328
lea ecx, [ebp - 0x54]
push ecx
call fcn.111634b1
cmp eax, ecx
jne 0x110d87bf
push 0x111ab844
call dword [sym.imp.wsOcK32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x110d870e
call sub.wsOcK32.dll_WSAGetLastError
push eax
mov ecx, esi
call fcn.110d8180
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
movsx edx, word [edi + 0xa]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.11162c60
mov ax, word [edi + 8]
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
mov word [ebp - 0x20], ax
jb 0x110d8745
mov eax, dword [ebx]
jmp 0x110d8747
mov eax, ebx
push eax
call fcn.11163c91
add esp, 4
push eax
call dword [sym.imp.wsOcK32.dll_htons]
push 0
mov edi, 1
push edi
push 2
mov word [ebp - 0x1e], ax
call dword [sym.imp.wsOcK32.dll_socket]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
jne 0x110d8780
call sub.wsOcK32.dll_WSAGetLastError
push eax
mov ecx, esi
call fcn.110d8180
push 4
lea ecx, [ebp - 0x5c]
push ecx
push 4
push 0xffff
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.wsOcK32.dll_setsockopt]
mov eax, dword [esi + 0x1c]
push 0x10
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.wsOcK32.dll_bind]
cmp eax, 0xffffffff
jne 0x110d87b9
call sub.wsOcK32.dll_WSAGetLastError
push eax
mov ecx, esi
call fcn.110d8180
mov dword [esi + 0x20], edi
mov edi, dword [ebp - 0x58]
mov ecx, dword [esi + 0x1c]
push bind
push ecx
call dword [sym.imp.wsOcK32.dll_listen]
cmp eax, 0xffffffff
jne 0x110d87e0
call sub.wsOcK32.dll_WSAGetLastError
push eax
mov ecx, esi
call fcn.110d8180
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.110deb70
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esi + 0x24]
call fcn.11008dd0
push 0x88
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x110d8821
mov ecx, eax
call fcn.110d8000
mov edi, eax
jmp 0x110d8823
xor edi, edi
mov dword [ebp - 0x58], edi
mov edx, dword [esi + 0x1c]
push 0
push 0
mov ebx, 3
push edx
mov dword [ebp - 4], ebx
call dword [sym.imp.wsOcK32.dll_accept]
mov dword [edi + 0x1c], eax
cmp eax, 0xffffffff
jne 0x110d886d
call sub.wsOcK32.dll_WSAGetLastError
cmp eax, 0x2714
je 0x110d8858
push eax
mov ecx, esi
call fcn.110d8180
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call edx
xor eax, eax
jmp 0x110d889c
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [edi + 0x20], ebx
call fcn.110d8360
lea ecx, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.11010cd0
cmp dword [ebp - 0x18], 0x10
jb 0x110d889a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.11162777
add esp, 4
mov eax, edi
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.11162bb7
mov esp, ebp
pop ebp
ret 4