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

Disassembly:
mov eax, 0x591f43
call fcn.00510fdc
sub esp, 0x78
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
push 0x65bd70
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
mov eax, dword [ebp - 0x58]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x4c3d6f
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x18]
call fcn.005680ec
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00568097
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.base_url
mov byte [ebp - 4], 2
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.0042219d
push 1
lea ecx, [ebp - 0x4c]
pop esi
mov byte [ebp - 4], 2
push esi
call fcn.004141c8
cmp dword [ebp - 0x54], ebx
je 0x4c3e0e
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c3dd7
mov eax, 0x59d708
push eax
lea ecx, [ebp + 0x18]
call fcn.005680ec
lea eax, [ebp + 0x18]
lea ecx, [ebp + 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00568450
push 0x5de6a4
push 0x5de698
lea ecx, [ebp + 0x14]
call fcn.00564be9
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.00568023
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.format
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.0042219d
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c3e52
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x34]
call fcn.005680ec
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.mime_type
mov byte [ebp - 4], 6
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.0042219d
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c3ea3
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x10]
call fcn.005680ec
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00568560
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push 0x660360
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
push ebx
push eax
call fcn.0042219d
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c3efc
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x14]
call fcn.005680ec
push str.bitrate
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push str.avg_bitrate
mov ecx, edi
mov dword [ebp + 0x18], eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push 0x5f0010
mov ecx, edi
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc577
fstp qword [ebp - 0x3c]
push str.framerate
mov ecx, edi
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc577
fstp qword [ebp - 0x44]
push 0x5eff30
mov ecx, edi
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push 0x5eff28
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push str.channels
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push str.sample_rate
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
push str.max_segment_duration
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc0eb
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.init_segment
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push ebx
push eax
call fcn.0042219d
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c400d
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x30]
call fcn.005680ec
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
mov byte [ebp - 4], 0xc
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push ebx
push eax
call fcn.0042219d
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c405e
mov eax, 0x59d708
push eax
lea ecx, [ebp - 0x2c]
call fcn.005680ec
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push ebx
mov byte [ebp - 4], 0xe
call fcn.004a9e3d
mov esi, eax
cmp esi, ebx
jne 0x4c4084
or esi, 0xffffffff
jmp 0x4c44b0
push dword [ebp + 0x10]
lea ecx, [esi + 8]
call fcn.005681ba
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebx
jne 0x4c40d7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x4c40d7
push 0x5ec160
lea ecx, [ebp - 0x10]
call fcn.00564f65
cmp eax, 0xffffffff
je 0x4c40b8
push 0x5ec160
jmp 0x4c40cf
push 0x5ec154
lea ecx, [ebp - 0x10]
call fcn.00564f65
cmp eax, 0xffffffff
je 0x4c40d7
push 0x5ec154
lea ecx, [esi + 8]
call fcn.005681ba
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xc]
push eax
call fcn.0056816a
lea eax, [ebp + 0x14]
lea ecx, [esi + 0x3c]
push eax
call fcn.0056816a
push 0x5ecc10
lea ecx, [esi + 0x10]
call fcn.005681ba
push 0x5ecc10
lea ecx, [esi + 0x14]
call fcn.005681ba
fld qword [ebp - 0x3c]
fmul qword [0x59e010]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
call fcn.0051127c
push 0x5ec154
mov dword [esi + 0x18], eax
push dword [esi + 8]
mov dword [esi + 0x1c], edx
call fcn.00511095
pop ecx
cmp eax, ebx
pop ecx
lea eax, [ebp - 0x14]
push eax
jne 0x4c4159
lea ecx, [esi + 0x8c]
call fcn.0056816a
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x98], eax
jmp 0x4c4176
lea ecx, [esi + 0x6c]
call fcn.0056816a
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.004fcc2b
push eax
lea ecx, [ebp - 0x84]
call fcn.004fbba7
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.004fcdbf
test al, al
jne 0x4c449f
lea ecx, [ebp - 0x84]
call fcn.004fcf4c
test al, al
je 0x4c449f
lea ecx, [ebp - 0x84]
call fcn.004fc6d1
test eax, eax
jbe 0x4c449f
mov eax, dword [0x66cc08]
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.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
push ebx
push eax
call fcn.0042219d
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.004141c8
cmp dword [ebp - 0x54], ebx
je 0x4c42a9
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c4225
mov eax, 0x59d708
push eax
lea ecx, [ebp + 0xc]
call fcn.005680ec
cmp dword [ebp + 0x1c], 1
mov byte [ebp - 4], 0x12
jne 0x4c424e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004a9dbb
mov dword [eax], 1
jmp 0x4c429d
push 0x5de6a4
push 0x5de698
lea ecx, [ebp + 0xc]
call fcn.00564be9
lea eax, [ebp + 0xc]
mov ecx, 0x675418
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004e235a
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.0056816a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00568023
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004a9dbb
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.00568023
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push ebx
push eax
call fcn.0042219d
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.004141c8
cmp dword [ebp - 0x54], ebx
je 0x4c435b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c42f3
mov eax, 0x59d708
push eax
lea ecx, [ebp + 0xc]
call fcn.005680ec
push 0x5de6a4
push 0x5de698
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x15
call fcn.00564be9
lea eax, [ebp + 0xc]
mov ecx, 0x675418
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004e235a
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x16
call fcn.0056816a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00568023
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004a9dbb
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.00568023
mov eax, dword [0x66cc08]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x17
mov dword [ebp + 0xc], ebx
call fcn.004fc6d1
test eax, eax
jbe 0x4c446e
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push eax
push 0x65bad4
push dword [ebp + 0xc]
call fcn.004fc8aa
mov ecx, eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fbf8a
push dword [0x59d70c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push ebx
push eax
call fcn.0042219d
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
call fcn.004141c8
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4c43d0
mov eax, 0x59d708
push eax
lea ecx, [ebp + 0x10]
call fcn.005681e1
push 0x5de6a4
push 0x5de698
lea ecx, [ebp + 0x10]
call fcn.00564be9
push str.size
lea ecx, [ebp - 0x84]
push dword [ebp + 0xc]
call fcn.004fc8aa
mov ecx, eax
call fcn.004fcc2b
mov ecx, eax
call fcn.004fc28f
mov edi, eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
mov ecx, 0x675418
mov dword [ebp - 0x40], edx
call fcn.004e235a
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x19
call fcn.0056816a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x17
call fcn.00568023
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004a9dbb
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.004fc6d1
cmp dword [ebp + 0xc], eax
jb 0x4c437d
lea eax, [ebp + 0x14]
lea ecx, [esi + 0xbc]
push eax
mov dword [esi + 0xb4], 1
call fcn.0056816a
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.00568023
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xf
call fcn.00568023
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.004fbd78
xor esi, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00568023
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00568023
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00568023
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00568023
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x5c]
call fcn.004141c8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18