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

Disassembly:
mov eax, 0x5905c4
call fcn.00552eac
sub esp, 0x50
mov eax, dword [0x67c5c0]
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov al, byte [ebp + 0xb]
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x5c], al
call fcn.00409380
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, str.Flags
lea eax, [ebp + 0xc]
push dword [esi + 8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423696
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
mov edi, str.State
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00423881
lea ecx, [ebp - 0x14]
call fcn.004236f1
test al, al
jne 0x45496d
push dword [esi + 0x24]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ebx
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423696
push dword [esi + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push edi
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x14]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Substate
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x1c]
mov dword [esi + 0x14], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Result
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x20]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Error
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x28]
mov dword [esi + 0x20], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.MiscFlags
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423696
mov dword [esi + 0x28], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x5f9ac0
push eax
call fcn.00423881
lea ecx, [ebp - 0x10]
call fcn.004236f1
test al, al
mov edi, 0x680e9c
jne 0x454d56
push dword [esi + 0x30]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push ebx
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423696
mov dword [esi + 0x30], eax
push edi
lea eax, [ebp - 0x3c]
push str.StreamID
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x34]
call fcn.00570e25
push 0
lea eax, [ebp - 0x3c]
push str.StreamIndex
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423679
mov dword [esi + 0x38], eax
push edi
lea eax, [ebp - 0x3c]
push str.MediaType
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x40]
call fcn.00570e25
push edi
lea eax, [ebp - 0x3c]
push str.Format
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x44]
call fcn.00570e25
push edi
lea eax, [ebp - 0x3c]
push str.Extension
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x48]
call fcn.00570e25
push dword [esi + 0x54]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push dword [esi + 0x50]
push 0x5f79cc
push eax
call fcn.004238c8
mov ecx, eax
call fcn.004236d0
push dword [esi + 0x5c]
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push dword [esi + 0x58]
mov dword [esi + 0x54], edx
push str.DurationInMs
push eax
call fcn.004238c8
mov ecx, eax
call fcn.004236d0
mov dword [esi + 0x58], eax
push edi
lea eax, [ebp - 0x3c]
push str.AudioStreamCodec
push eax
lea ecx, [ebp - 0x10]
mov dword [esi + 0x5c], edx
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x60]
call fcn.00570e25
push dword [esi + 0x64]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push str.MaxConnections
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x68]
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push str.LimitedSpeed
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0x74]
mov dword [esi + 0x68], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push dword [esi + 0x70]
push str.ChunkSize
push eax
call fcn.004238c8
mov ecx, eax
call fcn.004236d0
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x20]
push str.SourceURL
push eax
lea ecx, [ebp - 0x10]
mov dword [esi + 0x74], edx
call fcn.00423881
lea ecx, [ebp - 0x20]
call fcn.004236f1
test al, al
jne 0x454b56
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x3c]
call fcn.00570e25
lea eax, [ebp + 0xc]
push str.HttpHeaders
push eax
lea ecx, [ebp - 0x10]
call fcn.00423881
lea ecx, [ebp + 0xc]
call fcn.004236f1
test al, al
jne 0x454d56
push edi
lea eax, [ebp - 0x4c]
push str.Method
push eax
lea ecx, [ebp + 0xc]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [esi + 0x78]
call fcn.00570e25
lea eax, [ebp - 0x24]
push str.OptionalData
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x24]
call fcn.004236f1
test al, al
jne 0x454bd3
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x7c]
call fcn.00570e25
lea eax, [ebp - 0x28]
push str.ContentType
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x28]
call fcn.004236f1
test al, al
jne 0x454c10
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x80]
call fcn.00570e25
lea eax, [ebp - 0x2c]
push str.UserAgent
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x2c]
call fcn.004236f1
test al, al
jne 0x454c4d
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x84]
call fcn.00570e25
lea eax, [ebp - 0x30]
push 0x5f9ef8
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x30]
call fcn.004236f1
test al, al
jne 0x454c8a
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x30]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x88]
call fcn.00570e25
lea eax, [ebp - 0x34]
push str.SecFetchMode
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x34]
call fcn.004236f1
test al, al
jne 0x454cc7
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x8c]
call fcn.00570e25
lea eax, [ebp - 0x38]
push 0x5f9ecc
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x38]
call fcn.004236f1
test al, al
jne 0x454d04
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x90]
call fcn.00570e25
lea eax, [ebp - 0x3c]
push str.MoreHeaders
push eax
lea ecx, [ebp + 0xc]
call fcn.00423881
lea ecx, [ebp - 0x3c]
call fcn.004236f1
test al, al
jne 0x454d56
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0x94]
call fcn.00570e25
push 0x5e983c
push str._r_n
lea ecx, [esi + 0x94]
call fcn.0056c361
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.Cache
push eax
call fcn.00423881
lea ecx, [ebp - 0x1c]
call fcn.004236f1
test al, al
jne 0x454e04
push dword [esi + 0xa0]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
push ebx
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423696
push dword [esi + 0xac]
mov dword [esi + 0xa0], eax
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
push dword [esi + 0xa8]
push str.CacheSize
push eax
call fcn.004238c8
mov ecx, eax
call fcn.004236d0
mov dword [esi + 0xa8], eax
lea eax, [ebp + 0xc]
push str.CacheFile
push eax
lea ecx, [ebp - 0x1c]
mov dword [esi + 0xac], edx
call fcn.00423881
lea ecx, [ebp + 0xc]
call fcn.004236f1
test al, al
jne 0x454e04
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp + 0xc]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0xa4]
call fcn.00570e25
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.Substreams
push eax
call fcn.00423881
lea ecx, [ebp - 0x18]
call fcn.004236f1
test al, al
jne 0x454f74
push dword [esi + 0xc8]
lea ebx, [esi + 0xc8]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push str.SourceType
push eax
call fcn.004238c8
mov ecx, eax
call fcn.00423679
push dword [esi + 0xcc]
mov dword [ebx], eax
lea ebx, [esi + 0xcc]
lea eax, [ebp - 0x4c]
push str.SourceInitType
push eax
lea ecx, [ebp - 0x18]
call fcn.004238c8
mov ecx, eax
call fcn.00423679
mov dword [ebx], eax
lea eax, [ebp - 0x3c]
push str.SourceBaseURL
push eax
lea ecx, [ebp - 0x18]
call fcn.00423881
lea ecx, [ebp - 0x3c]
call fcn.004236f1
test al, al
jne 0x454eae
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0xd0]
call fcn.00570e25
lea eax, [ebp - 0x38]
push str.CacheFolder
push eax
lea ecx, [ebp - 0x18]
call fcn.00423881
lea ecx, [ebp - 0x38]
call fcn.004236f1
test al, al
jne 0x454eeb
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.00423956
mov ecx, eax
call fcn.00423c5d
push eax
lea ecx, [esi + 0xd4]
call fcn.00570e25
mov ebx, str.Substream
lea eax, [ebp + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00423881
lea ecx, [ebp + 0xc]
call fcn.00423864
test eax, eax
je 0x454f74
lea edi, [esi + 0xb0]
push 0x88
call fcn.0057055e
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x454f31
mov ecx, eax
call fcn.0043c02f
mov dword [ebp - 0x20], eax
jmp 0x454f35
and dword [ebp - 0x20], 0
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
call fcn.0045500c
push dword [ebp - 0x20]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call fcn.0056ec12
lea eax, [ebp - 0x34]
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.0042390f
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00423864
test eax, eax
jne 0x454f0f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0x5e78dc
push eax
call fcn.00423881
lea ecx, [ebp - 0x40]
call fcn.004236f1
test al, al
jne 0x454fdf
cmp dword [esi + 0x11c], 0
jne 0x454fcd
push 0xb8
call fcn.0057055e
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x454fc1
mov ecx, edi
call fcn.004409c2
mov dword [edi], 0x5a97ac
jmp 0x454fc3
xor edi, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x11c], edi
push dword [esi + 0x11c]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
call fcn.00455335
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00409380
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8