Function at 0x401c00
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
push 0x40b1d0
push 3
push ebx
push 0x40b200
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x401c9d
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x401c61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x401c72
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x401c82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x401c96
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
jmp 0x401e18
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ebx
push edx
mov ecx, dword [eax]
push 0x40b1f0
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
je 0x401d03
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x401cc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x401cd8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x401ce8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x401c96
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
jmp 0x401e18
lea eax, [ebp - 0x14]
push eax
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x401dcd
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
cmp ecx, eax
je 0x401e2f
cmp dword [ebp + 0xc], eax
je 0x401e2f
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x401da8
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov edi, eax
jne 0x401d61
xor eax, eax
jmp 0x401d82
push eax
call fcn.004025c0
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00402b60
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401ea0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.00401f30
mov edx, dword [ebp - 0x20]
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
jne 0x401e2c
call dword [ecx + 0x14]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00402590
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x401d2a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x401dde
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x401def
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x401dff
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x401e13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [ecx + 0x14]
push ebx
push 0x4103c0
call fcn.00402590
mov eax, dword [ebp - 0x10]
push 0x4103c0
push 0x40b1c0
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x401e62
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x401e73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x401e83
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x401e97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x401e18