Function at 0x40b6c2
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x496ab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x18], 0
push 0x3f3
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041fc84
mov dword [ebp - 0x18], eax
push 0
push 0
push 0x184
mov eax, dword [ebp - 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push str.DV_Video_Encoder__Indeo_video_5.10__t_t_t_t_t_t_Indeo__video_5.10_Compression_Filter__Microsoft_Video_1
lea ecx, [ebp - 0x1c]
call fcn.0040ee95
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x47d030
push 0x17
push 0
push 0x47e220
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x40b784
and dword [ebp - 0x250], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
call fcn.00402855
mov eax, dword [ebp - 0x250]
jmp 0x40b9ae
and dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 0
je 0x40b96e
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x14]
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x1fe
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.0044a620
add esp, 0xc
and dword [ebp - 0x230], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0xc]
test eax, eax
jl 0x40b959
cmp dword [ebp - 0x230], 0
je 0x40b959
cmp dword [ebp - 0x28], 0
je 0x40b954
and dword [ebp - 0x238], 0
and dword [ebp - 0x234], 0
lea eax, [ebp - 0x238]
push eax
push 0x4861d8
push 0
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x40b874
push 8
pop eax
mov word [ebp - 0x24c], ax
push 0
lea eax, [ebp - 0x24c]
push eax
push str.FriendlyName
mov eax, dword [ebp - 0x238]
mov eax, dword [eax]
push dword [ebp - 0x238]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x40b8d9
xor eax, eax
mov word [ebp - 0x22c], ax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x274], eax
push dword [ebp - 0x274]
push 0x100
lea eax, [ebp - 0x22c]
push eax
call fcn.0044e9f3
add esp, 0xc
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f011
cmp eax, 0xffffffff
je 0x40b8d9
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x180
mov eax, dword [ebp - 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x20], 0
jl 0x40b8fd
lea eax, [ebp - 0x234]
push eax
push 0x47cfc0
push 0
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x20]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x234], 0
je 0x40b917
mov eax, dword [ebp - 0x234]
mov eax, dword [eax]
push dword [ebp - 0x234]
call dword [eax + 8]
and dword [ebp - 0x234], 0
cmp dword [ebp - 0x238], 0
je 0x40b938
mov eax, dword [ebp - 0x238]
mov eax, dword [eax]
push dword [ebp - 0x238]
call dword [eax + 8]
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x28], 0
je 0x40b950
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 8]
and dword [ebp - 0x28], 0
jmp 0x40b7df
cmp dword [ebp - 0x24], 0
je 0x40b96a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 8]
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x14], 0
je 0x40b97f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 8]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x254], 1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
call fcn.00402855
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a605
leave
ret