Function at 0x4125dc
Capabilities:
Enumerate devices by category

Disassembly:
push 0x1c
mov eax, 0x47fe9d
call fcn.00402847
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x41275c
push 8
call fcn.004015a0
mov eax, dword [ebp + 0x10]
xor edi, edi
pop ecx
pop ecx
mov dword [eax], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
push 0x410e68
push 0x17
push edi
push 0x411b30
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x4328ba
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jl 0x412798
cmp esi, 1
je 0x412798
mov edi, dword [ebp + 0xc]
lea esi, [ebx + 0x24]
cmp edi, dword [esi]
mov dword [ebp - 0x28], edi
jge 0x41270c
and dword [ebp - 0x20], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0x24], 0
push edi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004028b8
mov ebx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4127cc
cmp dword [ebp - 0x24], 1
jne 0x4328cf
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebx + 0x10c], 0xfffffeff
mov dword [ebx + 0x64], eax
push dword [ebp - 0x10]
push ebx
call fcn.00411414
test eax, eax
jl 0x4127cc
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.004134ee
test eax, eax
jl 0x4127cc
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4126f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
inc edi
inc dword [ebp - 0x20]
add esi, 0x24
cmp edi, dword [esi]
mov dword [ebp - 0x28], edi
jl 0x412669
mov ecx, dword [ebp - 0x14]
push 0
call fcn.004124f5
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
sub edi, ebx
mov dword [eax], edi
call fcn.004106f0
test eax, eax
jne 0x4328e9
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test eax, eax
je 0x412741
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x412752
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.00402881
ret 0xc
push esi
push 0x4127d8
push 1
call fcn.004015a0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 0
cmp eax, edi
jne 0x432910
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x4127c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x412754
mov dword [ebx + 4], eax
jmp 0x4126e3
push esi
push 0x432920
push 1
call fcn.004015a0
add esp, 0xc
jmp 0x4127b7
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x41270c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41270c
cmp ebx, dword [esi]
mov edi, ebx
jge 0x412730
push edi
mov ecx, esi
call fcn.004028b8
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.004690cf
inc edi
cmp edi, dword [esi]
jge 0x412730
jmp 0x4328f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4127b7