Function at 0x437ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48617b
mov eax, dword fs:[0]
push eax
mov eax, 0x108c
call fcn.0046ab70
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1094], ecx
push 6
push 0
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x30], eax
push 0x1c
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0046ac10
add esp, 0xc
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x43809d
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x40]
call fcn.0040e380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e380
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], 0
push 0xf003f
push 1
push 0
push 1
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x437cf5
mov dword [ebp - 0x60], 0x1000
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x1064]
push edx
push 0
push 0
push 0x490434
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x437ceb
cmp dword [ebp - 0x60], 0x1000
ja 0x437ceb
lea ecx, [ebp - 0x1064]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040e530
push 0
push 0x490440
lea ecx, [ebp - 0x5c]
call fcn.0040ddd0
cmp eax, 0xffffffff
je 0x437ceb
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x4c], 0
jne 0x437d33
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040e4c0
jmp 0x437c04
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 9
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 0
je 0x437ddd
mov eax, dword [ebp - 0x44]
push eax
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x1074], eax
mov ecx, dword [ebp - 0x1074]
mov dword [ebp - 0x1068], ecx
cmp dword [ebp - 0x1068], 0
je 0x437ddd
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1068]
push edx
lea eax, [ebp - 0x54]
push eax
push 9
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x437dc2
mov eax, dword [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040e530
mov ecx, dword [ebp - 0x1068]
mov dword [ebp - 0x1078], ecx
mov edx, dword [ebp - 0x1078]
push edx
call fcn.004553b4
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x437e27
lea ecx, [ebp - 0x58]
call fcn.0040e560
test eax, eax
jle 0x437e27
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040e4c0
jmp 0x437c04
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 0
je 0x437ed1
mov eax, dword [ebp - 0x44]
push eax
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x107c], eax
mov ecx, dword [ebp - 0x107c]
mov dword [ebp - 0x106c], ecx
cmp dword [ebp - 0x106c], 0
je 0x437ed1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x106c]
push edx
lea eax, [ebp - 0x54]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x437eb6
mov eax, dword [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov ecx, dword [ebp - 0x106c]
mov dword [ebp - 0x1080], ecx
mov edx, dword [ebp - 0x1080]
push edx
call fcn.004553b4
add esp, 4
cmp dword [ebp - 0x38], 0
jne 0x437f0f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040e4c0
jmp 0x437c04
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 0
je 0x437fc0
mov eax, dword [ebp - 0x44]
push eax
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x1084], eax
mov ecx, dword [ebp - 0x1084]
mov dword [ebp - 0x1070], ecx
cmp dword [ebp - 0x1070], 0
je 0x437fc0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1070]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x437fa5
mov eax, dword [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e530
mov ecx, dword [ebp - 0x1070]
mov dword [ebp - 0x1088], ecx
mov edx, dword [ebp - 0x1088]
push edx
call fcn.004553b4
add esp, 4
cmp dword [ebp - 0x38], 0
jne 0x437ffe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040e4c0
jmp 0x437c04
push 0x10
call fcn.00455385
add esp, 4
mov dword [ebp - 0x1090], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1090], 0
je 0x43803c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0
mov ecx, dword [ebp - 0x1090]
call fcn.00438180
mov dword [ebp - 0x1098], eax
jmp 0x438046
mov dword [ebp - 0x1098], 0
mov eax, dword [ebp - 0x1098]
mov dword [ebp - 0x108c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x108c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004380d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040e4c0
jmp 0x437c04
cmp dword [ebp - 0x30], 0
je 0x4380ad
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 4