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

Disassembly:
mov eax, 0x56f9c4
call fcn.004f85f0
sub esp, 0x54
mov eax, dword [0x64a758]
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov al, byte [ebp + 0xb]
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x60], al
call fcn.00421e06
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.0042e294
mov ecx, eax
call fcn.0042e064
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
mov edi, str.State
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0042e24d
lea ecx, [ebp - 0x14]
call fcn.0042e6a6
test al, al
jne 0x45568f
push dword [esi + 0x10]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ebx
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e064
push dword [esi + 0x14]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push edi
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x18]
mov dword [esi + 0x14], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Substate
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Result
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x20]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Error
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x24]
mov dword [esi + 0x20], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Misc
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e064
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.Source
push eax
call fcn.0042e24d
lea ecx, [ebp - 0x10]
call fcn.0042e6a6
test al, al
mov edi, 0x6524d4
jne 0x455a8a
push dword [esi + 0x28]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push ebx
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e064
mov dword [esi + 0x28], eax
push edi
lea eax, [ebp - 0x40]
push str.StreamID
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [esi + 0x2c]
call fcn.0054f7db
push 0
lea eax, [ebp - 0x40]
push str.StreamIndex
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
mov dword [esi + 0x30], eax
push edi
lea eax, [ebp - 0x40]
push str.MediaType
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [esi + 0x38]
call fcn.0054f7db
push edi
lea eax, [ebp - 0x40]
push str.Format
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [esi + 0x3c]
call fcn.0054f7db
push edi
lea eax, [ebp - 0x40]
push str.Extension
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [esi + 0x40]
call fcn.0054f7db
push dword [esi + 0x4c]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push dword [esi + 0x48]
push 0x5bc964
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e09e
push dword [esi + 0x54]
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push dword [esi + 0x50]
mov dword [esi + 0x4c], edx
push str.DurationInMs
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e09e
mov dword [esi + 0x50], eax
push edi
lea eax, [ebp - 0x40]
push str.AudioStreamCodec
push eax
lea ecx, [ebp - 0x10]
mov dword [esi + 0x54], edx
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [esi + 0x58]
call fcn.0054f7db
push dword [esi + 0x5c]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push str.MaxConnections
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x60]
mov dword [esi + 0x5c], eax
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push str.LimitedSpeed
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0x6c]
mov dword [esi + 0x60], eax
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push dword [esi + 0x68]
push str.ChunkSize
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e09e
mov dword [esi + 0x68], eax
lea eax, [ebp - 0x20]
push str.SourceURL
push eax
lea ecx, [ebp - 0x10]
mov dword [esi + 0x6c], edx
call fcn.0042e24d
lea ecx, [ebp - 0x20]
call fcn.0042e6a6
test al, al
jne 0x455878
lea eax, [ebp - 0x40]
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x34]
call fcn.0054f7db
lea eax, [ebp + 0xc]
push str.HttpHeaders
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e24d
lea ecx, [ebp + 0xc]
call fcn.0042e6a6
test al, al
jne 0x455a8a
lea eax, [ebp - 0x24]
push str.Command
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x24]
call fcn.0042e6a6
test al, al
jne 0x4558d3
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x70]
call fcn.0054f7db
lea eax, [ebp - 0x28]
push str.OptionalData
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x28]
call fcn.0042e6a6
test al, al
jne 0x45590d
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x74]
call fcn.0054f7db
lea eax, [ebp - 0x2c]
push str.ContentType
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x2c]
call fcn.0042e6a6
test al, al
jne 0x455947
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x78]
call fcn.0054f7db
lea eax, [ebp - 0x30]
push str.UserAgent
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x30]
call fcn.0042e6a6
test al, al
jne 0x455981
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x30]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x7c]
call fcn.0054f7db
lea eax, [ebp - 0x34]
push 0x5cbeb8
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x34]
call fcn.0042e6a6
test al, al
jne 0x4559be
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x80]
call fcn.0054f7db
lea eax, [ebp - 0x38]
push str.SecFetchMode
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x38]
call fcn.0042e6a6
test al, al
jne 0x4559fb
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x84]
call fcn.0054f7db
lea eax, [ebp - 0x3c]
push 0x5cbe8c
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x3c]
call fcn.0042e6a6
test al, al
jne 0x455a38
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x88]
call fcn.0054f7db
lea eax, [ebp - 0x40]
push str.MoreHeaders
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e24d
lea ecx, [ebp - 0x40]
call fcn.0042e6a6
test al, al
jne 0x455a8a
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x8c]
call fcn.0054f7db
push 0x5bcd0c
push str._r_n
lea ecx, [esi + 0x8c]
call fcn.0054c1e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.Cache
push eax
call fcn.0042e24d
lea ecx, [ebp - 0x1c]
call fcn.0042e6a6
test al, al
jne 0x455b38
push dword [esi + 0x98]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push ebx
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e064
push dword [esi + 0xa4]
mov dword [esi + 0x98], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push dword [esi + 0xa0]
push str.CacheSize
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e09e
mov dword [esi + 0xa0], eax
lea eax, [ebp + 0xc]
push str.CacheFile
push eax
lea ecx, [ebp - 0x1c]
mov dword [esi + 0xa4], edx
call fcn.0042e24d
lea ecx, [ebp + 0xc]
call fcn.0042e6a6
test al, al
jne 0x455b38
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0x9c]
call fcn.0054f7db
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.Substreams
push eax
call fcn.0042e24d
lea ecx, [ebp - 0x18]
call fcn.0042e6a6
test al, al
jne 0x455ca8
push dword [esi + 0xc0]
lea ebx, [esi + 0xc0]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x18]
push str.SourceType
push eax
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
push dword [esi + 0xc4]
mov dword [ebx], eax
lea ebx, [esi + 0xc4]
lea eax, [ebp - 0x50]
push str.SourceInitType
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e294
mov ecx, eax
call fcn.0042e047
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push str.SourceBaseURL
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e24d
lea ecx, [ebp - 0x40]
call fcn.0042e6a6
test al, al
jne 0x455be2
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0xc8]
call fcn.0054f7db
lea eax, [ebp - 0x3c]
push str.CacheFolder
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e24d
lea ecx, [ebp - 0x3c]
call fcn.0042e6a6
test al, al
jne 0x455c1f
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042e322
mov ecx, eax
call fcn.0042e61b
push eax
lea ecx, [esi + 0xcc]
call fcn.0054f7db
mov ebx, str.Substream
lea eax, [ebp + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.0042e24d
lea ecx, [ebp + 0xc]
call fcn.0042e230
test eax, eax
je 0x455ca8
lea edi, [esi + 0xa8]
push 0x80
call fcn.0054fc33
pop ecx
mov dword [ebp - 0x50], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x455c65
mov ecx, eax
call fcn.00441008
mov dword [ebp - 0x20], eax
jmp 0x455c69
and dword [ebp - 0x20], 0
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
call fcn.00455d40
push dword [ebp - 0x20]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call fcn.0054ea28
lea eax, [ebp - 0x38]
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.0042e2db
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0042e230
test eax, eax
jne 0x455c43
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x5bc654
push eax
call fcn.0042e24d
lea ecx, [ebp - 0x44]
call fcn.0042e6a6
test al, al
jne 0x455d13
cmp dword [esi + 0x114], 0
jne 0x455d01
push 0xb8
call fcn.0054fc33
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x455cf5
mov ecx, edi
call fcn.00445949
mov dword [edi], 0x586838
jmp 0x455cf7
xor edi, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x114], edi
push dword [esi + 0x114]
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.00456069
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.00421e06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8