Function at 0x444b50
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x50
lea eax, [ebp - 0x158]
mov dword [ebp - 0x168], 0
push 0
push eax
mov ebx, ecx
mov dword [ebp - 0x164], 0
call fcn.0047ebc0
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
add esp, 0xc
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x159], 0
call edi
mov esi, eax
mov dword [ebp - 0x160], esi
call edi
sub eax, esi
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_00:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x168]
push eax
push 0x4f1420
push 1
push 0
setns cl
push 0x4f1430
mov dword [ebp - 0x184], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
call edi
sub eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_01:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
js 0x444fb4
cmp dword [ebp - 0x168], 0
je 0x444fb4
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.._rootcimv2
call esi
push str.Win32_PNPEntity
mov dword [ebp - 0x180], eax
call esi
push str.DeviceID
mov dword [ebp - 0x17c], eax
call esi
mov edx, dword [ebp - 0x180]
mov edi, eax
test edx, edx
je 0x444f9a
cmp dword [ebp - 0x17c], 0
je 0x444f73
test edi, edi
je 0x444f73
mov eax, dword [ebp - 0x168]
lea esi, [ebp - 0x16c]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_02:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
js 0x444f73
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x444f73
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_03:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x164]
push edx
push 0
push 0
push dword [ebp - 0x17c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov esi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_04:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
js 0x444f73
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x444f73
mov eax, dword [ecx]
lea edx, [ebp - 0x174]
push edx
lea edx, [ebp - 0x158]
push edx
push 0x14
push 0x2710
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x444f44
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x444f44
xor esi, esi
test eax, eax
je 0x444f1b
nop dword [eax]
mov eax, dword [ebp + esi*4 - 0x158]
lea edx, [ebp - 0x198]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push edi
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x444ef2
cmp word [ebp - 0x198], 8
jne 0x444ef2
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x444ef2
push 0x4f12a0
push eax
call fcn.0047ee44
add esp, 8
test eax, eax
je 0x444ef2
push str.VID_
push dword [ebp - 0x190]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], 0
call fcn.0047ee44
add esp, 8
test eax, eax
je 0x444e99
lea ecx, [ebp - 0x170]
push ecx
push str.VID__4X
push eax
call fcn.00444360
mov ecx, dword [ebp - 0x170]
xor edx, edx
add esp, 0xc
cmp eax, 1
cmovne ecx, edx
mov dword [ebp - 0x170], ecx
push str.PID_
push dword [ebp - 0x190]
call fcn.0047ee44
add esp, 8
test eax, eax
je 0x444ed5
lea ecx, [ebp - 0x178]
push ecx
push str.PID__4X
push eax
call fcn.00444360
mov ecx, dword [ebp - 0x178]
xor edx, edx
add esp, 0xc
cmp eax, 1
cmovne ecx, edx
jmp 0x444edb
mov ecx, dword [ebp - 0x178]
movzx eax, word [ebp - 0x170]
movzx ecx, cx
shl ecx, 0x10
or ecx, eax
cmp ecx, dword [ebx]
je 0x444f83
mov ecx, dword [ebp + esi*4 - 0x158]
test ecx, ecx
je 0x444f0e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp + esi*4 - 0x158], 0
inc esi
cmp esi, dword [ebp - 0x174]
jb 0x444df0
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x174]
push edx
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [eax]
push 0x14
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x444dd1
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x108]
push str.IsXInputDevice_10:__dMs_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x180]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
jmp 0x444fa0
push dword [ebp - 0x180]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 0x159], 1
call ebx
jmp 0x444fa0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x444fa7
push edi
call ebx
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x444fb4
push eax
call ebx
xor esi, esi
nop word [eax + eax]
mov ecx, dword [ebp + esi*4 - 0x158]
test ecx, ecx
je 0x444fdc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp + esi*4 - 0x158], 0
inc esi
cmp esi, 0x14
jb 0x444fc0
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x444ffc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x445016
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x445030
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x16c], 0
cmp dword [ebp - 0x184], 0
je 0x44503f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x159]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret