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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x50c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0060444a
test ebx, ebx
jle 0x6044e3
mov edx, dword [ebp + 8]
cmp ebx, dword [edx + 0x2744]
jb 0x6044fd
cmp dword [ebp + 8], 0
je 0x604a96
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 4]
jmp 0x604a96
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x2740]
lea edi, [esi + edx + 0x30]
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], edx
je 0x6045ed
mov edx, ebx
add edx, dword [esi + 0x274c]
mov ecx, edx
and ecx, 3
mov dword [ebp - 0x4dc], ecx
sub edx, ecx
mov dword [ebp - 0x4e0], edx
je 0x6045d6
mov byte [edi + ebx], 0
mov dword [esp + 8], 1
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, edi
sub eax, dword [esi + 0x274c]
mov dword [esp], eax
call fcn.006200cc
mov ecx, edi
sub ecx, dword [esi + 0x274c]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x4e4], ebx
test ebx, ebx
je 0x604581
mov edx, 0
mov esi, ebx
mov bl, byte [eax + edx]
mov byte [ecx], bl
inc ecx
inc edx
cmp edx, esi
jb 0x604576
cmp dword [ebp - 0x4dc], 0
je 0x6045be
mov edx, 0
mov esi, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e0], eax
mov eax, esi
mov ebx, dword [ebp + 8]
sub eax, dword [ebx + 0x274c]
lea ebx, [edi + edx]
mov al, byte [ebx + eax]
mov byte [ecx + edx], al
inc edx
cmp dword [ebp - 0x4dc], edx
ja 0x60459b
mov eax, dword [ebp - 0x4e0]
mov ebx, dword [ebp - 0x4dc]
add ebx, dword [ebp - 0x4e4]
test eax, eax
je 0x6045d6
mov dword [esp], eax
call fcn.008f4768
mov eax, dword [ebp - 0x4dc]
mov esi, dword [ebp + 8]
mov dword [esi + 0x274c], eax
test eax, eax
jne 0x604a96
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2740], 1
mov eax, edi
adc eax, 0xffffffff
mov ecx, ebx
lea edx, [edi + ebx - 1]
cmp eax, edx
jae 0x604a75
mov esi, dword [ebp + 8]
cmp byte [eax], 0xd
jne 0x60462b
cmp byte [eax + 1], 0xa
jne 0x60462b
mov ebx, eax
sub ebx, dword [esi + 0x2748]
cmp ebx, 2
je 0x604635
mov dword [esi + 0x2748], eax
inc eax
cmp eax, edx
jb 0x60460d
jmp 0x604a75
mov ebx, dword [ebp + 8]
sub dword [ebx + 0x2744], ecx
add ecx, dword [ebx + 0x2740]
mov dword [ebx + 0x2740], ecx
mov byte [ebx + ecx + 0x30], 0
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov dword [esp + 0x24], 0xc8
lea eax, [ebp - 0x33c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xc8
lea eax, [ebp - 0x274]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0xc8
lea eax, [ebp - 0x1ac]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xc8
lea eax, [ebp - 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0060a0f0
test eax, eax
je 0x60485d
lea esi, [ebp - 0xe4]
mov edi, 0xa1ab98
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x6046e7
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea edx, [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x6049be
lea esi, [ebp - 0xe4]
mov edi, 0xa1aae3
mov ecx, 9
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x60472e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0xc], ebx
lea edx, [ebp - 0x274]
mov dword [esp + 8], edx
lea edx, [ebp - 0x33c]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 0x1c]
jmp 0x6049be
lea esi, [ebp - 0xe4]
mov edi, 0xa1aba0
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x60477c
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [esp + 0x10], ebx
lea edx, [ebp - 0x274]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x1ac]
mov dword [esp + 8], edx
lea edx, [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x20]
jmp 0x6049be
lea esi, [ebp - 0xe4]
mov edi, 0xa1a5fd
mov ecx, 9
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x604804
lea esi, [ebp - 0xe4]
mov edi, 0xa1a606
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x604804
lea esi, [ebp - 0xe4]
mov edi, 0xa1a60b
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x604804
mov dword [esp + 4], 0xa1a5e1
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x604804
mov dword [esp + 4], 0xa1a5ef
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x604843
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x14], ebx
lea edx, [ebp - 0x33c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x274]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x1ac]
mov dword [esp + 8], edx
lea edx, [ebp - 0xe4]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 0x24]
jmp 0x6049be
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea edx, [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0xc]
jmp 0x6049be
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x20], 0xc8
lea edx, [ebp - 0x4cc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0xc8
lea edx, [ebp - 0x404]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0xc8
lea edx, [ebp - 0x274]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xc8
lea edx, [ebp - 0xe4]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 0x3c]
test eax, eax
je 0x6049a6
cmp byte [ebp - 0x404], 0
jne 0x604902
lea esi, [ebp - 0x4cc]
mov edi, str.application_x_rtsp_tunnelled
mov ecx, 0x1d
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x604a86
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [esp + 8], ebx
lea edx, [ebp - 0x274]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x4c]
jmp 0x6049be
lea esi, [ebp - 0xe4]
mov edi, 0xa1abc3
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x60493b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea edx, [ebp - 0x404]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 0x44]
jmp 0x6049be
lea esi, [ebp - 0xe4]
mov edi, 0xa1abc7
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x604a86
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2748]
add eax, 4
mov edx, dword [esi]
mov ecx, dword [esi + 0x2740]
lea ecx, [esi + ecx + 0x30]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
lea eax, [ebp - 0x404]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [edx + 0x48]
test eax, eax
je 0x6049be
test esi, esi
je 0x604a96
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
jmp 0x604a96
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea edx, [ebp - 0x33c]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 8]
mov edx, dword [ebp + 8]
add edx, 0x2750
mov edi, edx
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sub.WS2_32.dll_send
sub esp, 0x10
lea esi, [ebp - 0xe4]
mov edi, 0xa1aba0
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x604a53
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4e68], 0
je 0x604a53
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
lea edx, [ebp - 0x33c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x274]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x1ac]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xa1a606
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call dword [eax + 0x24]
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00603e38
cmp dword [ebx + 0x4e64], 0
jne 0x604a96
test ebx, ebx
je 0x604a96
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
jmp 0x604a96
mov esi, dword [ebp + 8]
sub dword [esi + 0x2744], ecx
add dword [esi + 0x2740], ecx
jmp 0x604a96
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x40]
jmp 0x6049be
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret