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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542296
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb8], edi
cmp byte [edi + 0x75], 0
je 0x4e1d88
mov esi, dword [edi + 0x8c]
mov byte [ebp - 0x98], 0x8a
mov al, byte [esi + 0xc]
mov byte [ebp - 0x97], al
lea eax, [ebp - 0x96]
push dword [esi + 0xc]
push dword [esi + 4]
push eax
call fcn.005190f0
mov esi, dword [esi + 0xc]
add esp, 8
add esi, 2
mov ecx, edi
mov dword [ebp - 0xb4], esi
call fcn.004c8dd0
test al, al
je 0x4e1d55
push 0
push esi
lea eax, [ebp - 0x98]
push eax
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
cmp dword [ebp - 0xb4], esi
je 0x4e1fd3
sub esp, 0x18
mov ecx, esp
push 0x16
push str.Error_on_Sending_Pong.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00408270
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
xor al, al
jmp 0x4e1fde
cmp byte [edi + 0x76], 0
jne 0x4e1fd3
mov eax, dword [edi + 0x8c]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
push dword [eax + 0xc]
mov byte [ebp - 0xb0], 0
push dword [eax + 4]
call fcn.00402bc0
mov dword [ebp - 4], 0
cmp dword [edi + 0xd0], 0
je 0x4e1f06
mov edx, dword [edi + 0xd0]
lea ecx, [edi + 0xc0]
mov eax, bind
sub eax, edx
cmp eax, 0xb
jb 0x4e1ffc
cmp dword [ecx + 0x14], 0x10
jb 0x4e1e06
mov ecx, dword [ecx]
push edx
push ecx
push 0xb
push str.User_Agent:
push ecx
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x100]
call fcn.00402f00
push 2
push 0x5592e4
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
call fcn.00402cc0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0xd0]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.00402cc0
lea ecx, [ebp - 0xb0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xe8]
push eax
movq qword [ebp - 0xd8], xmm0
call fcn.00402940
lea ecx, [ebp - 0xe8]
call fcn.004028f0
lea ecx, [ebp - 0xd0]
call fcn.004028f0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0
call fcn.004028f0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402a10
mov eax, dword [edi + 0x80]
mov edi, dword [ebp - 0xc0]
push edi
mov dword [ebp - 0xb4], eax
call fcn.0051ebb5
add esp, 4
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 0x10
mov esi, eax
cmovae ecx, dword [ebp - 0xd0]
push edi
push ecx
push esi
call fcn.005190f0
mov eax, dword [ebp - 0xb4]
add esp, 0xc
push edi
push esi
push 0x40e
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x4e1fa0
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e1f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2001
push ecx
push edx
call fcn.00517162
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004028f0
mov edi, dword [ebp - 0xb8]
push 2
mov ecx, edi
call fcn.004e17d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401640
call fcn.0051eb64
int3