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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eded0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4210a1
cmp dword [esp + 0x68], ebx
je 0x4210a1
cmp dword [esp + 0x6c], ebx
je 0x4210a1
cmp dword [esp + 0x70], ebx
je 0x4210a1
lea eax, [esp + 0x24]
push ebp
lea edx, [esp + 0x1c]
push eax
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call fcn.004210c0
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x42108a
mov ebp, dword [0x4f9688]
lea eax, [esp + 0x14]
push eax
push 0x4faa24
push 1
push ebx
push 0x4fab24
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
call ebp
cmp eax, ebx
jl 0x421076
mov eax, dword [esp + 0x14]
push esi
push edi
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ebx
push edx
push 0x4fab14
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x420d83
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x420d95
lea edx, [esp + 0x20]
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x420d75
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push 0x4fa654
mov ecx, dword [eax]
push ebx
push ebx
push eax
mov dword [esp + 0x7c], ebx
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x420c89
mov word [esp + 0x40], bx
push str.FriendlyName
call dword [0x4f9370]
mov esi, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x40]
push ebx
push edx
mov ecx, dword [eax]
push esi
push eax
mov byte [esp + 0x78], 2
call dword [ecx + 0xc]
push esi
mov byte [esp + 0x6c], 1
call dword [0x4f9348]
mov eax, dword [esp + 0x48]
mov ecx, dword [0x50a0e0]
cmp eax, ebx
mov esi, eax
mov dword [esp + 0x14], ecx
je 0x420c26
mov edx, eax
shr edx, 0x10
jne 0x420bf6
and eax, 0xffff
lea ecx, [esp + 0x14]
push eax
call fcn.00407b70
jmp 0x420c26
push eax
call dword [0x4f9318]
mov edi, eax
cmp edi, ebx
je 0x420c26
push edi
lea ecx, [esp + 0x18]
call fcn.00402090
test eax, eax
je 0x420c26
lea ecx, [edi + edi]
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x522318]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x70], 3
call fcn.004dd2dd
add esp, 8
test eax, eax
je 0x420cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x68], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x420c7a
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x420c7a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
push ecx
call dword [0x4f936c]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x420c9b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebx
je 0x420cb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ebx
push ecx
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x420b6c
jmp 0x420d75
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push 0x4fa9d4
mov edx, dword [eax]
push ebx
push ebx
push eax
call dword [edx + 0x20]
cmp eax, ebx
jl 0x420d20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
cmp eax, ebx
jl 0x420d20
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [edx], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x68], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x420d54
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x420d54
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
lea ecx, [esp + 0x40]
push ecx
call dword [0x4f936c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebx
je 0x420d75
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x420d83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x420d95
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x420da7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x1c]
push edx
push 0x4faa24
push 1
push ebx
push 0x4fab24
call ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ebx
push edx
mov ecx, dword [eax]
push 0x4fab04
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x42104a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42105c
lea edx, [esp + 0x18]
push ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x421038
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0x4fa654
mov ecx, dword [eax]
push ebx
push ebx
push eax
mov dword [esp + 0x7c], 4
call dword [ecx + 0x24]
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x420f44
mov word [esp + 0x50], bx
push str.FriendlyName
call dword [0x4f9370]
mov esi, eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push ebx
push edx
mov ecx, dword [eax]
push esi
push eax
mov byte [esp + 0x78], 6
call dword [ecx + 0xc]
push esi
mov byte [esp + 0x6c], 5
call dword [0x4f9348]
mov eax, dword [esp + 0x58]
mov ecx, dword [0x50a0e0]
cmp eax, ebx
mov esi, eax
mov dword [esp + 0x78], ecx
je 0x420ee0
mov edx, eax
shr edx, 0x10
jne 0x420e98
and eax, 0xffff
lea ecx, [esp + 0x78]
push eax
call fcn.00407b70
jmp 0x420ee0
push eax
call dword [0x4f9318]
mov ebp, eax
cmp ebp, ebx
je 0x420ee0
lea eax, [ebp + ebp + 0xe]
push eax
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x420ee0
lea ecx, [ebp + ebp]
mov dword [eax], 1
mov edx, ecx
mov word [eax + ebp*2 + 0xc], bx
lea edi, [eax + 0xc]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [esp + 0x78], edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x522318]
mov byte [esp + 0x68], 7
push eax
mov eax, dword [esp + 0x7c]
push eax
call fcn.004dd2dd
add esp, 8
test eax, eax
je 0x420f8b
mov eax, dword [esp + 0x78]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x68], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x420f34
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x420f34
mov edx, dword [esp + 0x78]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 4
push eax
call dword [0x4f936c]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x420f56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebx
je 0x420f6c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ebx
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x420e06
jmp 0x421038
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
push 0x4fa9d4
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x420fe3
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x420fe3
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x74]
mov dword [edx], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x68], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x421017
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x421017
mov edx, dword [esp + 0x78]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
lea eax, [esp + 0x50]
push eax
call dword [0x4f936c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebx
je 0x421038
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42104a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42105c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
pop edi
cmp eax, ebx
pop esi
je 0x421070
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x20], ebx
jge 0x42108a
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x34]
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov ecx, dword [esp + 0x54]
mov eax, 0x80004003
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10