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

Disassembly:
mov eax, 0x57aad7
call fcn.004fb864
sub esp, 0x78
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
push 0x64462c
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
mov eax, dword [ebp - 0x58]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x4a9883
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x18]
call fcn.005528aa
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00552855
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.base_url
mov byte [ebp - 4], 2
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.004224e4
push 1
lea ecx, [ebp - 0x4c]
pop esi
mov byte [ebp - 4], 2
push esi
call fcn.0041476b
cmp dword [ebp - 0x54], ebx
je 0x4a9922
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a98eb
mov eax, 0x586978
push eax
lea ecx, [ebp + 0x18]
call fcn.005528aa
lea eax, [ebp + 0x18]
lea ecx, [ebp + 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00552c0e
push 0x5c659c
push 0x5c6590
lea ecx, [ebp + 0x14]
call fcn.0054f419
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.005527e1
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.format
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.004224e4
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9966
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x34]
call fcn.005528aa
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push str.mime_type
mov byte [ebp - 4], 6
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.004224e4
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a99b7
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x10]
call fcn.005528aa
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00552d1e
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push 0x648cdc
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
push ebx
push eax
call fcn.004224e4
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9a10
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x14]
call fcn.005528aa
push str.bitrate
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push str.avg_bitrate
mov ecx, edi
mov dword [ebp + 0x18], eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push 0x5d7cd8
mov ecx, edi
call fcn.004ed398
mov ecx, eax
call fcn.004ecce4
fstp qword [ebp - 0x3c]
push str.framerate
mov ecx, edi
call fcn.004ed398
mov ecx, eax
call fcn.004ecce4
fstp qword [ebp - 0x44]
push 0x5d7bf8
mov ecx, edi
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push 0x5d7bf0
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push str.channels
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push str.sample_rate
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
push str.max_segment_duration
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec858
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.init_segment
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push ebx
push eax
call fcn.004224e4
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9b21
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x30]
call fcn.005528aa
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
mov byte [ebp - 4], 0xc
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push ebx
push eax
call fcn.004224e4
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9b72
mov eax, 0x586978
push eax
lea ecx, [ebp - 0x2c]
call fcn.005528aa
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push ebx
mov byte [ebp - 4], 0xe
call fcn.00492e4b
mov esi, eax
cmp esi, ebx
jne 0x4a9b98
or esi, 0xffffffff
jmp 0x4a9fc4
push dword [ebp + 0x10]
lea ecx, [esi + 8]
call fcn.00552978
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebx
jne 0x4a9beb
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x4a9beb
push 0x5d3c48
lea ecx, [ebp - 0x10]
call fcn.0054f795
cmp eax, 0xffffffff
je 0x4a9bcc
push 0x5d3c48
jmp 0x4a9be3
push 0x5d3c3c
lea ecx, [ebp - 0x10]
call fcn.0054f795
cmp eax, 0xffffffff
je 0x4a9beb
push 0x5d3c3c
lea ecx, [esi + 8]
call fcn.00552978
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xc]
push eax
call fcn.00552928
lea eax, [ebp + 0x14]
lea ecx, [esi + 0x3c]
push eax
call fcn.00552928
push 0x5d4784
lea ecx, [esi + 0x10]
call fcn.00552978
push 0x5d4784
lea ecx, [esi + 0x14]
call fcn.00552978
fld qword [ebp - 0x3c]
fmul qword [0x587340]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
call fcn.004fb9ac
push 0x5d3c3c
mov dword [esi + 0x18], eax
push dword [esi + 8]
mov dword [esi + 0x1c], edx
call fcn.004fb925
pop ecx
cmp eax, ebx
pop ecx
lea eax, [ebp - 0x14]
push eax
jne 0x4a9c6d
lea ecx, [esi + 0x8c]
call fcn.00552928
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x98], eax
jmp 0x4a9c8a
lea ecx, [esi + 0x6c]
call fcn.00552928
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.004ed398
push eax
lea ecx, [ebp - 0x84]
call fcn.004ec314
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.004ed52c
test al, al
jne 0x4a9fb3
lea ecx, [ebp - 0x84]
call fcn.004ed6b9
test al, al
je 0x4a9fb3
lea ecx, [ebp - 0x84]
call fcn.004ece3e
test eax, eax
jbe 0x4a9fb3
mov eax, dword [0x655358]
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.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
push ebx
push eax
call fcn.004224e4
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.0041476b
cmp dword [ebp - 0x54], ebx
je 0x4a9dbd
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9d39
mov eax, 0x586978
push eax
lea ecx, [ebp + 0xc]
call fcn.005528aa
cmp dword [ebp + 0x1c], 1
mov byte [ebp - 4], 0x12
jne 0x4a9d62
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00492dc9
mov dword [eax], 1
jmp 0x4a9db1
push 0x5c659c
push 0x5c6590
lea ecx, [ebp + 0xc]
call fcn.0054f419
lea eax, [ebp + 0xc]
mov ecx, 0x65d9e0
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004c30bc
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x13
call fcn.00552928
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call fcn.005527e1
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.00492dc9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.005527e1
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
push str.index_segment
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push ebx
push eax
call fcn.004224e4
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.0041476b
cmp dword [ebp - 0x54], ebx
je 0x4a9e6f
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9e07
mov eax, 0x586978
push eax
lea ecx, [ebp + 0xc]
call fcn.005528aa
push 0x5c659c
push 0x5c6590
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x15
call fcn.0054f419
lea eax, [ebp + 0xc]
mov ecx, 0x65d9e0
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004c30bc
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x16
call fcn.00552928
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x15
call fcn.005527e1
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.00492dc9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call fcn.005527e1
mov eax, dword [0x655358]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x17
mov dword [ebp + 0xc], ebx
call fcn.004ece3e
test eax, eax
jbe 0x4a9f82
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push eax
push 0x6443f4
push dword [ebp + 0xc]
call fcn.004ed017
mov ecx, eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec6f7
push dword [0x58697c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push ebx
push eax
call fcn.004224e4
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
call fcn.0041476b
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4a9ee4
mov eax, 0x586978
push eax
lea ecx, [ebp + 0x10]
call fcn.0055299f
push 0x5c659c
push 0x5c6590
lea ecx, [ebp + 0x10]
call fcn.0054f419
push str.size
lea ecx, [ebp - 0x84]
push dword [ebp + 0xc]
call fcn.004ed017
mov ecx, eax
call fcn.004ed398
mov ecx, eax
call fcn.004ec9fc
mov edi, eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
mov ecx, 0x65d9e0
mov dword [ebp - 0x40], edx
call fcn.004c30bc
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x19
call fcn.00552928
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x17
call fcn.005527e1
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
call fcn.00492dc9
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.004ece3e
cmp dword [ebp + 0xc], eax
jb 0x4a9e91
lea eax, [ebp + 0x14]
lea ecx, [esi + 0xbc]
push eax
mov dword [esi + 0xb4], 1
call fcn.00552928
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.005527e1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xf
call fcn.005527e1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.004ec4e5
xor esi, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.005527e1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.005527e1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.005527e1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.005527e1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.005527e1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.005527e1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005527e1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x5c]
call fcn.0041476b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18