Function at 0x4b6970
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9e9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4dd704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
cmp dword [ebp + 8], 0
jge 0x4b69a5
xor al, al
jmp 0x4b6b7b
lea ecx, [ebp - 0x10]
call fcn.0040a030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402a90
push eax
push 0x4c411c
push 1
push 0
push 0x4c419c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b69f5
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409fd0
mov al, byte [ebp - 0x3d]
jmp 0x4b6b7b
lea ecx, [ebp - 0x18]
call fcn.0040a030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00404330
mov dword [ebp - 0x48], eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00402a90
push eax
push 0x4c418c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b6a5a
mov byte [ebp - 0x3e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00409fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409fd0
mov al, byte [ebp - 0x3e]
jmp 0x4b6b7b
lea ecx, [ebp - 0x18]
call fcn.00404330
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.00404330
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 8]
jg 0x4b6b4f
lea eax, [ebp - 0x28]
push eax
push 0x4bda00
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x4b6b33
mov word [ebp - 0x3c], 8
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x4c8cec
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4b6b25
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 8]
jne 0x4b6b1b
mov edx, dword [ebp + 0xc]
push edx
push 0x4c410c
push 0
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4b6a7a
push 0
lea ecx, [ebp - 0x10]
call fcn.00409ff0
mov byte [ebp - 0x3f], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00409fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409fd0
mov al, byte [ebp - 0x3f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8