Function at 0x10001140
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 0xa8]
lea edi, [esi + 0xac]
mov dword [esp + 0x2c], eax
lea ebp, [esi + 0xb4]
mov dword [eax], 0
lea eax, [esi + 0xb0]
mov dword [esi + 0xa0], 0
mov dword [edi], 0
mov dword [esp + 0x20], eax
mov dword [eax], 0
mov dword [ebp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [edi]
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x100011bf
push edi
push 0x100091c8
push 3
push 0
push 0x100091b8
call ebx
test eax, eax
je 0x100011bf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
jne 0x100011eb
push eax
push 0x100091a8
push 3
push 0
push 0x10009198
call ebx
test eax, eax
je 0x100011e7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x1c]
mov edi, dword [edi]
mov edx, dword [eax]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0xc]
test eax, eax
je 0x10001204
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
push 0x10009188
push 1
push 0
push 0x10009178
call ebx
test eax, eax
je 0x1000122f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax]
push 0x10009168
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x1000125f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 0
mov edi, 1
mov dword [esi + 0xb8], 0
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10001382
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, 8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push 0x10009138
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10001311
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push 0
mov word [esp + 0x30], bx
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x10001307
mov eax, dword [esp + 0x34]
push str.SAA7130_Analog_TV_Card
push eax
call esi
test eax, eax
je 0x100012f8
mov ecx, dword [esp + 0x34]
push str.713x_BDA_Analog_Capture
push ecx
call esi
test eax, eax
jne 0x100012fc
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10001331
mov eax, dword [esp + 0x10]
push ebp
push 0x10009158
push 0
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x20]
test eax, eax
je 0x10001357
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0xc]
test eax, eax
je 0x1000129d
jmp 0x10001382
mov eax, dword [ebp]
mov esi, dword [esp + 0x28]
push esi
push 0x10009148
mov edx, dword [eax]
push eax
call dword [edx]
cmp dword [esi], 0
jne 0x10001378
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp]
test ecx, ecx
jne 0x1000139d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x1c]
push str.713x_BDA_Analog_Capture
push ecx
mov eax, dword [eax]
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x2c
ret