Function at 0x423640
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7db9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x522d80]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov ebp, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], edi
call fcn.0047f1c0
mov ecx, dword [0x4d6700]
mov eax, dword [0x4d6708]
mov edx, dword [0x4d6704]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x4d670c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4d6728]
mov dword [esp + 0x38], eax
mov eax, dword [0x4d6724]
mov dword [esp + 0x48], ecx
lea ecx, [esi + 0x1b0]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [0x4d6720]
xor ebx, ebx
mov dword [esp + 0x40], edx
mov edx, dword [0x4d672c]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ebx
test eax, 0xfffffffc
je 0x42372e
mov edx, dword [esi + 0x2bc]
push edx
call dword [0x4cf6f0]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x423736
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c8]
call fcn.004122b0
mov esi, dword [eax]
mov ecx, esi
call fcn.0040c600
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
jne 0x42375f
cmp dword [esi + 0x10], ebx
je 0x423767
cmp ecx, ebx
je 0x423767
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0x40
call fcn.00485f87
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x423789
mov eax, dword [esi + 4]
cdq
push 0xffffffffffffffff
push edx
mov edx, dword [esi]
push eax
push edx
call fcn.00418c00
jmp 0x42378b
xor eax, eax
push 0x1f0
mov dword [esi + 0xc], eax
call fcn.00485f87
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xcc], 1
cmp eax, ebx
je 0x4237c2
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x34]
push edx
push ecx
mov ecx, eax
call fcn.00418cf0
jmp 0x4237c4
xor eax, eax
mov dword [esi + 0x10], eax
cmp dword [esp + 0x14], ebx
mov byte [esp + 0xcc], 0
jl 0x423a20
cmp eax, ebx
je 0x423a2f
mov edx, dword [ebp + 0x189c]
mov eax, dword [edx + 4]
mov ebp, dword [0x4cf5d4]
mov dword [edi + 0x1e0], eax
lea edi, [esi + 0x18]
push edi
push 0x4d6900
push 1
push ebx
push 0x4d6740
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [edi]
cmp eax, ebx
jne 0x423824
push ebx
push ebx
push str.DirectShow
call fcn.00490b6f
jmp 0x423a32
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push str.TEXTURERENDERER
add ecx, 0xc
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x423a32
lea ecx, [esp + 0x1c]
push ecx
push 0x4d6840
push 1
push ebx
push 0x4d67f0
mov dword [esp + 0x30], ebx
call ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x423a32
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push str.Sample_Grabber
push ecx
push eax
call edx
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x423a32
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x423895
lea ecx, [eax + 0xc]
jmp 0x423897
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push ebx
call eax
cmp eax, ebx
je 0x4238b7
lea ecx, [eax + 0xc]
jmp 0x4238b9
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x30]
call eax
cmp dword [esi + 0x28], 0
lea ebp, [esi + 0x28]
mov dword [esp + 0x18], ebx
jne 0x423918
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push 0x4d67e0
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x1c]
push edx
push 0x4d6790
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x24]
push edx
push 0x4d68b0
push eax
mov eax, dword [ecx]
call eax
mov edi, dword [edi]
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esi + 0x20]
push edx
push 0x4d67a0
push edi
call eax
push 0x48
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00496bf0
mov edx, dword [str.vids]
mov eax, dword [0x4d66f4]
mov ecx, dword [0x4d66f8]
mov dword [esp + 0x84], edx
mov edx, dword [0x4d66fc]
mov dword [esp + 0x88], eax
mov eax, dword [0x4d6710]
mov dword [esp + 0x90], edx
mov edx, dword [0x4d6718]
mov dword [esp + 0x94], eax
mov eax, dword [0x4d671c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x4d6714]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], ecx
mov ebp, dword [ebp]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x14]
add esp, 0xc
lea edx, [esp + 0x78]
push edx
push ebp
call eax
cmp dword [esp + 0xb8], 0x58
mov dword [esp + 0x14], eax
jb 0x4239bc
mov eax, dword [esp + 0xbc]
mov ebx, dword [eax + 0x38]
mov edi, dword [eax + 0x34]
jmp 0x4239c0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x189c]
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x20]
push ebx
push edi
push eax
mov ecx, ebp
call dword [0x4cf5f0]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x188], ebx
mov dword [ebp + 0x184], edi
cmp dword [ecx + 0x2b8], 0x64
jne 0x4239f9
mov byte [esi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push esi
push 0x8001
push ecx
push eax
call edx
mov esi, dword [esi + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
push esi
call ecx
mov dword [esp + 0x14], eax
jmp 0x423a32
cmp eax, ebx
je 0x423a2f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 1
call eax
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0047f180
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00497565
add esp, 0xbc
ret 0xc