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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 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 0x4e8374
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
mov edx, dword [ebp - 8]
mov eax, 0x4e838c
call fcn.00404d34
test eax, eax
je 0x4e80ec
mov edx, dword [ebp - 8]
mov eax, 0x4e8398
call fcn.00404d34
test eax, eax
je 0x4e8074
mov edx, dword [ebp - 8]
mov eax, 0x4e838c
call fcn.00404d34
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, 0x4e8398
call fcn.00404d34
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
jno 0x4e7fe4
call fcn.0040385c
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c50
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
add eax, 1
jno 0x4e8002
call fcn.0040385c
mov ecx, dword [ebp - 0x28]
sub ecx, eax
jno 0x4e800e
call fcn.0040385c
mov edx, dword [ebp - 0x24]
add edx, 1
jno 0x4e801b
call fcn.0040385c
mov eax, dword [ebp - 8]
call fcn.00404c50
mov eax, dword [ebp - 0x3c]
mov edx, 0x1e61
call fcn.00408ff0
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
call fcn.004049f0
mov ecx, eax
sub ecx, dword [ebp - 0x28]
jno 0x4e804c
call fcn.0040385c
mov edx, dword [ebp - 0x28]
add edx, 1
jno 0x4e8059
call fcn.0040385c
mov eax, dword [ebp - 8]
call fcn.00404c50
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.00408ff0
mov word [ebp - 0x20], ax
jmp 0x4e80fd
mov edx, dword [ebp - 8]
mov eax, 0x4e838c
call fcn.00404d34
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
jno 0x4e8095
call fcn.0040385c
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c50
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
call fcn.004049f0
mov ecx, eax
sub ecx, dword [ebp - 0x24]
jno 0x4e80ba
call fcn.0040385c
add ecx, 1
jno 0x4e80c4
call fcn.0040385c
mov edx, dword [ebp - 0x24]
add edx, 1
jno 0x4e80d1
call fcn.0040385c
mov eax, dword [ebp - 8]
call fcn.00404c50
mov eax, dword [ebp - 0x44]
mov edx, 0x1e61
call fcn.00408ff0
mov word [ebp - 0x1e], ax
jmp 0x4e80fd
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004047c8
mov word [ebp - 0x1e], 0x1e61
cmp word [ebp - 0x20], 0
jne 0x4e810c
mov ax, word [ebp - 0x1e]
mov word [ebp - 0x20], ax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.004e2518
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
call fcn.004047c8
mov eax, dword [ebp - 0x1c]
call fcn.004049f0
cmp eax, 7
jl 0x4e8349
mov eax, dword [ebp - 0x1c]
call fcn.004049f0
cmp eax, 0xf
jg 0x4e8349
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 0x4e83a4
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2390
mov eax, dword [ebp - 0x4c]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], al
push 0x4e83a4
lea eax, [ebp - 0x50]
push eax
mov ecx, 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2390
mov eax, dword [ebp - 0x50]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 5], al
push 0x4e83a4
lea eax, [ebp - 0x54]
push eax
mov ecx, 3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2390
mov eax, dword [ebp - 0x54]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 6], al
push 0x4e83a4
lea eax, [ebp - 0x58]
push eax
mov ecx, 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e2390
mov eax, dword [ebp - 0x58]
xor edx, edx
call fcn.00408ff0
mov edx, dword [ebp - 0x10]
mov byte [edx + 7], al
lea eax, [ebp - 0x38]
mov edx, 0x10
call fcn.004076d8
mov word [ebp - 0x38], 2
mov ax, word [ebp - 0x1e]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x1c]
call fcn.00404bf0
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea eax, [ebp - 0x20]
mov ecx, 2
call fcn.00402964
cmp byte [ebp + 0x10], 1
jne 0x4e828b
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x69
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ef080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp - 9], 1
jne 0x4e82e3
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 - 0x38]
push eax
push 0
push 0xf
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ef080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp + 0xc], 1
jne 0x4e8312
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x63
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ef080]
push eax
call sub.wsock32.dll_sendto
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [ebp + 8], 1
jne 0x4e8341
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0x72
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0xb
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ef080]
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 0x4e837b
lea eax, [ebp - 0x58]
mov edx, 8
call fcn.00404754
lea eax, [ebp - 0x1c]
call fcn.00404730
lea eax, [ebp - 8]
call fcn.00404730
ret