Function at 0x4373e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48604c
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
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 - 0x1088], ecx
push 6
push 0
push str.USBPRINT
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x437434
jmp 0x437720
lea ecx, [ebp - 0x34]
call fcn.0040e380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e380
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x40], 0
jmp 0x437474
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x4376e9
mov ecx, dword [ebp - 0x1088]
movzx edx, byte [ecx]
test edx, edx
jne 0x4374a0
jmp 0x4376e9
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
je 0x43753e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x1070], eax
mov ecx, dword [ebp - 0x1070]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0
je 0x43753e
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x437526
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e530
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x1074], ecx
mov edx, dword [ebp - 0x1074]
push edx
call fcn.004553b4
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x437549
jmp 0x43746b
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
je 0x4375e7
mov eax, dword [ebp - 0x48]
push eax
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x1078], eax
mov ecx, dword [ebp - 0x1078]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
je 0x4375e7
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4375cf
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e530
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x107c], ecx
mov edx, dword [ebp - 0x107c]
push edx
call fcn.004553b4
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x4375f2
jmp 0x43746b
mov dword [ebp - 0x50], 0
push 0xf003f
push 1
push 0
push 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
je 0x437672
mov dword [ebp - 0x64], 0x1000
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x106c]
push eax
push 0
push 0
push 0x4903f4
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x437668
cmp dword [ebp - 0x64], 0x1000
ja 0x437668
lea edx, [ebp - 0x106c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 0
jne 0x43767d
jmp 0x43746b
push 0x10
call fcn.00455385
add esp, 4
mov dword [ebp - 0x1084], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1084], 0
je 0x4376bb
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
push 1
mov ecx, dword [ebp - 0x1084]
call fcn.00438180
mov dword [ebp - 0x108c], eax
jmp 0x4376c5
mov dword [ebp - 0x108c], 0
mov ecx, dword [ebp - 0x108c]
mov dword [ebp - 0x1080], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1080]
push edx
mov ecx, dword [ebp + 8]
call fcn.004380d0
jmp 0x43746b
cmp dword [ebp - 0x38], 0
je 0x4376f9
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
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