Function at 0x4b1170
Capabilities:
Check for time delay via gettickcount
Create raw socket
Create udp socket
Get hostname
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x290
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2a0]
push edi
lea eax, [esp + 0x60]
push eax
mov ebp, 1
push 0x102
mov dword [esp + 0x18], 0
mov dword [0x54a54c], ebp
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4b11bf
mov dword [esp + 0x10], ebp
jmp 0x4b1408
push 0
push 3
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x4b11e1
mov dword [esp + 0x10], 2
jmp 0x4b1408
push 4
lea ecx, [esp + 0x28]
push ecx
push 2
push 0
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4b1209
mov dword [esp + 0x10], 3
jmp 0x4b1408
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004b0e90
add esp, 8
test eax, eax
jge 0x4b1228
mov dword [esp + 0x10], 4
jmp 0x4b1408
push 0x46
lea eax, [esp + 0x1f4]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x4b124a
mov dword [esp + 0x10], 5
jmp 0x4b1408
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x1f4]
push edx
call fcn.004b0e90
add esp, 8
test eax, eax
jge 0x4b1270
mov dword [esp + 0x10], 6
jmp 0x4b1408
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov eax, dword [esp + 0x44]
mov ebx, 0x11
push eax
lea edi, [ebx + 0x53]
mov dword [esp + 0x24], 0
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
jmp 0x4b12a0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ebx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004b1140
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esp, 4
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 0x250]
push eax
call fcn.004b0fe0
mov edi, eax
add esp, 0x1c
test edi, edi
jle 0x4b12a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10
lea ecx, [esp + 0x44]
push ecx
push 0
push edi
lea edx, [esp + 0x248]
mov ebp, eax
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b13db
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b0dc0
add esp, 4
test eax, eax
je 0x4b1397
xor esi, esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [0x54a548], eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004b0e10
add esp, 8
cmp dword [0x54a578], esi
je 0x4b1380
cmp ebx, 1
je 0x4b13e5
lea ebx, [esi + 1]
mov dword [0x54a578], esi
mov ecx, 1
add dword [esp + 0x18], ecx
add dword [esp + 0x14], ecx
cmp eax, esi
je 0x4b12a0
jmp 0x4b13f7
test esi, esi
jle 0x4b12a0
mov ecx, 1
cmp ebx, ecx
jne 0x4b13c7
mov eax, dword [esp + 0x20]
add eax, ecx
cmp eax, dword [0x52b688]
mov dword [esp + 0x20], eax
jge 0x4b13ef
add dword [esp + 0x18], ecx
add dword [esp + 0x14], ecx
jmp 0x4b12a0
cmp ebx, 0x11
je 0x4b13d4
add dword [esp + 0x18], ecx
add dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x4b12a0
mov dword [esp + 0x10], 7
jmp 0x4b13f7
mov dword [esp + 0x10], 8
jmp 0x4b13f7
mov dword [esp + 0x10], 9
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x54a550], 0
mov eax, 0xa
je 0x4b141a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x290
ret