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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54735b
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, 1
push edi
mov ebp, ecx
push esi
call fcn.004bfab0
xor ebx, ebx
mov ecx, ebp
call fcn.004bf720
dec eax
cmp eax, 5
ja case.default.0x4c163c
jmp dword [eax*4 + 0x4c1aa4]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x24], ebx
jne 0x4c167a
push 0x6c
call fcn.0050d138
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x4c166a
mov ecx, eax
call fcn.0049fe60
jmp 0x4c166c
xor eax, eax
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x21f8]
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x22a34], eax
mov ecx, dword [edx + 0x24]
cmp dword [ecx + 0x50], ebx
jne 0x4c16a7
lea edx, [ebp + 0x2228]
push eax
push edx
mov ecx, ebp
call fcn.004c1ae0
dec eax
je case.0x4c163c.2
push 3
jmp 0x4c18b8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.004bf460
mov dword [esp + 0x5c], esi
lea esi, [ebp + 0x22a28]
mov ecx, esi
call fcn.0050d388
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
xor edi, edi
cmp dword [edx - 8], ebx
je 0x4c1748
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.004bf460
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call fcn.0050d536
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 1
call fcn.0050d3fd
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push str.CSeq:__d
push eax
call fcn.004f0d5e
add esp, 0xc
lea ecx, [esp + 0x10]
push str.Alert:0_
call fcn.00505d35
test eax, eax
jne 0x4c173f
mov edi, 1
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
jne 0x4c16e3
cmp dword [ebp + 0x58], 5
jne 0x4c1959
cmp edi, ebx
jne 0x4c1959
mov edx, dword [0x591288]
mov dword [esp + 0x14], edx
mov ecx, esi
mov byte [esp + 0x5c], 3
call fcn.0050d388
push str.RTSP_1.0_451_Parameter_Not_Understood
lea ecx, [esp + 0x18]
call fcn.0050d586
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0050d172
mov ecx, ebp
call fcn.004bf650
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push str.CSeq:__d
push edx
call fcn.005060bb
add esp, 8
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0050d172
mov ecx, ebp
call fcn.004bf650
push str._r_n_r_n
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.0050d692
push eax
mov ecx, esi
mov byte [esp + 0x60], 4
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 3
call fcn.0050d3fd
mov esi, dword [esi]
mov edx, dword [ebp + 0x30]
push ebx
mov eax, dword [esi - 8]
push eax
push esi
push edx
call dword [sym.imp.WSOCK32.dll_send]
mov eax, dword [ebp + 0x1078]
mov edx, dword [ebp + 0x22a34]
cmp eax, edx
jbe 0x4c1838
sub eax, edx
lea esi, [edx + ebp + 0x2228]
mov ecx, eax
lea edi, [ebp + 0x2228]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x1078], eax
jmp 0x4c183e
mov dword [ebp + 0x1078], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0050d3fd
jmp case.default.0x4c163c
mov ecx, ebp
call fcn.004c0cf0
dec eax
je case.0x4c163c.2
sub eax, 2
je case.0x4c163c.1
sub eax, 2
je 0x4c1982
mov eax, dword [ebp + 0x58]
dec eax
cmp eax, 7
ja case.0x4c188b.5
jmp dword [eax*4 + 0x4c1abc]
push 2
jmp 0x4c18b8
cmp dword [ebp + 0x5c], ebx
jne case.0x4c188b.5
mov dword [ebp + 0x5c], esi
jmp case.0x4c188b.5
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0x64]
cmp dword [edx - 8], ebx
jne 0x4c18b2
push 6
jmp 0x4c18b8
push 4
jmp 0x4c18b8
push 5
mov ecx, ebp
call fcn.004bfab0
mov eax, dword [ebp + 0x1078]
mov edx, dword [ebp + 0x22a34]
cmp eax, edx
jbe 0x4c1937
jmp 0x4c1910
mov ecx, ebp
call fcn.004c2840
dec eax
je case.0x4c163c.2
sub eax, 3
je 0x4c1a75
sub eax, 4
jne 0x4c1900
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x4c1900
cmp dword [eax + 0x50], ebx
jne 0x4c199a
mov eax, dword [ebp + 0x1078]
mov edx, dword [ebp + 0x22a34]
cmp eax, edx
jbe 0x4c1937
sub eax, edx
lea esi, [edx + ebp + 0x2228]
mov ecx, eax
lea edi, [ebp + 0x2228]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x1078], eax
jmp case.default.0x4c163c
mov dword [ebp + 0x1078], ebx
mov esi, 1
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x1c]
cmp dword [eax], ebx
je 0x4c1a8d
jmp 0x4c162b
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0050d3fd
mov eax, 3
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, 5
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp dword [eax + 0x38], ebx
jne 0x4c19cb
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [ebp + 0x2190]
mov edx, dword [ebp + 0x2194]
lea eax, [ebp + 0x12628]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
mov byte [eax], 0x55
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push 0x47a
push ecx
mov byte [ebp + 0x12629], 0xaa
mov byte [ebp + 0x1262a], 0xcc
mov byte [ebp + 0x1262b], 0xa5
mov dword [esp + 0x54], 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jne 0x4c1a55
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
xor edx, edx
cmp eax, 2
sete dl
add edx, 3
mov eax, edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, 4
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret