Function at 0x4207d0
Capabilities:
Enumerate devices by category
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47a20b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x8e8
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
jne 0x4207ff
xor eax, eax
jmp 0x420c0d
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], edi
push eax
push 0x47c13c
push 3
push ebx
push 0x47c21c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call esi
test eax, eax
je 0x42083b
or eax, 0xffffffff
jmp 0x420c0d
lea ecx, [esp + 0x40]
push ecx
push 0x47c16c
push 1
push ebx
push 0x47c1fc
call esi
cmp eax, ebx
je 0x42085b
or eax, 0xffffffff
jmp 0x420c0d
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ebx
push ecx
mov edx, dword [eax]
push 0x47c1ec
push eax
mov dword [esp + 0x90c], ebx
call dword [edx + 0xc]
cmp eax, ebx
je 0x4208a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8fc], 0xffffffff
cmp eax, ebx
je 0x420898
mov edx, dword [eax]
push eax
call dword [edx + 8]
or eax, 0xffffffff
jmp 0x420c0d
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
cmp eax, ebx
jne 0x420bba
push ebp
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push 0x47b33c
mov edx, dword [eax]
push ebx
push ebx
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x4209de
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push ebx
mov word [esp + 0x4c], 8
mov edx, dword [eax]
push ecx
push str.FriendlyName
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x4209d4
mov eax, dword [edi + 4]
or esi, 0xffffffff
cmp eax, esi
je 0x42093b
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x420930
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x420932
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], eax
mov edi, eax
mov eax, dword [esp + 0x2c]
push ebx
mov dword [edi + 4], eax
inc eax
push ebx
lea edx, [esp + 0x100]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
push 0x800
push edx
push esi
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi]
cmp eax, ebx
je 0x420973
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xf8]
test ecx, ecx
jne 0x420982
mov dword [edi], ebx
jmp 0x4209c9
lea edi, [esp + 0xf8]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xfc]
mov ecx, esi
mov dword [eax], edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x47c15c
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x420b91
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push 0x47c12c
push edx
push 0x47c24c
push 0x47c1dc
push eax
call dword [ecx + 0x18]
cmp eax, ebx
je 0x420a4e
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push 0x47c12c
push edx
push 0x47c24c
push 0x47c1cc
push eax
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x420b91
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x38]
lea ebp, [edi + 8]
cmp eax, 0x80
jne 0x420b87
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x3c], esi
jle 0x420b87
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x420b76
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x44]
cmp dword [eax + 0x34], ebx
je 0x420b76
cmp dword [eax + 0x38], ebx
je 0x420b76
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x34]
push ecx
push edx
lea eax, [esp + 0x60]
push str._d___d:
push eax
call sub.MSVCRT.dll_sprintf
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
cmp eax, ebx
je 0x420b0d
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x420b0f
xor esi, esi
mov dword [ebp], esi
mov eax, dword [esi]
cmp eax, ebx
je 0x420b21
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x58]
test ecx, ecx
jne 0x420b2d
mov dword [esi], ebx
jmp 0x420b68
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esi], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [ebp]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
add ebp, 4
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x3c], esi
jl 0x420a8e
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebx
je 0x4208c9
pop ebp
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x420bcc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x420bde
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x420bf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8fc], 0xffffffff
cmp eax, ebx
je 0x420c09
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x8f4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8f4
ret 4