Function at 0x40d0b0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
mov dword [ebp - 0x60], eax
mov dword [0x443a50], esi
mov dword [0x443a64], esi
mov dword [0x443a68], esi
mov dword [0x443a6c], esi
mov dword [0x443a70], esi
mov dword [0x443a74], esi
mov dword [0x443a78], esi
mov dword [0x443a7c], esi
mov dword [0x443a80], esi
mov dword [0x443a84], esi
mov dword [0x443a88], esi
mov dword [0x443a8c], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x443a74
push 0x43d4b4
push 1
push esi
push 0x43b1d4
call ebx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
push 0x443a78
push 0x43b234
push 1
push esi
push 0x43b1c4
call ebx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a78]
mov edx, dword [0x443a74]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
push 0x443a64
push 0x43d550
push 1
push esi
push 0x43b1e4
call ebx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x443a68
push 0x43b1f4
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x443a6c
push 1
push eax
xor edi, edi
call edx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
nop
inc edi
cmp edi, 1
jge 0x40d22c
mov eax, dword [0x443a68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x443a6c
push 1
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
je 0x40d1f0
call fcn.0040cfe0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00420826
mov esp, ebp
pop ebp
ret
mov eax, dword [0x443a6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0x443a70
push 0x43d540
push esi
push esi
push eax
call edx
mov dword [0x443a50], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [0x443a70]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x74]
push edx
push str.FriendlyName
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [ebp - 0x74]
push ecx
mov dword [0x443a50], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x443a6c]
mov edx, dword [eax]
push 0x443a7c
push 0x43d4c4
push esi
push esi
push eax
mov eax, dword [edx + 0x20]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a74]
mov edx, dword [0x443a7c]
mov ecx, dword [eax]
push str.Capture_Filter
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
push 0x443a80
push 0x43d4c4
push 1
push esi
push 0x43d494
call ebx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a80]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x443a84
push 0x43d484
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a84]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
push 0x48
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00428e90
mov edx, dword [0x43b1a8]
mov ecx, dword [str.vids]
mov eax, dword [0x43b1ac]
mov dword [ebp - 0x50], edx
mov edx, dword [0x43b1b4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x43b1b0]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x43b1b8]
mov dword [ebp - 0x44], edx
mov edx, dword [0x43b1c0]
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x43b1bc]
mov dword [ebp - 0x40], eax
mov eax, dword [0x443a84]
mov dword [ebp - 0x38], edx
add esp, 0xc
lea edx, [ebp - 0x54]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a74]
mov edx, dword [0x443a80]
mov ecx, dword [eax]
push str.SampleGrab
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
push 0x443a88
push 0x43d4c4
push 1
push esi
push 0x43d4a4
call ebx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a74]
mov edx, dword [0x443a88]
mov ecx, dword [eax]
push str.NullRender
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov edx, dword [0x443a88]
mov eax, dword [0x443a78]
mov ecx, dword [eax]
push edx
mov edx, dword [0x443a80]
push edx
mov edx, dword [0x443a7c]
push edx
push str.vids
push 0x43b214
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a74]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x443a8c
push 0x43b224
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a8c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov dword [0x443a50], eax
cmp eax, esi
je 0x40d482
cmp eax, 1
je 0x40d462
jmp 0x40d214
mov dword [ebp - 0x58], esi
mov eax, dword [0x443a84]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x58]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d5ac
cmp dword [ebp - 0x58], esi
je 0x40d485
mov eax, dword [0x443a8c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041fbf7
mov ebx, eax
add esp, 4
mov dword [ebp - 0x5c], ebx
cmp ebx, esi
je 0x40d214
mov eax, dword [0x443a84]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x58]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
mov eax, dword [0x443a84]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [0x443a50], eax
cmp eax, esi
jne 0x40d214
lea edx, [ebp - 0x28]
call fcn.0040cc40
test eax, eax
je 0x40d214
cmp dword [ebp - 0x14], 0x58
jb 0x40d214
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x40d214
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
push ebx
call fcn.0040ccb0
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x38]
add esp, 4
push ecx
mov ecx, dword [ebp - 0x60]
mov ebx, eax
push edx
push ebx
call fcn.0040ce00
add esp, 0xc
push ebx
call fcn.004208b9
xor esi, esi
add esp, 4
cmp dword [ebp - 0x14], esi
je 0x40d576
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x40d588
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004208b9
add esp, 4
call fcn.0040cfe0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00420826
mov esp, ebp
pop ebp
ret
cmp eax, 0x80040227
je 0x40d485
jmp 0x40d214