Function at 0x436600
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x493e34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov eax, dword [ebp + 0x228]
lea esi, [ebp + 0x228]
cmp eax, ebx
mov dword [esp + 0x28], esi
jne 0x436c98
mov edi, dword [0x4987cc]
push esi
push 0x4b768c
push 0x17
push ebx
push 0x49e340
call edi
test eax, eax
jge 0x43665c
xor eax, eax
jmp 0x436c9d
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x15c], ebx
push eax
push 0x4b7f70
push 0x17
push ebx
push 0x49e360
call edi
test eax, eax
jge 0x4366a3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
cmp eax, ebx
je 0x436a1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x436c9d
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
push eax
push 0x4b6688
push 0x17
push ebx
push 0x49e300
call dword [0x4987cc]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push ebx
push edx
mov ecx, dword [eax]
push 0x49e2f0
push eax
mov byte [esp + 0x16c], 3
call dword [ecx + 0xc]
test eax, eax
jl 0x436871
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x436875
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ebx
push edx
push 1
push eax
mov byte [esp + 0x16c], 4
call dword [ecx + 0xc]
test eax, eax
jne 0x43685b
mov edi, dword [esp + 0x164]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 0x4a1960
mov ecx, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x170], 5
call dword [ecx + 0x24]
mov word [esp + 0x44], bx
push 0x4b65bc
call dword [0x498434]
mov esi, eax
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
push ebx
push edx
mov ecx, dword [eax]
push esi
push eax
mov byte [esp + 0x16c], 7
call dword [ecx + 0xc]
push esi
mov byte [esp + 0x160], 6
call dword [0x498438]
mov ecx, dword [esp + 0x4c]
push ebx
push ebx
lea eax, [esp + 0x5c]
push 0x100
push eax
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call fcn.0051a6ea
nop
cmp edi, ebx
je 0x436820
cmp word [edi], bx
je 0x436820
mov edx, dword [esp + 0x4c]
push edi
push edx
call fcn.00454a3b
add esp, 8
test eax, eax
je 0x436820
lea eax, [esp + 0x44]
push eax
call dword [0x498430]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x15c], 4
cmp eax, ebx
je 0x4367f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00413ff0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x436742
jmp 0x436857
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push 0x49e180
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x20]
lea eax, [esp + 0x44]
push eax
call dword [0x498430]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x15c], 4
cmp eax, ebx
je 0x436857
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x15c], 3
cmp eax, ebx
je 0x436871
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x15c], 2
je 0x436887
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x15c], 1
cmp eax, ebx
je 0x43689d
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [esp + 0x10], ebx
jne 0x4368f7
mov eax, dword [esi]
cmp eax, ebx
je 0x4368b1
mov dword [esi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Cant_Find_Video_Capture_Device____
call fcn.0043d4d0
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x15c], bl
je 0x4368d3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
cmp eax, ebx
je 0x436a1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x436c9d
lea edx, [esp + 0x54]
push edx
push 0x4b7f40
call fcn.0043d450
mov ecx, dword [esp + 0x18]
add esp, 8
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
je 0x43692a
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 0x4b7f30
push ecx
call dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x15c], 8
je 0x43695f
mov ecx, dword [esp + 0x16c]
cmp ecx, ebx
jne 0x436946
mov ecx, 0x20
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x43695f
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x54]
push 0xffffffffffffffff
push edx
call fcn.004388f0
mov edi, eax
add esp, 8
mov dword [esp + 0x3c], edi
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
push edi
push edx
mov ecx, dword [eax]
push eax
mov byte [esp + 0x168], 9
call dword [ecx + 0xc]
push edi
mov byte [esp + 0x160], 8
call dword [0x498438]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ebx
mov ecx, dword [eax]
push edx
push 0x49e460
push 0x49e240
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x436a22
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ebx
mov ecx, dword [eax]
push edx
push 0x49e430
push 0x49e240
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x436a22
mov eax, dword [esp + 0x18]
mov byte [esp + 0x15c], 1
cmp eax, ebx
je 0x4369ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x15c], bl
cmp eax, ebx
je 0x436a02
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
cmp eax, ebx
je 0x436a1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x436c9d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.00437ae0
cmp dword [ebp + 0x368], ebx
jne 0x436aa1
mov eax, dword [esi]
push 0x4b7f2c
push eax
call fcn.00433280
mov eax, dword [esi]
cmp eax, ebx
je 0x436a56
mov dword [esi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x15c], 1
cmp eax, ebx
je 0x436a6c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x15c], bl
cmp eax, ebx
je 0x436a81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
cmp eax, ebx
je 0x436a9a
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x436c9d
mov eax, dword [ebp + 0x36c]
mov esi, dword [esi]
push ebx
push eax
push 1
lea ecx, [esp + 0x44]
push ebx
lea edx, [esp + 0x50]
push ecx
push edx
push esi
mov dword [esp + 0x5c], 0x49e210
mov dword [esp + 0x54], str.Video_Render
call fcn.00433a20
mov eax, dword [ebp + 0x36c]
push eax
call fcn.0042cf90
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x436af1
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4b7954
push eax
call dword [ecx]
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push eax
mov byte [esp + 0x168], 0xa
call fcn.0042dc00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 8
call fcn.0043f340
mov eax, dword [esp + 0x168]
mov dword [ebp + 0x378], 0xffffffff
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
mov ecx, ebp
call fcn.00437340
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea esi, [ebp + 0x22c]
mov edx, dword [eax]
push esi
push 0x49e070
push ecx
push ebx
push 0x49e230
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 0x230]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push 0x49e080
push ecx
push ebx
push 0x49e230
push eax
call dword [edx + 0x18]
push 0x1000
push 1
mov ecx, ebp
call fcn.004386b0
mov eax, dword [esi]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [esi]
push 0x56
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esi]
push 0x1f
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [esi]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [esp + 0x2c]
push eax
push str.get_NumInputConnections__d
call fcn.0043d450
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x64]
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, ebx
jle 0x436bf2
mov eax, dword [esi]
push ebx
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x5c]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x436bdf
mov eax, dword [ebp + 0x390]
push ebx
push eax
mov ecx, ebp
call fcn.00437200
call dword [0x4983b8]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x37c], eax
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x34], ecx
je 0x436c30
mov edx, dword [eax]
lea ecx, [esp + 0x34]
push ecx
push 0x4b7ba0
push eax
call dword [edx]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push ecx
mov byte [esp + 0x160], 0xb
call dword [edx + 0x1c]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x15c], 8
cmp eax, ebx
je 0x436c54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x15c], 1
cmp eax, ebx
je 0x436c6a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x15c], bl
cmp eax, ebx
je 0x436c7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
cmp eax, ebx
je 0x436c98
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0xc