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

Disassembly:
push 0xffffffffffffffff
push 0x4c6a39
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x521da0]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
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.0047e3e0
mov ecx, dword [0x4d56e0]
mov eax, dword [0x4d56e8]
mov edx, dword [0x4d56e4]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x4d56ec]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4d5708]
mov dword [esp + 0x38], eax
mov eax, dword [0x4d5704]
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 [0x4d5700]
xor ebx, ebx
mov dword [esp + 0x40], edx
mov edx, dword [0x4d570c]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ebx
test eax, 0xfffffffc
je 0x421e9e
mov edx, dword [esi + 0x2bc]
push edx
call dword [0x4ce6f8]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x421ea6
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c8]
call fcn.00412930
mov esi, dword [eax]
mov ecx, esi
call fcn.0040c4c0
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
jne 0x421ecf
cmp dword [esi + 0x10], ebx
je 0x421ed7
cmp ecx, ebx
je 0x421ed7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0x40
call fcn.00485167
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x421ef9
mov eax, dword [esi + 4]
cdq
push 0xffffffffffffffff
push edx
mov edx, dword [esi]
push eax
push edx
call fcn.004171c0
jmp 0x421efb
xor eax, eax
push 0x1f0
mov dword [esi + 0xc], eax
call fcn.00485167
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xcc], 1
cmp eax, ebx
je 0x421f32
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x34]
push edx
push ecx
mov ecx, eax
call fcn.00417330
jmp 0x421f34
xor eax, eax
mov dword [esi + 0x10], eax
cmp dword [esp + 0x14], ebx
mov byte [esp + 0xcc], 0
jl 0x422190
cmp eax, ebx
je 0x42219f
mov edx, dword [ebp + 0x189c]
mov eax, dword [edx + 4]
mov ebp, dword [0x4ce5d4]
mov dword [edi + 0x1e0], eax
lea edi, [esi + 0x18]
push edi
push 0x4d58e0
push 1
push ebx
push 0x4d5720
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [edi]
cmp eax, ebx
jne 0x421f94
push ebx
push ebx
push str.DirectShow
call fcn.0048fd9b
jmp 0x4221a2
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 0x4221a2
lea ecx, [esp + 0x1c]
push ecx
push 0x4d5820
push 1
push ebx
push 0x4d57d0
mov dword [esp + 0x30], ebx
call ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4221a2
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 0x4221a2
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x422005
lea ecx, [eax + 0xc]
jmp 0x422007
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 0x422027
lea ecx, [eax + 0xc]
jmp 0x422029
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 0x422088
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push 0x4d57c0
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x1c]
push edx
push 0x4d5770
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x24]
push edx
push 0x4d5890
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 0x4d5780
push edi
call eax
push 0x48
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00495e20
mov edx, dword [str.vids]
mov eax, dword [0x4d56d4]
mov ecx, dword [0x4d56d8]
mov dword [esp + 0x84], edx
mov edx, dword [0x4d56dc]
mov dword [esp + 0x88], eax
mov eax, dword [0x4d56f0]
mov dword [esp + 0x90], edx
mov edx, dword [0x4d56f8]
mov dword [esp + 0x94], eax
mov eax, dword [0x4d56fc]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x4d56f4]
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 0x42212c
mov eax, dword [esp + 0xbc]
mov ebx, dword [eax + 0x38]
mov edi, dword [eax + 0x34]
jmp 0x422130
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 [0x4ce5f8]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x188], ebx
mov dword [ebp + 0x184], edi
cmp dword [ecx + 0x2b8], 0x64
jne 0x422169
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 0x4221a2
cmp eax, ebx
je 0x42219f
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.0047e3a0
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.00496795
add esp, 0xbc
ret 0xc