Function at 0x56ce58
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x3998
call fcn.005a812c
sub esp, eax
mov eax, dword [esp + eax]
mov dword [ebp - 0x397c], eax
movsd qword [ebp - 0x3918], xmm0
cmp dword [ebp + 0x18], 0
je 0x56e335
mov ebx, edx
mov esi, ecx
call fcn.00425c0a
mov edi, dword [ebp + 0x18]
mov dword [edi + 0x60], eax
call fcn.00425c0a
mov edi, dword [ebp + 0x18]
mov dword [edi + 0x50], eax
call fcn.00425c0a
mov edi, dword [ebp + 0x18]
mov dword [edi + 0x54], eax
call fcn.00425c0a
mov edi, dword [ebp + 0x18]
mov dword [edi + 0x58], eax
call fcn.00425c0a
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x40], 0xffffffff
mov dword [ecx + 0x64], 0x603f85
mov eax, dword [ebp + 0x10]
xor eax, 1
mov dword [ecx + 0x10], eax
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
jne 0x56cf00
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x56cf03
lea ebx, [eax + 1]
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 8], eax
xorps xmm0, xmm0
movsd xmm2, qword [ebp - 0x3918]
ucomisd xmm2, xmm0
jp 0x56cf24
je 0x56cf77
movsd xmm1, qword [ebp - 0x3918]
mulsd xmm1, qword [0x604f88]
movsd qword [ebp - 0x3918], xmm1
fld qword [ebp - 0x3918]
fnstcw word [ebp - 0x390a]
mov ax, word [ebp - 0x390a]
or ah, 0xc
mov word [ebp - 0x390c], ax
fldcw word [ebp - 0x390c]
fistp qword [ebp - 0x3918]
fldcw word [ebp - 0x390a]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x3918]
mov dword [eax + 0x38], edi
cmp dword [ebp + 0x10], 0
je 0x56cf97
imul eax, dword [ebp + 0x14], 0x3e8
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [ecx + 0x34], eax
xor edx, edx
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x38], edx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x3c], 0x5dc
mov dword [esp], 0x14
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
test eax, eax
jne 0x56cfc2
mov dword [ebp - 0x393c], 0xfffffffe
jmp 0x56e368
mov ecx, 5
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp], str.http:__gpac.io
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Generated_from_URL__s
lea esi, [ebp - 0x3908]
mov dword [esp], esi
call fcn.005ae188
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 8], eax
mov dword [esp + 8], 0x603fc8
mov dword [esp + 4], str.Generated_by_GPAC__s
mov dword [esp], esi
call fcn.005ae188
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 0xc], eax
mov edi, dword [ebp + 0x18]
mov eax, dword [edi + 0x50]
mov edx, ebx
call fcn.00425c52
mov dword [esp], 0x40
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x3938], eax
test eax, eax
je 0x56cfb3
mov ecx, 0x10
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.00425c0a
mov edi, dword [ebp - 0x3938]
mov dword [edi + 0x2c], eax
call fcn.00425c0a
mov ecx, dword [ebp - 0x3938]
mov dword [ecx + 0x1c], eax
call fcn.00425c0a
mov edi, dword [ebp - 0x3938]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x60]
mov edx, edi
call fcn.00425c52
mov dword [ebp - 0x393c], eax
test eax, eax
jne 0x56e368
cmp dword [ebp + 0x10], 0
je 0x56d0c4
imul eax, dword [ebp + 0x14], 0x3e8
mov ecx, dword [ebp - 0x3938]
mov dword [ecx + 0x10], eax
xor eax, eax
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x397c]
mov eax, dword [eax]
test eax, eax
je 0x56e306
mov eax, dword [eax + 4]
mov dword [ebp - 0x3980], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3954], eax
xor edi, edi
mov dword [ebp - 0x3918], edi
mov dword [ebp - 0x3960], edi
mov dword [ebp - 0x3944], edi
mov dword [ebp - 0x3940], edi
mov dword [ebp - 0x3910], edi
mov ecx, dword [ebp - 0x3980]
cmp dword [ebp - 0x3940], ecx
je 0x56e30f
mov dword [esp], 0xd0
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x3924], eax
test eax, eax
je 0x56cfb3
mov ecx, 0x34
xor eax, eax
mov edi, dword [ebp - 0x3924]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3924]
call fcn.004f6341
call fcn.00425c0a
mov edi, dword [ebp - 0x3924]
mov dword [edi + 0x9c], eax
call fcn.00425c0a
mov ecx, dword [ebp - 0x3924]
mov dword [ecx + 0xa0], eax
call fcn.00425c0a
mov edi, dword [ebp - 0x3924]
mov dword [edi + 0xa4], eax
call fcn.00425c0a
mov ecx, dword [ebp - 0x3924]
mov dword [ecx + 0xa8], eax
call fcn.00425c0a
mov edi, dword [ebp - 0x3924]
mov dword [edi + 0xac], eax
call fcn.00425c0a
mov ecx, dword [ebp - 0x3924]
mov dword [ecx + 0xb0], eax
call fcn.00425c0a
mov edx, dword [ebp - 0x3924]
mov dword [edx + 0xc0], eax
mov dword [edx + 0x5c], 0xffffffff
mov dword [edx + 0x8c], 1
mov eax, dword [ebp - 0x3938]
mov eax, dword [eax + 0x2c]
call fcn.00425c52
test eax, eax
jne 0x56e341
mov edx, dword [ebp - 0x3940]
mov eax, dword [ebp - 0x397c]
mov eax, dword [eax]
call fcn.00425c8e
mov dword [ebp - 0x3958], eax
mov eax, dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x3968], esi
test eax, eax
je 0x56d21b
mov eax, dword [eax + 4]
mov dword [ebp - 0x3968], eax
cmp dword [ebp + 0xc], 0
jne 0x56d23a
xor ebx, ebx
mov dword [ebp - 0x3934], ebx
mov dword [ebp - 0x3954], ebx
mov dword [ebp - 0x3928], ebx
jmp 0x56d625
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3934], eax
xor edx, edx
mov dword [ebp - 0x3920], edx
mov dword [ebp - 0x3928], edx
mov esi, dword [ebp - 0x3968]
cmp dword [ebp - 0x3920], esi
je 0x56d50c
mov eax, dword [ebp - 0x3958]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x3920]
call fcn.00425c8e
mov dword [ebp - 0x3918], eax
cmp dword [eax + 0x7c], 0
jne 0x56d501
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x56d501
mov edi, dword [eax + 4]
mov dword [ebp - 0x392c], edi
test edi, edi
je 0x56d501
cmp dword [ebp - 0x3928], 0
jne 0x56d36d
cmp dword [ebp - 0x3934], 0
je 0x56d36d
xor edx, edx
call fcn.00425c8e
mov ebx, dword [eax + 0x40]
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x56d2e1
lea ebx, [eax + 1]
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebp - 0x3928], eax
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
mov dword [ebp - 0x3910], eax
mov ebx, dword [ebp - 0x3928]
movsx eax, byte [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.0123456789
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
test eax, eax
je 0x56d362
cmp dword [ebp - 0x3910], 0
je 0x56e349
mov eax, dword [ebp - 0x3910]
mov byte [eax], 0
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [ebp - 0x3944], eax
mov dword [esp], ebx
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
mov dword [ebp - 0x3960], eax
mov eax, dword [ebp - 0x3910]
mov byte [eax], 0x2e
jmp 0x56e353
inc ebx
cmp byte [ebx], 0
jne 0x56d30b
jmp 0x56d4e2
cmp dword [ebp - 0x3910], 0
jne 0x56d380
mov dword [ebp - 0x3910], 0x603f70
cmp dword [ebp - 0x3934], 0
je 0x56d501
xor edi, edi
lea ebx, [ebp - 0x3108]
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0xa4]
mov edx, edi
call fcn.00425c8e
mov esi, eax
mov eax, dword [ebp - 0x3960]
add eax, edi
mov ecx, dword [ebp - 0x3944]
lea edx, [ecx - 2]
cmp edx, 4
ja case.default.0x56d3c4
jmp dword [edx*4 + 0x604184]
mov edx, dword [ebp - 0x3910]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_02d_s
jmp 0x56d49b
mov ecx, dword [ebp - 0x3910]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_03d_s
jmp 0x56d49b
mov edx, dword [ebp - 0x3910]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_04d_s
jmp 0x56d49b
mov ecx, dword [ebp - 0x3910]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_05d_s
jmp 0x56d49b
mov edx, dword [ebp - 0x3910]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_06d_s
jmp 0x56d49b
mov ecx, dword [ebp - 0x3910]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_d_s
mov dword [esp], ebx
call fcn.005ae188
mov esi, dword [esi + 0x40]
mov dword [esp + 4], 0x2f
mov dword [esp], esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x56d4bd
lea esi, [eax + 1]
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x56e35b
inc edi
mov eax, dword [ebp - 0x392c]
cmp edi, eax
jne 0x56d395
jmp 0x56d501
cmp dword [ebp - 0x3910], 0
jne 0x56e35b
xor ecx, ecx
mov dword [ebp - 0x3934], ecx
mov dword [ebp - 0x3910], 0x603f70
inc dword [ebp - 0x3920]
jmp 0x56d251
cmp dword [ebp - 0x3934], 0
je 0x56d61d
mov dword [esp], 0x58
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x3924]
mov dword [eax + 0xbc], edx
test edx, edx
je 0x56cfb3
mov ecx, 0x16
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3918]
fld qword [eax + 8]
fnstcw word [ebp - 0x390a]
mov ax, word [ebp - 0x390a]
or ah, 0xc
mov word [ebp - 0x390c], ax
fldcw word [ebp - 0x390c]
fistp qword [ebp - 0x3920]
fldcw word [ebp - 0x390a]
mov eax, dword [ebp - 0x3920]
mov dword [edx + 0x30], eax
xor eax, eax
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x3910]
cmp dword [ebp - 0x3944], 1
jbe 0x56d5c5
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3944]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s___0_ddNumber__s
lea eax, [ebp - 0x3908]
mov dword [esp], eax
call fcn.005ae188
jmp 0x56d5e9
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3928]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_Number__s
lea eax, [ebp - 0x3908]
mov dword [esp], eax
call fcn.005ae188
mov eax, dword [ebp - 0x3924]
mov ebx, dword [eax + 0xbc]
lea eax, [ebp - 0x3908]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x3924]
mov eax, dword [eax + 0xbc]
mov edi, dword [ebp - 0x3960]
mov dword [eax + 0x38], edi
jmp 0x56d625
xor eax, eax
mov dword [ebp - 0x3954], eax
xor eax, eax
mov dword [ebp - 0x3948], eax
mov esi, dword [ebp - 0x3968]
cmp dword [ebp - 0x3948], esi
je 0x56e2e4
mov eax, dword [ebp - 0x3958]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x3948]
call fcn.00425c8e
mov dword [ebp - 0x3918], eax
mov eax, dword [eax + 0x7c]
cmp eax, 1
jne 0x56d690
cmp dword [0x5af144], 1
jbe 0x56d703
mov dword [0x611418], 2
mov dword [0x611414], 0x17
mov dword [esp], str._MPD__NOT_SUPPORTED:_M3U8_Media_n
call fcn.004268ea
jmp 0x56d703
mov esi, dword [ebp - 0x3918]
cmp dword [esi + 0x78], 0
je 0x56d6c9
cmp dword [0x5af144], 1
jbe 0x56d703
mov dword [0x611418], 2
mov dword [0x611414], 0x17
mov eax, dword [esi + 0x40]
mov dword [esp + 4], eax
mov dword [esp], str._MPD__Error_loading_playlist_element__s_n
jmp 0x56d6fe
test eax, eax
je 0x56d703
cmp dword [0x5af144], 1
jbe 0x56d703
mov dword [0x611418], 2
mov dword [0x611414], 0x17
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x40]
mov dword [esp + 4], eax
mov dword [esp], str._MPD__NOT_SUPPORTED:_M3U8_unknown_type_for__s_n
call fcn.004268ea
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x56e2d9
mov eax, dword [eax + 4]
mov dword [ebp - 0x3970], eax
test eax, eax
je 0x56e2d9
mov eax, dword [ebp - 0x3918]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x56d768
cmp byte [ebx], 0x22
jne 0x56d768
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov esi, eax
lea eax, [eax - 1]
mov dword [esp + 8], eax
lea eax, [ebx + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x30]
mov byte [eax + esi - 2], 0
mov esi, 1
mov eax, dword [ebp - 0x3918]
cmp dword [eax + 0x20], 0
je 0x56d791
cmp dword [eax + 0x30], 0
je 0x56d791
cmp dword [eax + 0x24], 0
je 0x56d791
cmp dword [eax + 0x28], 0
sete al
movzx eax, al
mov esi, eax
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax]
cmp eax, 0x300000
jne 0x56d7c3
mov eax, dword [ebp - 0x3918]
cmp dword [eax + 0x30], 0
jne 0x56d7eb
mov dword [esp], str.wvtt
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov edi, dword [ebp - 0x3918]
mov dword [edi + 0x30], eax
jmp 0x56d7eb
cmp eax, 0x400000
jne 0x56d7ed
mov eax, dword [ebp - 0x3918]
cmp dword [eax + 0x30], 0
jne 0x56d7eb
mov dword [esp], str.wvtt
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov esi, dword [ebp - 0x3918]
mov dword [esi + 0x30], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x396c], eax
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 0x396c]
call fcn.00425c8e
mov dword [ebp - 0x392c], eax
test eax, eax
je 0x56e2e4
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x40]
call fcn.00427e22
mov dword [ebp - 0x3930], eax
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
jne 0x56d85f
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x56d863
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x395c], eax
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x3964], eax
test esi, esi
je 0x56dbc1
mov eax, dword [ebp - 0x392c]
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x56d8b3
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x3950], ecx
mov dword [ebp - 0x394c], ebx
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
jmp 0x56d8d1
mov eax, dword [ebp - 0x392c]
mov ecx, dword [eax + 0x48]
mov ebx, dword [eax + 0x4c]
mov dword [ebp - 0x3950], ecx
mov dword [ebp - 0x394c], ebx
mov ecx, dword [eax + 0x50]
mov ebx, dword [eax + 0x54]
mov dword [ebp - 0x3978], ecx
mov dword [ebp - 0x3974], ebx
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x40]
call fcn.00427e22
mov ebx, eax
lea edx, [ebp - 0x3108]
mov ecx, 0xc3c
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30f8], 0x100000
mov dword [esp + 4], 0x6040cb
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test eax, eax
je 0x56d9af
mov dword [esp + 4], str.file:__
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test eax, eax
jne 0x56d9af
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
jne 0x56d95c
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
test eax, eax
je 0x56d9b5
inc eax
mov dword [ebp - 0x3920], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3978]
mov edx, dword [ebp - 0x3974]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x3950]
mov edx, dword [ebp - 0x394c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x3920]
mov eax, ebx
call fcn.0042cff6
test eax, eax
jne 0x56d9bd
mov eax, dword [ebp - 0x3920]
mov dword [ebp - 0x3100], eax
jmp 0x56d9bd
mov dword [ebp - 0x3100], ebx
xor edi, edi
mov dword [ebp - 0x3920], edi
lea eax, [ebp - 0x3108]
call fcn.004e9ade
mov edi, eax
mov dword [esp], ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
test edi, edi
je 0x56d9e1
inc dword [ebp - 0x396c]
jmp 0x56d7f5
mov ecx, dword [ebp - 0x3100]
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x20]
test ecx, ecx
je 0x56dac5
test eax, eax
jne 0x56dad6
mov eax, dword [ebp - 0x392c]
cmp dword [eax + 0x44], 0
jne 0x56dac9
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3918]
ucomisd xmm0, qword [eax + 8]
jp 0x56da26
je 0x56dac9
mov edx, 0x6040d7
mov eax, ecx
call fcn.00427968
mov ebx, eax
xor esi, esi
xor edi, edi
test eax, eax
je 0x56da60
mov dword [esp], 2
xor edx, edx
xor ecx, ecx
call fcn.00425b5e
mov dword [esp], ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov esi, eax
mov edi, edx
mov eax, ebx
call fcn.00425b84
mov dword [ebp - 0x3950], esi
mov dword [ebp - 0x394c], edi
fild qword [ebp - 0x3950]
test edi, edi
jns 0x56da7c
fadd dword [0x604f90]
fmul qword [0x604f98]
mov eax, dword [ebp - 0x3918]
fdiv qword [eax + 8]
fnstcw word [ebp - 0x390a]
mov ax, word [ebp - 0x390a]
or ah, 0xc
mov word [ebp - 0x390c], ax
fldcw word [ebp - 0x390c]
fistp qword [ebp - 0x3950]
fldcw word [ebp - 0x390a]
mov eax, dword [ebp - 0x3918]
mov edi, dword [ebp - 0x3950]
mov dword [eax + 0x20], edi
jmp 0x56dad6
test eax, eax
jne 0x56dad6
mov eax, dword [ebp - 0x3918]
mov dword [eax + 0x20], 0x1f400
cmp dword [ebp - 0x3920], 0
je 0x56daea
mov eax, dword [ebp - 0x3920]
call fcn.00422f9d
mov eax, dword [ebp - 0x3918]
cmp dword [eax + 0x30], 0
jne 0x56db60
mov byte [ebp - 0x3508], 0
lea esi, [ebp - 0x3068]
xor ebx, ebx
cmp ebx, dword [ebp - 0x30a0]
jae 0x56db49
cmp byte [esi], 0
je 0x56db43
cmp byte [ebp - 0x3508], 0
je 0x56db31
mov dword [esp + 4], 0x6040da
lea eax, [ebp - 0x3508]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov dword [esp + 4], esi
lea eax, [ebp - 0x3508]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
inc ebx
add esi, 0x50
jmp 0x56db05
lea eax, [ebp - 0x3508]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov esi, dword [ebp - 0x3918]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x3108]
imul edx, dword [ebp - 0x30a0], 0x50
add edx, eax
xor ecx, ecx
mov dword [ebp - 0x3950], ecx
xor esi, esi
cmp edx, eax
je 0x56dbc9
mov ecx, dword [eax + 0x74]
cmp ecx, 0x736f756e
je 0x56dbaa
cmp ecx, 0x76696465
jne 0x56dbbc
mov edi, dword [eax + 0x80]
mov dword [ebp - 0x395c], edi
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x3964], ecx
jmp 0x56dbbc
mov esi, dword [eax + 0x98]
mov edi, dword [eax + 0x9c]
mov dword [ebp - 0x3950], edi
add eax, 0x50
jmp 0x56db79
xor edi, edi
mov dword [ebp - 0x3950], edi
mov dword [esp], 0xe0
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x3920], eax
test eax, eax
je 0x56e2d2
mov ecx, 0x38
xor eax, eax
mov edi, dword [ebp - 0x3920]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3920]
call fcn.004f6341
call fcn.00425c0a
mov edx, dword [ebp - 0x3920]
mov dword [edx + 0x6c], eax
call fcn.00425c0a
mov edx, dword [ebp - 0x3920]
mov dword [edx + 0x7c], eax
mov dword [esp + 4], str..aac
mov eax, dword [ebp - 0x392c]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test eax, eax
je 0x56dc46
mov eax, dword [ebp - 0x3920]
mov dword [eax + 0x88], 1
mov eax, dword [ebp - 0x3924]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x3920]
call fcn.00425c52
test eax, eax
jne 0x56e341
mov eax, dword [ebp - 0x3948]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3940]
inc eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.R_d__d
lea ebx, [ebp - 0x3108]
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov ecx, dword [ebp - 0x3920]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp - 0x392c]
mov ebx, dword [eax + 0x44]
test ebx, ebx
je 0x56dcf6
mov dword [esp + 4], str..mp4
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test eax, eax
jne 0x56dce3
mov dword [esp + 4], str..MP4
mov dword [esp], ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test eax, eax
je 0x56dcf6
mov eax, str.video_mp4
test esi, esi
je 0x56dcf1
mov eax, str.audio_mp4
mov dword [esp], eax
jmp 0x56dcfd
mov dword [esp], str.video_mp2t
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov edi, dword [ebp - 0x3920]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x56dd29
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov ecx, dword [ebp - 0x3920]
mov dword [ecx + 0x20], eax
cmp dword [ebp - 0x395c], 0
je 0x56dd53
cmp dword [ebp - 0x3964], 0
je 0x56dd53
mov eax, dword [ebp - 0x3920]
mov edx, dword [ebp - 0x395c]
mov dword [eax + 4], edx
mov edi, dword [ebp - 0x3964]
mov dword [eax + 8], edi
test esi, esi
je 0x56dd60
mov eax, dword [ebp - 0x3920]
mov dword [eax + 0x14], esi
cmp dword [ebp - 0x3950], 0
je 0x56dde2
mov dword [esp], 0x14
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
test eax, eax
je 0x56dd86
mov ecx, 5
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp], str.urn:mpeg:dash:23003:3:audio_channel_configuration:2011
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3950]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x604134
lea esi, [ebp - 0x3508]
mov dword [esp], esi
call fcn.005ae188
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x56dddb
call fcn.00425c0a
mov esi, dword [ebp - 0x3920]
mov dword [esi + 0x44], eax
mov edx, ebx
call fcn.00425c52
cmp dword [ebp - 0x3934], 0
je 0x56ded0
mov dword [esp], 0xc
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
test eax, eax
je 0x56e2d2
mov ecx, 3
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x6c]
mov edx, ebx
call fcn.00425c52
mov esi, eax
test eax, eax
jne 0x56e2d2
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx], eax
mov eax, dword [ebp - 0x392c]
cmp dword [eax + 0x44], 0
je 0x56e2d9
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [ebp - 0x3950], eax
mov dword [esp], 0x58
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
mov eax, dword [ebp - 0x3920]
mov dword [eax + 0x78], ebx
test ebx, ebx
je 0x56e2d2
mov ecx, 0x16
mov edi, ebx
mov eax, esi
rep stosd dword es:[edi], eax
mov dword [ebx + 0x38], 0xffffffff
mov eax, dword [ebp - 0x392c]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 0x3950]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x56dec0
mov eax, dword [ebp - 0x3950]
add esi, eax
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [ebx + 0x4c], eax
jmp 0x56e2d9
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0xa4]
xor edx, edx
call fcn.00425c8e
mov ebx, eax
test eax, eax
je 0x56df4f
cmp dword [eax + 0x1c], 0
jne 0x56df01
cmp dword [eax + 0x18], 0
jne 0x56df01
cmp dword [eax + 0x14], 0
jne 0x56df01
cmp dword [eax + 0x10], 0
je 0x56df4f
mov dword [esp], 0xc
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
test eax, eax
je 0x56e2d2
mov ecx, 3
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x6c]
mov edx, esi
call fcn.00425c52
test eax, eax
jne 0x56e2d2
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x3950], eax
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [esi], eax
jmp 0x56dfa0
mov dword [esp], 0xc
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
test eax, eax
je 0x56e2d2
mov ecx, 3
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x6c]
mov edx, esi
call fcn.00425c52
test eax, eax
jne 0x56e2d2
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [esi], eax
xor esi, esi
mov dword [ebp - 0x3950], esi
mov dword [esp], 0x58
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
mov eax, dword [ebp - 0x3920]
mov dword [eax + 0x74], esi
test esi, esi
je 0x56e2d2
mov ecx, 0x16
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
call fcn.00425c0a
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov esi, dword [ebp - 0x3918]
fld qword [0x604f88]
fmul qword [esi + 8]
fld qword [0x604fa0]
fxch st(1)
fcomi st(1)
fstp st(1)
jae 0x56e020
fnstcw word [ebp - 0x390a]
mov dx, word [ebp - 0x390a]
or dh, 0xc
mov word [ebp - 0x390c], dx
fldcw word [ebp - 0x390c]
fistp qword [eax + 0x30]
fldcw word [ebp - 0x390a]
jmp 0x56e053
fsub qword [0x604fa0]
fnstcw word [ebp - 0x390a]
mov dx, word [ebp - 0x390a]
or dh, 0xc
mov word [ebp - 0x390c], dx
fldcw word [ebp - 0x390c]
fistp qword [eax + 0x30]
fldcw word [ebp - 0x390a]
add dword [eax + 0x34], 0x80000000
test ebx, ebx
je 0x56e168
cmp dword [ebx + 0x44], 0
je 0x56e168
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov esi, eax
mov eax, dword [ebp - 0x3920]
mov edi, dword [eax + 0x74]
mov dword [esp], 0xc
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x56e0a8
mov ecx, 3
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [ebp - 0x392c], edx
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
mov ecx, dword [ebp - 0x3920]
mov ecx, dword [ecx + 0x74]
mov edi, dword [ecx + 0x28]
test eax, eax
mov edx, dword [ebp - 0x392c]
jne 0x56e0e4
add esi, edx
mov dword [esp], esi
jmp 0x56e0e7
mov dword [esp], edx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov dword [edi], eax
cmp dword [ebx + 0x54], 0
jne 0x56e0fa
cmp dword [ebx + 0x50], 0
je 0x56e168
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov esi, dword [eax + 0x28]
mov dword [esp], 0x10
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 4]
test edx, edx
je 0x56e133
mov ecx, 4
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x3920]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
xor edx, edx
mov dword [ebp - 0x395c], edx
mov eax, dword [ebp - 0x3918]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 0x395c]
call fcn.00425c8e
mov esi, eax
mov dword [esp], 0x38
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebp - 0x392c], eax
test eax, eax
je 0x56e2d2
mov ecx, 0xe
mov edi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x3920]
mov eax, dword [edx + 0x74]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x392c]
call fcn.00425c52
cmp dword [ebp - 0x3950], 0
je 0x56e226
mov dword [esp], 0x10
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x392c]
mov dword [eax + 4], edx
test edx, edx
je 0x56e1f4
mov ecx, 4
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
mov edi, dword [esi + 0x40]
mov eax, dword [ebp - 0x3950]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x56e27e
jmp 0x56e271
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edi, dword [esi + 0x40]
mov dword [esp + 8], eax
mov dword [ebp - 0x3964], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
mov edx, dword [ebp - 0x3964]
jne 0x56e271
add edi, edx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov edx, dword [ebp - 0x392c]
mov dword [edx], eax
jmp 0x56e27e
mov eax, dword [ebp - 0x392c]
mov dword [eax], edi
xor ebx, ebx
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x60], 0
je 0x56e2aa
mov eax, dword [esi + 0x64]
test eax, eax
je 0x56e2aa
mov edx, dword [ebp - 0x392c]
mov dword [edx + 0x18], eax
xor ecx, ecx
mov dword [esi + 0x64], ecx
mov ebx, edx
add ebx, 0x1c
add esi, 0x68
mov ecx, 4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x395c]
mov esi, dword [ebp - 0x3970]
cmp dword [ebp - 0x395c], esi
jne 0x56e170
mov eax, dword [ebp - 0x3930]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x56e2d9
mov eax, 0xfffffffe
jmp 0x56e341
inc dword [ebp - 0x3948]
jmp 0x56d62d
cmp dword [ebp - 0x3928], 0
je 0x56e2fb
mov eax, dword [ebp - 0x3928]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
inc dword [ebp - 0x3940]
jmp 0x56d106
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3954], eax
cmp dword [ebp - 0x3954], 0
je 0x56e321
mov dword [esp], str.urn:mpeg:dash:profile:isoff_live:2011
jmp 0x56e328
mov dword [esp], str.urn:mpeg:dash:profile:isoff_main:2011
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov esi, dword [ebp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x56e368
mov dword [ebp - 0x393c], 0xffffffff
jmp 0x56e368
mov dword [ebp - 0x393c], eax
jmp 0x56e368
mov dword [ebp - 0x3910], 0x603f70
mov byte [ebx], 0
jmp 0x56d38d
xor eax, eax
mov dword [ebp - 0x3934], eax
jmp 0x56d501
mov eax, dword [ebp - 0x393c]
add esp, 0x399c
pop ebx
pop esi
pop edi
pop ebp
ret