Function at 0x54bd70
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor cl, cl
mov al, byte [esi + 5]
mov dword [ebp - 0x10], esp
cmp al, 0x16
mov dword [ebp - 0x2c], ebx
jne 0x54bda4
mov cl, 1
mov byte [ebx + 0x30e0], 1
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
jne 0x54be82
test cl, cl
je 0x54be8a
xor eax, eax
mov cl, byte [esi + 4]
mov al, byte [esi + 6]
push edi
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8 + 0x336c]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
xor edx, edx
mov byte [eax + 0x24], cl
mov dl, byte [esi + 6]
mov eax, dword [esi + 0x14]
mov dword [ebx + edx*4 + 0x476c], eax
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
xor eax, eax
mov dword [ebx + ecx*8 + 0x338c], edi
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [ebx + edx*8 + 0x3388], edi
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov byte [ebx + eax*8 + 0x337c], 0
mov dword [ebx + 0x5c], 0x15
mov dword [ebx + 0x3340], edi
mov dword [esi + 0x20], edi
mov ecx, dword [ebx + 0x30c0]
push ecx
mov ecx, ebx
call fcn.0050f480
test eax, eax
jne 0x54cf63
push esi
mov ecx, ebx
call fcn.0054ba30
jmp 0x54cf63
test cl, cl
jne 0x54c70b
cmp eax, edi
mov byte [ebp - 0x12], 0
jbe 0x54c091
cmp dword [esi + 0x20], edi
jne 0x54c091
mov byte [ebx + 0x30d8], 0
mov edx, dword [ebx + 0x48f4]
add edx, 0xb
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], edx
mov dword [ebx + 0x30fc], 0xb
mov byte [ebx + 0x30dc], 0
mov byte [ebx + 0x30de], 0
mov al, byte [esi + 5]
mov edi, dword [ebx + 0x30c4]
cmp al, 8
mov byte [ebp - 0x12], 1
sete cl
shl cl, 2
cmp al, 9
mov al, byte [edi + 0x7ed]
sete dl
or cl, dl
or al, cl
mov byte [edi + 0x7ed], al
mov eax, dword [ebx + 0x30c4]
mov cl, byte [eax + 0x7ed]
test cl, 4
je 0x54bf18
test cl, 1
jne 0x54bf18
mov ecx, 1
jmp 0x54bf1a
xor ecx, ecx
mov byte [eax + 0x7ec], cl
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
mov al, byte [ebx + 0x30db]
test al, al
je 0x54c032
mov al, byte [ebx + 0x30e2]
test al, al
je 0x54c044
mov ecx, dword [esi + 0x14]
test ecx, ecx
jbe 0x54c032
cmp ecx, dword [ebx + 0x98]
jne 0x54bf61
mov byte [ebx + 0x30e2], 0
jmp 0x54c032
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
or edx, eax
jne 0x54c032
mov al, byte [ebx + 0x97]
test al, al
jne 0x54c032
mov eax, dword [ebx + 0x30c4]
mov edx, dword [eax + 0x68]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x54c032
mov edx, dword [eax + 0x1c]
mov dword [ebp - 4], 0
cmp ecx, edx
ja 0x54bfb3
cmp eax, dword [ebx + 0x60]
jne 0x54c028
cmp ecx, 0x2910
jbe 0x54c028
mov esi, dword [ebp + 8]
mov eax, dword [0x682f9c]
mov dword [ebp - 0x28], eax
push ecx
lea ecx, [ebp - 0x28]
push str._ReadMediaPacket_s1b2__change_RTS__ts_ld_n
push ecx
mov byte [ebp - 4], 1
call fcn.0059e618
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
push edx
call fcn.0050ef30
mov eax, dword [ebx + 0x30c4]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebx + 0x60]
mov edx, dword [ecx + 0x38]
cmp edx, eax
jne 0x54bffb
push str.s1b3__n
mov ecx, ebx
call fcn.0050ef30
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x48b4], esi
mov byte [ebx + 0x30e2], 0
mov byte [ebp - 4], 0
call fcn.005a584d
jmp 0x54c028
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebx + 0x30e2]
test al, al
je 0x54c044
mov eax, dword [ebx + 0x98]
jmp 0x54c046
xor eax, eax
mov ecx, dword [esi + 0x14]
mov edi, dword [ebx + 0x48f4]
add ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x9c], ecx
mov dl, byte [esi + 5]
mov byte [edi], dl
inc edi
push eax
push edi
call fcn.0054ac80
mov ecx, dword [ebx + 0x9c]
add edi, eax
push ecx
push edi
call fcn.0054ac80
mov edx, dword [ebx + 0x9c]
add edi, eax
shr edx, 0x18
mov byte [edi], dl
inc edi
push 0
push edi
call fcn.0054ac80
add esp, 0x18
jmp 0x54c0af
mov al, byte [ebx + 0x30d8]
test al, al
je 0x54c0a9
mov eax, dword [esi + 0x1c]
add eax, 0xb
mov dword [ebx + 0x30fc], eax
jmp 0x54c0af
mov dword [ebx + 0x30fc], edi
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx + 0x3104]
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx + 0x333c]
test edx, edx
mov dword [ebp - 0x28], eax
jle 0x54c0d1
mov eax, edx
mov dword [ebp - 0x28], eax
cmp ecx, eax
jge 0x54c0da
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x48fc]
mov edx, dword [ebx + 0x30fc]
mov dword [ebp - 0x30], ecx
sub ecx, edx
cmp eax, ecx
mov dword [ebp - 0x1c], eax
jle 0x54c18e
cmp byte [esi + 5], 0x12
jne 0x54c18c
cmp edi, 0x400000
jae 0x54c18e
mov eax, dword [ebx + 0x48f8]
add edi, 0xf
test eax, eax
mov dword [ebx + 0x48fc], edi
je 0x54c128
push eax
call fcn.005a1c12
add esp, 4
mov ecx, dword [ebx + 0x48fc]
push ecx
call fcn.005a1be9
add esp, 4
mov dword [ebx + 0x48f8], eax
test eax, eax
jne 0x54c157
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebx + 0x48f4]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x48f8]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x48f4], eax
add eax, 0xb
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x28]
mov esi, ecx
jmp 0x54c18e
mov eax, ecx
cmp byte [esi + 5], 0x12
jne 0x54c19b
mov byte [ebx + 0x30d8], 1
cmp dword [esi + 0x18], 5
ja 0x54c1a8
mov byte [ebx + 0x30d8], 1
xor edi, edi
test eax, eax
mov dword [ebp - 0x20], edi
je 0x54c22a
mov edx, dword [ebx + 0x80]
cmp dword [edx + 0x24], 5
jne 0x54c1d6
mov edx, dword [ebx + 0x30fc]
push eax
mov eax, dword [ebx + 0x48f4]
mov ecx, ebx
add eax, edx
push eax
call fcn.0054a030
jmp 0x54c1f4
mov ecx, dword [ebx + 0x48f4]
mov edi, dword [ebx + 0x30fc]
mov edx, dword [ebx + 0x30c0]
push 0
add ecx, edi
push eax
push ecx
push edx
call sub.WSOCK32.dll_recv
mov edi, eax
push str.recv_data
push edi
mov ecx, ebx
mov dword [ebp - 0x20], edi
call fcn.0050efd0
mov ecx, eax
test ecx, ecx
je 0x54c22a
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 0x13], 0
add ecx, edi
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0x487c]
add eax, edi
mov dword [ebx + 0x487c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, edi
mov dword [ebx + 0x3104], ecx
mov ecx, dword [ebx + 0x30fc]
add ecx, edi
cmp edi, eax
mov dword [ebp - 0x24], ecx
je 0x54c26f
mov al, byte [ebx + 0x30d8]
test al, al
je 0x54c2b7
jmp 0x54cf63
mov dword [ebx + 0x5c], 0x15
mov dword [ebx + 0x3340], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
cmp edx, eax
jne 0x54c2b7
lea edx, [ecx + 4]
cmp edx, dword [ebx + 0x48fc]
mov dword [ebp - 0x30], edx
jae 0x54c2b7
lea edx, [eax + 0xb]
mov eax, dword [ebx + 0x48f4]
add eax, ecx
push edx
push eax
call fcn.0054acb0
mov edx, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 0x13], 1
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
mov byte [ebp - 0x11], 1
jne 0x54c392
mov cl, byte [esi + 5]
cmp cl, 9
jne 0x54c33f
cmp eax, 2
jne 0x54c2f5
mov edx, dword [esi + 0x20]
mov dl, byte [edx]
and dl, 0xf0
cmp dl, 0x50
jne 0x54c2f5
push str.Video_info_command_packet_n
mov ecx, ebx
call fcn.0050ef30
mov byte [ebp - 0x11], 0
jmp 0x54c33f
cmp cl, 9
jne 0x54c33f
cmp eax, 5
ja 0x54c33f
mov ecx, dword [0x682f9c]
mov dword [ebp - 0x28], ecx
push eax
lea edx, [ebp - 0x28]
push str.Small_video_packet__size_ld_n
push edx
mov dword [ebp - 4], 3
call fcn.0059e618
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0050ef30
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
call fcn.005a584d
cmp byte [esi + 5], 8
jne 0x54c3a5
mov esi, dword [esi + 0x18]
cmp esi, 1
ja 0x54c3a5
mov ecx, dword [0x682f9c]
mov dword [ebp - 0x2c], ecx
push esi
lea edx, [ebp - 0x2c]
push str.Small_audio_packet__size_ld_n
push edx
mov dword [ebp - 4], 4
call fcn.0059e618
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0050ef30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
call fcn.005a584d
jmp 0x54c5ea
mov al, byte [ebx + 0x30d8]
test al, al
je 0x54c3b6
mov byte [ebp - 0x11], 0
jmp 0x54c5ea
mov al, byte [ebp - 0x11]
test al, al
je 0x54c5ea
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov al, byte [ebx + 0x30dc]
test al, al
je 0x54c3c4
mov byte [ebp - 0x11], 0
mov al, byte [ebx + 0x30db]
test al, al
je 0x54c43c
mov eax, dword [esi + 0x14]
mov ecx, dword [ebx + 0xa0]
cmp eax, ecx
jb 0x54c431
mov dl, byte [ebx + 0x30e2]
test dl, dl
jne 0x54c3f1
mov edx, dword [ebx + 0x98]
add edx, ecx
cmp edx, eax
ja 0x54c431
cmp eax, ecx
je 0x54c414
mov dl, byte [ebx + 0x30e2]
test dl, dl
jne 0x54c40b
mov edx, dword [ebx + 0x98]
add edx, ecx
cmp edx, eax
je 0x54c414
mov byte [ebx + 0x30db], 0
jmp 0x54c43c
mov al, byte [ebx + 0x30df]
test al, al
je 0x54c431
mov al, byte [ebx + 0x30dd]
test al, al
jne 0x54c431
mov byte [ebx + 0x30db], 0
jmp 0x54c43c
mov byte [ebp - 0x11], 0
mov byte [ebx + 0x30dc], 1
mov al, byte [ebp - 0x12]
test al, al
je 0x54c4b8
test edi, edi
je 0x54c4b8
mov eax, dword [ebx + 0xa0]
mov edi, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x9c]
add eax, edi
cmp ecx, eax
jb 0x54c4b8
mov edx, dword [ebx + 0x30c4]
mov al, byte [edx + 0x7ec]
test al, al
je 0x54c479
cmp byte [esi + 5], 8
je 0x54c490
test al, al
jne 0x54c4b8
cmp byte [esi + 5], 9
jne 0x54c4b8
mov eax, dword [ebx + 0x48f4]
mov dl, byte [eax + 0xb]
and dl, 0xf0
cmp dl, 0x10
jne 0x54c4b8
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x48d0], eax
mov dword [ebx + 0x48d4], edx
mov dword [ebx + 0x48d8], ecx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x48dc], eax
mov byte [ebx + 0x30de], 1
mov al, byte [ebx + 0x30dd]
test al, al
je 0x54c5c9
mov al, byte [ebx + 0x30dc]
test al, al
je 0x54c5c9
mov al, byte [ebx + 0x30de]
test al, al
je 0x54c5c9
mov esi, dword [ebx + 0x48e0]
test esi, esi
je 0x54c5c9
mov ecx, dword [ebx + 0x48e4]
mov eax, dword [ebx + 0x48e8]
mov edx, dword [ebp - 0x24]
sub ecx, eax
cmp ecx, edx
jb 0x54c507
mov ecx, edx
mov edi, dword [ebx + 0x48f4]
add esi, eax
xor edx, edx
mov dword [ebp - 0x30], ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x54c51d
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
add eax, ecx
mov ecx, dword [ebx + 0x48e4]
cmp eax, ecx
jb 0x54c56a
mov eax, dword [ebx + 0x48e0]
mov byte [ebx + 0x30dd], 0
push eax
mov dword [ebp - 4], 5
call fcn.005a1c12
add esp, 4
jmp 0x54c557
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x48e0], 0
jmp 0x54c570
mov dword [ebx + 0x48e8], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x54c59b
push str.Key_frame_doesnt_match__r_n
mov ecx, ebx
call fcn.0050ef30
mov eax, 0x757b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [ebx + 0x30dd]
test al, al
jne 0x54c5c9
mov edx, dword [ebx + 0x80]
mov byte [edx + 0x2d3], 1
mov ecx, dword [ebx + 0x30c4]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x54c5c9
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov al, byte [ebp - 0x11]
test al, al
je 0x54c5ea
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebx + 0x48f4]
push ecx
push edx
mov ecx, ebx
call fcn.0054d210
test eax, eax
jne 0x54cf65
mov esi, dword [ebp + 8]
xor eax, eax
mov al, byte [esi + 6]
mov cl, byte [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8 + 0x336c]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
mov byte [eax + 0x24], cl
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x1c], eax
jne 0x54c6d7
mov cl, byte [ebp - 0x13]
test cl, cl
jne 0x54c67d
mov cl, byte [ebp - 0x11]
test cl, cl
je 0x54c67d
add eax, 0xb
lea edx, [ebp + 8]
push eax
push edx
call fcn.0054acb0
add esp, 8
lea eax, [ebp + 8]
mov ecx, ebx
push 4
push eax
call fcn.0054d210
test eax, eax
jne 0x54cf65
mov edx, dword [esi + 0x14]
xor ecx, ecx
mov cl, byte [esi + 6]
xor eax, eax
mov dword [ebx + ecx*4 + 0x476c], edx
mov al, byte [esi + 6]
xor ecx, ecx
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x338c], ecx
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [ebx + edx*8 + 0x3388], ecx
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov byte [ebx + eax*8 + 0x337c], cl
mov al, byte [esi + 5]
cmp al, 0x12
jne 0x54c6d7
mov byte [ebx + 0x30e3], cl
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.0054f330
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
mov dword [esi + 0x20], 0
je 0x54cf5c
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jne 0x54c6fd
mov ecx, esi
jmp 0x54cf57
mov edx, dword [ebx + 0x48f4]
mov dword [esi + 0x20], edx
jmp 0x54cf5c
cmp eax, edi
jbe 0x54c751
cmp dword [esi + 0x20], edi
jne 0x54c751
mov byte [ebx + 0x30d8], 0
mov eax, dword [ebx + 0x48f4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edi
mov dword [ebx + 0x30fc], edi
mov dword [ebx + 0x3100], edi
mov byte [ebx + 0x30da], 1
mov dword [ebx + 0x48ac], edi
mov dword [ebx + 0x48a4], 1
mov byte [ebx + 0x30de], 0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx + 0x3104]
sub ecx, eax
mov eax, dword [ebx + 0x333c]
cmp edx, edi
jle 0x54c76b
mov eax, edx
cmp ecx, eax
jge 0x54c771
mov eax, ecx
mov ecx, dword [ebx + 0x30fc]
mov edx, dword [ebx + 0x48fc]
sub edx, ecx
mov dword [ebp - 0x30], eax
cmp eax, edx
jle 0x54c788
mov eax, edx
mov edx, dword [ebx + 0x80]
cmp dword [edx + 0x24], 5
jne 0x54c7a7
push eax
mov eax, dword [ebx + 0x48f4]
add eax, ecx
mov ecx, ebx
push eax
call fcn.0054a030
jmp 0x54c7be
mov edx, dword [ebx + 0x48f4]
push edi
push eax
mov eax, dword [ebx + 0x30c0]
add edx, ecx
push edx
push eax
call sub.WSOCK32.dll_recv
push str.recv_data
push eax
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.0050efd0
mov ecx, eax
cmp ecx, edi
je 0x54c7f2
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x30fc]
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebx + 0x48f4]
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x13], 1
jmp 0x54c817
mov eax, dword [ebp - 0x18]
cmp edi, eax
jae 0x54cc9f
mov ecx, dword [ebx + 0x48a4]
dec ecx
je 0x54c847
dec ecx
je 0x54c9f5
dec ecx
je 0x54ca74
mov edi, dword [ebp - 0x18]
push str.ReadMediaPacket__error_1488_n
mov ecx, ebx
call fcn.0050ef30
jmp 0x54c814
lea ecx, [edi + 0xb]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
jbe 0x54c85f
mov edx, eax
sub edx, edi
mov edi, eax
mov dword [ebx + 0x30fc], edx
jmp 0x54c817
mov eax, dword [ebp - 0x1c]
mov byte [ebx + 0x30dc], 0
mov byte [ebx + 0x30de], 0
movsx ecx, byte [eax + edi]
lea edx, [eax + edi + 1]
mov dword [ebx + 0x48a0], ecx
push edx
call fcn.0054aae0
mov dword [ebx + 0x48b0], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edi + 4]
push ecx
call fcn.0054aae0
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x9c], eax
add esp, 8
movsx edx, byte [ecx + edi + 7]
shl edx, 0x18
or edx, eax
mov dword [ebx + 0x9c], edx
mov al, byte [ecx + edi]
mov edi, dword [ebx + 0x30c4]
cmp al, 8
sete cl
shl cl, 2
cmp al, 9
mov al, byte [edi + 0x7ed]
sete dl
or cl, dl
or al, cl
mov byte [edi + 0x7ed], al
mov eax, dword [ebx + 0x30c4]
mov cl, byte [eax + 0x7ed]
test cl, 4
je 0x54c8f6
test cl, 1
jne 0x54c8f6
mov ecx, 1
jmp 0x54c8f8
xor ecx, ecx
mov edi, dword [ebp - 0x24]
mov byte [eax + 0x7ec], cl
mov eax, dword [ebx + 0x48b0]
mov dword [ebx + 0x30fc], 0
mov dword [ebx + 0x48ac], eax
mov al, byte [ebx + 0x30db]
test al, al
mov dword [ebx + 0x48a4], 2
je 0x54c968
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x98]
add eax, ecx
mov ecx, dword [ebx + 0x9c]
cmp ecx, eax
jae 0x54c94c
mov byte [ebx + 0x30dc], 1
jmp 0x54c968
jne 0x54c961
mov al, byte [ebx + 0x30dd]
test al, al
je 0x54c961
mov byte [ebx + 0x30dc], 1
jmp 0x54c968
mov byte [ebx + 0x30db], 0
mov edx, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x9c]
add edx, ecx
cmp eax, edx
jb 0x54c9f5
mov eax, dword [ebx + 0x30c4]
mov al, byte [eax + 0x7ec]
test al, al
je 0x54c99d
cmp dword [ebx + 0x48a0], 8
je 0x54c9b9
test al, al
jne 0x54c9f5
cmp dword [ebp - 0x18], edi
jbe 0x54c9f5
cmp dword [ebx + 0x48a0], 9
jne 0x54c9f5
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + edi]
and dl, 0xf0
cmp dl, 0x10
jne 0x54c9f5
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
xor eax, eax
add ecx, edi
adc edx, eax
sub ecx, 0xb
sbb edx, eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0x48d8], eax
mov eax, dword [ebx + 0x48b0]
mov dword [ebx + 0x48d0], ecx
mov dword [ebx + 0x48d4], edx
mov dword [ebx + 0x48dc], eax
mov byte [ebx + 0x30de], 1
mov eax, dword [ebx + 0x48ac]
mov ecx, dword [ebx + 0x30fc]
add eax, ecx
mov ecx, dword [ebp - 0x18]
lea edx, [eax + edi]
cmp edx, ecx
jbe 0x54ca33
sub eax, ecx
add eax, edi
mov dword [ebx + 0x48ac], eax
mov eax, dword [ebx + 0x48a0]
cmp eax, 0x12
jne 0x54ca2c
mov eax, ecx
sub eax, edi
mov dword [ebx + 0x30fc], eax
mov edi, ecx
jmp 0x54c814
cmp dword [ebx + 0x48a0], 0x12
jne 0x54ca50
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x48b0]
add edx, edi
push ecx
push edx
mov ecx, ebx
call fcn.0054f330
mov eax, dword [ebx + 0x48ac]
mov edx, dword [ebx + 0x30fc]
add eax, edx
mov dword [ebx + 0x30fc], 0
add edi, eax
mov dword [ebx + 0x48a4], 3
mov eax, dword [ebp - 0x18]
lea ecx, [edi + 4]
cmp ecx, eax
mov dword [ebp - 0x34], ecx
jbe 0x54cb2a
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x34], ecx
lea edx, [ecx + edi]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x24], edx
add edx, 4
cmp edx, ecx
jbe 0x54c851
cmp dword [ebp - 0x24], ecx
jbe 0x54cb03
mov edx, dword [0x682f9c]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0x48b0]
push ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
lea edx, [ebp + 8]
push str.Stream_corrupted__packetBytesRead_ld__data_size_ld__packetBodySize_ld_n
push edx
mov dword [ebp - 4], 7
call fcn.0059e618
mov eax, dword [ebp + 8]
add esp, 0x14
mov ecx, ebx
push eax
call fcn.0050ef30
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.005a584d
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.TagSize_not_found__n
mov ecx, ebx
call fcn.0050ef30
mov ecx, dword [ebx + 0x48b0]
mov edi, dword [ebp - 0x18]
add ecx, 0xb
mov byte [ebp - 0x13], 0
mov dword [ebx + 0x48a8], ecx
jmp 0x54c814
mov eax, dword [ebp - 0x1c]
add edi, eax
push edi
call fcn.0054ab10
mov ecx, dword [ebx + 0x48b0]
add esp, 4
add ecx, 0xb
mov dword [ebx + 0x48a8], eax
cmp eax, ecx
je 0x54cb5b
push ecx
push edi
mov dword [ebx + 0x48a8], ecx
call fcn.0054acb0
add esp, 8
mov edi, dword [ebp - 0x34]
mov dword [ebx + 0x30fc], 0
mov al, byte [ebx + 0x30dc]
mov dword [ebp - 0x24], edi
test al, al
mov dword [ebx + 0x48a4], 1
je 0x54c814
mov al, byte [ebx + 0x30dd]
test al, al
je 0x54cc85
mov al, byte [ebx + 0x30de]
test al, al
je 0x54cc85
mov esi, dword [ebx + 0x48e0]
test esi, esi
je 0x54cc85
mov eax, dword [ebx + 0x48b0]
mov edx, edi
add eax, 0xf
cmp eax, edx
jae 0x54cbbe
mov edx, eax
mov ecx, dword [ebx + 0x48e4]
mov eax, dword [ebx + 0x48e8]
sub ecx, eax
cmp ecx, edx
jb 0x54cbd2
mov ecx, edx
mov edi, dword [ebx + 0x48f4]
add esi, eax
sub edi, edx
mov edx, dword [ebp - 0x24]
add edi, edx
xor edx, edx
mov dword [ebp - 0x28], ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x54cbef
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
add eax, ecx
mov ecx, dword [ebx + 0x48e4]
cmp eax, ecx
jb 0x54cc3c
mov eax, dword [ebx + 0x48e0]
mov byte [ebx + 0x30dd], 0
push eax
mov dword [ebp - 4], 8
call fcn.005a1c12
add esp, 4
jmp 0x54cc29
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x48e0], 0
jmp 0x54cc42
mov dword [ebx + 0x48e8], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x54cc57
push str.Key_frame_doesnt_match___c2__r_n
mov ecx, ebx
call fcn.0050ef30
jmp 0x54cc85
mov al, byte [ebx + 0x30dd]
test al, al
jne 0x54cc85
mov edx, dword [ebx + 0x80]
mov byte [edx + 0x2d3], 1
mov ecx, dword [ebx + 0x30c4]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x54cc85
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov byte [ebx + 0x30dc], 0
mov edi, ecx
jmp 0x54c817
mov ecx, dword [ebx + 0x30fc]
test ecx, ecx
je 0x54ccae
sub eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x1c]
add edx, ecx
mov dword [esi + 0x1c], edx
mov edi, dword [ebx + 0x487c]
mov edx, dword [ebp - 0x30]
add edi, ecx
sub edx, ecx
mov cl, byte [ebx + 0x30dc]
test cl, cl
mov dword [ebx + 0x487c], edi
mov dword [ebx + 0x3104], edx
jne 0x54cd19
cmp eax, dword [ebp - 0x28]
jbe 0x54ce14
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 0x48f4]
sub ecx, eax
add edx, eax
push ecx
push edx
mov ecx, ebx
call fcn.0054d210
test eax, eax
je 0x54ce14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [ebx + 0x30dd]
test al, al
je 0x54ce14
mov al, byte [ebx + 0x30de]
test al, al
je 0x54ce14
mov eax, dword [ebx + 0x48e0]
test eax, eax
je 0x54ce14
mov ecx, dword [ebx + 0x48e4]
mov eax, dword [ebx + 0x48e8]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
sub ecx, eax
sub edx, esi
cmp ecx, edx
jb 0x54cd5f
mov ecx, edx
mov edi, dword [ebx + 0x48f4]
mov edx, dword [ebx + 0x48e0]
add edi, esi
mov dword [ebp - 0x28], ecx
lea esi, [eax + edx]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x54cd7e
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
add eax, ecx
mov ecx, dword [ebx + 0x48e4]
cmp eax, ecx
jb 0x54cdcb
mov eax, dword [ebx + 0x48e0]
mov byte [ebx + 0x30dd], 0
push eax
mov dword [ebp - 4], 0xa
call fcn.005a1c12
add esp, 4
jmp 0x54cdb8
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x48e0], 0
jmp 0x54cdd1
mov dword [ebx + 0x48e8], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x54cde6
push str.Key_frame_doesnt_match___c3__r_n
mov ecx, ebx
call fcn.0050ef30
jmp 0x54ce14
mov al, byte [ebx + 0x30dd]
test al, al
jne 0x54ce14
mov edx, dword [ebx + 0x80]
mov byte [edx + 0x2d3], 1
mov ecx, dword [ebx + 0x30c4]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x54ce14
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x30fc]
xor edi, edi
cmp ecx, edi
je 0x54ce37
mov eax, dword [ebx + 0x48f4]
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [eax + ecx]
push edx
push eax
call fcn.0058a490
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x54ce50
mov al, byte [ebx + 0x30d8]
test al, al
je 0x54ce6a
jmp 0x54cf63
mov eax, dword [ebx + 0x5c]
cmp eax, 7
je 0x54ce6a
cmp eax, 1
je 0x54ce6a
mov dword [ebx + 0x5c], 0x15
mov dword [ebx + 0x3340], edi
mov al, byte [ebp - 0x13]
test al, al
jne 0x54cea6
mov al, byte [ebx + 0x30dc]
test al, al
jne 0x54cea6
mov eax, dword [ebx + 0x48a8]
lea ecx, [ebp - 0x34]
push eax
push ecx
call fcn.0054acb0
add esp, 8
lea edx, [ebp - 0x34]
mov ecx, ebx
push 4
push edx
call fcn.0054d210
cmp eax, edi
jne 0x54cf65
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8 + 0x336c]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov al, byte [ecx + 5]
mov byte [esi + 5], al
mov al, byte [ecx + 6]
mov byte [esi + 6], al
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov al, byte [ecx + 0x10]
mov byte [esi + 0x10], al
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov al, byte [ecx + 0x24]
mov byte [esi + 0x24], al
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ecx + 0x18]
jne 0x54cf3f
mov esi, dword [ecx + 0x14]
xor eax, eax
mov al, byte [ecx + 6]
mov dword [ebx + eax*4 + 0x476c], esi
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x338c], edi
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
mov dword [ebx + eax*8 + 0x3388], edi
xor eax, eax
mov al, byte [ecx + 6]
lea eax, [eax + eax*4]
mov byte [ebx + eax*8 + 0x337c], 0
mov eax, dword [ebp - 0x20]
cmp eax, edx
jne 0x54cf49
mov dword [ecx + 0x20], edi
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
cmp esi, edi
je 0x54cf5c
cmp eax, edx
jne 0x54cf5c
call fcn.00550260
mov ecx, ebx
call fcn.0050fc20
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4