Function at 0x41a18e
Capabilities:
Enumerate devices by category

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4260d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x7b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea ecx, [ebx + 0x64]
mov dword [ebp - 0x50], esi
call fcn.0040c872
push 0xffff0000
xor edi, edi
push edi
push 0x1101
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x44], edi
call fcn.0040c025
lea ecx, [ebp - 0x44]
push ecx
push 0x408040
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x42d974]
call dword [esi]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x41a22b
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x42d974]
call esi
mov ecx, dword [ebp - 0x44]
push ecx
mov dword [ebp - 0x38], eax
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
mov eax, dword [ebp - 0x38]
jmp 0x41a242
lea eax, [ebp - 0x3c]
push eax
push 0x407fd0
push 1
push edi
push 0x4075e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41a41c
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
push edi
push ecx
mov dword [ebp - 0x40], edi
mov esi, dword [eax]
push 0x4076e0
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
test eax, eax
jne 0x41a3d8
jmp 0x41a399
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push ecx
push 0x408140
push edi
mov esi, dword [eax]
push edi
push eax
mov ecx, dword [esi + 0x24]
call dword [0x42d974]
call dword [esi + 0x24]
mov dword [ebp - 0x38], eax
test eax, eax
js 0x41a3c0
push 8
pop eax
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x48]
push edi
push ecx
push 0x4038e4
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
test eax, eax
js 0x41a373
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x41a369
push 8
pop eax
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x48]
push edi
push ecx
push 0x403494
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
mov dword [ebp - 0x54], eax
test eax, eax
mov eax, dword [ebp - 0x70]
jns 0x41a30e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x41a319
mov eax, edi
jmp 0x41a348
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, di
jne 0x41a31e
sub esi, ecx
sar esi, 1
lea esi, [esi*2 + 2]
mov eax, esi
call fcn.00421c40
mov eax, esp
push edi
push esi
push dword [ebp - 0x38]
push eax
call fcn.0040de41
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.00419fe5
cmp dword [ebp - 0x54], edi
jl 0x41a369
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
mov esi, dword [eax]
push 1
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x41a276
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
js 0x41a409
mov eax, dword [0x40366c]
test eax, eax
je 0x41a409
mov ecx, edi
push dword [ebp - 0x3c]
push eax
push dword [ebp - 0x50]
push dword [ecx + 0x403670]
mov ecx, ebx
call fcn.00419fe5
inc edi
mov ecx, edi
shl ecx, 3
mov eax, dword [ecx + 0x40366c]
test eax, eax
jne 0x41a3e5
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
lea eax, [ebp - 0x14]
mov dword [ebx + 0x8c], 1
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebx + 0x90], ecx
mov ecx, ebx
push 0x7b
mov dword [ebx + 0x94], eax
call sub.MFC42.dll_CWnd::GetDlgItem
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
mov dword [ebx + 0x98], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
mov dword [ebx + 0x9c], eax
lea esp, [ebp - 0x84]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421ad0
leave
ret