Function at 0x411300
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
push ebx
push ebx
mov dword [ebp - 0x90], eax
mov dword [0x429ea8], ebx
mov dword [0x42a818], ebx
mov dword [0x42a81c], ebx
mov dword [0x42a820], ebx
mov dword [0x42a824], ebx
mov dword [0x42a828], ebx
mov dword [0x42a82c], ebx
mov dword [0x42a830], ebx
mov dword [0x42a834], ebx
mov dword [0x42a838], ebx
mov dword [0x42a83c], ebx
mov dword [0x42a840], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x42a828
push 0x423530
push 1
push ebx
push 0x421478
call edi
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
push 0x42a82c
push 0x4214d8
push 1
push ebx
push 0x421468
call edi
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a82c]
mov edx, dword [0x42a828]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
push 0x42a818
push 0x425d90
push 1
push ebx
push 0x421488
call edi
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a818]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x42a81c
push 0x421498
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a81c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x42a820
push 1
push eax
xor esi, esi
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
inc esi
cmp esi, 1
jae 0x411481
mov eax, dword [0x42a81c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x42a820
push 1
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
je 0x411445
call fcn.00411230
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004118d8
mov esp, ebp
pop ebp
ret
mov eax, dword [0x42a820]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0x42a824
push 0x425d80
push ebx
push ebx
push eax
call edx
mov dword [0x429ea8], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [0x42a824]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0xcc]
push edx
push str.FriendlyName
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [ebp - 0xcc]
push ecx
mov dword [0x429ea8], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x42a820]
mov edx, dword [eax]
push 0x42a830
push 0x423540
push ebx
push ebx
push eax
mov eax, dword [edx + 0x20]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a828]
mov edx, dword [0x42a830]
mov ecx, dword [eax]
push str.Capture_Filter
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
push 0x42a834
push 0x423540
push 1
push ebx
push 0x423510
call edi
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a834]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x42a838
push 0x423500
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a838]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
push 0x48
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00415c60
mov edx, dword [0x42144c]
mov ecx, dword [str.vids]
mov eax, dword [0x421450]
mov dword [ebp - 0x78], edx
mov edx, dword [0x421458]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [0x421454]
mov dword [ebp - 0x74], eax
mov eax, dword [0x42145c]
mov dword [ebp - 0x6c], edx
mov edx, dword [0x421464]
mov dword [ebp - 0x70], ecx
mov ecx, dword [0x421460]
mov dword [ebp - 0x68], eax
mov eax, dword [0x42a838]
mov dword [ebp - 0x60], edx
add esp, 0xc
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a828]
mov edx, dword [0x42a834]
mov ecx, dword [eax]
push str.SampleGrab
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
push 0x42a83c
push 0x423540
push 1
push ebx
push 0x423520
call edi
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a828]
mov edx, dword [0x42a83c]
mov ecx, dword [eax]
push str.NullRender
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov edx, dword [0x42a83c]
mov eax, dword [0x42a82c]
mov ecx, dword [eax]
push edx
mov edx, dword [0x42a834]
push edx
mov edx, dword [0x42a830]
push edx
push str.vids
push 0x4214b8
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a828]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x42a840
push 0x4214c8
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a840]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov dword [0x429ea8], eax
cmp eax, ebx
je 0x4116e0
cmp eax, 1
je 0x4116c0
jmp 0x411469
mov dword [ebp - 0x80], ebx
mov eax, dword [0x42a838]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x80]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x4118c8
cmp dword [ebp - 0x80], ebx
je 0x4116e3
mov eax, dword [0x42a840]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
mov esi, dword [ebp - 0x80]
push esi
call fcn.00412765
add esp, 4
mov dword [ebp - 0x84], eax
cmp eax, ebx
je 0x411717
mov edx, dword [ebp - 0x84]
mov eax, dword [0x42a838]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x80]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
mov eax, dword [0x42a838]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [0x429ea8], eax
cmp eax, ebx
jne 0x411469
lea edx, [ebp - 0x50]
call fcn.004111c0
test eax, eax
je 0x411469
cmp dword [ebp - 0x3c], 0x58
jb 0x411469
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x411469
mov edx, dword [eax + 0x38]
lea ecx, [eax + 0x34]
add eax, 0x38
push 0x2c
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x94], ecx
mov ecx, dword [ecx]
lea edx, [ebp - 0x34]
mov esi, 0xa
push ebx
push edx
mov dword [ebp - 0xbc], 0x28
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb0], 0x180001
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.00415c60
add esp, 0xc
push ebx
push ebx
mov ecx, esi
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x84]
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x88], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
cmp esi, ebx
je 0x411469
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
imul eax, dword [ecx]
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x88]
push edx
push edi
push eax
call fcn.004167b0
mov edi, dword [ebp - 0x90]
add esp, 0xc
push 0x64
mov ecx, esi
call fcn.00401210
add esp, 4
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x3c], ebx
je 0x41188f
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x4118a1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0041464d
add esp, 4
call fcn.00411230
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004118d8
mov esp, ebp
pop ebp
ret
cmp eax, 0x80040227
je 0x4116e3
jmp 0x411469