Function at 0x45b6a0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
push ebx
xor ebx, ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov word [esp + 0x38], bx
mov ecx, 0x81
lea edi, [esp + 0x3a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
push ebx
je 0x45b713
push 0xffffffffffffffff
push ebx
push eax
call sym.vidcap60.exe__SfList_DeleteList_16
jmp 0x45b729
push ebx
push ebx
push 0x40000004
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x21c
push esi
call sym.vidcap60.exe__SfList_CreateExZ_32
cmp eax, ebx
jl 0x45b950
mov ecx, dword [0x613f28]
mov esi, dword [esi]
push 0x612
push ecx
mov dword [esp + 0x2c], esi
call sym.vidcap60.exe__SfGetString_8
push eax
lea edx, [esp + 0x3c]
push edx
call dword [0x5d2614]
add esp, 8
push 1
lea eax, [esp + 0x3c]
push eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x260], ebx
call sym.vidcap60.exe__SfList_InsertList_16
cmp eax, ebx
jl 0x45b950
lea ecx, [esp + 0x18]
push ecx
push 0x5f52dc
push 1
push ebx
push 0x5f63dc
mov dword [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x45b90a
cmp dword [ebp + 0xc], ebx
mov ecx, 0x5f63bc
jne 0x45b7ae
mov ecx, 0x5f633c
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
lea esi, [esp + 0x18]
push esi
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
jne 0x45b90a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
jne 0x45b90a
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0x87
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x250], edx
mov ecx, dword [eax]
lea edx, [esp + 0x240]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x45b90a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x5f98c0
push ebx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x45b8cf
mov eax, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x2c]
push edx
push str.FriendlyName
mov word [esp + 0x34], 8
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x45b8bd
mov eax, dword [esp + 0x30]
push 0x104
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [0x5d2618]
lea edx, [esp + 0x44]
add esp, 0xc
test edx, edx
mov word [esp + 0x23e], bx
je 0x45b899
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
push 1
lea edx, [esp + 0x3c]
push edx
push 0xffffffffffffffff
push eax
call sym.vidcap60.exe__SfList_InsertList_16
mov esi, eax
cmp esi, ebx
jl 0x45b90a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x45b8cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x45b8dd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x10]
push edx
push 1
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
inc edi
push eax
mov dword [esp + 0x2c], edi
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
je 0x45b7f3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x45b918
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x45b92a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x45b93c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x45b94e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8