Function at 0x471c80
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x4b44c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
lea eax, [esp + 0xc]
push edi
push eax
xor edi, edi
push 0x539c98
push 1
push edi
mov ebx, ecx
push 0x539c88
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x471f56
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edi
push edx
mov ecx, dword [eax]
push 0x539c78
push eax
call dword [ecx + 0xc]
cmp eax, edi
jge 0x471cfe
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push edi
push ecx
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x471f42
push ebp
push esi
push 0x1c
call fcn.004a4bbe
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov dword [esp + 0x4c], edi
je 0x471d3f
mov ecx, eax
call fcn.00472ef0
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x471d45
mov dword [esp + 0x20], edi
mov esi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push edx
push 0x53ccb8
push edi
push edi
push eax
call dword [ecx + 0x24]
cmp eax, edi
jl 0x471f19
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edi
push edx
mov ecx, dword [eax]
push str.FriendlyName
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
call fcn.004a4f3d
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 1
push ecx
lea ecx, [esi + 0x14]
call fcn.004a4fb6
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ebp, edx
mov dword [esp + 0x30], ebp
inc ebp
cmp ebp, edi
jne 0x471df4
cmp eax, edi
je 0x471de9
push eax
mov dword [esp + 0x30], edx
call fcn.004a4be7
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x471ef5
cmp eax, edi
jne 0x471e2c
lea edi, [ebp*4]
push edi
call fcn.004a4bbe
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x471ef3
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x471e5e
cmp edx, ebp
jge 0x471e4e
mov ecx, ebp
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx + 8], ebp
jmp 0x471ef5
jle 0x471e56
sub edx, ebp
mov dword [esp + 0x2c], edx
mov dword [ebx + 8], ebp
jmp 0x471ef5
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x471e88
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x471e7c
mov eax, 4
jmp 0x471e88
cmp eax, 0x400
jle 0x471e88
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x1c], eax
jl 0x471e96
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.004a4bbe
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x30], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call fcn.004a4be7
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
xor edi, edi
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov dword [edx + eax*4], esi
call fcn.00473030
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004a4e7d
jmp 0x471f26
cmp esi, edi
je 0x471f26
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edi
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x471d1a
pop esi
pop ebp
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret