Function at 0x436a80
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4f07b0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4f07b0]
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 0x4b65ec
xor ebx, ebx
push 1
push ebx
or edi, 0xffffffff
push 0x4b618c
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 0x436dc0
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x4b61bc
push eax
call edx
cmp eax, ebx
jne 0x436dc0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436dc0
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 0x436dbc
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4c0178
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jl 0x436d8c
lea ecx, [esp + 0x44]
push ecx
call fcn.00436780
mov dword [esp + 0x70], ebx
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 str.FriendlyName
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x436c3a
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.00409030
mov byte [esp + 0x70], 1
mov ecx, dword [eax]
mov esi, dword [esp + 0x48]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x436c16
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x436c05
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x436c05
push eax
call fcn.0040a230
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x436bfa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x48], ebx
xor ebx, ebx
jmp 0x436c13
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0040a130
or edi, 0xffffffff
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 str.CLSID
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x436d36
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x436d36
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0xc]
add edi, 4
cmp esi, ebx
jl 0x4370ba
lea ecx, [esi + 1]
push edi
call fcn.00439db0
mov ecx, dword [edi + 4]
lea eax, [esi*8]
sub eax, esi
lea ebx, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov esi, dword [ebx + 4]
lea edi, [ebx + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x436d0e
cmp dword [esi + 0xc], 0
jl 0x436d02
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x436d02
push eax
call fcn.0040a230
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 0x436cf7
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], ecx
jmp 0x436d0e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.0040a130
mov edx, dword [esp + 0x4c]
mov dword [ebx + 8], edx
mov eax, dword [esp + 0x50]
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x10], ecx
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x14], edx
mov al, byte [esp + 0x5c]
mov byte [ebx + 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 0x436d8c
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 0x436b50
mov dword [esp + 0x20], ebx
mov ecx, dword [0x4c0954]
mov edx, dword [0x4c0958]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4c095c]
mov dword [eax + 4], edx
mov edx, dword [0x4c0960]
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.00409030
mov dword [esp + 0x88], 5
mov dword [esp + 0x88], edi
lea esi, [esp + 0x5c]
call fcn.00436880
mov dword [esp + 0x70], 6
mov edi, dword [esp + 0x28]
add edi, 4
mov ebx, eax
mov eax, edi
call fcn.00439740
or esi, 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x48]
call fcn.00409790
mov ecx, dword [0x4c0974]
mov edx, dword [0x4c0978]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4c097c]
mov dword [eax + 4], edx
mov edx, dword [0x4c0980]
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.00409030
mov dword [esp + 0x88], 8
mov dword [esp + 0x88], esi
lea esi, [esp + 0x5c]
call fcn.00436880
mov dword [esp + 0x70], 9
mov ebx, eax
mov eax, edi
call fcn.00439740
or esi, 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x48]
call fcn.00409790
mov ecx, dword [0x4c0964]
mov edx, dword [0x4c0968]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4c096c]
mov dword [eax + 4], edx
mov edx, dword [0x4c0970]
mov dword [eax + 8], ecx
push ecx
mov dword [eax + 0xc], edx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DMO_Video_Decoder
call fcn.00409030
mov dword [esp + 0x88], 0xb
mov dword [esp + 0x88], esi
lea esi, [esp + 0x5c]
call fcn.00436880
mov dword [esp + 0x70], 0xc
mov ebx, eax
mov eax, edi
call fcn.00439740
or esi, 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x48]
call fcn.00409790
mov ecx, dword [0x4c0984]
mov edx, dword [str.lwG]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4c098c]
mov dword [eax + 4], edx
mov edx, dword [0x4c0990]
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.00409030
mov dword [esp + 0x88], 0xe
mov dword [esp + 0x88], esi
lea esi, [esp + 0x5c]
call fcn.00436880
mov dword [esp + 0x70], 0xf
mov ebx, eax
mov eax, edi
call fcn.00439740
or esi, 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x48]
call fcn.00409790
mov ecx, dword [0x4c0994]
mov edx, dword [str._t__I]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4c099c]
mov dword [eax + 4], edx
mov edx, dword [0x4c09a0]
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.00409030
mov dword [esp + 0x88], 0x11
mov dword [esp + 0x88], esi
lea esi, [esp + 0x5c]
call fcn.00436880
mov dword [esp + 0x70], 0x12
mov ebx, eax
mov eax, edi
call fcn.00439740
or eax, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], vtable.DSUtil::FilterCategory.0
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x48]
call fcn.00409790
mov eax, dword [esp + 0x18]
test eax, eax
je 0x437066
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x437076
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x437086
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x437096
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.004892f2
mov esp, ebp
pop ebp
ret 4
call fcn.004547dc
int3