Function at 0x100439e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x155], 1
mov dword [ebp - 0x13c], 0x1c
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x140]
push ecx
push 1
lea edx, [ebp - 0x16c]
push edx
push 0x10078cec
call dword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameA]
push 2
push 0
push 0
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x148], 0
jmp 0x10043a93
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x10043bbc
push 0
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x10043adf
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10043a84
mov ecx, dword [ebp - 0x154]
and ecx, 0x40000000
je 0x10043afe
mov edx, dword [ebp - 0x14c]
add edx, 1
mov dword [ebp - 0x14c], edx
jmp 0x10043a84
push 0xf003f
push 2
push 0
push 1
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x10043b31
jmp 0x10043a84
mov dword [ebp - 0x15c], 0x103
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x10078cf0
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10043baa
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x120]
push ecx
push str.Compare__s_to__s_n
call fcn.1001513b
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.10015ac0
add esp, 8
test eax, eax
jne 0x10043baa
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10043bbc
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10043a84
cmp dword [ebp - 8], 0
je 0x10043cc9
push str.Found..._n
call fcn.1001513b
add esp, 4
mov dword [ebp - 0x180], 8
xor eax, eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x180], 8
mov dword [ebp - 0x17c], 0x12
cmp dword [ebp + 0xc], 0
je 0x10043c1d
mov dword [ebp - 0x178], 1
jmp 0x10043c27
mov dword [ebp - 0x178], 2
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 1
push 0x14
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsA]
test eax, eax
je 0x10043c76
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x12
call dword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x10043c7d
mov byte [ebp - 0x155], 0
mov dword [ebp - 0x174], 2
push 0x14
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsA]
test eax, eax
je 0x10043cc2
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x12
call dword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x10043cc9
mov byte [ebp - 0x155], 0
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret