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

Disassembly:
mov eax, 0x59a2b3
call fcn.00552eac
sub esp, 0x78
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
push 0x66798c
call fcn.00543902
mov ecx, eax
call fcn.00542c61
mov eax, dword [ebp - 0x58]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x4c9d97
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x18]
call fcn.00570d57
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00570d02
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.base_url
mov byte [ebp - 4], 2
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.004253b7
push 1
lea ecx, [ebp - 0x4c]
pop esi
mov byte [ebp - 4], 2
push esi
call fcn.00409380
cmp dword [ebp - 0x54], ebx
je 0x4c9e36
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c9dff
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp + 0x18]
call fcn.00570d57
lea eax, [ebp + 0x18]
lea ecx, [ebp + 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.005710bb
push 0x5e93e0
push 0x5e93d4
lea ecx, [ebp + 0x14]
call fcn.0056c361
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.00570c8e
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.format
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.004253b7
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c9e7a
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x34]
call fcn.00570d57
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.mime_type
mov byte [ebp - 4], 6
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.004253b7
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c9ecb
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x10]
call fcn.00570d57
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.005711cb
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push 0x66bf38
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
push ebx
push eax
call fcn.004253b7
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c9f24
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x14]
call fcn.00570d57
push str.bitrate
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push str.avg_bitrate
mov ecx, edi
mov dword [ebp + 0x18], eax
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push 0x5fb924
mov ecx, edi
call fcn.00543902
mov ecx, eax
call fcn.0054324e
fstp qword [ebp - 0x3c]
push str.framerate
mov ecx, edi
call fcn.00543902
mov ecx, eax
call fcn.0054324e
fstp qword [ebp - 0x44]
push 0x5fb844
mov ecx, edi
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push 0x5fb83c
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push str.channels
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push str.sample_rate
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
push str.max_segment_duration
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.00543902
mov ecx, eax
call fcn.00542dc2
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.init_segment
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push ebx
push eax
call fcn.004253b7
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4ca035
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x30]
call fcn.00570d57
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
mov byte [ebp - 4], 0xc
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push ebx
push eax
call fcn.004253b7
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4ca086
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00570d57
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push ebx
mov byte [ebp - 4], 0xe
call fcn.004afd04
mov esi, eax
cmp esi, ebx
jne 0x4ca0ac
or esi, 0xffffffff
jmp 0x4ca4d8
push dword [ebp + 0x10]
lea ecx, [esi + 8]
call fcn.00570e25
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebx
jne 0x4ca0ff
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x4ca0ff
push 0x5f7b8c
lea ecx, [ebp - 0x10]
call fcn.0056c6dd
cmp eax, 0xffffffff
je 0x4ca0e0
push 0x5f7b8c
jmp 0x4ca0f7
push 0x5f7b80
lea ecx, [ebp - 0x10]
call fcn.0056c6dd
cmp eax, 0xffffffff
je 0x4ca0ff
push 0x5f7b80
lea ecx, [esi + 8]
call fcn.00570e25
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xc]
push eax
call fcn.00570dd5
lea eax, [ebp + 0x14]
lea ecx, [esi + 0x3c]
push eax
call fcn.00570dd5
push 0x5f8524
lea ecx, [esi + 0x10]
call fcn.00570e25
push 0x5f8524
lea ecx, [esi + 0x14]
call fcn.00570e25
fld qword [ebp - 0x3c]
fmul qword [0x5a7758]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
call fcn.005541f0
push 0x5f7b80
mov dword [esi + 0x18], eax
push dword [esi + 8]
mov dword [esi + 0x1c], edx
call fcn.00553045
pop ecx
cmp eax, ebx
pop ecx
lea eax, [ebp - 0x14]
push eax
jne 0x4ca181
lea ecx, [esi + 0x8c]
call fcn.00570dd5
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x98], eax
jmp 0x4ca19e
lea ecx, [esi + 0x6c]
call fcn.00570dd5
mov eax, dword [ebp - 0x24]
fld qword [ebp - 0x44]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x28]
fstp qword [esi + 0x80]
mov dword [esi + 0x78], eax
push str.segments
mov ecx, edi
call fcn.00543902
push eax
lea ecx, [ebp - 0x84]
call fcn.0054287e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.00543a96
test al, al
jne 0x4ca4c7
lea ecx, [ebp - 0x84]
call fcn.00543c23
test al, al
je 0x4ca4c7
lea ecx, [ebp - 0x84]
call fcn.005433a8
test eax, eax
jbe 0x4ca4c7
mov eax, dword [0x67c5c0]
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.init_segment
mov byte [ebp - 4], 0x10
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
push ebx
push eax
call fcn.004253b7
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.00409380
cmp dword [ebp - 0x54], ebx
je 0x4ca2d1
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4ca24d
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp + 0xc]
call fcn.00570d57
cmp dword [ebp + 0x1c], 1
mov byte [ebp - 4], 0x12
jne 0x4ca276
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004afc82
mov dword [eax], 1
jmp 0x4ca2c5
push 0x5e93e0
push 0x5e93d4
lea ecx, [ebp + 0xc]
call fcn.0056c361
lea eax, [ebp + 0xc]
mov ecx, 0x6817d8
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004e9eeb
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.00570dd5
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00570c8e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004afc82
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.00570c8e
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push ebx
push eax
call fcn.004253b7
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.00409380
cmp dword [ebp - 0x54], ebx
je 0x4ca383
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4ca31b
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp + 0xc]
call fcn.00570d57
push 0x5e93e0
push 0x5e93d4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x15
call fcn.0056c361
lea eax, [ebp + 0xc]
mov ecx, 0x6817d8
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004e9eeb
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x16
call fcn.00570dd5
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00570c8e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004afc82
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.00570c8e
mov eax, dword [0x67c5c0]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x17
mov dword [ebp + 0xc], ebx
call fcn.005433a8
test eax, eax
jbe 0x4ca496
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push eax
push 0x6676ac
push dword [ebp + 0xc]
call fcn.00543581
mov ecx, eax
call fcn.00543902
mov ecx, eax
call fcn.00542c61
push dword [0x5a6b80]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push ebx
push eax
call fcn.004253b7
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
call fcn.00409380
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4ca3f8
mov eax, 0x5a3f0c
push eax
lea ecx, [ebp + 0x10]
call fcn.00570e4c
push 0x5e93e0
push 0x5e93d4
lea ecx, [ebp + 0x10]
call fcn.0056c361
push str.size
lea ecx, [ebp - 0x84]
push dword [ebp + 0xc]
call fcn.00543581
mov ecx, eax
call fcn.00543902
mov ecx, eax
call fcn.00542f66
mov edi, eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
mov ecx, 0x6817d8
mov dword [ebp - 0x40], edx
call fcn.004e9eeb
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x19
call fcn.00570dd5
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x17
call fcn.00570c8e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004afc82
mov ecx, dword [ebp - 0x40]
inc dword [ebp + 0xc]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
lea ecx, [ebp - 0x84]
call fcn.005433a8
cmp dword [ebp + 0xc], eax
jb 0x4ca3a5
lea eax, [ebp + 0x14]
lea ecx, [esi + 0xbc]
push eax
mov dword [esi + 0xb4], 1
call fcn.00570dd5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.00570c8e
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xf
call fcn.00570c8e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.00542a4f
xor esi, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00570c8e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00570c8e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00570c8e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00570c8e
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00570c8e
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00570c8e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00570c8e
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x5c]
call fcn.00409380
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18