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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6653f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
xor cl, cl
mov ebx, dword [ebp + 8]
cmp byte [ebx + 5], 0x16
jne 0x5b0dad
mov cl, 1
mov byte [esi + 0x3218], 1
mov eax, dword [ebx + 0x18]
xor edi, edi
cmp eax, edi
jne 0x5b0e45
test cl, cl
je 0x5b0e4d
push ebx
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8 + 0x34b8]
call fcn.005aaa50
movzx ecx, byte [ebx + 6]
mov edx, dword [ebx + 0x14]
mov dword [esi + ecx*4 + 0x48b8], edx
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
mov dword [esi + eax*8 + 0x34d8], edi
movzx eax, byte [ebx + 6]
lea ecx, [eax + eax*4]
mov dword [esi + ecx*8 + 0x34d4], edi
movzx eax, byte [ebx + 6]
lea edx, [eax + eax*4]
mov byte [esi + edx*8 + 0x34c8], 0
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0x348c], edi
mov dword [ebx + 0x20], edi
mov ecx, esi
call fcn.005aa300
test eax, eax
jne 0x5b2041
push ebx
mov ecx, esi
call fcn.005b0c40
jmp 0x5b2041
test cl, cl
jne 0x5b16df
mov byte [ebp - 0x12], 0
cmp eax, edi
jbe 0x5b105e
cmp dword [ebx + 0x20], edi
jne 0x5b105e
mov byte [esi + 0x3210], 0
mov eax, dword [esi + 0x4a44]
add eax, 0xb
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], edi
mov dword [esi + 0x3238], 0xb
mov byte [ebp - 0x12], 1
mov byte [esi + 0x3214], 0
mov byte [esi + 0x3216], 0
mov al, byte [ebx + 5]
mov edi, dword [esi + 0x31fc]
cmp al, 8
sete cl
add cl, cl
add cl, cl
cmp al, 9
sete dl
or cl, dl
or byte [edi + 0x85d], cl
mov eax, dword [esi + 0x31fc]
mov cl, byte [eax + 0x85d]
test cl, 4
je 0x5b0ed0
test cl, 1
jne 0x5b0ed0
mov ecx, 1
jmp 0x5b0ed2
xor ecx, ecx
mov byte [eax + 0x85c], cl
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x30], eax
cmp byte [esi + 0x3213], 0
je 0x5b1001
cmp byte [esi + 0x321a], 0
je 0x5b1012
mov eax, dword [ebx + 0x14]
test eax, eax
jbe 0x5b1001
cmp eax, dword [esi + 0xe8]
jne 0x5b0f17
mov byte [esi + 0x321a], 0
jmp 0x5b1001
mov ecx, dword [esi + 0x80]
or ecx, dword [esi + 0x84]
jne 0x5b1001
cmp byte [esi + 0xe6], cl
jne 0x5b1001
mov edx, dword [esi + 0x31fc]
mov eax, dword [edx + 0xb0]
cmp dword [eax + 0x58], ecx
je 0x5b1001
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x31fc]
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [eax + 0x1c]
ja 0x5b0f74
cmp eax, dword [esi + 0xa8]
jne 0x5b0fe5
cmp ecx, 0x2910
jbe 0x5b0fe5
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x14]
push eax
push str._ReadMediaPacket_s1b2__change_RTS__ts_ld_n
lea ecx, [ebp - 0x24]
push ecx
call fcn.00402f60
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
mov ecx, esi
call fcn.00562270
mov eax, dword [esi + 0x31fc]
mov ecx, dword [eax + 0xb0]
mov edx, dword [ecx + 0x58]
cmp edx, dword [esi + 0xa8]
jne 0x5b0fc3
push str.s1b3__n
mov ecx, esi
call fcn.00562270
mov eax, dword [ebx + 0x14]
mov dword [esi + 0xe8], eax
mov dword [esi + 0x4a00], eax
mov byte [esi + 0x321a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
mov dword [ebp - 4], 0xffffffff
jmp 0x5b1001
cmp byte [esi + 0x321a], 0
je 0x5b1012
mov eax, dword [esi + 0xe8]
jmp 0x5b1014
xor eax, eax
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov dword [esi + 0xec], ecx
mov edi, dword [esi + 0x4a44]
movzx edx, byte [ebx + 5]
mov byte [edi], dl
inc edi
mov eax, dword [ebp - 0x30]
push eax
push edi
call fcn.005aa940
add edi, eax
mov ecx, dword [esi + 0xec]
push ecx
push edi
call fcn.005aa940
add edi, eax
movzx edx, byte [esi + 0xef]
mov byte [edi], dl
inc edi
push 0
push edi
call fcn.005aa940
add esp, 0x18
jmp 0x5b107b
cmp byte [esi + 0x3210], 0
je 0x5b1075
mov eax, dword [ebx + 0x1c]
add eax, 0xb
mov dword [esi + 0x3238], eax
jmp 0x5b107b
mov dword [esi + 0x3238], edi
mov edx, dword [ebx + 0x18]
mov eax, edx
sub eax, dword [ebx + 0x1c]
mov edi, dword [esi + 0x3488]
mov ecx, dword [esi + 0x3240]
test ecx, ecx
jle 0x5b1095
mov edi, ecx
cmp eax, edi
jge 0x5b109b
mov edi, eax
mov dword [ebp - 0x30], edi
mov eax, dword [esi + 0x4a4c]
mov dword [ebp - 0x2c], eax
sub eax, dword [esi + 0x3238]
cmp edi, eax
jle 0x5b1139
cmp byte [ebx + 5], 0x12
jne 0x5b1137
cmp edx, 0x400000
jae 0x5b1139
add edx, 0xf
mov dword [esi + 0x4a4c], edx
mov eax, dword [esi + 0x4a48]
test eax, eax
je 0x5b10df
push eax
call fcn.005f4e52
add esp, 4
mov ecx, dword [esi + 0x4a4c]
push ecx
call fcn.005f4e47
add esp, 4
mov dword [esi + 0x4a48], eax
test eax, eax
jne 0x5b110f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [esi + 0x4a44]
push ecx
push eax
call fcn.00622730
add esp, 0xc
mov eax, dword [esi + 0x4a48]
mov dword [esi + 0x4a44], eax
add eax, 0xb
mov dword [ebx + 0x20], eax
jmp 0x5b1139
mov edi, eax
cmp byte [ebx + 5], 0x12
jne 0x5b1146
mov byte [esi + 0x3210], 1
cmp dword [ebx + 0x18], 5
ja 0x5b1153
mov byte [esi + 0x3210], 1
mov dword [ebp - 0x18], 0
test edi, edi
je 0x5b11d4
mov edx, dword [esi + 0xc8]
cmp dword [edx + 0x24], 5
jne 0x5b1181
push edi
mov eax, dword [esi + 0x4a44]
add eax, dword [esi + 0x3238]
push eax
mov ecx, esi
call fcn.005ac860
jmp 0x5b119d
push 0
push edi
mov ecx, dword [esi + 0x4a44]
add ecx, dword [esi + 0x3238]
push ecx
mov edx, dword [esi + 0x31f8]
push edx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x18], eax
push str.recv_data
push eax
mov ecx, esi
call fcn.00562bc0
mov ecx, eax
test ecx, ecx
je 0x5b11d4
mov eax, ecx
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x18]
add dword [ebx + 0x1c], ecx
add dword [esi + 0x49c8], ecx
mov eax, dword [ebp - 0x30]
mov edx, eax
sub edx, ecx
mov dword [esi + 0x3240], edx
mov edi, dword [esi + 0x3238]
add edi, ecx
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x13], 0
cmp ecx, eax
je 0x5b120e
cmp byte [esi + 0x3210], 0
je 0x5b1255
jmp 0x5b2041
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0x348c], 0
mov eax, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], eax
jne 0x5b1255
add edi, 4
cmp edi, dword [esi + 0x4a4c]
jae 0x5b1255
lea ecx, [eax + 0xb]
mov eax, dword [esi + 0x4a44]
add eax, dword [ebp - 0x24]
push ecx
push eax
call fcn.005aa970
add esp, 8
mov byte [ebp - 0x13], 1
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
mov eax, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], eax
jne 0x5b1330
mov cl, byte [ebx + 5]
cmp cl, 9
jne 0x5b12dd
cmp eax, 2
jne 0x5b1291
mov edx, dword [ebx + 0x20]
mov dl, byte [edx]
and dl, 0xf0
cmp dl, 0x50
jne 0x5b1291
push str.Video_info_command_packet_n
mov ecx, esi
call fcn.00562270
mov byte [ebp - 0x11], 0
jmp 0x5b12dd
cmp cl, 9
jne 0x5b12dd
cmp eax, 5
ja 0x5b12dd
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov dword [ebp - 4], 3
mov eax, dword [ebx + 0x18]
push eax
push str.Small_video_packet__size_ld_n
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402f60
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
mov ecx, esi
call fcn.00562270
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402560
cmp byte [ebx + 5], 8
jne 0x5b1342
cmp dword [ebx + 0x18], 1
ja 0x5b1342
lea ecx, [ebp + 8]
call fcn.004024f0
mov dword [ebp - 4], 4
mov eax, dword [ebx + 0x18]
push eax
push str.Small_audio_packet__size_ld_n
lea ecx, [ebp + 8]
push ecx
call fcn.00402f60
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00562270
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402560
jmp 0x5b160a
cmp byte [esi + 0x3210], 0
je 0x5b134f
mov byte [ebp - 0x11], 0
jmp 0x5b160a
cmp byte [ebp - 0x11], 0
je 0x5b160a
mov ecx, dword [ebp - 0x18]
cmp byte [esi + 0x3214], 0
je 0x5b135c
mov byte [ebp - 0x11], 0
cmp byte [esi + 0x3213], 0
je 0x5b13d1
mov eax, dword [ebx + 0x14]
mov edi, dword [esi + 0xf0]
cmp eax, edi
jb 0x5b13c6
mov dl, byte [esi + 0x321a]
test dl, dl
jne 0x5b138e
mov edx, dword [esi + 0xe8]
add edx, edi
cmp edx, eax
ja 0x5b13c6
mov dl, byte [esi + 0x321a]
cmp eax, edi
je 0x5b13ab
test dl, dl
jne 0x5b13a2
mov edx, dword [esi + 0xe8]
add edx, edi
cmp edx, eax
je 0x5b13ab
mov byte [esi + 0x3213], 0
jmp 0x5b13d1
cmp byte [esi + 0x3217], 0
je 0x5b13c6
cmp byte [esi + 0x3215], 0
jne 0x5b13c6
mov byte [esi + 0x3213], 0
jmp 0x5b13d1
mov byte [esi + 0x3214], 1
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x12], 0
je 0x5b1450
test ecx, ecx
je 0x5b1450
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf0]
add eax, dword [esi + 0xe8]
cmp ecx, eax
jb 0x5b1450
mov edx, dword [esi + 0x31fc]
mov al, byte [edx + 0x85c]
test al, al
je 0x5b140b
cmp byte [ebx + 5], 8
je 0x5b1422
test al, al
jne 0x5b1450
cmp byte [ebx + 5], 9
jne 0x5b1450
mov eax, dword [esi + 0x4a44]
mov dl, byte [eax + 0xb]
and dl, 0xf0
cmp dl, 0x10
jne 0x5b1450
mov eax, dword [esi + 0x80]
mov dword [esi + 0x4a20], eax
mov edx, dword [esi + 0x84]
mov dword [esi + 0x4a24], edx
mov dword [esi + 0x4a28], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x4a2c], eax
mov byte [esi + 0x3216], 1
cmp byte [esi + 0x3215], 0
je 0x5b15ea
cmp byte [esi + 0x3214], 0
je 0x5b15ea
cmp byte [esi + 0x3216], 0
je 0x5b15ea
mov edi, dword [esi + 0x4a30]
test edi, edi
je 0x5b15ea
mov eax, dword [esi + 0x4a34]
mov edx, dword [esi + 0x4a38]
sub eax, edx
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jae 0x5b149f
mov dword [ebp - 0x20], eax
jmp 0x5b14a4
mov eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4a44]
add edx, edi
cmp dword [ebp - 0x20], 4
jb 0x5b14cc
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x5b151c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x5b14b5
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x5b151f
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x4a38]
mov edx, dword [ebp - 0x20]
add eax, edx
cmp eax, dword [esi + 0x4a34]
jb 0x5b158b
mov byte [esi + 0x3215], 0
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x4a30]
push eax
call fcn.005f4e52
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x4a30], 0
jmp 0x5b1591
mov dword [ebp - 0x1c], eax
movzx edi, byte [ecx]
movzx eax, byte [edx]
sub eax, edi
jne 0x5b1561
cmp dword [ebp - 0x1c], 1
jbe 0x5b14d0
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x5b1561
cmp dword [ebp - 0x1c], 2
jbe 0x5b14d0
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x5b1561
cmp dword [ebp - 0x1c], 3
jbe 0x5b14d0
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x5b14d2
mov dword [esi + 0x4a38], eax
cmp dword [ebp - 0x2c], 0
je 0x5b15bc
push str.Key_frame_doesnt_match__r_n
mov ecx, esi
call fcn.00562270
mov eax, 0x757b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x3215], 0
jne 0x5b15ea
mov eax, dword [esi + 0xc8]
mov byte [eax + 0x349], 1
mov ecx, dword [esi + 0x31fc]
cmp dword [ecx + 0x13c], 0
jne 0x5b15ea
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 0xc]
call eax
cmp byte [ebp - 0x11], 0
je 0x5b160a
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [esi + 0x4a44]
push edx
mov ecx, esi
call fcn.005ae530
test eax, eax
jne 0x5b2043
push ebx
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8 + 0x34b8]
call fcn.005aaa50
mov eax, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], eax
jne 0x5b16b2
cmp byte [ebp - 0x13], 0
jne 0x5b165b
cmp byte [ebp - 0x11], 0
je 0x5b165b
add eax, 0xb
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.005aa970
add esp, 8
push 4
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.005ae530
test eax, eax
jne 0x5b2043
movzx eax, byte [ebx + 6]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax*4 + 0x48b8], ecx
movzx eax, byte [ebx + 6]
lea edx, [eax + eax*4]
xor ecx, ecx
mov dword [esi + edx*8 + 0x34d8], ecx
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
mov dword [esi + eax*8 + 0x34d4], ecx
movzx eax, byte [ebx + 6]
lea ecx, [eax + eax*4]
mov byte [esi + ecx*8 + 0x34c8], 0
cmp byte [ebx + 5], 0x12
jne 0x5b16b2
mov byte [esi + 0x321b], 0
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ebx + 0x20]
push eax
mov ecx, esi
call fcn.005b0080
mov dword [ebx + 0x20], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [ebx + 0x18]
je 0x5b203a
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], edx
je 0x5b2033
mov eax, dword [esi + 0x4a44]
mov dword [ebx + 0x20], eax
jmp 0x5b203a
cmp eax, edi
jbe 0x5b1725
cmp dword [ebx + 0x20], edi
jne 0x5b1725
mov byte [esi + 0x3210], 0
mov ecx, dword [esi + 0x4a44]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x1c], edi
mov dword [esi + 0x3238], edi
mov dword [esi + 0x323c], edi
mov byte [esi + 0x3212], 1
mov dword [esi + 0x49f8], edi
mov dword [esi + 0x49f0], 1
mov byte [esi + 0x3216], 0
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x1c]
mov eax, dword [esi + 0x3488]
mov edx, dword [esi + 0x3240]
cmp edx, edi
jle 0x5b173d
mov eax, edx
cmp ecx, eax
jge 0x5b1743
mov eax, ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [esi + 0x3238]
mov edx, dword [esi + 0x4a4c]
sub edx, ecx
cmp eax, edx
jle 0x5b175a
mov eax, edx
mov edx, dword [esi + 0xc8]
cmp dword [edx + 0x24], 5
jne 0x5b1779
push eax
mov eax, dword [esi + 0x4a44]
add eax, ecx
push eax
mov ecx, esi
call fcn.005ac860
jmp 0x5b1790
push edi
push eax
mov edx, dword [esi + 0x4a44]
add edx, ecx
push edx
mov eax, dword [esi + 0x31f8]
push eax
call sub.WS2_32.dll_recv
mov dword [ebp - 0x24], eax
push str.recv_data
push eax
mov ecx, esi
call fcn.00562bc0
mov ecx, eax
cmp ecx, edi
jne 0x5b11b3
mov eax, dword [esi + 0x3238]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov ecx, dword [esi + 0x4a44]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x13], 1
jmp 0x5b17d3
mov eax, dword [ebp - 0x18]
cmp edi, eax
jae 0x5b1d00
mov ecx, dword [esi + 0x49f0]
sub ecx, 1
je 0x5b1809
sub ecx, 1
je 0x5b19b3
sub ecx, 1
je 0x5b1a31
mov edi, dword [ebp - 0x18]
push str.ReadMediaPacket__error_1488_n
mov ecx, esi
call fcn.00562270
jmp 0x5b17d0
lea ecx, [edi + 0xb]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jbe 0x5b1821
mov edx, eax
sub edx, edi
mov dword [esi + 0x3238], edx
mov edi, eax
jmp 0x5b17d3
mov byte [esi + 0x3214], 0
mov byte [esi + 0x3216], 0
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax + edi]
mov dword [esi + 0x49ec], ecx
lea edx, [eax + edi + 1]
push edx
call fcn.0056b5f0
mov dword [esi + 0x49fc], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edi + 4]
push ecx
call fcn.0056b5f0
add esp, 8
mov dword [esi + 0xec], eax
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx + edi + 7]
shl edx, 0x18
or edx, eax
mov dword [esi + 0xec], edx
mov al, byte [ecx + edi]
mov ecx, dword [esi + 0x31fc]
cmp al, 8
sete dl
add dl, dl
add dl, dl
cmp al, 9
sete al
or dl, al
or byte [ecx + 0x85d], dl
mov eax, dword [esi + 0x31fc]
mov cl, byte [eax + 0x85d]
test cl, 4
je 0x5b18b1
test cl, 1
jne 0x5b18b1
mov ecx, 1
jmp 0x5b18b3
xor ecx, ecx
mov byte [eax + 0x85c], cl
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x49fc]
mov dword [esi + 0x49f8], eax
mov dword [esi + 0x3238], 0
mov dword [esi + 0x49f0], 2
cmp byte [esi + 0x3213], 0
je 0x5b1922
mov ecx, dword [esi + 0xf0]
mov edx, dword [esi + 0xe8]
lea eax, [ecx + edx]
mov ecx, dword [esi + 0xec]
cmp ecx, eax
jae 0x5b1907
mov byte [esi + 0x3214], 1
jmp 0x5b1922
jne 0x5b191b
cmp byte [esi + 0x3215], 0
je 0x5b191b
mov byte [esi + 0x3214], 1
jmp 0x5b1922
mov byte [esi + 0x3213], 0
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xf0]
add ecx, dword [esi + 0xe8]
cmp eax, ecx
jb 0x5b19b3
mov edx, dword [esi + 0x31fc]
mov al, byte [edx + 0x85c]
test al, al
je 0x5b1955
cmp dword [esi + 0x49ec], 8
je 0x5b1971
test al, al
jne 0x5b19b3
cmp dword [ebp - 0x18], edi
jbe 0x5b19b3
cmp dword [esi + 0x49ec], 9
jne 0x5b19b3
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + edi]
and cl, 0xf0
cmp cl, 0x10
jne 0x5b19b3
mov edx, edi
xor eax, eax
add edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
adc ecx, eax
sub edx, 0xb
sbb ecx, eax
mov dword [esi + 0x4a20], edx
mov dword [esi + 0x4a24], ecx
mov eax, dword [esi + 0xec]
mov dword [esi + 0x4a28], eax
mov eax, dword [esi + 0x49fc]
mov dword [esi + 0x4a2c], eax
mov byte [esi + 0x3216], 1
mov edx, dword [esi + 0x49f8]
mov eax, dword [esi + 0x3238]
lea ecx, [edx + eax]
lea edx, [edi + ecx]
mov eax, dword [ebp - 0x18]
cmp edx, eax
jbe 0x5b19f2
mov edx, edi
sub edx, eax
add edx, ecx
mov dword [esi + 0x49f8], edx
cmp dword [esi + 0x49ec], 0x12
jne 0x5b19eb
mov ecx, eax
sub ecx, edi
mov dword [esi + 0x3238], ecx
mov edi, eax
jmp 0x5b17d0
cmp dword [esi + 0x49ec], 0x12
jne 0x5b1a0f
mov edx, dword [esi + 0x49fc]
push edx
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
mov ecx, esi
call fcn.005b0080
mov ecx, dword [esi + 0x49f8]
add ecx, dword [esi + 0x3238]
add edi, ecx
mov dword [esi + 0x3238], 0
mov dword [esi + 0x49f0], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jbe 0x5b1af7
mov edx, dword [ebx + 0x1c]
add edx, edi
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebx + 0x18]
add edx, 4
cmp edx, ecx
jbe 0x5b1ae6
cmp dword [ebp - 0x2c], ecx
jbe 0x5b1abf
lea ecx, [ebp + 8]
call fcn.004024f0
mov dword [ebp - 4], 7
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [esi + 0x49fc]
push ecx
mov edx, dword [ebx + 0x1c]
push edx
push str.Stream_corrupted__packetBytesRead_ld__data_size_ld__packetBodySize_ld_n
lea eax, [ebp + 8]
push eax
call fcn.00402f60
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00562270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402560
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.TagSize_not_found__n
mov ecx, esi
call fcn.00562270
mov edx, dword [esi + 0x49fc]
add edx, 0xb
mov dword [esi + 0x49f4], edx
mov byte [ebp - 0x13], 0
mov edi, dword [ebp - 0x18]
jmp 0x5b17d0
mov ecx, eax
sub ecx, edi
mov dword [esi + 0x3238], ecx
mov edi, eax
jmp 0x5b17d3
mov edx, dword [ebp - 0x1c]
add edi, edx
push edi
call fcn.005aa900
add esp, 4
mov dword [esi + 0x49f4], eax
mov ecx, dword [esi + 0x49fc]
add ecx, 0xb
cmp eax, ecx
je 0x5b1b28
mov dword [esi + 0x49f4], ecx
push ecx
push edi
call fcn.005aa970
add esp, 8
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edi
mov dword [esi + 0x3238], 0
mov dword [esi + 0x49f0], 1
cmp byte [esi + 0x3214], 0
je 0x5b17d0
cmp byte [esi + 0x3215], 0
je 0x5b1cf1
cmp byte [esi + 0x3216], 0
je 0x5b1cf1
cmp dword [esi + 0x4a30], 0
je 0x5b1cf1
mov eax, dword [esi + 0x49fc]
lea ebx, [eax + 0xf]
cmp ebx, edi
jb 0x5b1b85
mov ebx, edi
mov eax, dword [esi + 0x4a34]
mov edx, dword [esi + 0x4a38]
sub eax, edx
cmp eax, ebx
jae 0x5b1b9c
mov dword [ebp - 0x2c], eax
jmp 0x5b1ba1
mov eax, ebx
mov dword [ebp - 0x2c], ebx
mov ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x4a44]
sub eax, ebx
add eax, edi
mov ebx, dword [esi + 0x4a30]
add edx, ebx
cmp dword [ebp - 0x2c], 4
jb 0x5b1bd7
mov edi, edi
mov ebx, dword [edx]
cmp ebx, dword [eax]
jne 0x5b1c2a
sub ecx, 4
add eax, 4
add edx, 4
cmp ecx, 4
jae 0x5b1bc0
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x5b1c2d
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x4a38]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
cmp eax, dword [esi + 0x4a34]
jb 0x5b1c9c
mov byte [esi + 0x3215], 0
mov dword [ebp - 4], 8
mov eax, dword [esi + 0x4a30]
push eax
call fcn.005f4e52
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x4a30], 0
jmp 0x5b1ca2
mov dword [ebp - 0x20], ecx
movzx ecx, byte [edx]
movzx ebx, byte [eax]
sub ecx, ebx
jne 0x5b1c6f
cmp dword [ebp - 0x20], 1
jbe 0x5b1bdb
movzx ecx, byte [edx + 1]
movzx ebx, byte [eax + 1]
sub ecx, ebx
jne 0x5b1c6f
cmp dword [ebp - 0x20], 2
jbe 0x5b1bdb
movzx ecx, byte [edx + 2]
movzx ebx, byte [eax + 2]
sub ecx, ebx
jne 0x5b1c6f
cmp dword [ebp - 0x20], 3
jbe 0x5b1bdb
movzx ecx, byte [edx + 3]
movzx eax, byte [eax + 3]
sub ecx, eax
sar ecx, 0x1f
or ecx, 1
jmp 0x5b1bdd
mov dword [esi + 0x4a38], eax
cmp dword [ebp - 0x20], 0
je 0x5b1cc3
push str.Key_frame_doesnt_match___c2__r_n
mov ecx, esi
call fcn.00562270
mov dword [ebp - 0x20], edi
mov byte [esi + 0x3214], 0
jmp 0x5b17d0
cmp byte [esi + 0x3215], 0
jne 0x5b1cf1
mov edx, dword [esi + 0xc8]
mov byte [edx + 0x349], 1
mov ecx, dword [esi + 0x31fc]
cmp dword [ecx + 0x13c], 0
jne 0x5b1cf1
mov eax, dword [ecx]
push 1
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x20], edi
mov byte [esi + 0x3214], 0
jmp 0x5b17d0
mov ecx, dword [esi + 0x3238]
test ecx, ecx
je 0x5b1d0f
sub eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
add dword [ebx + 0x1c], ecx
add dword [esi + 0x49c8], ecx
mov edx, dword [ebp - 0x30]
sub edx, ecx
mov dword [esi + 0x3240], edx
cmp byte [esi + 0x3214], 0
jne 0x5b1d6d
cmp eax, dword [ebp - 0x20]
jbe 0x5b1eef
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
sub ecx, eax
push ecx
mov edx, dword [esi + 0x4a44]
add edx, eax
push edx
mov ecx, esi
call fcn.005ae530
test eax, eax
je 0x5b1eef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x3215], 0
je 0x5b1eef
cmp byte [esi + 0x3216], 0
je 0x5b1eef
cmp dword [esi + 0x4a30], 0
je 0x5b1eef
mov eax, dword [esi + 0x4a34]
mov edx, dword [esi + 0x4a38]
sub eax, edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
sub ecx, edi
cmp eax, ecx
jae 0x5b1db3
mov dword [ebp - 0x2c], eax
jmp 0x5b1db8
mov eax, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x4a44]
add ecx, edi
mov edi, dword [esi + 0x4a30]
add edx, edi
cmp dword [ebp - 0x2c], 4
jb 0x5b1de8
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x5b1e38
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x5b1dd1
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x5b1e3b
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x4a38]
mov edx, dword [ebp - 0x2c]
add eax, edx
cmp eax, dword [esi + 0x4a34]
jb 0x5b1ea7
mov byte [esi + 0x3215], 0
mov dword [ebp - 4], 0xa
mov eax, dword [esi + 0x4a30]
push eax
call fcn.005f4e52
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x4a30], 0
jmp 0x5b1ead
mov dword [ebp - 0x20], eax
movzx edi, byte [ecx]
movzx eax, byte [edx]
sub eax, edi
jne 0x5b1e7d
cmp dword [ebp - 0x20], 1
jbe 0x5b1dec
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x5b1e7d
cmp dword [ebp - 0x20], 2
jbe 0x5b1dec
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x5b1e7d
cmp dword [ebp - 0x20], 3
jbe 0x5b1dec
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x5b1dee
mov dword [esi + 0x4a38], eax
cmp dword [ebp - 0x34], 0
je 0x5b1ec1
push str.Key_frame_doesnt_match___c3__r_n
mov ecx, esi
call fcn.00562270
jmp 0x5b1eef
cmp byte [esi + 0x3215], 0
jne 0x5b1eef
mov eax, dword [esi + 0xc8]
mov byte [eax + 0x349], 1
mov ecx, dword [esi + 0x31fc]
cmp dword [ecx + 0x13c], 0
jne 0x5b1eef
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 0x3238]
xor edi, edi
cmp ecx, edi
je 0x5b1f12
mov eax, dword [esi + 0x4a44]
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [eax + ecx]
push edx
push eax
call fcn.00623d50
add esp, 0xc
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x24], ecx
je 0x5b1f28
cmp byte [esi + 0x3210], 0
je 0x5b1f4d
jmp 0x5b2041
mov eax, dword [esi + 0xa4]
cmp eax, 7
je 0x5b1f4d
cmp eax, 1
je 0x5b1f4d
cmp eax, 0x1c
je 0x5b1f4d
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0x348c], edi
cmp byte [ebp - 0x13], 0
jne 0x5b1f87
cmp byte [esi + 0x3214], 0
jne 0x5b1f87
mov eax, dword [esi + 0x49f4]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.005aa970
add esp, 8
push 4
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.005ae530
cmp eax, edi
jne 0x5b2043
mov ecx, dword [ebp - 0x30]
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8 + 0x34b8]
movzx edx, byte [ebx + 4]
mov byte [eax + 4], dl
movzx edx, byte [ebx + 5]
mov byte [eax + 5], dl
movzx edx, byte [ebx + 6]
mov byte [eax + 6], dl
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
movzx edx, byte [ebx + 0x10]
mov byte [eax + 0x10], dl
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x20], edx
movzx edx, byte [ebx + 0x24]
mov byte [eax + 0x24], dl
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x18]
jne 0x5b201d
movzx edx, byte [ebx + 6]
mov eax, dword [ebx + 0x14]
mov dword [esi + edx*4 + 0x48b8], eax
movzx eax, byte [ebx + 6]
lea edx, [eax + eax*4]
mov dword [esi + edx*8 + 0x34d8], edi
movzx eax, byte [ebx + 6]
lea eax, [eax + eax*4]
mov dword [esi + eax*8 + 0x34d4], edi
movzx eax, byte [ebx + 6]
lea edx, [eax + eax*4]
mov byte [esi + edx*8 + 0x34c8], 0
mov eax, dword [ebp - 0x24]
cmp eax, ecx
jne 0x5b2027
mov dword [ebx + 0x20], edi
mov edx, dword [ebx + 0x1c]
cmp edx, dword [ebx + 0x18]
je 0x5b203a
cmp eax, ecx
jne 0x5b203a
mov ecx, ebx
call fcn.005b2960
mov ecx, esi
call fcn.005624d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4