Function at 0x484d30
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ef389
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58bd90]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
push 0x50fb3c
xor ebx, ebx
push 1
push ebx
or edi, 0xffffffff
push 0x554e88
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x485109
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x554ed8
push eax
call edx
cmp eax, ebx
jne 0x485109
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x485109
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x485105
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x51b0ec
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jl 0x4850d5
push 0x52b648
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], vtable.DSUtil::FilterCategory.0
call fcn.00401830
mov dword [esp + 0x70], ebx
mov ecx, dword [0x54cfd4]
mov edx, dword [0x54cfd8]
mov eax, dword [0x54cfdc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x54cfe0]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x5c], 0
mov dword [esp + 0x70], 1
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x30]
push edx
push 0x52b64c
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x484f83
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401830
mov byte [esp + 0x70], 2
mov eax, dword [eax]
mov edi, dword [esp + 0x48]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x484f5b
cmp dword [edi + 0xc], ebx
jl 0x484f4d
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x484f4d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], ebx
lea ecx, [esi + 0xc]
jl 0x484eee
cmp eax, dword [esi]
jne 0x484eee
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x484f29
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4854a1
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0045464a
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484f42
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x48], ebx
xor ebx, ebx
jmp 0x484f5b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.004016f0
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484f80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edi, 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x30]
push edx
push 0x52b668
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x48507f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x48507f
mov ebx, dword [esp + 0x28]
mov esi, dword [ebx + 0xc]
add ebx, 4
test esi, esi
js 0x4854a6
lea ecx, [esi + 1]
push ebx
call fcn.00413760
mov ecx, dword [ebx + 4]
lea eax, [esi*8]
sub eax, esi
mov esi, dword [ecx + eax*4 + 4]
lea edi, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x485057
cmp dword [esi + 0xc], 0
jl 0x48504a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48504a
push eax
call fcn.00402370
mov dword [esp + 0x14], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48503e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x10]
add ecx, 0x10
mov dword [edi + 4], ecx
jmp 0x485057
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.004016f0
mov edx, dword [esp + 0x4c]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x58]
mov dword [edi + 0x14], edx
mov al, byte [esp + 0x5c]
mov byte [edi + 0x18], al
xor ebx, ebx
or edi, 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4850d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x484e00
mov dword [esp + 0x20], ebx
mov ecx, dword [0x54e298]
mov edx, dword [0x54e29c]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x54e2a0]
mov dword [eax + 4], edx
mov edx, dword [0x54e2a4]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Audio_Decoder
mov dword [eax + 0xc], edx
call fcn.00401830
mov dword [esp + 0x88], 6
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004830f0
mov dword [esp + 0x70], 7
mov esi, dword [esp + 0x28]
add esi, 4
mov ebx, eax
mov eax, esi
call fcn.00412e90
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4851b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x54e2b8]
mov edx, dword [0x54e2bc]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x54e2c0]
mov dword [eax + 4], edx
mov edx, dword [0x54e2c4]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Audio_Effect
mov dword [eax + 0xc], edx
call fcn.00401830
mov dword [esp + 0x88], 0xa
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004830f0
mov dword [esp + 0x70], 0xb
mov ebx, eax
mov eax, esi
call fcn.00412e90
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485256
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x54e2a8]
mov edx, dword [0x54e2ac]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x54e2b0]
mov dword [eax + 4], edx
mov edx, dword [0x54e2b4]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Video_Decoder
mov dword [eax + 0xc], edx
call fcn.00401830
mov dword [esp + 0x88], 0xe
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004830f0
mov dword [esp + 0x70], 0xf
mov ebx, eax
mov eax, esi
call fcn.00412e90
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4852f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x54e2c8]
mov edx, dword [str.lwG]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x54e2d0]
mov dword [eax + 4], edx
mov edx, dword [0x54e2d4]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Video_Effect
mov dword [eax + 0xc], edx
call fcn.00401830
mov dword [esp + 0x88], 0x12
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004830f0
mov dword [esp + 0x70], 0x13
mov ebx, eax
mov eax, esi
call fcn.00412e90
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48539c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x54e2d8]
mov edx, dword [str._t__I]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x54e2e0]
mov dword [eax + 4], edx
mov edx, dword [0x54e2e4]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Audio_Capture_Effect
mov dword [eax + 0xc], edx
call fcn.00401830
mov dword [esp + 0x88], 0x16
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004830f0
mov dword [esp + 0x70], 0x17
mov ebx, eax
mov eax, esi
call fcn.00412e90
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x48543d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48544d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48545d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48546d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x48547d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 4
call fcn.004036b0
call fcn.0041d34a
int3