Function at 0x10003900
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e192
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jge 0x10003931
xor al, al
jmp 0x10003aed
lea ecx, [ebp - 0x14]
call fcn.10004490
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100044e0
push eax
push 0x10023f04
push 1
push 0
push 0x10025184
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003981
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100044b0
mov al, byte [ebp - 0x40]
jmp 0x10003aed
lea ecx, [ebp - 0x1c]
call fcn.10004370
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.100043c0
push eax
push 0x10025164
lea ecx, [ebp - 0x14]
call fcn.10004500
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c]
push edx
call dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100039e4
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10004390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100044b0
mov al, byte [ebp - 0x44]
jmp 0x10003aed
lea ecx, [ebp - 0x1c]
call fcn.100043e0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x50]
push edx
call dword [ecx + 0x14]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 1
lea ecx, [ebp - 0x1c]
call fcn.100043e0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp + 8]
jg 0x10003acb
lea eax, [ebp - 0x2c]
push eax
push 0x10021904
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10003ab1
mov word [ebp - 0x3c], 8
push 0
lea ecx, [ebp - 0x3c]
push ecx
push str.FriendlyName
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10003aa5
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp + 8]
jne 0x10003a9b
mov eax, dword [ebp + 0xc]
push eax
push 0x10023e94
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x10003a02
mov byte [ebp - 0x48], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10004390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100044b0
mov al, byte [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8