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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x5ab4
call fcn.10013c20
mov eax, dword [0x1001f050]
xor eax, esp
mov dword [esp + 0x5ab0], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push str._MPDecSrc_:_WGetMediaFileInfoEx_Begin:_ls
mov dword [esp + 0x60], ebx
call sub.WS_Log.DLL_Ordinal_2
add esp, 8
push 0x10021220
mov dword [esp + 0x6c], vtable.CSingleLock.0
mov dword [esp + 0x70], 0x10021220
mov dword [esp + 0x74], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.10007dc0
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x46c2]
push ecx
mov word [esp + 0x46c4], ax
call fcn.1000ddd0
add esp, 0xc
xor edx, edx
push 0x1fc
push edx
lea eax, [esp + 0x3cc2]
push eax
mov word [esp + 0x3cc4], dx
call fcn.1000ddd0
add esp, 0xc
test ebx, ebx
je 0x100014be
lea ecx, [esp + 0x3cb8]
test ecx, ecx
je 0x100014be
push 0x2e
push ebx
call fcn.1000a200
add esp, 8
test eax, eax
je 0x100014be
movzx ecx, word [eax + 2]
add eax, 2
xor edx, edx
test cx, cx
je 0x100014b4
lea ebx, [ebx]
add eax, 2
mov word [esp + edx*2 + 0x3cb8], cx
movzx ecx, word [eax]
inc edx
test cx, cx
jne 0x100014a0
xor eax, eax
mov word [esp + edx*2 + 0x3cb8], ax
xor edx, edx
cmp word [esp + 0x3cb8], dx
je 0x100014f9
lea eax, [esp + 0x3cb8]
movzx ecx, word [eax]
cmp cx, 0x61
jb 0x100014e6
cmp cx, 0x7a
ja 0x100014e6
add ecx, 0xffffffe0
mov word [eax], cx
inc edx
cmp word [esp + edx*2 + 0x3cb8], 0
lea eax, [esp + edx*2 + 0x3cb8]
jne 0x100014d1
lea eax, [esp + 0x3cb8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001503
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
sub eax, edx
push 0
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x46c4]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x3ccc]
push eax
push 0
push 0
call esi
mov ecx, 0x10019cdc
lea eax, [esp + 0x46b8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001565
test dl, dl
je 0x10001561
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001565
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001545
xor eax, eax
jmp 0x1000156a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10001690
lea eax, [esp + 0x3cb8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001580
push 0
sub eax, edx
push 0
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x46c4]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x3ccc]
push eax
push 0
push 0
call esi
mov ecx, 0x10019ce0
lea eax, [esp + 0x46b8]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100015e0
test dl, dl
je 0x100015dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100015e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100015c0
xor eax, eax
jmp 0x100015e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10001690
call sub.MediaInfo.dll_MFICreate
mov edi, eax
mov dword [esp + 0x3c], edi
test ebx, ebx
jne 0x10001606
mov dword [esp + 0x30], 0x10019c80
jmp 0x10001644
mov eax, ebx
lea edx, [eax + 2]
jmp 0x10001610
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001610
push 0
sub eax, edx
push 0
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x46c4]
push edx
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
lea eax, [esp + 0x46b8]
mov dword [esp + 0x30], eax
push 0x7ff
lea ecx, [esp + 0x3ebd]
push 0
push ecx
mov byte [esp + 0x3ec4], 0
call fcn.1000ddd0
add esp, 0xc
push str._MPDecSrc_:_WGetMediaFileInfoEx_open_stream
call sub.WS_Log.DLL_Ordinal_2
add esp, 4
lea edx, [esp + 0x64]
push edx
push 0
push ebx
call sub.libMPKernal.dll_Ordinal_2115
mov esi, eax
add esp, 0xc
mov dword [esp + 0x54], esi
test esi, esi
jne 0x100016b4
push edi
call sub.MediaInfo.dll_MFIRelease
push 0x10021220
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5ab0]
xor ecx, esp
call fcn.10009c0d
mov esp, ebp
pop ebp
ret 0x10
push esi
call sub.libMPKernal.dll_Ordinal_2737
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
add esp, 4
push eax
push ecx
call fcn.10001030
xor ebx, ebx
push str._MPDecSrc_:_WGetMediaFileInfoEx_Get_MediaInfoLib
mov dword [esp + 0x5c], ebx
call sub.WS_Log.DLL_Ordinal_2
add esp, 0xc
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x56c2]
push eax
mov word [esp + 0x56c4], dx
call fcn.1000ddd0
add esp, 0xc
push 0x200
lea ecx, [esp + 0x56bc]
push ecx
call sub.WS_Log.DLL_Ordinal_341
lea edi, [esp + 0x56b8]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001720
mov ecx, 0xa
mov esi, str.WS_MediaInfoLib.dll
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x56b8]
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.CreatePubMediaInfoLib
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001765
cmp dword [ebp + 0x14], ebx
je 0x10001765
call eax
mov ebx, eax
mov dword [esp + 0x50], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1daa]
xor esi, esi
push ecx
mov dword [esp + 0x44], esi
mov word [esp + 0x1dac], ax
call fcn.1000ddd0
add esp, 0xc
push 0x1b10
lea edx, [esp + 0x1fac]
push esi
push edx
call fcn.1000ddd0
add esp, 0xc
test ebx, ebx
je 0x100017fb
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx]
mov edx, dword [eax]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0x1d18
lea ecx, [esp + 0x8c]
push ecx
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x1da8]
push eax
call fcn.1000e460
fild dword [esp + 0x23cc]
mov ecx, dword [esp + 0x48]
lea esi, [esp + 0x1dac]
fdiv qword [0x1001c6d0]
add esp, 0xc
mov dword [esp + 0x38], esi
fstp qword [ecx + 0x7668]
mov edx, dword [esp + 0x3c]
sub edx, esi
mov eax, esi
add edx, 0xd24
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001810
call sub.libMPKernal.dll_Ordinal_3038
mov edi, eax
push 0x10
mov dword [esp + 0x88], edi
call fcn.1000a136
mov ebx, eax
xor esi, esi
add esp, 4
push str._MPDecSrc_:_WGetMediaFileInfoEx_demux_open
mov dword [esp + 0x5c], ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], esi
call sub.WS_Log.DLL_Ordinal_2
mov eax, dword [esp + 0x58]
add esp, 4
push ebx
push edi
push esi
cmp dword [ebp + 0xc], esi
je 0x100018b5
mov edx, dword [esp + 0x3c]
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x23
push eax
call sub.libMPKernal.dll_Ordinal_1193
mov esi, eax
add esp, 0x24
mov dword [esp + 0x44], esi
test esi, esi
jne 0x10001b79
cmp dword [ebp + 0x10], eax
je 0x100018dc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
push ebx
push edi
push eax
mov eax, dword [esp + 0x60]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
push eax
call sub.libMPKernal.dll_Ordinal_1193
mov esi, eax
mov dword [esp + 0x68], esi
jmp 0x100018d1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
push eax
call sub.libMPKernal.dll_Ordinal_1193
mov esi, eax
mov dword [esp + 0x68], eax
add esp, 0x24
test esi, esi
jne 0x10001b79
mov ecx, dword [esp + 0x54]
push ecx
call sub.libMPKernal.dll_Ordinal_1531
mov ecx, dword [esp + 0x54]
add esp, 4
test ecx, ecx
je 0x10001b44
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x1da0]
push eax
call edx
lea edx, [esp + 0x1fa8]
lea esi, [esp + 0x3eb8]
call fcn.100010b0
movzx eax, byte [esp + 0x3ebb]
movzx ecx, byte [esp + 0x3eba]
movzx edx, byte [esp + 0x3eb9]
mov edi, dword [esp + 0x3c]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x3eb8]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
lea edx, [esp + 0x321c]
mov dword [edi], eax
call fcn.100010b0
push 1
push 1
push edi
call sub.MediaInfo.dll_MFIAddProgram
cmp dword [esp + 0x3218], 0
mov esi, eax
mov dword [esp + 0x48], esi
jne 0x10001990
cmp dword [esp + 0x342c], 0
jne 0x10001990
cmp dword [esp + 0x3428], 0
jne 0x10001990
cmp dword [esp + 0x3424], 0
je 0x10001a0a
movzx edx, byte [esp + 0x3ebb]
movzx eax, byte [esp + 0x3eba]
movzx ecx, byte [esp + 0x3eb9]
shl edx, 8
or edx, eax
movzx eax, byte [esp + 0x3eb8]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x3214]
shl edx, 8
or edx, eax
push edx
push ecx
push 3
push esi
call sub.MediaInfo.dll_MFIAddStream
mov edx, dword [esp + 0x342c]
mov dword [eax + 0x198], edx
mov ecx, dword [esp + 0x3428]
mov dword [eax + 0x1f4], ecx
fild dword [esp + 0x3218]
fdiv qword [0x1001c6d0]
fstp qword [eax + 0x200]
mov edx, dword [esp + 0x3424]
mov dword [eax + 0x1f0], edx
cmp dword [esp + 0x3864], 0
jne 0x10001a36
cmp dword [esp + 0x3854], 0
jne 0x10001a36
cmp dword [esp + 0x3850], 0
jne 0x10001a36
cmp dword [esp + 0x3860], 0
je 0x10001ae5
lea edx, [esp + 0x3648]
lea esi, [esp + 0x3eb8]
call fcn.100010b0
movzx eax, byte [esp + 0x3ebb]
movzx ecx, byte [esp + 0x3eba]
movzx edx, byte [esp + 0x3eb9]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x3eb8]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x3640]
shl eax, 8
or eax, ecx
push eax
mov eax, dword [esp + 0x4c]
push edx
push 2
push eax
call sub.MediaInfo.dll_MFIAddStream
mov ecx, dword [esp + 0x3864]
mov dword [eax + 0x198], ecx
mov edx, dword [esp + 0x3860]
mov dword [eax + 0x1b0], edx
fld qword [esp + 0x3858]
lea esi, [eax + 0x1a0]
fstp qword [eax + 0x1a8]
mov ecx, dword [esp + 0x3850]
mov dword [esi], ecx
mov edx, dword [esp + 0x3854]
lea edi, [eax + 0x1c8]
mov ecx, 0xa
mov dword [eax + 0x1a4], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
cmp dword [esi + 0x14], 0
jne 0x10001b22
cmp dword [esi + 0x18], 0
jne 0x10001b22
push edi
call sub.MediaInfo.dll_MFIRelease
push ebx
call fcn.1000a059
add esp, 4
lea ecx, [esp + 0x68]
call fcn.10001150
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5ab0]
xor ecx, esp
call fcn.10009c0d
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x68]
call fcn.10001150
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5ab0]
xor ecx, esp
call fcn.10009c0d
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.1000a059
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call sub.MediaInfo.dll_MFIRelease
lea ecx, [esp + 0x68]
call fcn.10001150
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5ab0]
xor ecx, esp
call fcn.10009c0d
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x3c]
push 1
push 1
push edi
call sub.MediaInfo.dll_MFIAddProgram
fld qword [edi + 0x7668]
mov dword [edi + 0x7674], 1
fstp qword [eax + 8]
push esi
mov dword [esp + 0x4c], eax
call sub.libMPKernal.dll_Ordinal_1253
fst qword [esp + 0x7c]
fcom qword [edi + 0x7668]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x10001bd4
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x1ab0], 0
jne 0x10001bd4
mov edx, dword [edi + 0x7678]
fst qword [edi + 0x7668]
fst qword [edx + 8]
sub esp, 8
fstp qword [esp]
push str._MPDecSrc_:_Mplayer_Get_ProgramInfo_dMediaLength___f__n
call sub.WS_Log.DLL_Ordinal_2
fld qword [0x1001c6c8]
fcomp qword [edi + 0x7668]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x10001c0d
fld qword [esp + 0x78]
mov eax, dword [edi + 0x7678]
fst qword [edi + 0x7668]
fstp qword [eax + 8]
push str._MPDecSrc_:_WGetMediaFileInfoEx_Get_Video_Streams
mov byte [esp + 0x47], 0
mov byte [esp + 0x46], 0
call sub.WS_Log.DLL_Ordinal_2
add esp, 4
add esi, 0x458
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], pe_nt_image_headers32
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100021eb
fld qword [0x1001c690]
mov esi, eax
fstp qword [esp + 0x68]
cmp dword [esi], 0
je 0x10001c6a
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x44]
push edx
push eax
call sub.libMPKernal.dll_Ordinal_1261
add esp, 8
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x68]
push ecx
push 8
push eax
call sub.libMPKernal.dll_Ordinal_2731
add esp, 0xc
cmp eax, 0xffffffff
je 0x10001c90
fld qword [esp + 0x68]
fstp dword [esi + 0x110]
mov ecx, dword [esp + 0x58]
push ecx
push esi
call sub.libMPKernal.dll_Ordinal_2999
mov eax, dword [esi + 8]
add esp, 8
cmp eax, 0x47504a4d
jne 0x10001cc8
cmp dword [esi + 0x118], 0
je 0x100021eb
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x11c], 0
je 0x100021eb
mov esi, edx
cmp dword [esi + 0x1dc], 0
je 0x10001cde
cmp dword [esi + 0x1e0], 0
jg 0x100021eb
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esi + 0x34]
push eax
push 2
push ecx
mov byte [esp + 0x53], 1
call sub.MediaInfo.dll_MFIAddStream
mov ebx, eax
mov eax, dword [esi + 0x168]
xor ecx, ecx
test eax, eax
je 0x10001d09
lea ecx, [eax + 0x10]
mov edx, dword [esi + 8]
push 0
push 0
push ecx
push edx
call sub.libMPKernal.dll_Ordinal_1507
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10001e41
push 0xfe
lea eax, [esp + 0x3abd]
push 0
push eax
mov byte [esp + 0x3ac4], 0
call fcn.1000ddd0
mov eax, dword [edi + 0x380]
add esp, 0xc
test eax, eax
je 0x10001d91
lea ecx, [esp + 0x3ab8]
push ecx
push 0x10019f14
push eax
call fcn.100011c0
add esp, 0xc
lea edx, [esp + 0x3ab8]
lea esi, [esp + 0x46b8]
call fcn.100010e0
lea edx, [ebx + 0x10]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x10001d80
mov eax, dword [edi + 0x384]
test eax, eax
je 0x10001e41
lea edx, [esp + 0x3ab8]
push edx
push str.ffmpeg
push eax
mov byte [esp + 0x3ac4], 0
call fcn.100011c0
add esp, 0xc
push 0xfe
lea eax, [esp + 0x3bbd]
push 0
push eax
mov byte [esp + 0x3bc4], 0
call fcn.1000ddd0
add esp, 0xc
lea ecx, [esp + 0x3bb8]
push ecx
lea edx, [esp + 0x3abc]
push 0x10019f20
push edx
call fcn.100011c0
add esp, 0xc
lea eax, [esp + 0x3ab8]
push eax
lea ecx, [esp + 0x3bbc]
push 0x10019f24
push ecx
call fcn.100011c0
add esp, 0xc
lea edx, [esp + 0x3ab8]
lea esi, [esp + 0x46b8]
call fcn.100010e0
lea edx, [ebx + 0x90]
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x10001e30
lea eax, [ebx + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, 0x10019f28
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10001e76
test dx, dx
je 0x10001e72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10001e76
add eax, 4
add ecx, 4
test dx, dx
jne 0x10001e50
xor eax, eax
jmp 0x10001e7b
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [esp + 0x30]
test eax, eax
jne 0x10001eef
movzx edx, byte [edi + 8]
mov al, byte [edi + 9]
mov cl, byte [edi + 0xa]
mov byte [esp + 0x5c], dl
movzx edx, byte [edi + 0xb]
mov byte [esp + 0x5f], dl
lea edx, [esp + 0x5c]
lea esi, [esp + 0x46b8]
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], cl
mov byte [esp + 0x60], 0
call fcn.100010e0
mov esi, dword [esp + 0x4c]
mov edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x10001ec0
mov ecx, ebx
sub ecx, esi
mov eax, esi
lea edx, [ecx + 0x90]
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x10001ee0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [ebx + 0x210], edx
mov dword [ebx + 0x214], edx
fld qword [eax + 0x7668]
fstp qword [ebx + 0x190]
cmp dword [ecx + 0x48], edx
jne 0x10001f20
mov dword [ebx + 0x1c4], 1
mov eax, dword [edi + 8]
cmp eax, 0x10000001
jne 0x10001f33
mov dword [ebx + 8], 0x3167706d
jmp 0x10001f61
cmp eax, 0x10000002
jne 0x10001f43
mov dword [ebx + 8], 0x3267706d
jmp 0x10001f61
cmp eax, 0x10000004
jne 0x10001f53
mov dword [ebx + 8], 0x3467706d
jmp 0x10001f61
cmp eax, 0x10000005
jne 0x10001f61
mov dword [ebx + 8], 0x34363248
mov dword [ebx + 0x1bc], 0x32315659
fld dword [edi + 0x104]
fst qword [ebx + 0x1a8]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x10001f9d
fldz
fcomp dword [edi + 0x18c]
fnstsw ax
test ah, 5
jp 0x10001f9d
fld dword [edi + 0x18c]
fstp qword [ebx + 0x1a8]
mov eax, dword [edi + 0x11c]
cmp eax, 0x1fa0
jge 0x100021eb
mov ecx, dword [edi + 0x118]
cmp ecx, 0x1fa0
jge 0x100021eb
cmp eax, 1
jle 0x100021eb
cmp ecx, 1
jle 0x100021eb
mov dword [ebx + 0x1a4], eax
mov eax, dword [edi + 0x118]
mov dword [ebx + 0x1a0], eax
cmp dword [ebp + 0x14], edx
je 0x10002017
mov edx, dword [esp + 0x30]
fld dword [edx + 0x10c]
push ecx
mov ecx, dword [ebx + 0x1a4]
fstp dword [esp]
lea esi, [ebx + 0x1a4]
push ecx
push eax
lea edi, [ebx + 0x1a0]
call fcn.100012a0
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x10002083
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x1da0]
push eax
call edx
mov eax, dword [esp + 0x3850]
test eax, eax
jle 0x10002083
mov ecx, dword [esp + 0x3854]
test ecx, ecx
jle 0x10002083
cmp eax, 0x7d0
jge 0x10002083
cmp ecx, 0x7d0
jge 0x10002083
mov eax, dword [esp + 0x3a7c]
mov ecx, dword [esp + 0x3a78]
push eax
mov eax, dword [ebx + 0x1a4]
lea esi, [ebx + 0x1a4]
lea edi, [ebx + 0x1a0]
push ecx
mov ecx, dword [edi]
call fcn.100013a0
mov edi, dword [esp + 0x38]
add esp, 8
mov eax, dword [ebx + 0x1a0]
mov edx, eax
and edx, reloc.WS_Log.DLL_Ordinal_1
jns 0x10002098
dec edx
or edx, 0xfffffffe
inc edx
je 0x100020a1
dec eax
mov dword [ebx + 0x1a0], eax
mov eax, dword [ebx + 0x1a4]
mov ecx, eax
and ecx, reloc.WS_Log.DLL_Ordinal_1
jns 0x100020b6
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x100020bf
dec eax
mov dword [ebx + 0x1a4], eax
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x100020d4
mov dword [ebx + 0x1b4], esi
mov dword [ebx + 0x1b8], esi
jmp 0x10002122
fld dword [edi + 0x10c]
fcomp qword [0x1001c6c0]
fnstsw ax
test ah, 0x41
jne 0x1000210a
fld dword [edi + 0x10c]
fmul qword [0x1001c6b8]
call fcn.100143c0
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1b8], 0x186a0
jmp 0x10002122
mov edx, dword [ebx + 0x1a0]
mov eax, dword [ebx + 0x1a4]
mov dword [ebx + 0x1b4], edx
mov dword [ebx + 0x1b8], eax
mov dword [ebx + 0x1c0], 0x18
fld dword [edi + 0x104]
fmul qword [ebx + 0x190]
call fcn.100143c0
mov dword [ebx + 0x1b0], eax
mov eax, dword [edi + 0x114]
cmp eax, esi
je 0x1000215c
lea ecx, [eax*8]
mov dword [ebx + 0x198], ecx
jmp 0x10002195
mov eax, dword [edi + 0x198]
cmp eax, esi
jne 0x1000218f
fild dword [ebx + 0x1a0]
fmul qword [ebx + 0x1a8]
fimul dword [ebx + 0x1a4]
fmul qword [0x1001c6b0]
fmul qword [0x1001c6a8]
fdiv qword [0x1001c6a0]
call fcn.100143c0
mov dword [ebx + 0x198], eax
lea eax, [ebx + 0x1c8]
lea edx, [ebx + 0x1a0]
mov edi, eax
mov esi, edx
mov edx, dword [edx]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x118]
mov dword [eax], esi
mov ecx, dword [ecx + 0x11c]
push ecx
mov dword [ebx + 0x1cc], ecx
mov ecx, dword [ebx + 0x1a4]
mov eax, esi
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
add ebx, 0x90
push ebx
push eax
push str.Video_Add_Stream:_Name:_ls_Description:_ls_width:_d_height:_d_src_width:_d_src_height:_d
call sub.WS_Log.DLL_Ordinal_2
add esp, 0x1c
add dword [esp + 0x38], 4
sub dword [esp + 0x34], 1
jne 0x10001c36
push str._MPDecSrc_:_WGetMediaFileInfoEx_Get_Audio_Streams
call sub.WS_Log.DLL_Ordinal_2
mov esi, dword [esp + 0x48]
lea ecx, [esi + 0x58]
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [edx]
test ebx, ebx
je 0x100024d4
mov eax, dword [ebx + 0x34]
push eax
push esi
call sub.libMPKernal.dll_Ordinal_1260
add esp, 8
cmp eax, 0xfffffffe
je 0x100024ed
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x34]
mov eax, dword [esp + 0x48]
push ecx
push edx
push 3
push eax
mov byte [esp + 0x52], 1
call sub.MediaInfo.dll_MFIAddStream
mov edi, eax
mov eax, dword [ebx + 0xc0]
xor ecx, ecx
test eax, eax
je 0x10002268
mov ecx, eax
push 0
push 0
push ecx
mov ecx, dword [ebx + 8]
push ecx
call sub.libMPKernal.dll_Ordinal_1505
mov esi, eax
add esp, 0x10
mov dword [esp + 0x4c], esi
test esi, esi
je 0x100023a4
push 0xfe
lea edx, [esp + 0x3abd]
push 0
push edx
mov byte [esp + 0x3ac4], 0
call fcn.1000ddd0
mov eax, dword [esi + 0x380]
add esp, 0xc
test eax, eax
je 0x100022f5
lea ecx, [esp + 0x3ab8]
push ecx
push 0x10019f14
push eax
call fcn.100011c0
add esp, 0xc
lea edx, [esp + 0x3ab8]
lea esi, [esp + 0x46b8]
call fcn.100010e0
lea edx, [edi + 0x10]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x100022e0
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 0x384]
test eax, eax
je 0x100023a4
lea edx, [esp + 0x3ab8]
push edx
push str.ffmpeg
push eax
mov byte [esp + 0x3ac4], 0
call fcn.100011c0
add esp, 0xc
push 0xfe
lea eax, [esp + 0x3bbd]
push 0
push eax
mov byte [esp + 0x3bc4], 0
call fcn.1000ddd0
add esp, 0xc
lea ecx, [esp + 0x3bb8]
push ecx
lea edx, [esp + 0x3abc]
push 0x10019f20
push edx
call fcn.100011c0
add esp, 0xc
lea eax, [esp + 0x3ab8]
push eax
lea ecx, [esp + 0x3bbc]
push 0x10019f24
push ecx
call fcn.100011c0
add esp, 0xc
lea edx, [esp + 0x3ab8]
lea esi, [esp + 0x46b8]
call fcn.100010e0
lea edx, [edi + 0x90]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x10002393
mov esi, dword [ebx + 0xd4]
test esi, esi
je 0x100023f4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100023b3
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x46bc]
push edx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x46b8]
lea ecx, [edi + 0x90]
movzx edx, word [eax]
mov word [ecx], dx
add eax, 2
add ecx, 2
test dx, dx
jne 0x100023e3
lea eax, [edi + 0x90]
push eax
lea ecx, [edi + 0x10]
push ecx
push str.Audio_Add_Stream:_Name:_ls_Description:_ls
call sub.WS_Log.DLL_Ordinal_2
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [edi + 0x210], ecx
mov dword [edi + 0x214], ecx
mov edx, dword [ebx + 8]
mov dword [edi + 8], edx
fld qword [eax + 0x7668]
mov edx, dword [esp + 0x50]
fstp qword [edi + 0x190]
add esp, 0xc
cmp dword [edx + 0x48], ecx
jne 0x10002443
mov dword [edi + 0x208], 1
mov dword [edi + 0x1f8], 0x10
mov edx, dword [ebx + 0x4c]
mov dword [edi + 0x1fc], edx
mov edx, dword [ebx + 0x44]
mov dword [edi + 0x1f4], edx
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x1f0], edx
fld qword [eax + 0x7668]
fstp qword [edi + 0x200]
mov eax, dword [ebx + 0xc0]
cmp eax, ecx
je 0x100024be
cmp dword [edi + 0x1fc], ecx
jne 0x1000248f
mov eax, dword [eax + 8]
mov dword [edi + 0x1fc], eax
cmp dword [edi + 0x1f4], ecx
jne 0x100024a7
mov edx, dword [ebx + 0xc0]
movzx eax, word [edx + 2]
mov dword [edi + 0x1f4], eax
cmp dword [edi + 0x1f0], ecx
jne 0x100024be
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ecx + 4]
mov dword [edi + 0x1f0], edx
mov eax, dword [edi + 0x1fc]
mov esi, dword [esp + 0x44]
add eax, eax
add eax, eax
add eax, eax
mov dword [edi + 0x198], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x38], 4
inc eax
cmp eax, 0x100
mov dword [esp + 0x34], eax
jl 0x1000221b
add esi, 0x858
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], pe_nt_image_headers32
nop
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx]
mov dword [esp + 0x4c], edi
test edi, edi
je 0x1000273a
movsx edx, byte [edi + 0x38]
push edx
call sub.libMPKernal.dll_Ordinal_2629
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
push eax
push ecx
push 0
push edx
call sub.MediaInfo.dll_MFIAddSubPicStream
mov ecx, dword [edi + 0x2c]
mov ebx, eax
test ecx, ecx
je 0x100025e2
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002550
sub eax, esi
inc eax
push eax
lea eax, [esp + 0x46bc]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x46b8]
lea edx, [ebx + 0xc]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x10002580
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x1000259f
mov ecx, 0x10019c84
jmp 0x100025cb
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100025a4
sub eax, esi
inc eax
push eax
lea edx, [esp + 0x46bc]
push edx
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x46b8]
lea edx, [ebx + 0x8c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x100025d1
cmp dword [esp + 0x38], 0
je 0x10002684
lea esi, [ebx + 0x8c]
mov edi, esi
add edi, 0xfffffffe
jmp 0x10002600
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10002600
mov eax, dword [0x1001a0b0]
mov dword [edi], eax
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002620
sub eax, edx
mov edx, dword [esp + 0x38]
inc eax
push eax
lea ecx, [esp + 0x46bc]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x46b8]
mov ecx, eax
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10002650
sub eax, ecx
add esi, 0xfffffffe
mov edx, ecx
mov edi, esi
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10002664
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x100026d1
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002690
sub eax, esi
inc eax
push eax
lea eax, [esp + 0x46bc]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x46b8]
lea ecx, [ebx + 0x8c]
movzx edx, word [eax]
mov word [ecx], dx
add eax, 2
add ecx, 2
test dx, dx
jne 0x100026c0
movsx eax, byte [edi + 0x38]
add eax, 0xffffff9f
cmp eax, 0x17
ja case.0x100026e4.99
movzx ecx, byte [eax + 0x10003008]
jmp dword [ecx*4 + 0x10002fe4]
mov dword [ebx + 8], 0x74786574
jmp 0x1000273a
mov dword [ebx + 8], 0x7874766d
jmp 0x1000273a
mov dword [ebx + 8], 0x20737361
jmp 0x1000273a
mov dword [ebx + 8], 0x62736276
jmp 0x1000273a
mov dword [ebx + 8], 0x62757378
jmp 0x1000273a
mov dword [ebx + 8], 0x20627664
jmp 0x1000273a
mov dword [ebx + 8], 0x74627664
jmp 0x1000273a
mov dword [ebx + 8], 0x73677068
jmp 0x1000273a
mov dword [ebx + 8], 0x20202020
add dword [esp + 0x30], 4
sub dword [esp + 0x34], 1
jne 0x10002500
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10002f3c
push str._MPDecSrc_:_Begin_use_Mediainfo_n
call sub.WS_Log.DLL_Ordinal_2
mov edx, dword [esi]
mov edx, dword [edx + 4]
add esp, 4
lea eax, [esp + 0x1da0]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x1fa8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002780
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
sub eax, edx
push 0
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x3ec4]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x1fbc]
push edx
push 0
push 0
call edi
movzx eax, byte [esp + 0x3ebb]
movzx ecx, byte [esp + 0x3eba]
movzx edx, byte [esp + 0x3eb9]
mov esi, dword [esp + 0x3c]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x3eb8]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [esi], eax
mov eax, 1
cmp dword [esi + 0x7674], eax
jne 0x10002f3c
cmp dword [esp + 0x23c8], eax
jne 0x10002f3c
mov ebx, dword [esi + 0x7678]
mov edx, dword [esp + 0x23c4]
mov dword [ebx + 0x10], edx
fild dword [esp + 0x23c4]
fld qword [0x1001c6c8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10002858
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10002848
mov eax, dword [eax + 0x198]
add eax, dword [esp + 0x23c4]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10002858
mov ecx, dword [eax + 0x198]
add dword [ebx + 0x10], ecx
fild dword [esp + 0x320c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x1000288e
fstp st(1)
sub esp, 8
fdiv qword [0x1001c6d0]
fst qword [ebx + 8]
fstp qword [esp]
push str.MPDecSrc_Use_Mediainfo_timelen_pProgramInfo_dMediaLength___f__n
call sub.WS_Log.DLL_Ordinal_2
fld qword [0x1001c6c8]
add esp, 0xc
jmp 0x10002890
fstp st(0)
fcom qword [ebx + 8]
fnstsw ax
test ah, 0x41
jne 0x100028e6
fcomp qword [esi + 0x7668]
fnstsw ax
test ah, 0x41
jne 0x100028e8
mov eax, dword [ebx + 0x10]
test eax, eax
jle 0x100028e8
fld qword [esp + 0x23b8]
lea edx, [eax + eax*2]
fmul qword [0x1001c6a8]
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
sub esp, 8
fdivp st(1)
fstp qword [esi + 0x7668]
fld qword [ebx + 8]
fstp qword [esp]
push str.MPDecSrc_Use_Mlayer_BitRate_to_get__timelen_pProgramInfo_dMediaLength___f__n
call sub.WS_Log.DLL_Ordinal_2
add esp, 0xc
jmp 0x100028e8
fstp st(0)
fld qword [esi + 0x7668]
fst qword [ebx + 8]
fldz
fld qword [esp + 0x78]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1000295b
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1000291c
fld qword [0x1001c6b0]
fmul st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x1000293a
fcom st(1)
fnstsw ax
test ah, 1
jne 0x1000295b
fld qword [0x1001c698]
fmul st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1000295d
jmp 0x1000293c
fstp st(1)
sub esp, 8
fst qword [ebx + 8]
fstp qword [esp]
push str.MPDecSrc_Use_Mlayer_timelen_pProgramInfo_dMediaLength___f__n
call sub.WS_Log.DLL_Ordinal_2
fld qword [esp + 0x84]
add esp, 0xc
jmp 0x1000295d
fstp st(1)
mov eax, dword [ebx + 0x10]
fstp qword [ebx + 8]
mov dword [esi + 0x7670], eax
cmp dword [ebx + 0x18], 1
jne 0x100029a1
cmp word [esp + 0x3430], 0
je 0x100029a1
mov ecx, dword [ebx + 0x20]
lea edx, [esp + 0x3430]
add ecx, 0x90
lea ebx, [ebx]
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
test ax, ax
jne 0x10002990
cmp dword [ebx + 0x14], 1
jne 0x100029ec
cmp word [esp + 0x3868], 0
je 0x100029ec
mov esi, dword [ebx + 0x1c]
lea eax, [esp + 0x3868]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x90]
jmp 0x100029d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100029d0
mov eax, dword [esp + 0x3ab0]
mov dword [esi + 0x228], eax
cmp dword [esp + 0x3218], 0
jne 0x10002a18
cmp dword [esp + 0x342c], 0
jne 0x10002a18
cmp dword [esp + 0x3428], 0
jne 0x10002a18
cmp dword [esp + 0x3424], 0
je 0x10002b83
cmp dword [ebx + 0x18], 1
jne 0x10002b83
mov esi, dword [ebx + 0x20]
lea eax, [esp + 0x321c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002a30
push 0
sub eax, edx
push 0
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x3ec4]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x3230]
push eax
push 0
push 0
call edi
cmp dword [esi + 8], 0x736d7264
je 0x10002a9d
movzx ecx, byte [esp + 0x3ebb]
movzx edx, byte [esp + 0x3eba]
movzx eax, byte [esp + 0x3eb9]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x3eb8]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
mov dword [esi + 8], ecx
jmp 0x10002aaf
push 0x736d7264
push str.audio_stream_info_is_DRM_dwFourCC:__ld____n
call fcn.1000a22c
add esp, 8
lea eax, [esp + 0x321c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002ac0
sub eax, edx
sar eax, 1
je 0x10002af0
lea eax, [esp + 0x321c]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x10]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002ae1
lea eax, [esp + 0x3430]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002b00
sub eax, edx
sar eax, 1
je 0x10002b33
lea eax, [esp + 0x3430]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x90]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002b24
mov eax, dword [esp + 0x342c]
test eax, eax
je 0x10002b44
mov dword [esi + 0x198], eax
mov eax, dword [esp + 0x3428]
test eax, eax
je 0x10002b55
mov dword [esi + 0x1f4], eax
cmp dword [esp + 0x3218], 0
je 0x10002b72
fild dword [esp + 0x3218]
fdiv qword [0x1001c6d0]
fstp qword [esi + 0x200]
mov eax, dword [esp + 0x3424]
test eax, eax
je 0x10002b83
mov dword [esi + 0x1f0], eax
cmp dword [esp + 0x3864], 0
jne 0x10002baf
cmp dword [esp + 0x3854], 0
jne 0x10002baf
cmp dword [esp + 0x3850], 0
jne 0x10002baf
cmp dword [esp + 0x3860], 0
je 0x10002f3c
cmp dword [ebx + 0x14], 1
jne 0x10002f3c
mov ebx, dword [ebx + 0x1c]
lea eax, [esp + 0x3648]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002bc6
push 0
sub eax, edx
push 0
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x3ec4]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x365c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebx + 8], 0x696d7264
je 0x10002c37
movzx eax, byte [esp + 0x3ebb]
movzx ecx, byte [esp + 0x3eba]
movzx edx, byte [esp + 0x3eb9]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x3eb8]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [ebx + 8], eax
jmp 0x10002c49
push 0x696d7264
push str.video_stream_info_is_DRM_dwFourCC:__ld____n
call fcn.1000a22c
add esp, 8
lea eax, [esp + 0x3648]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002c53
sub eax, edx
sar eax, 1
je 0x10002c83
lea eax, [esp + 0x3648]
mov edx, ebx
mov ecx, eax
sub edx, ecx
add edx, 0x10
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002c74
lea eax, [esp + 0x3868]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002c90
sub eax, edx
sar eax, 1
je 0x10002cc3
lea eax, [esp + 0x3868]
mov edx, ebx
mov ecx, eax
sub edx, ecx
add edx, 0x90
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002cb4
mov eax, dword [esp + 0x3864]
test eax, eax
je 0x10002cd4
mov dword [ebx + 0x198], eax
mov eax, dword [esp + 0x3860]
test eax, eax
je 0x10002ce5
mov dword [ebx + 0x1b0], eax
fld qword [esp + 0x3858]
fcom qword [0x1001c660]
fnstsw ax
test ah, 0x44
jnp 0x10002d77
mov ecx, str.m2ts
lea eax, [esp + 0x1fa8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002d2b
test dx, dx
je 0x10002d27
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002d2b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002d05
xor eax, eax
jmp 0x10002d30
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002d77
mov ecx, str.BDAV
lea eax, [esp + 0x21b0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002d66
test dx, dx
je 0x10002d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002d40
xor eax, eax
jmp 0x10002d6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002d77
fstp qword [ebx + 0x1a8]
jmp 0x10002d79
fstp st(0)
mov eax, dword [esp + 0x3850]
cmp eax, 0x7d0
jge 0x10002db1
mov ecx, dword [esp + 0x3854]
cmp ecx, 0x7d0
jge 0x10002db1
test eax, eax
je 0x10002db1
test ecx, ecx
je 0x10002db1
mov dword [ebx + 0x1a0], eax
mov edx, dword [esp + 0x3854]
mov dword [ebx + 0x1a4], edx
lea esi, [ebx + 0x1a0]
lea edi, [ebx + 0x1c8]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x3a78]
mov dword [ebx + 0x1dc], eax
mov ecx, dword [esp + 0x3a7c]
mov dword [ebx + 0x1e0], ecx
mov edx, dword [esp + 0x3a70]
mov dword [ebx + 0x224], edx
mov dword [ebx + 0x220], 0
cmp dword [esp + 0x3a78], 0
je 0x10002e53
cmp dword [esp + 0x3a7c], 0
je 0x10002e53
fild dword [esp + 0x3a78]
mov eax, dword [ebx + 0x1a4]
push ecx
mov ecx, dword [ebx + 0x1a0]
fidiv dword [esp + 0x3a80]
lea esi, [ebx + 0x1a4]
lea edi, [ebx + 0x1a0]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
push eax
push ecx
call fcn.100012a0
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1b8], eax
mov eax, dword [ebx + 0x1a0]
mov edx, eax
and edx, reloc.WS_Log.DLL_Ordinal_1
jns 0x10002e68
dec edx
or edx, 0xfffffffe
inc edx
je 0x10002e71
dec eax
mov dword [ebx + 0x1a0], eax
mov eax, dword [ebx + 0x1a4]
mov ecx, eax
and ecx, reloc.WS_Log.DLL_Ordinal_1
jns 0x10002e86
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x10002e8f
dec eax
mov dword [ebx + 0x1a4], eax
mov eax, dword [esp + 0x3ab0]
cmp eax, 0xb4
jne 0x10002ea9
mov eax, 0xfffffed4
mov dword [esp + 0x3ab0], eax
mov dword [ebx + 0x228], eax
mov eax, dword [esp + 0x3ab0]
cmp eax, 0x5a
je 0x10002ec2
cmp eax, 0x10e
jne 0x10002f3c
mov edx, dword [ebx + 0x1a4]
xor dword [ebx + 0x1a0], edx
mov eax, dword [ebx + 0x1a0]
xor dword [ebx + 0x1a4], eax
mov eax, dword [ebx + 0x1a4]
xor dword [ebx + 0x1a0], eax
mov eax, dword [ebx + 0x1cc]
xor dword [ebx + 0x1c8], eax
mov eax, dword [ebx + 0x1c8]
xor dword [ebx + 0x1cc], eax
mov eax, dword [ebx + 0x1cc]
xor dword [ebx + 0x1c8], eax
mov ecx, dword [ebx + 0x1e0]
xor dword [ebx + 0x1dc], ecx
xor eax, eax
mov dword [ebx + 0x1b8], eax
mov dword [ebx + 0x1b4], eax
mov eax, dword [ebx + 0x1dc]
xor dword [ebx + 0x1e0], eax
mov eax, dword [ebx + 0x1e0]
xor dword [ebx + 0x1dc], eax
push str._MPDecSrc_:_WGetMediaFileInfoEx_Get_Streams_End
call sub.WS_Log.DLL_Ordinal_2
mov ecx, dword [esp + 0x54]
add esp, 4
test ecx, ecx
je 0x10002f5a
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
mov ecx, dword [esp + 0x44]
push ecx
call sub.libMPKernal.dll_Ordinal_1524
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call sub.libMPKernal.dll_Ordinal_1531
add esp, 4
cmp byte [esp + 0x43], 0
jne 0x10002f90
cmp byte [esp + 0x42], 0
jne 0x10002f90
mov eax, dword [esp + 0x3c]
push eax
call sub.MediaInfo.dll_MFIRelease
xor esi, esi
jmp 0x10002f94
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
push ecx
call sub.libMPKernal.dll_Ordinal_3053
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.1000a059
add esp, 4
push str._MPDecSrc_:_WGetMediaFileInfoEx_End
call sub.WS_Log.DLL_Ordinal_2
add esp, 4
push 0x10021220
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x5abc]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10009c0d
mov esp, ebp
pop ebp
ret 0x10