Function at 0x4e874c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404be0
xor eax, eax
push ebp
push 0x4e8a7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, 0x4e8a90
call fcn.00404d34
test eax, eax
je 0x4e8801
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4e8a90
call fcn.00404d34
mov ecx, eax
sub ecx, 1
jno 0x4e87b7
call fcn.0040385c
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c50
lea eax, [ebp - 0x34]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4e8a90
call fcn.00404d34
mov edx, eax
add edx, 1
jno 0x4e87e1
call fcn.0040385c
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.00404c50
mov eax, dword [ebp - 0x34]
mov edx, 0x1e61
call fcn.00408ff0
mov word [ebp - 0x1e], ax
jmp 0x4e8812
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004047c8
mov word [ebp - 0x1e], 0x1e61
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.004e2f1c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
call fcn.004047c8
mov eax, dword [ebp - 0x1c]
call fcn.004049f0
cmp eax, 7
jl 0x4e8a4f
mov eax, dword [ebp - 0x1c]
call fcn.004049f0
cmp eax, 0xf
jg 0x4e8a4f
mov eax, 0xf
call fcn.0040275c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x53
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0x41
mov eax, dword [ebp - 0x10]
mov byte [eax + 2], 0x4d
mov eax, dword [ebp - 0x10]
mov byte [eax + 3], 0x50
push 0x4e8a9c
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2d94
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], al
push 0x4e8a9c
lea eax, [ebp - 0x40]
push eax
mov ecx, 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2d94
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 5], al
push 0x4e8a9c
lea eax, [ebp - 0x44]
push eax
mov ecx, 3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2d94
mov eax, dword [ebp - 0x44]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 6], al
push 0x4e8a9c
lea eax, [ebp - 0x48]
push eax
mov ecx, 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2d94
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 7], al
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea eax, [ebp - 0x1e]
mov ecx, 2
call fcn.00402964
lea eax, [ebp - 0x30]
mov edx, 0x10
call fcn.004076d8
mov word [ebp - 0x30], 2
mov ax, word [ebp - 0x1e]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x1c]
call fcn.00404bf0
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x10
cmp byte [ebp + 0x10], 1
jne 0x4e8991
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x69
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4f0080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp - 9], 1
jne 0x4e89e9
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x70
push 1
call sub.winmm.dll_timeBeginPeriod
call sub.winmm.dll_timeGetTime
mov dword [ebp - 0x14], eax
push 1
call sub.winmm.dll_timeEndPeriod
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xb]
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.00402964
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xf
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4f0080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp + 0xc], 1
jne 0x4e8a18
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x63
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4f0080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp + 8], 1
jne 0x4e8a47
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x72
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4f0080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 0x10]
call fcn.0040277c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8a81
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.00404754
lea eax, [ebp - 0x1c]
call fcn.00404730
lea eax, [ebp - 8]
call fcn.00404730
ret