Function at 0x57b628
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1ec
mov ebx, eax
lea esi, [ebp - 0x118]
mov ecx, 0xc
mov edx, esi
mov eax, dword [eax]
call fcn.00504a45
cmp eax, 0xc
je 0x57b665
mov eax, ebx
call fcn.0058aa73
mov dword [0x611760], 3
jmp 0x57d4fe
mov dword [esp + 8], 4
mov dword [esp + 4], 0x605520
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
je 0x57b697
mov eax, ebx
call fcn.0058aa73
mov dword [0x611760], 9
jmp 0x57d4fe
mov dword [esp + 8], 4
mov dword [esp + 4], str.AVI
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57b681
xor esi, esi
mov dword [ebp - 0x190], esi
or edi, 0xffffffff
or esi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x17c], eax
lea edx, [ebp - 0x118]
mov ecx, 8
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 8
jne 0x57b934
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x180], edx
cmp esi, edx
jne 0x57b71f
mov eax, dword [ebp - 0x188]
cmp edi, eax
je 0x57d4fe
lea eax, [ebp - 0x114]
call fcn.00504ad7
xor edx, edx
add eax, 1
adc edx, 0
and eax, 0xfffffffe
mov esi, eax
mov edi, edx
mov dword [esp + 8], 4
mov dword [esp + 4], str.LIST
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57b891
mov ecx, 4
lea edx, [ebp - 0x118]
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 4
jne 0x57b64f
add esi, 0xfffffffc
adc edi, 0xffffffff
mov dword [esp + 8], 4
mov dword [esp + 4], str.hdrl
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57b811
mov dword [ebp - 0x190], esi
mov dword [esp], esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x17c], eax
test eax, eax
jne 0x57b7c6
mov eax, ebx
call fcn.0058aa73
jmp 0x57ceb1
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebx]
call fcn.00504a45
test edi, edi
jne 0x57b64f
cmp esi, eax
jne 0x57b64f
mov edi, dword [ebp - 0x188]
mov esi, dword [ebp - 0x180]
jmp 0x57b6db
mov dword [esp + 8], 4
mov dword [esp + 4], 0x605534
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
mov edx, eax
mov eax, dword [ebx]
test edx, edx
jne 0x57b860
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [ebx + 0x338], eax
mov dword [ebx + 0x33c], edx
mov dword [esp + 0xc], 1
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [ebx]
jmp 0x57b870
mov dword [esp + 0xc], 1
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov edi, eax
sar edi, 0x1f
inc edi
jne 0x57b800
inc eax
jne 0x57b800
jmp 0x57b934
mov dword [esp + 8], 4
mov dword [esp + 4], 0x605539
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57b91d
mov eax, esi
shrd eax, edi, 4
mov dword [ebx + 0x304], eax
mov dword [ebx + 0x300], eax
mov dword [ebp - 0x18c], esi
mov dword [esp], esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov dword [ebx + 0x318], eax
test eax, eax
je 0x57b7ba
mov ecx, dword [ebp - 0x18c]
mov eax, dword [ebx]
call fcn.00504a45
test edi, edi
jne 0x57b8fc
cmp esi, eax
je 0x57b800
mov eax, dword [ebx + 0x318]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor eax, eax
mov dword [ebx + 0x318], eax
mov dword [ebx + 0x300], eax
jmp 0x57b800
mov dword [esp], 1
mov edx, esi
mov ecx, edi
mov eax, dword [ebx]
call fcn.00425b5e
jmp 0x57b800
cmp dword [ebp - 0x17c], 0
jne 0x57b953
mov eax, ebx
call fcn.0058aa73
mov dword [0x611760], 0xa
jmp 0x57d4fe
cmp dword [ebx + 0x33c], 0
jne 0x57b97b
cmp dword [ebx + 0x338], 0
jne 0x57b97b
mov eax, ebx
call fcn.0058aa73
mov dword [0x611760], 0xb
jmp 0x57d4fe
xor ecx, ecx
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
add eax, 4
adc edx, 0
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
mov edi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0x188], edi
jge 0x57c3c8
mov edi, dword [ebp - 0x188]
lea esi, [eax + edi]
mov dword [esp + 8], 4
mov dword [esp + 4], str.LIST
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57b9ff
add dword [ebp - 0x188], 0xc
jmp 0x57b9b9
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
lea eax, [eax + edi + 4]
mov dword [ebp - 0x1a0], eax
call fcn.00504ad7
xor edx, edx
add eax, 1
adc edx, 0
and eax, 0xfffffffe
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
mov dword [esp + 8], 4
mov dword [esp + 4], str.strh
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
mov edi, eax
mov eax, dword [ebp - 0x188]
add eax, 8
mov dword [ebp - 0x180], eax
test edi, edi
jne 0x57bd1c
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
lea esi, [eax + ecx]
mov dword [esp + 8], 4
mov dword [esp + 4], str.vids
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
or eax, dword [ebp - 0x1a4]
jne 0x57bb4c
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
mov eax, dword [eax + edi + 0xc]
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1c], 0
mov eax, dword [ebp - 0x180]
cdq
add eax, dword [ebp - 0x1d0]
adc edx, dword [ebp - 0x1cc]
mov dword [ebx + 0x308], eax
mov dword [ebx + 0x30c], edx
mov eax, dword [ebp - 0x17c]
lea eax, [eax + edi + 0x1c]
call fcn.00504ad7
mov edi, eax
test eax, eax
je 0x57bb06
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x188]
lea eax, [eax + ecx + 0x20]
call fcn.00504ad7
cvtsi2sd xmm0, eax
cvtsi2sd xmm1, edi
divsd xmm0, xmm1
movsd qword [ebx + 0x10], xmm0
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
lea eax, [eax + edi + 0x28]
call fcn.00504ad7
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x38]
mov ecx, 0xf
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1a4], 1
mov edi, 1
jmp 0x57bd0b
mov dword [esp + 8], 4
mov dword [esp + 4], str.auds
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57bcbd
mov eax, dword [ebx + 0x344]
mov dword [ebp - 0x18c], eax
mov dword [ebx + 0x348], eax
inc eax
mov dword [ebx + 0x344], eax
cmp eax, 8
jbe 0x57bbc4
cmp dword [0x5af048], 0
je 0x57d4fe
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp + 4], 8
mov dword [esp], str._avilib__error___only__d_audio_tracks_supported_n
call fcn.004268ea
jmp 0x57d4fe
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
lea eax, [eax + edi + 0x28]
call fcn.00504ad7
mov dword [ebp - 0x1a8], eax
imul eax, dword [ebp - 0x18c], 0x50
mov dword [ebp - 0x1a0], eax
lea edi, [ebx + eax]
mov eax, dword [ebx + 0x84]
add eax, 7
mov ecx, 8
cdq
idiv ecx
imul eax, dword [ebx + 0x7c]
mov edx, 4
cmp eax, edx
cmovl eax, edx
mov edx, dword [ebp - 0x1a8]
imul eax, edx
mov ecx, dword [ebp - 0x1a0]
mov dword [ebx + ecx + 0x98], eax
xor eax, eax
mov dword [ebx + ecx + 0x9c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x188]
lea eax, [eax + ecx + 0x34]
call fcn.00504ad7
test eax, eax
sete al
movzx eax, al
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x188]
lea eax, [eax + ecx + 0x20]
call fcn.00504ad7
mov dword [edi + 0x90], eax
imul eax, dword [ebp - 0x18c], 0x3c
lea eax, [ebx + eax + 0x374]
mov ecx, 0xf
mov edi, eax
rep movsd dword es:[edi], dword [esi]
imul ecx, dword [ebx + 0x348], 0x50
mov eax, dword [ebp - 0x180]
cdq
add eax, dword [ebp - 0x198]
adc edx, dword [ebp - 0x194]
mov dword [ebx + ecx + 0xb0], eax
mov dword [ebx + ecx + 0xb4], edx
mov edi, 2
jmp 0x57bd0b
mov dword [esp + 8], 4
mov dword [esp + 4], str.iavs
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57bd0b
cmp dword [0x5af048], 0
je 0x57d4fe
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp], str._avilib__AVILIB:_error___DV_AVI_Type_1_no_supported_n
call fcn.004268ea
jmp 0x57d4fe
inc dword [ebp - 0x1b0]
mov dword [ebp - 0x18c], edi
jmp 0x57c3af
mov dword [esp + 8], 4
mov dword [esp + 4], str.dmlh
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57bd56
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x180]
add eax, edi
call fcn.00504ad7
mov dword [ebx + 0x340], eax
jmp 0x57c3af
mov dword [esp + 8], 4
mov dword [esp + 4], str.strf
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
mov dword [ebp - 0x1a8], eax
test eax, eax
jne 0x57c036
cmp dword [ebp - 0x18c], 1
jne 0x57be5c
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x180]
add eax, edi
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x158]
mov ecx, 0xa
mov edi, eax
mov esi, dword [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
call fcn.00504ad7
mov dword [esp], eax
mov dword [ebp - 0x1a8], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebx + 0x350], eax
test eax, eax
je 0x57bddf
mov edi, eax
mov esi, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a8]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
lea eax, [eax + edi + 0xc]
call fcn.00504ad7
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x17c]
lea eax, [eax + edi + 0x10]
call fcn.00504ad7
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
add eax, 0x10
adc edx, 0
mov esi, dword [ebp - 0x180]
mov edi, esi
sar edi, 0x1f
add eax, esi
adc edx, edi
mov dword [ebx + 0x310], eax
mov dword [ebx + 0x314], edx
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
mov eax, dword [eax + edi + 0x18]
mov dword [ebx + 0x20], eax
mov byte [ebx + 0x24], 0
mov dword [ebp - 0x1b4], 1
jmp 0x57c3af
cmp dword [ebp - 0x18c], 2
je 0x57be72
xor eax, eax
mov dword [ebp - 0x18c], eax
jmp 0x57c3af
mov eax, dword [ebp - 0x190]
mov edi, dword [ebp - 0x180]
sub eax, edi
mov dword [ebp - 0x1a0], eax
mov eax, 0x14
cmp dword [ebp - 0x1a0], eax
cmovbe eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a0], eax
mov dword [esp], 0x14
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x180]
add eax, edi
mov dword [ebp - 0x1b8], eax
mov eax, edi
mov dword [ebp - 0x1c0], edi
sar eax, 0x1f
mov dword [ebp - 0x1bc], eax
test edx, edx
je 0x57bf9c
mov ecx, 5
mov edi, edx
mov eax, dword [ebp - 0x1a8]
rep stosd dword es:[edi], eax
mov edi, edx
mov esi, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1a0]
rep movsb byte es:[edi], byte [esi]
movzx eax, word [edx + 0x10]
test ax, ax
je 0x57bf8f
add eax, 0x14
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0x1a0], edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov esi, eax
test eax, eax
mov edx, dword [ebp - 0x1a0]
je 0x57bf8f
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], edx
mov edx, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x194]
add edx, 0x14
adc ecx, 0
add edx, dword [ebp - 0x1c0]
adc ecx, dword [ebp - 0x1bc]
xor edi, edi
mov dword [esp], edi
mov eax, dword [ebx]
call fcn.00425b5e
movzx ecx, word [esi + 0x10]
lea edx, [esi + 0x14]
mov eax, dword [ebx]
call fcn.00504a45
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebx]
call fcn.00425b5e
mov edx, esi
mov eax, dword [ebx + 0x348]
mov dword [ebx + eax*4 + 0x354], edx
imul eax, dword [ebx + 0x348], 0x50
lea esi, [ebx + eax]
mov eax, dword [ebp - 0x1b8]
movzx eax, word [eax]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x198]
adc edx, dword [ebp - 0x194]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x188]
movzx eax, word [eax + edi + 0xa]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x17c]
lea eax, [eax + edi + 0xc]
call fcn.00504ad7
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0x17c]
lea eax, [eax + edi + 0x10]
call fcn.00504ad7
shl eax, 3
mov ecx, 0x3e8
xor edx, edx
div ecx
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax + edi + 0x16]
mov dword [esi + 0x84], eax
jmp 0x57c3af
mov dword [esp + 8], 4
mov dword [esp + 4], str.indx
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
mov dword [ebp - 0x188], eax
test eax, eax
jne 0x57c357
cmp dword [ebp - 0x18c], 1
jne 0x57c1a9
mov dword [esp], 0x28
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov dword [ebx + 0x320], eax
mov ecx, 0xa
mov edi, eax
mov eax, dword [ebp - 0x188]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [edx], eax
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x1a0]
call fcn.00504ad7
mov edx, dword [ebp - 0x188]
mov dword [edx + 4], eax
mov ax, word [esi + 8]
mov word [edx + 8], ax
mov al, byte [esi + 0xa]
mov byte [edx + 0xa], al
mov al, byte [esi + 0xb]
mov byte [edx + 0xb], al
lea eax, [esi + 0xc]
call fcn.00504ad7
mov edx, dword [ebp - 0x188]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
lea edi, [esi + 0x20]
cmp byte [edx + 0xa], 0
je 0x57c107
cmp dword [0x5af048], 0
je 0x57c107
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp], str._avilib__Invalid_Header__bIndexSubType___0_n
call fcn.004268ea
mov esi, dword [ebx + 0x320]
movzx eax, word [esi + 8]
imul eax, dword [esi + 0xc]
shl eax, 2
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esi + 0x20], eax
xor ecx, ecx
mov eax, dword [ebx + 0x320]
cmp ecx, dword [eax + 0xc]
jae 0x57c19a
mov esi, ecx
mov dword [ebp - 0x1a0], ecx
shl esi, 4
mov ecx, dword [eax + 0x20]
add ecx, esi
mov dword [ebp - 0x188], ecx
mov eax, edi
call fcn.00504ad1
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x320]
mov ecx, dword [eax + 0x20]
add ecx, esi
mov dword [ebp - 0x188], ecx
lea eax, [edi + 8]
call fcn.00504ad7
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x320]
add esi, dword [eax + 0x20]
lea eax, [edi + 0xc]
call fcn.00504ad7
mov dword [esi + 0xc], eax
add edi, 0x10
mov ecx, dword [ebp - 0x1a0]
inc ecx
jmp 0x57c125
mov dword [ebx + 0x324], 1
jmp 0x57c3af
cmp dword [ebp - 0x18c], 2
jne 0x57c3af
mov edi, dword [ebx + 0x348]
mov dword [esp], 0x28
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
imul edx, edi, 0x50
mov dword [ebx + edx + 0xc4], eax
mov edx, dword [esi]
mov dword [eax], edx
imul eax, dword [ebx + 0x348], 0x50
mov edi, dword [ebx + eax + 0xc4]
mov eax, dword [ebp - 0x1a0]
call fcn.00504ad7
mov dword [edi + 4], eax
mov dx, word [esi + 8]
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
mov word [eax + 8], dx
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
mov dl, byte [esi + 0xa]
mov byte [eax + 0xa], dl
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
mov dl, byte [esi + 0xb]
mov byte [eax + 0xb], dl
imul eax, dword [ebx + 0x348], 0x50
mov edi, dword [ebx + eax + 0xc4]
lea eax, [esi + 0xc]
call fcn.00504ad7
mov dword [edi + 0xc], eax
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
lea edi, [esi + 0x20]
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
cmp byte [eax + 0xa], 0
je 0x57c29d
cmp dword [0x5af048], 0
je 0x57c29d
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp], str._avilib__Invalid_Header__bIndexSubType___0_n
call fcn.004268ea
imul eax, dword [ebx + 0x348], 0x50
mov esi, dword [ebx + eax + 0xc4]
movzx eax, word [esi + 8]
imul eax, dword [esi + 0xc]
shl eax, 2
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esi + 0x20], eax
xor ecx, ecx
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
cmp ecx, dword [eax + 0xc]
jae 0x57c3af
mov esi, ecx
mov dword [ebp - 0x1a0], ecx
shl esi, 4
mov ecx, dword [eax + 0x20]
add ecx, esi
mov dword [ebp - 0x188], ecx
mov eax, edi
call fcn.00504ad1
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov dword [ecx + 4], edx
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
mov ecx, dword [eax + 0x20]
add ecx, esi
mov dword [ebp - 0x188], ecx
lea eax, [edi + 8]
call fcn.00504ad7
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 8], eax
imul eax, dword [ebx + 0x348], 0x50
mov eax, dword [ebx + eax + 0xc4]
add esi, dword [eax + 0x20]
lea eax, [edi + 0xc]
call fcn.00504ad7
mov dword [esi + 0xc], eax
add edi, 0x10
mov ecx, dword [ebp - 0x1a0]
inc ecx
jmp 0x57c2c3
mov dword [esp + 8], 4
mov dword [esp + 4], str.JUNK
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
je 0x57c3af
mov dword [esp + 8], 4
mov dword [esp + 4], str.strn
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
je 0x57c3af
mov dword [esp + 8], 4
mov dword [esp + 4], str.vprp
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57be65
mov eax, dword [ebp - 0x180]
mov edi, dword [ebp - 0x1c8]
add eax, edi
mov dword [ebp - 0x188], eax
jmp 0x57b9b9
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [ebp - 0x1a4]
xor eax, 1
mov edx, dword [ebp - 0x1b4]
xor edx, 1
or eax, edx
mov dword [ebp - 0x17c], eax
je 0x57c402
mov eax, ebx
call fcn.0058aa73
mov dword [0x611760], 0xc
jmp 0x57d4fe
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x188], eax
mov ecx, 0xa
xor edx, edx
div ecx
add eax, 0x30
mov byte [ebx + 0x30], al
add edx, 0x30
mov byte [ebx + 0x31], dl
mov word [ebx + 0x32], 0x6264
cmp dword [ebx + 0x7c], 0
jne 0x57c436
mov dword [ebx + 0x94], 0x63
mov eax, dword [ebx + 0x344]
inc eax
mov dword [ebp - 0x18c], eax
xor edx, edx
mov dword [ebp - 0x180], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jae 0x57c498
cmp dword [ebp - 0x188], ecx
je 0x57c495
imul eax, dword [ebp - 0x180], 0x50
lea edi, [ebx + eax]
mov eax, ecx
mov esi, 0xa
xor edx, edx
div esi
add eax, 0x30
mov byte [edi + 0xa4], al
add edx, 0x30
mov byte [edi + 0xa5], dl
mov word [edi + 0xa6], 0x6277
inc dword [ebp - 0x180]
inc ecx
jmp 0x57c44d
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebx + 0x338]
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ebx]
call fcn.00425b5e
xor edi, edi
cmp dword [ebx + 0x318], 0
jne 0x57c505
mov eax, dword [ebx + 0x324]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x57c645
xor eax, eax
mov dword [ebp - 0x188], eax
jmp 0x57c763
mov dword [esp + 8], 3
lea eax, [ebx + 0x30]
mov dword [esp + 4], eax
mov esi, edi
shl esi, 4
mov eax, dword [ebx + 0x318]
add eax, esi
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
je 0x57c512
inc edi
cmp edi, dword [ebx + 0x300]
jl 0x57c4dc
jmp 0x57c3ec
cmp edi, dword [ebx + 0x300]
jge 0x57c3ec
mov edi, dword [ebx + 0x318]
lea eax, [edi + esi + 8]
call fcn.00504ad7
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x184], eax
lea eax, [edi + esi + 0xc]
call fcn.00504ad7
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x184]
mov eax, dword [ebx]
call fcn.00425b5e
lea edi, [ebp - 0x118]
mov ecx, 8
mov edx, edi
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 8
jne 0x57b64f
mov dword [esp + 8], 4
mov eax, dword [ebx + 0x318]
add eax, esi
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57c5b6
lea eax, [ebp - 0x114]
call fcn.00504ad7
cmp dword [ebp - 0x180], eax
je 0x57c759
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x184]
add edx, dword [ebx + 0x338]
adc ecx, dword [ebx + 0x33c]
add edx, 0xfffffffc
adc ecx, 0xffffffff
xor eax, eax
mov dword [esp], eax
mov eax, dword [ebx]
call fcn.00425b5e
lea edi, [ebp - 0x118]
mov ecx, 8
mov edx, edi
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 8
jne 0x57b64f
mov dword [esp + 8], 4
add esi, dword [ebx + 0x318]
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57c4bb
lea eax, [ebp - 0x114]
call fcn.00504ad7
mov dword [ebp - 0x188], 2
cmp dword [ebp - 0x180], eax
jne 0x57c4bb
jmp 0x57c763
cmp dword [ebx + 0x340], 0
jne 0x57c763
xor esi, esi
mov dword [esp], esi
mov edx, dword [ebx + 0x338]
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ebx]
call fcn.00425b5e
xor edi, edi
mov dword [ebx + 0x300], edi
mov ecx, 8
lea edx, [ebp - 0x118]
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 8
jne 0x57c759
lea eax, [ebp - 0x114]
call fcn.00504ad7
mov dword [ebp - 0x188], eax
mov esi, eax
xor edi, edi
mov dword [esp + 8], 4
mov dword [esp + 4], str.LIST
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
mov edx, eax
mov eax, dword [ebx]
test edx, edx
jne 0x57c6d8
mov dword [esp], 1
mov edx, 4
xor ecx, ecx
jmp 0x57c74f
mov dl, byte [ebp - 0x116]
and edx, 0xffffffdf
cmp dl, 0x44
jne 0x57c6f1
mov dl, byte [ebp - 0x115]
and edx, 0xffffffde
jmp 0x57c6ff
cmp dl, 0x57
jne 0x57c739
mov dl, byte [ebp - 0x115]
and edx, 0xffffffdf
cmp dl, 0x42
jne 0x57c739
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov ecx, dword [ebp - 0x188]
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
add eax, 0xfffffff8
adc edx, 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], edx
xor ecx, ecx
lea edx, [ebp - 0x118]
mov eax, ebx
call fcn.00504b89
add esi, 1
adc edi, 0
mov edx, esi
mov ecx, edi
and edx, 0xfffffffe
mov dword [esp], 1
mov eax, dword [ebx]
call fcn.00425b5e
jmp 0x57c672
mov dword [ebp - 0x188], 1
mov eax, dword [ebx + 0x324]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x57cca6
xor esi, esi
mov dword [ebx + 0x31c], esi
mov edx, dword [ebx + 0x344]
xor eax, eax
cmp eax, edx
je 0x57c7a5
xor ecx, ecx
mov dword [ebp + eax*4 - 0x178], ecx
mov dword [ebp + eax*8 - 0x158], ecx
mov dword [ebp + eax*8 - 0x154], ecx
inc eax
jmp 0x57c787
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x18c], eax
mov eax, dword [ebx + 0x320]
mov edi, dword [ebp - 0x18c]
cmp edi, dword [eax + 0xc]
jae 0x57c9d3
mov edi, dword [ebp - 0x18c]
shl edi, 4
mov esi, edi
mov edx, dword [eax + 0x20]
add edx, edi
mov eax, dword [edx + 8]
mov dword [ebp - 0x198], edx
add eax, 0x20
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, eax
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x198]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov ecx, eax
cdq
inc edx
jne 0x57c825
inc ecx
je 0x57c9c0
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + esi + 8]
add ecx, 0x20
mov edx, edi
mov eax, dword [ebx]
call fcn.00504a45
test eax, eax
je 0x57c9c0
lea eax, [edi + 0xc]
call fcn.00504ad7
mov esi, eax
lea eax, [edi + 0x14]
call fcn.00504ad1
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
lea eax, [edi + 0x20]
mov dword [ebp - 0x190], eax
add dword [ebp - 0x188], esi
imul edx, dword [ebp - 0x188], 0x18
mov dword [esp + 4], edx
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebx + 0x31c]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov dword [ebx + 0x31c], eax
test eax, eax
mov edx, dword [ebp - 0x1a0]
jne 0x57c987
cmp dword [0x5af048], 0
je 0x57c8d3
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp + 4], edx
mov dword [esp], str._avilib__out_of_mem__size___ld__n
call fcn.004268ea
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [ebp - 0x190]
call fcn.00504ad7
mov esi, eax
imul ecx, dword [ebp - 0x180], 0x18
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
add eax, esi
adc edx, 0
mov esi, dword [ebx + 0x31c]
mov dword [esi + ecx + 8], eax
mov dword [esi + ecx + 0xc], edx
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x190]
add eax, 4
mov esi, eax
call fcn.00504ad7
mov edx, dword [ebx + 0x31c]
and eax, 0x7fffffff
mov ecx, dword [ebp - 0x1a0]
mov dword [edx + ecx + 0x10], eax
xor eax, eax
mov dword [edx + ecx + 0x14], eax
mov eax, esi
call fcn.00504ad7
mov edx, dword [ebx + 0x31c]
not eax
shr eax, 0x1f
shl eax, 4
mov ecx, dword [ebp - 0x1a0]
mov dword [edx + ecx], eax
xor eax, eax
mov dword [edx + ecx + 4], eax
add dword [ebp - 0x190], 8
mov eax, dword [ebx + 0x31c]
add eax, ecx
mov esi, dword [ebp - 0x194]
cmp esi, dword [eax + 0xc]
je 0x57c99b
inc dword [ebp - 0x180]
mov ecx, dword [ebp - 0x188]
cmp dword [ebp - 0x180], ecx
jl 0x57c8df
jmp 0x57c9c0
mov esi, dword [ebp - 0x198]
cmp esi, dword [eax + 8]
jne 0x57c981
cmp dword [eax + 0x14], 0
jne 0x57c981
cmp dword [eax + 0x10], 0
jne 0x57c981
dec dword [ebp - 0x180]
dec dword [ebp - 0x188]
jmp 0x57c981
mov dword [esp], edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
inc dword [ebp - 0x18c]
jmp 0x57c7b9
mov eax, dword [ebp - 0x188]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x57c9f0
lea edi, [ebx + 0x98]
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
jmp 0x57ca47
xor edx, edx
mov dword [ebx + 0x324], edx
jmp 0x57ccc5
cmp dword [edi + 0x2c], 0
jne 0x57ca5a
cmp dword [0x5af048], 0
je 0x57ca3e
mov dword [0x611418], 1
mov dword [0x611414], 2
mov eax, dword [ebp - 0x17c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.U:_src_gpac_0.7.1_src_media_tools_avilib.c
mov dword [esp], str._avilib____s__cannot_read_audio_index_for_track__d_n
call fcn.004268ea
inc dword [ebp - 0x17c]
add edi, 0x50
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebx + 0x344]
jb 0x57c9fd
jmp 0x57d4e1
xor eax, eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x190], eax
mov eax, dword [edi + 0x2c]
mov esi, dword [ebp - 0x190]
cmp esi, dword [eax + 0xc]
jae 0x57cc78
mov ecx, dword [ebp - 0x190]
shl ecx, 4
mov esi, ecx
mov edx, dword [eax + 0x20]
add edx, ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x180], edx
add eax, 0x20
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov ecx, eax
cdq
inc edx
jne 0x57cad5
inc ecx
je 0x57cc5f
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + esi + 8]
add ecx, 0x20
mov edx, dword [ebp - 0x188]
mov eax, dword [ebx]
call fcn.00504a45
test eax, eax
mov eax, dword [ebp - 0x188]
je 0x57cc65
add eax, 0xc
call fcn.00504ad7
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x188]
add eax, 0x14
call fcn.00504ad1
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x188]
add eax, 0x20
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x17c]
add ecx, dword [ebp + eax*4 - 0x178]
mov dword [ebp - 0x180], ecx
mov eax, ecx
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + ecx*4 - 0x178], eax
imul eax, eax, 0x18
mov dword [esp + 4], eax
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1a4], eax
mov esi, dword [ebp - 0x1a4]
cmp dword [ebp - 0x180], esi
jle 0x57cc40
mov eax, dword [ebp - 0x1a0]
call fcn.00504ad7
mov ecx, eax
imul eax, dword [ebp - 0x1a4], 0x18
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
add eax, ecx
adc edx, 0
mov ecx, dword [edi + 0x28]
mov esi, dword [ebp - 0x18c]
mov dword [ecx + esi], eax
mov dword [ecx + esi + 4], edx
mov eax, dword [ebp - 0x1a0]
add eax, 4
call fcn.00504ad7
mov edx, dword [edi + 0x28]
and eax, 0x7fffffff
mov dword [edx + esi + 8], eax
xor eax, eax
mov dword [edx + esi + 0xc], eax
add dword [ebp - 0x1a0], 8
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp + eax*8 - 0x154]
mov eax, dword [ebp + eax*8 - 0x158]
mov esi, dword [edi + 0x28]
mov ecx, dword [ebp - 0x18c]
mov dword [esi + ecx + 0x10], eax
mov dword [esi + ecx + 0x14], edx
mov esi, dword [edi + 0x28]
add eax, dword [esi + ecx + 8]
adc edx, dword [esi + ecx + 0xc]
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + ecx*8 - 0x158], eax
mov dword [ebp + ecx*8 - 0x154], edx
inc dword [ebp - 0x1a4]
jmp 0x57cb7d
mov eax, dword [ebp - 0x180]
mov esi, dword [ebp - 0x198]
sub eax, esi
xor edx, edx
cmp dword [ebp - 0x180], esi
cmovl eax, edx
add dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x188]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
inc dword [ebp - 0x190]
jmp 0x57ca68
mov eax, dword [ebp - 0x17c]
mov eax, dword [ebp + eax*4 - 0x178]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp + eax*8 - 0x154]
mov eax, dword [ebp + eax*8 - 0x158]
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x57ca3e
cmp dword [ebx + 0x340], 0
je 0x57ccb8
cmp dword [ebp - 0x188], 0
je 0x57ccc5
mov edx, dword [ebx + 0x344]
xor eax, eax
jmp 0x57d10f
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebx + 0x338]
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ebx]
call fcn.00425b5e
xor eax, eax
mov dword [ebx + 0x300], eax
cmp dword [0x5af048], 3
jbe 0x57cd0e
mov dword [0x611418], 4
mov dword [0x611414], 2
mov dword [esp], str._avilib__Reconstructing_index...
call fcn.004268ea
mov eax, dword [ebx + 0x340]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebp - 0x178], eax
mov ecx, dword [ebx + 0x344]
mov edx, 1
cmp edx, ecx
jae 0x57cd41
imul esi, edx, 0x50
xor edi, edi
mov dword [ebx + esi + 0xa0], edi
inc edx
jmp 0x57cd2e
imul eax, eax, 0x18
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebx + 0x31c], eax
test eax, eax
je 0x57b7ba
lea esi, [ebx + 0xc0]
xor edi, edi
mov dword [ebp - 0x188], edi
mov edx, dword [ebx + 0x344]
cmp dword [ebp - 0x188], edx
jae 0x57cdc1
cmp dword [esi - 0x20], 0
je 0x57cdb6
mov eax, dword [ebp - 0x188]
mov eax, dword [ebp + eax*4 - 0x178]
lea ecx, [eax + 1]
imul ecx, ecx, 0x18
mov dword [esp], ecx
mov dword [ebp - 0x180], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov dword [esi], eax
xor eax, eax
mov edi, edx
mov ecx, dword [ebp - 0x180]
rep stosb byte es:[edi], al
cmp dword [esi], 0
je 0x57b7ba
inc dword [ebp - 0x188]
add esi, 0x50
jmp 0x57cd68
xor eax, eax
cmp edx, eax
je 0x57cde1
xor esi, esi
mov dword [ebp + eax*4 - 0x178], esi
mov dword [ebp + eax*8 - 0x158], esi
mov dword [ebp + eax*8 - 0x154], esi
inc eax
jmp 0x57cdc3
mov eax, dword [ebx + 0x340]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x17c]
cmp dword [ebx + 0x340], eax
jle 0x57d02d
lea edx, [ebp - 0x118]
mov ecx, 8
mov eax, dword [ebx]
call fcn.00504a45
cmp eax, 8
jne 0x57d02d
lea eax, [ebp - 0x114]
call fcn.00504ad7
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x198], eax
xor ecx, ecx
mov dword [ebp - 0x194], ecx
mov eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
sub eax, edi
dec eax
jg 0x57cec0
mov edi, dword [ebx + 0x340]
add dword [ebp - 0x18c], edi
mov eax, dword [ebp - 0x18c]
inc eax
imul eax, eax, 0x18
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc0]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov dword [ebx + 0xc0], eax
test eax, eax
jne 0x57cec0
cmp dword [0x5af048], 0
je 0x57ceb1
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [esp], str._avilib__Internal_error_in_avilib____no_mem_n
call fcn.004268ea
mov dword [0x611760], 8
jmp 0x57d4fe
mov al, byte [ebp - 0x118]
cmp al, 0x30
je 0x57ced3
cmp byte [ebp - 0x117], 0x30
jne 0x57cf47
mov dl, byte [ebp - 0x116]
and edx, 0xffffffdf
cmp dl, 0x44
jne 0x57cf43
mov dl, byte [ebp - 0x115]
and edx, 0xffffffde
cmp dl, 0x42
jne 0x57d00a
imul esi, dword [ebp - 0x17c], 0x18
mov eax, dword [ebx + 0x31c]
xor edi, edi
mov dword [eax + esi], edi
mov dword [eax + esi + 4], edi
mov edi, dword [ebx + 0x31c]
add edi, esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x31c]
mov edi, dword [ebp - 0x180]
mov dword [eax + esi + 0x10], edi
xor edx, edx
mov dword [eax + esi + 0x14], edx
inc dword [ebp - 0x17c]
jmp 0x57cfec
cmp al, 0x30
je 0x57cf54
cmp byte [ebp - 0x117], 0x31
jne 0x57d012
mov al, byte [ebp - 0x116]
and eax, 0xffffffdf
cmp al, 0x57
jne 0x57d012
mov al, byte [ebp - 0x115]
and eax, 0xffffffdf
cmp al, 0x42
jne 0x57d012
imul edi, dword [ebp - 0x188], 0x18
mov esi, dword [ebx + 0xc0]
add esi, edi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebx + 0xc0]
mov esi, dword [ebp - 0x180]
mov dword [eax + edi + 8], esi
xor esi, esi
mov dword [eax + edi + 0xc], esi
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebx + 0xc0]
mov dword [ecx + edi + 0x10], eax
mov dword [ecx + edi + 0x14], edx
mov ecx, dword [ebx + 0xc0]
add eax, dword [ecx + edi + 8]
adc edx, dword [ecx + edi + 0xc]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x188]
inc eax
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x194]
add edx, 1
adc ecx, 0
and edx, 0xfffffffe
mov dword [esp], 1
jmp 0x57d021
cmp al, 0x30
jne 0x57cf47
mov dword [esp], 1
mov edx, 0xfffffffc
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.00425b5e
jmp 0x57cded
mov eax, dword [ebx + 0x340]
cmp dword [ebp - 0x17c], eax
jge 0x57d072
cmp dword [0x5af048], 1
jbe 0x57d072
mov dword [0x611418], 2
mov dword [0x611414], 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov dword [esp], str._avilib__Uh__Some_frames_seems_missing___ld__d__n
call fcn.004268ea
mov eax, dword [ebp - 0x17c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x188]
mov dword [ebx + 0xa0], eax
mov edx, dword [ebx + 0x344]
xor eax, eax
cmp eax, edx
je 0x57d0b5
imul ecx, eax, 0x50
mov esi, dword [ebp + eax*8 - 0x158]
mov edi, dword [ebp + eax*8 - 0x154]
mov dword [ebx + ecx + 0x98], esi
mov dword [ebx + ecx + 0x9c], edi
inc eax
jmp 0x57d08f
cmp dword [0x5af048], 3
jbe 0x57d4e1
mov dword [0x611418], 4
mov dword [0x611414], 2
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [ebp - 0x188]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov dword [esp], str._avilib__done._nvi_ld_nai_ld_tot_ld_n
call fcn.004268ea
jmp 0x57d4e1
cmp eax, edx
je 0x57d11f
xor ecx, ecx
mov dword [ebp + eax*4 - 0x178], ecx
inc eax
jmp 0x57d10f
xor edi, edi
xor eax, eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebx + 0x300]
jge 0x57d1cb
mov eax, dword [ebp - 0x17c]
shl eax, 4
mov dword [ebp - 0x180], eax
mov dword [esp + 8], 3
lea eax, [ebx + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x180]
add eax, dword [ebx + 0x318]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
cmp eax, 1
adc edi, 0
lea edx, [ebx + 0xa4]
xor esi, esi
cmp esi, dword [ebx + 0x344]
jae 0x57d1c0
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x180]
add eax, dword [ebx + 0x318]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
mov edx, dword [ebp - 0x18c]
jne 0x57d1ba
inc dword [ebp + esi*4 - 0x178]
inc esi
add edx, 0x50
jmp 0x57d17b
inc dword [ebp - 0x17c]
jmp 0x57d129
mov dword [ebx + 0x2c], edi
mov edx, dword [ebx + 0x344]
xor eax, eax
cmp eax, edx
je 0x57d1ee
imul ecx, eax, 0x50
mov esi, dword [ebp + eax*4 - 0x178]
mov dword [ebx + ecx + 0xa0], esi
inc eax
jmp 0x57d1d6
test edi, edi
je 0x57c3ec
imul eax, edi, 0x18
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebx + 0x31c], eax
test eax, eax
je 0x57b7ba
lea esi, [ebx + 0xc0]
xor eax, eax
mov dword [ebp - 0x17c], eax
mov edx, dword [ebx + 0x344]
cmp dword [ebp - 0x17c], edx
jae 0x57d276
cmp dword [esi - 0x20], 0
je 0x57d26b
mov eax, dword [ebp - 0x17c]
mov eax, dword [ebp + eax*4 - 0x178]
lea ecx, [eax + 1]
imul ecx, ecx, 0x18
mov dword [esp], ecx
mov dword [ebp - 0x180], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov dword [esi], eax
xor eax, eax
mov edi, edx
mov ecx, dword [ebp - 0x180]
rep stosb byte es:[edi], al
cmp dword [esi], 0
je 0x57b7ba
inc dword [ebp - 0x17c]
add esi, 0x50
jmp 0x57d21d
xor eax, eax
cmp edx, eax
je 0x57d296
xor edi, edi
mov dword [ebp + eax*4 - 0x178], edi
mov dword [ebp + eax*8 - 0x158], edi
mov dword [ebp + eax*8 - 0x154], edi
inc eax
jmp 0x57d278
mov dword [ebp - 0x18c], 8
cmp dword [ebp - 0x188], 1
je 0x57d2b8
mov eax, dword [ebx + 0x338]
add eax, 4
mov dword [ebp - 0x18c], eax
xor esi, esi
mov dword [ebp - 0x190], esi
mov esi, 8
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebx + 0x300]
jge 0x57d4b3
lea eax, [esi - 8]
mov dword [ebp - 0x1a0], eax
mov dword [esp + 8], 3
lea eax, [ebx + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1a0]
add eax, dword [ebx + 0x318]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57d376
mov eax, dword [ebx + 0x318]
lea eax, [eax + esi - 4]
call fcn.00504ad7
imul edi, dword [ebp - 0x198], 0x18
mov edx, dword [ebx + 0x31c]
mov dword [edx + edi], eax
xor eax, eax
mov dword [edx + edi + 4], eax
mov eax, dword [ebx + 0x318]
add eax, esi
call fcn.00504ad7
mov edx, dword [ebx + 0x31c]
mov ecx, dword [ebp - 0x18c]
add eax, ecx
mov dword [edx + edi + 8], eax
xor eax, eax
mov dword [edx + edi + 0xc], eax
mov eax, dword [ebx + 0x318]
lea eax, [eax + esi + 4]
call fcn.00504ad7
mov edx, dword [ebx + 0x31c]
mov dword [edx + edi + 0x10], eax
xor ecx, ecx
mov dword [edx + edi + 0x14], ecx
inc dword [ebp - 0x198]
lea eax, [ebx + 0xa4]
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebx + 0x344]
jae 0x57d4a5
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1a0]
add eax, dword [ebx + 0x318]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strnicmp
test eax, eax
jne 0x57d493
mov eax, dword [ebx + 0x318]
add eax, esi
call fcn.00504ad7
mov ecx, dword [ebp - 0x17c]
mov ecx, dword [ebp + ecx*4 - 0x178]
mov dword [ebp - 0x1a4], ecx
imul ecx, ecx, 0x18
mov dword [ebp - 0x180], ecx
mov edi, dword [ebp - 0x188]
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x18c]
add eax, ecx
mov ecx, dword [ebp - 0x180]
mov dword [edx + ecx], eax
xor eax, eax
mov dword [edx + ecx + 4], eax
mov eax, dword [ebx + 0x318]
lea eax, [eax + esi + 4]
call fcn.00504ad7
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x180]
mov dword [edx + ecx + 8], eax
xor eax, eax
mov dword [edx + ecx + 0xc], eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp + eax*8 - 0x154]
mov eax, dword [ebp + eax*8 - 0x158]
mov ecx, dword [edi + 0x1c]
mov edi, dword [ebp - 0x180]
mov dword [ecx + edi + 0x10], eax
mov dword [ecx + edi + 0x14], edx
mov edi, dword [ebp - 0x188]
mov edi, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x180]
add eax, dword [edi + ecx + 8]
adc edx, dword [edi + ecx + 0xc]
mov edi, dword [ebp - 0x17c]
mov dword [ebp + edi*8 - 0x158], eax
mov dword [ebp + edi*8 - 0x154], edx
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp + edi*4 - 0x178], eax
inc dword [ebp - 0x17c]
add dword [ebp - 0x188], 0x50
jmp 0x57d38a
inc dword [ebp - 0x190]
add esi, 0x10
jmp 0x57d2c5
mov edi, dword [ebx + 0x344]
xor ecx, ecx
cmp ecx, edi
je 0x57d4e1
imul esi, ecx, 0x50
mov eax, dword [ebp + ecx*8 - 0x158]
mov edx, dword [ebp + ecx*8 - 0x154]
mov dword [ebx + esi + 0x98], eax
mov dword [ebx + esi + 0x9c], edx
inc ecx
jmp 0x57d4bb
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebx + 0x338]
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ebx]
call fcn.00425b5e
xor edx, edx
mov dword [ebx + 0x34], edx
add esp, 0x1ec
pop ebx
pop esi
pop edi
pop ebp
ret