Function at 0x417b20
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x43fd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
jl 0x417b51
cmp dword [ebp + 0xc], 6
jle 0x417b58
xor al, al
jmp 0x41808f
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x10]
call fcn.00412e20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041e5f0
push eax
push 0x437170
push 1
push 0
push 0x437200
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x417bac
mov byte [ebp - 0x59], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
mov al, byte [ebp - 0x59]
jmp 0x41808f
lea ecx, [ebp - 0x1c]
call fcn.00412e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041e600
mov dword [ebp - 0x6c], eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.0041e5f0
push eax
push 0x4371f0
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x417c11
mov byte [ebp - 0x5a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
mov al, byte [ebp - 0x5a]
jmp 0x41808f
lea ecx, [ebp - 0x1c]
call fcn.0041e600
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
push edx
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
jmp 0x417c56
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jge 0x417c6f
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*8 + 0x288], 0
jmp 0x417c4d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.0041e600
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x417f73
lea eax, [ebp - 0x38]
push eax
push 0x437260
push 0
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x417f60
mov edx, 8
mov word [ebp - 0x4c], dx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x417f4c
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x54]
call fcn.0040fba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0040fba0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fbe0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041e550
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x14], 0
push 0
push 0x4366c4
lea ecx, [ebp - 0x54]
call fcn.0040fcf0
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x54]
call fcn.0040fc00
push 0x3e8
push 0
push 0x4366c8
lea ecx, [ebp - 0x54]
call fcn.0040fcf0
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fc00
push 0x3e8
push 0x11
lea ecx, [ebp - 0x54]
call fcn.0040fc00
push 0x4366cc
lea ecx, [ebp - 0x54]
call fcn.0041e570
test eax, eax
je 0x417df3
push str.Vid_1b55Pid_0909
lea ecx, [ebp - 0x54]
call fcn.0041e570
test eax, eax
je 0x417df3
push str.Vid_1b55Pid_090a
lea ecx, [ebp - 0x54]
call fcn.0041e570
test eax, eax
je 0x417df3
push str.Vid_1b55Pid_090b
lea ecx, [ebp - 0x54]
call fcn.0041e570
test eax, eax
je 0x417df3
push str.VID_1B55Pid_090c
lea ecx, [ebp - 0x54]
call fcn.0041e570
test eax, eax
jne 0x417f34
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x417f2b
push 0
push str.mi_00
lea ecx, [ebp - 0x50]
call fcn.0040fcf0
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x417e24
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x26c], 1
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
push 0x437160
push 0
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x417f2b
push 0
lea ecx, [ebp - 0x4c]
push ecx
push str.FriendlyName
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fbe0
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040ff20
push eax
call fcn.004180a0
add esp, 8
push str.ZKSoftware_Inc.
mov edx, dword [ebp + 8]
add edx, 0x70
push edx
call fcn.004208cb
add esp, 8
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*8 + 0x288], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x417f1a
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*8 + 0x284], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*8 + 0x284], 0
je 0x417f01
mov byte [ebp - 0x1d], 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0040fbc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0040fbc0
cmp dword [ebp - 0x38], 0
je 0x417f60
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x417c76
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x274], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x418041
push 0x40
call fcn.00420a17
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x64], 0
je 0x417fdc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*8 + 0x288]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*8 + 0x284]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.00401030
mov dword [ebp - 0x78], eax
jmp 0x417fe3
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x26c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
je 0x41801d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 4], 0
jne 0x418041
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
mov al, byte [ebp - 0x65]
jmp 0x41808f
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
jne 0x41806d
mov byte [ebp - 0x66], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
mov al, byte [ebp - 0x66]
jmp 0x41808f
mov byte [ebp - 0x67], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
mov al, byte [ebp - 0x67]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret