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

Disassembly:
push 0xffffffffffffffff
push 0x1009861b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
mov eax, dword [esp + 0x1bc]
push esi
push eax
lea ecx, [esp + 8]
call fcn.10011f50
lea ecx, [esp + 0x18]
push ecx
push 0x202
mov dword [esp + 0x1b8], 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.1006ac00
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], 2
mov ecx, dword [eax - 0xc]
add esp, 0xc
test ecx, ecx
jge 0x1003c9bc
push 0x80070057
call fcn.10001100
mov cl, byte [eax]
cmp cl, 0x30
push ebp
jl 0x1003c9c9
cmp cl, 0x39
jle 0x1003ca41
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1003ca33
mov eax, dword [esp + 8]
push eax
push str._la__s_:unkown_host
push 4
call fcn.1006ac00
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 + 0x1b4], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1003ca1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
add esp, 0x1b0
ret
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 + 0x1d0]
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.1006ac00
mov edi, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1d0]
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 0x1003cae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.U_s_la:_d
push 4
call fcn.1006ac00
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 + 0x1bc], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1003cadd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x1003cb35
mov ecx, ebx
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1003cae6
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.1006ac00
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 + 0x1bc], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1003cb30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x1b4]
pop edi
pop ebx
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x1b0
ret