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

Disassembly:
mov eax, 0x4c893e
call fcn.00494678
sub esp, 0x54
mov eax, dword [0x5005b8]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
xor esi, esi
lea ecx, [ebp + 8]
push dword [edi + 8]
mov dword [ebp - 4], esi
push str.Flags
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230eb
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, 0x504be0
cmp dword [eax], 2
jge 0x43199c
push esi
lea eax, [ebp + 0xc]
push str.MediaType
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0043721e
pop ecx
pop ecx
push eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.004af93d
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004af7f6
push esi
lea eax, [ebp + 0xc]
push str.FileType
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
jmp 0x4319e0
push ebx
lea eax, [ebp + 0xc]
push str.MediaType
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [edi + 0xc]
call fcn.004af98d
push ebx
lea eax, [ebp + 0xc]
push str.FileType
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [edi + 0x10]
call fcn.004af98d
push ebx
lea eax, [ebp + 0xc]
push str.Format
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [edi + 0x14]
call fcn.004af98d
push dword [edi + 0x2c]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push dword [edi + 0x28]
push str.Size
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
push dword [edi + 0x1c]
mov dword [edi + 0x28], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push dword [edi + 0x18]
mov dword [edi + 0x2c], edx
push str.StartTimeInUs
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
push dword [edi + 0x24]
mov dword [edi + 0x18], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push dword [edi + 0x20]
mov dword [edi + 0x1c], edx
push str.DurationInUs
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
push dword [edi + 0x30]
mov dword [edi + 0x20], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push str.BitRate
push eax
mov dword [edi + 0x24], edx
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [edi + 0x34]
mov dword [edi + 0x30], eax
mov esi, str.Streams
lea eax, [ebp + 0xc]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.0042327b
lea ecx, [ebp - 0x18]
call fcn.004230b2
test al, al
jne 0x431e8d
push dword [edi + 0xcc]
lea esi, [edi + 0xcc]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push str.SelectedVideoStream
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [edi + 0xd0]
mov dword [esi], eax
lea esi, [edi + 0xd0]
lea eax, [ebp - 0x28]
push str.SelectedAudioStream
push eax
lea ecx, [ebp - 0x18]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [edi + 0xd4]
mov dword [esi], eax
lea esi, [edi + 0xd4]
lea eax, [ebp - 0x28]
push str.SelectedSubtitleStream
push eax
lea ecx, [ebp - 0x18]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [edi + 0xd8]
mov dword [esi], eax
lea esi, [edi + 0xd8]
lea eax, [ebp - 0x28]
push str.SelectedCaptionStream
push eax
lea ecx, [ebp - 0x18]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
mov dword [esi], eax
lea eax, [ebp + 0xc]
push str.Stream
push eax
lea ecx, [ebp - 0x18]
call fcn.0042327b
lea ecx, [ebp + 0xc]
call fcn.0042325e
test eax, eax
je 0x431e8d
push 0x88
call fcn.004afdca
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x431ba2
mov ecx, eax
call fcn.0043206a
mov esi, eax
jmp 0x431ba4
xor esi, esi
push dword [esi]
and byte [ebp - 4], 0
lea eax, [ebp - 0x20]
lea ecx, [ebp + 0xc]
push str.Flags
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230eb
push dword [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push str.Index
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 2
jge 0x431c2b
push 0
lea eax, [ebp - 0x2c]
push str.MediaType
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043721e
pop ecx
pop ecx
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 3
call fcn.004af93d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004af7f6
jmp 0x431c4d
push ebx
lea eax, [ebp - 0x30]
push str.MediaType
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [esi + 8]
call fcn.004af98d
push ebx
lea eax, [ebp - 0x34]
push str.Codec
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [esi + 0xc]
call fcn.004af98d
push dword [esi + 0x2c]
lea eax, [ebp - 0x38]
lea ecx, [ebp + 0xc]
push dword [esi + 0x28]
push str.StartTimeInUs
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
push dword [esi + 0x34]
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp + 0xc]
push dword [esi + 0x30]
mov dword [esi + 0x2c], edx
push str.DurationInUs
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
push dword [esi + 0x48]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x40]
lea ecx, [ebp + 0xc]
push str.BitRate
push eax
mov dword [esi + 0x34], edx
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [esi + 0x3c]
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x44]
lea ecx, [ebp + 0xc]
push dword [esi + 0x38]
push str.Frames
push eax
call fcn.004232c2
mov ecx, eax
call fcn.00423108
mov dword [esi + 0x38], eax
push ebx
lea eax, [ebp - 0x48]
push str.Language
push eax
lea ecx, [ebp + 0xc]
mov dword [esi + 0x3c], edx
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [esi + 0x4c]
call fcn.004af98d
push 0x4ebc7c
push dword [esi + 8]
call fcn.00494735
pop ecx
test eax, eax
pop ecx
jne 0x431df2
push ebx
lea eax, [ebp - 0x4c]
push str.Resolution
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [ebp - 0x14]
call fcn.004af98d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x431d70
push str._dx_d
push eax
call fcn.00426bea
pop ecx
mov dword [esi + 0x54], eax
pop ecx
mov dword [esi + 0x58], edx
push ebx
lea eax, [ebp - 0x50]
push str.Aspect
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [ebp - 0x14]
call fcn.004af98d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x431dae
push 0x4f9994
push eax
call fcn.0043739a
pop ecx
mov dword [esi + 0x5c], eax
pop ecx
mov dword [esi + 0x60], edx
push ebx
lea eax, [ebp - 0x54]
push str.FrameRate
push eax
lea ecx, [ebp + 0xc]
call fcn.004232c2
mov ecx, eax
call fcn.004230ba
push eax
lea ecx, [ebp - 0x14]
call fcn.004af98d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x431e65
push 0x4f9974
push eax
call fcn.0043739a
pop ecx
mov dword [esi + 0x64], eax
pop ecx
mov dword [esi + 0x68], edx
jmp 0x431e65
push 0x4ebc70
push dword [esi + 8]
call fcn.00494735
pop ecx
test eax, eax
pop ecx
jne 0x431e43
push dword [esi + 0x70]
lea eax, [ebp - 0x58]
lea ecx, [ebp + 0xc]
push str.Channels
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [esi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp + 0xc]
push str.SampleRate
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
mov dword [esi + 0x74], eax
jmp 0x431e65
push str.subtitle
push dword [esi + 8]
call fcn.00494735
pop ecx
test eax, eax
pop ecx
je 0x431e65
push str.caption
push dword [esi + 8]
call fcn.00494735
pop ecx
pop ecx
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x44]
push esi
push eax
call fcn.004aedd4
lea eax, [ebp - 0x60]
push str.Stream
push eax
lea ecx, [ebp + 0xc]
call fcn.00423309
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x431b71
lea eax, [ebp - 0x10]
push str.MetaData
push eax
lea ecx, [ebp + 8]
call fcn.0042327b
lea ecx, [ebp - 0x10]
call fcn.004230b2
test al, al
jne 0x432046
push dword [edi + 0x68]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10]
push str.Track
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
push dword [edi + 0x6c]
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10]
push str.Year
push eax
call fcn.004232c2
mov ecx, eax
call fcn.004230ce
mov dword [edi + 0x6c], eax
lea eax, [ebp + 0x10]
push str.Title
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp + 0x10]
call fcn.004230b2
test al, al
jne 0x431f24
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp + 0x10]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x5c]
call fcn.004af98d
lea eax, [ebp + 0xc]
push str.Author
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp + 0xc]
call fcn.004230b2
test al, al
jne 0x431f5e
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x60]
call fcn.004af98d
lea eax, [ebp - 0x1c]
push str.Album
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp - 0x1c]
call fcn.004230b2
test al, al
jne 0x431f98
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x64]
call fcn.004af98d
lea eax, [ebp - 0x20]
push str.Genre
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp - 0x20]
call fcn.004230b2
test al, al
jne 0x431fd2
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x70]
call fcn.004af98d
lea eax, [ebp - 0x24]
push str.Copyright
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp - 0x24]
call fcn.004230b2
test al, al
jne 0x43200c
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x74]
call fcn.004af98d
lea eax, [ebp - 0x28]
push str.Comment
push eax
lea ecx, [ebp - 0x10]
call fcn.0042327b
lea ecx, [ebp - 0x28]
call fcn.004230b2
test al, al
jne 0x432046
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00423350
mov ecx, eax
call fcn.0042364c
push eax
lea ecx, [edi + 0x78]
call fcn.004af98d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af7f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret