Function at 0x418e10
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x43bb38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x444020]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x18], 0x64
xor ebx, ebx
mov dword [esp + 0x10], eax
push ebx
push ebx
push ebx
push 1
push 3
push 2
mov dword [esp + 0x70], ebx
call dword [sym.imp.WS2_32.dll_WSASocketA]
lea ecx, [esp + 0x18]
push 4
push ecx
push 0x1005
push 0xffff
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.0041f970
push 0x400
push 8
mov word [esp + 0x28], 2
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
push 0x400
push 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov dword [esp + 0x1c], eax
mov ecx, 0x100
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x2c
push esi
mov ecx, ebp
call fcn.00419100
mov edi, 1
mov eax, dword [ebp + 0x164]
test eax, eax
jne 0x418f47
mov word [esi + 2], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2c
mov word [esi + 6], bx
push esi
mov ecx, ebp
mov dword [esi + 8], eax
inc ebx
call fcn.004190a0
mov word [esi + 2], ax
mov eax, dword [esp + 0x60]
push edi
push eax
lea ecx, [esp + 0x18]
push str._s_d
push ecx
call fcn.0041a2e0
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push 0x10
push eax
push 0
push 0x2c
push esi
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
inc edi
cmp edi, 0xff
jl 0x418ed4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418f56
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edx
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
push esi
push 0
call ebx
push eax
call edi
mov eax, dword [ebp + 0x164]
test eax, eax
je 0x418fb6
mov eax, dword [esp + 0x10]
mov edx, dword [0x444024]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x418faf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x418faf
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043a372
add esp, 4
xor eax, eax
jmp 0x41907c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x60], 0
push 0x3e8
call ebx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x33]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x150]
push 6
stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.0042f850
lea edx, [esp + 0x3c]
push edx
push 0
push 0x418c10
call fcn.0042f2f0
mov eax, dword [esp + 0x50]
add esp, 0x18
test eax, eax
jne 0x419032
lea eax, [esp + 0x30]
mov ecx, 0x445300
push eax
call fcn.0040a310
mov esi, eax
test esi, esi
jne 0x41904b
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 5
mov dword [esp + 0x60], eax
jl 0x418fc4
jmp 0x41904b
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x445300
call fcn.0040a310
mov esi, eax
test esi, esi
jne 0x41904b
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x444024]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41907a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41907a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043a372
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4