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

Disassembly:
mov eax, 0x4c8180
call fcn.00494300
sub esp, 0x4c
mov eax, dword [0x500810]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push dword [edi + 8]
mov ecx, ebx
push str.Flags
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fa7
push dword [edi + 0xc]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.MediaType
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push dword [edi + 0x10]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.FileType
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push dword [edi + 0x14]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.Format
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push dword [edi + 0x2c]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x28]
push str.Size
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [edi + 0x1c]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x18]
push str.StartTimeInUs
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [edi + 0x24]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x20]
push str.DurationInUs
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [edi + 0x30]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.BitRate
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [edi + 0x34]
mov esi, str.Streams
lea eax, [ebp + 0xc]
push esi
push eax
mov ecx, ebx
call fcn.00423216
mov ecx, eax
call fcn.00422f95
cmp dword [edi + 0x4c], 0
jle 0x42e279
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, ebx
call fcn.004233a2
lea ecx, [ebp - 0x14]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0xcc]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedVideoStream
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [edi + 0xd0]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedAudioStream
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [edi + 0xd4]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedSubtitleStream
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [edi + 0xd8]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedCaptionStream
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
and dword [ebp + 8], 0
cmp dword [edi + 0x4c], 0
jle 0x42e279
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp + 8]
push str.Stream
mov esi, dword [eax + ecx*4]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004233a2
lea ecx, [ebp + 0xc]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [esi]
lea eax, [ebp - 0x20]
lea ecx, [ebp + 0xc]
push str.Flags
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fa7
push dword [esi + 4]
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push str.Index
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp + 0xc]
push str.MediaType
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push dword [esi + 0xc]
lea eax, [ebp - 0x30]
lea ecx, [ebp + 0xc]
push str.Codec
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push dword [esi + 0x2c]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push dword [esi + 0x28]
push str.StartTimeInUs
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [esi + 0x34]
lea eax, [ebp - 0x38]
lea ecx, [ebp + 0xc]
push dword [esi + 0x30]
push str.DurationInUs
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [esi + 0x48]
lea eax, [ebp - 0x3c]
lea ecx, [ebp + 0xc]
push str.BitRate
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [esi + 0x3c]
lea eax, [ebp - 0x40]
lea ecx, [ebp + 0xc]
push dword [esi + 0x38]
push str.Frames
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422fb9
push dword [esi + 0x4c]
lea eax, [ebp - 0x44]
lea ecx, [ebp + 0xc]
push str.Language
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
push 0x4ebec4
push dword [esi + 8]
call fcn.004943b5
pop ecx
pop ecx
test eax, eax
jne 0x42e1fd
push eax
push str._dx_d
push dword [esi + 0x58]
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push eax
call fcn.004269df
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x48]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
push str.Resolution
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004b40f1
push 0x4f975c
lea eax, [ebp - 0x28]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push eax
call fcn.00437269
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x4c]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push str.Aspect
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004b40f1
push 0x4f973c
lea eax, [ebp - 0x24]
push dword [esi + 0x68]
push dword [esi + 0x64]
push eax
call fcn.00437269
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x50]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push str.FrameRate
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f83
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004b40f1
jmp 0x42e26a
push 0x4ebeb8
push dword [esi + 8]
call fcn.004943b5
pop ecx
test eax, eax
pop ecx
jne 0x42e248
push dword [esi + 0x70]
lea eax, [ebp - 0x54]
lea ecx, [ebp + 0xc]
push str.Channels
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [esi + 0x74]
lea eax, [ebp - 0x58]
lea ecx, [ebp + 0xc]
push str.SampleRate
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
jmp 0x42e26a
push 0x4f96fc
push dword [esi + 8]
call fcn.004943b5
pop ecx
test eax, eax
pop ecx
je 0x42e26a
push 0x4f96ec
push dword [esi + 8]
call fcn.004943b5
pop ecx
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x4c]
jl 0x42dffb
lea ecx, [edi + 0x58]
call fcn.0042e44b
test eax, eax
jne 0x42e42e
lea eax, [ebp + 8]
push str.MetaData
push eax
mov ecx, ebx
call fcn.004233a2
lea ecx, [ebp + 8]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x68]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push str.Track
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
push dword [edi + 0x6c]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push str.Year
push eax
call fcn.00423216
mov ecx, eax
call fcn.00422f95
lea eax, [ebp - 0x18]
push str.Title
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x18]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x5c]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
lea eax, [ebp - 0x1c]
push str.Author
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x1c]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x60]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
lea eax, [ebp - 0x20]
push str.Album
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x20]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x64]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
lea eax, [ebp - 0x24]
push str.Genre
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x24]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x70]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
lea eax, [ebp - 0x28]
push str.Copyright
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x28]
call fcn.004230d0
test al, al
jne 0x42e407
push dword [edi + 0x74]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
lea eax, [ebp - 0x2c]
push str.Comment
push eax
lea ecx, [ebp + 8]
call fcn.004233a2
lea ecx, [ebp - 0x2c]
call fcn.004230d0
test al, al
je 0x42e418
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b40f1
or eax, 0xffffffff
jmp 0x42e43c
push dword [edi + 0x78]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004231bd
mov ecx, eax
call fcn.00423501
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b40f1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret