Function at 0x10008f10
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1004fb2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
mov eax, dword [0x10084ca0]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x1c0]
push esi
push eax
lea ecx, [esp + 8]
call fcn.10002860
lea ecx, [esp + 0x18]
push ecx
push 0x202
mov dword [esp + 0x1bc], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [esp + 4]
push edx
push str.u.s.i_:_s
push 2
mov esi, eax
call fcn.1000c170
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], 2
mov ecx, dword [eax - 0xc]
add esp, 0xc
test ecx, ecx
jge 0x10008fa8
push 0x80070057
call fcn.10001000
mov cl, byte [eax]
cmp cl, 0x30
push ebp
jl 0x10008fb5
cmp cl, 0x39
jle 0x1000901b
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1000900d
mov eax, dword [esp + 8]
push eax
push str._la__s_:unkown_host
push 4
call fcn.1000c170
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 8]
or ebp, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x1b8], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x10009006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x10009111
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
push edi
mov edi, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
push edi
push str.U_send_P_la:_d
push 2
mov word [esp + 0x22], ax
call fcn.1000c170
mov edi, dword [esp + 0x1d8]
mov ebx, dword [esp + 0x1d4]
add esp, 0xc
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
push edi
push ebx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x100090bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.U_s_la:_d
push 4
call fcn.1000c170
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c0], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x100090b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x1000910f
mov ecx, ebx
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100090c0
push edi
sub ecx, ebx
push ecx
push eax
push str.U_s_t_l_:_d__data_length:__d__IN_LEN:__d
push 2
call fcn.1000c170
add esp, 0x14
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c0], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1000910a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x1b0]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a8]
pop esi
call fcn.10027973
add esp, 0x1b4
ret