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

Disassembly:
mov eax, 0x4c8070
call fcn.00494248
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.00423163
mov ecx, eax
call fcn.00422f05
push dword [edi + 0xc]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.MediaType
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push dword [edi + 0x10]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.FileType
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push dword [edi + 0x14]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.Format
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push dword [edi + 0x2c]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x28]
push str.Size
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [edi + 0x1c]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x18]
push str.StartTimeInUs
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [edi + 0x24]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [edi + 0x20]
push str.DurationInUs
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [edi + 0x30]
lea eax, [ebp + 0xc]
mov ecx, ebx
push str.BitRate
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [edi + 0x34]
mov esi, str.Streams
lea eax, [ebp + 0xc]
push esi
push eax
mov ecx, ebx
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
cmp dword [edi + 0x4c], 0
jle 0x42e1c9
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, ebx
call fcn.004232ef
lea ecx, [ebp - 0x14]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0xcc]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedVideoStream
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [edi + 0xd0]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedAudioStream
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [edi + 0xd4]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedSubtitleStream
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [edi + 0xd8]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.SelectedCaptionStream
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
and dword [ebp + 8], 0
cmp dword [edi + 0x4c], 0
jle 0x42e1c9
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.004232ef
lea ecx, [ebp + 0xc]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [esi]
lea eax, [ebp - 0x20]
lea ecx, [ebp + 0xc]
push str.Flags
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f05
push dword [esi + 4]
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push str.Index
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp + 0xc]
push str.MediaType
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push dword [esi + 0xc]
lea eax, [ebp - 0x30]
lea ecx, [ebp + 0xc]
push str.Codec
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push dword [esi + 0x2c]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push dword [esi + 0x28]
push str.StartTimeInUs
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [esi + 0x34]
lea eax, [ebp - 0x38]
lea ecx, [ebp + 0xc]
push dword [esi + 0x30]
push str.DurationInUs
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [esi + 0x48]
lea eax, [ebp - 0x3c]
lea ecx, [ebp + 0xc]
push str.BitRate
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [esi + 0x3c]
lea eax, [ebp - 0x40]
lea ecx, [ebp + 0xc]
push dword [esi + 0x38]
push str.Frames
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422f17
push dword [esi + 0x4c]
lea eax, [ebp - 0x44]
lea ecx, [ebp + 0xc]
push str.Language
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ee1
push 0x4ebec4
push dword [esi + 8]
call fcn.00494305
pop ecx
pop ecx
test eax, eax
jne 0x42e14d
push eax
push str._dx_d
push dword [esi + 0x58]
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push eax
call fcn.00426925
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.00423163
mov ecx, eax
call fcn.00422ee1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004b4041
push 0x4f975c
lea eax, [ebp - 0x28]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push eax
call fcn.00437193
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.00423163
mov ecx, eax
call fcn.00422ee1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004b4041
push 0x4f973c
lea eax, [ebp - 0x24]
push dword [esi + 0x68]
push dword [esi + 0x64]
push eax
call fcn.00437193
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.00423163
mov ecx, eax
call fcn.00422ee1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004b4041
jmp 0x42e1ba
push 0x4ebeb8
push dword [esi + 8]
call fcn.00494305
pop ecx
test eax, eax
pop ecx
jne 0x42e198
push dword [esi + 0x70]
lea eax, [ebp - 0x54]
lea ecx, [ebp + 0xc]
push str.Channels
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [esi + 0x74]
lea eax, [ebp - 0x58]
lea ecx, [ebp + 0xc]
push str.SampleRate
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
jmp 0x42e1ba
push 0x4f96fc
push dword [esi + 8]
call fcn.00494305
pop ecx
test eax, eax
pop ecx
je 0x42e1ba
push 0x4f96ec
push dword [esi + 8]
call fcn.00494305
pop ecx
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x4c]
jl 0x42df4b
lea ecx, [edi + 0x58]
call fcn.0042e39b
test eax, eax
jne 0x42e37e
lea eax, [ebp + 8]
push str.MetaData
push eax
mov ecx, ebx
call fcn.004232ef
lea ecx, [ebp + 8]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x68]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push str.Track
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
push dword [edi + 0x6c]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 8]
push str.Year
push eax
call fcn.00423163
mov ecx, eax
call fcn.00422ef3
lea eax, [ebp - 0x18]
push str.Title
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x18]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x5c]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
lea eax, [ebp - 0x1c]
push str.Author
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x1c]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x60]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
lea eax, [ebp - 0x20]
push str.Album
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x20]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x64]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
lea eax, [ebp - 0x24]
push str.Genre
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x24]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x70]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
lea eax, [ebp - 0x28]
push str.Copyright
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x28]
call fcn.0042301d
test al, al
jne 0x42e357
push dword [edi + 0x74]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
lea eax, [ebp - 0x2c]
push str.Comment
push eax
lea ecx, [ebp + 8]
call fcn.004232ef
lea ecx, [ebp - 0x2c]
call fcn.0042301d
test al, al
je 0x42e368
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
or eax, 0xffffffff
jmp 0x42e38c
push dword [edi + 0x78]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042310a
mov ecx, eax
call fcn.0042344e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret