Function at 0x466800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x521da0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], ebx
cmp edi, eax
jb 0x46687b
call fcn.00496353
mov edx, dword [esi + 0xc]
push 0xffffffffffffffff
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.004075f0
mov ebp, 1
cmp dword [esi + 0x38], ebp
jne 0x4668bc
cmp dword [esp + 0x30], 8
jb 0x4668b5
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00485196
add esp, 4
xor eax, eax
jmp 0x4669ef
lea edi, [esi + 0x18]
push edi
push 0x4d58e0
push ebp
push ebx
push 0x4d5720
call dword [0x4ce5d4]
mov eax, dword [edi]
cmp eax, ebx
jne 0x466902
push ebx
push ebx
push str.DirectShow
call fcn.0048fd9b
cmp dword [esp + 0x30], 8
mov dword [esi + 0x38], ebp
jb 0x4668b5
mov edx, dword [esp + 0x1c]
push edx
call fcn.00485196
add esp, 4
xor eax, eax
jmp 0x4669ef
cmp dword [esp + 0x30], 8
mov ecx, dword [esp + 0x1c]
jae 0x466911
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebp, [esi + 0x1c]
push ebp
push 0x4d5770
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x28]
push edx
push 0x4d5890
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebx, [esi + 0x24]
push ebx
push 0x4d57a0
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0x20]
push edi
push 0x4d57b0
push eax
call edx
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0x46000000
push eax
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov edi, dword [edi]
mov eax, dword [edi]
mov eax, dword [eax + 0x9c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push edi
call eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x4669c3
mov edx, dword [esi + 0x3c]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push edx
push ebx
call eax
mov ebp, dword [ebp]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x1c]
push ebp
call edx
cmp dword [esp + 0x30], 8
mov dword [esi + 0x30], 1
jb 0x4669ea
mov eax, dword [esp + 0x1c]
push eax
call fcn.00485196
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00496795
add esp, 0x30
ret 0x18