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

Disassembly:
mov eax, 0x4c80ae
call fcn.00494300
sub esp, 0x54
mov eax, dword [0x500810]
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.0042312f
mov ecx, eax
call fcn.00422f45
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, 0x504e54
cmp dword [eax], 2
jge 0x42cf2a
push esi
lea eax, [ebp + 0xc]
push str.MediaType
push eax
lea ecx, [ebp + 8]
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004371d5
pop ecx
pop ecx
push eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.004b4238
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004b40f1
push esi
lea eax, [ebp + 0xc]
push str.FileType
push eax
lea ecx, [ebp + 8]
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
jmp 0x42cf6e
push ebx
lea eax, [ebp + 0xc]
push str.MediaType
push eax
lea ecx, [ebp + 8]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [edi + 0xc]
call fcn.004b4288
push ebx
lea eax, [ebp + 0xc]
push str.FileType
push eax
lea ecx, [ebp + 8]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [edi + 0x10]
call fcn.004b4288
push ebx
lea eax, [ebp + 0xc]
push str.Format
push eax
lea ecx, [ebp + 8]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [edi + 0x14]
call fcn.004b4288
push dword [edi + 0x2c]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push dword [edi + 0x28]
push str.Size
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f28
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.0042312f
mov ecx, eax
call fcn.00422f28
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.004230e8
lea ecx, [ebp - 0x18]
call fcn.004230d0
test al, al
jne 0x42d41b
push dword [edi + 0xcc]
lea esi, [edi + 0xcc]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push str.SelectedVideoStream
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
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.0042312f
mov ecx, eax
call fcn.00422f28
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.0042312f
mov ecx, eax
call fcn.00422f28
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.0042312f
mov ecx, eax
call fcn.00422f28
mov dword [esi], eax
lea eax, [ebp + 0xc]
push str.Stream
push eax
lea ecx, [ebp - 0x18]
call fcn.004230e8
lea ecx, [ebp + 0xc]
call fcn.004230c3
test eax, eax
je 0x42d41b
push 0x88
call fcn.004b0219
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x42d130
mov ecx, eax
call fcn.0042d5f8
mov esi, eax
jmp 0x42d132
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.0042312f
mov ecx, eax
call fcn.00422f45
push dword [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push str.Index
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 2
jge 0x42d1b9
push 0
lea eax, [ebp - 0x2c]
push str.MediaType
push eax
lea ecx, [ebp + 0xc]
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004371d5
pop ecx
pop ecx
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 3
call fcn.004b4238
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004b40f1
jmp 0x42d1db
push ebx
lea eax, [ebp - 0x30]
push str.MediaType
push eax
lea ecx, [ebp + 0xc]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [esi + 8]
call fcn.004b4288
push ebx
lea eax, [ebp - 0x34]
push str.Codec
push eax
lea ecx, [ebp + 0xc]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [esi + 0xc]
call fcn.004b4288
push dword [esi + 0x2c]
lea eax, [ebp - 0x38]
lea ecx, [ebp + 0xc]
push dword [esi + 0x28]
push str.StartTimeInUs
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f28
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.0042312f
mov ecx, eax
call fcn.00422f62
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.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [esi + 0x4c]
call fcn.004b4288
push 0x4ebec4
push dword [esi + 8]
call fcn.004943b5
pop ecx
test eax, eax
pop ecx
jne 0x42d380
push ebx
lea eax, [ebp - 0x4c]
push str.Resolution
push eax
lea ecx, [ebp + 0xc]
call fcn.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [ebp - 0x14]
call fcn.004b4288
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42d2fe
push str._dx_d
push eax
call fcn.00426a5e
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.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [ebp - 0x14]
call fcn.004b4288
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42d33c
push 0x4f975c
push eax
call fcn.00437351
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.0042312f
mov ecx, eax
call fcn.00422f14
push eax
lea ecx, [ebp - 0x14]
call fcn.004b4288
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42d3f3
push 0x4f973c
push eax
call fcn.00437351
pop ecx
mov dword [esi + 0x64], eax
pop ecx
mov dword [esi + 0x68], edx
jmp 0x42d3f3
push 0x4ebeb8
push dword [esi + 8]
call fcn.004943b5
pop ecx
test eax, eax
pop ecx
jne 0x42d3d1
push dword [esi + 0x70]
lea eax, [ebp - 0x58]
lea ecx, [ebp + 0xc]
push str.Channels
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
push dword [esi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp + 0xc]
push str.SampleRate
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
mov dword [esi + 0x74], eax
jmp 0x42d3f3
push 0x4f96fc
push dword [esi + 8]
call fcn.004943b5
pop ecx
test eax, eax
pop ecx
je 0x42d3f3
push 0x4f96ec
push dword [esi + 8]
call fcn.004943b5
pop ecx
pop ecx
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x44]
push esi
push eax
call fcn.004aea54
lea eax, [ebp - 0x60]
push str.Stream
push eax
lea ecx, [ebp + 0xc]
call fcn.00423176
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x42d0ff
lea eax, [ebp - 0x10]
push str.MetaData
push eax
lea ecx, [ebp + 8]
call fcn.004230e8
lea ecx, [ebp - 0x10]
call fcn.004230d0
test al, al
jne 0x42d5d4
push dword [edi + 0x68]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10]
push str.Track
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
push dword [edi + 0x6c]
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10]
push str.Year
push eax
call fcn.0042312f
mov ecx, eax
call fcn.00422f28
mov dword [edi + 0x6c], eax
lea eax, [ebp + 0x10]
push str.Title
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp + 0x10]
call fcn.004230d0
test al, al
jne 0x42d4b2
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp + 0x10]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x5c]
call fcn.004b4288
lea eax, [ebp + 0xc]
push str.Author
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp + 0xc]
call fcn.004230d0
test al, al
jne 0x42d4ec
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x60]
call fcn.004b4288
lea eax, [ebp - 0x1c]
push str.Album
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp - 0x1c]
call fcn.004230d0
test al, al
jne 0x42d526
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x64]
call fcn.004b4288
lea eax, [ebp - 0x20]
push str.Genre
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp - 0x20]
call fcn.004230d0
test al, al
jne 0x42d560
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x70]
call fcn.004b4288
lea eax, [ebp - 0x24]
push str.Copyright
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp - 0x24]
call fcn.004230d0
test al, al
jne 0x42d59a
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x74]
call fcn.004b4288
lea eax, [ebp - 0x28]
push str.Comment
push eax
lea ecx, [ebp - 0x10]
call fcn.004230e8
lea ecx, [ebp - 0x28]
call fcn.004230d0
test al, al
jne 0x42d5d4
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.004231bd
mov ecx, eax
call fcn.004234b9
push eax
lea ecx, [edi + 0x78]
call fcn.004b4288
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b40f1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret