Function at 0x512668
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x512670
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5128a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [ebp - 8]
call fcn.0040769c
push eax
push 0x7cd0cc
push 3
push 0
push 0x7cd39c
call fcn.004251e0
call fcn.00425308
test al, al
je 0x512858
push 0
lea eax, [ebp - 0xc]
call fcn.0040769c
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x512858
jmp 0x51283a
lea eax, [ebp - 0x14]
call fcn.0040769c
push eax
push 0x7ce984
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov edx, dword [0x511b6c]
mov eax, 0x1c
call fcn.00406880
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
test eax, eax
jne 0x512746
mov eax, dword [ebp - 0x18]
add eax, 4
mov edx, dword [ebp - 0x1c]
call fcn.004057b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00425208
jmp 0x512784
push 0
lea eax, [ebp - 0x40]
push eax
push 0x5128b8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x512784
lea eax, [ebp - 0x50]
mov edx, 0x5128d8
call fcn.00421650
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x40]
call fcn.00423cd0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
add eax, 4
call fcn.004204c8
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
call fcn.00512398
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
add eax, 8
call fcn.004055d0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x5128e8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x5127c3
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
call fcn.004204c8
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0xc]
mov esi, 0x7c82c8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x40]
push eax
push 0x512904
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x51282f
xor eax, eax
push ebp
push 0x512825
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x40]
call fcn.004204c8
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040bf60
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x64]
lea edi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51282f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00512954
push 0
lea eax, [ebp - 0x10]
call fcn.0040769c
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x5126ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5128b0
lea eax, [ebp - 0x68]
call fcn.0040557c
lea eax, [ebp - 0x54]
call fcn.0040557c
lea eax, [ebp - 0x50]
mov edx, dword [0x40111c]
mov ecx, 2
call fcn.00406458
lea eax, [ebp - 0x14]
call fcn.0040769c
lea eax, [ebp - 0x10]
call fcn.0040769c
lea eax, [ebp - 0xc]
call fcn.0040769c
lea eax, [ebp - 8]
call fcn.0040769c
ret