Function at 0x10007db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x144
mov eax, dword [0x10033a60]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
push esi
mov esi, dword [esp + 0x158]
push edi
mov dword [esp + 0x24], 0xffffffff
call fcn.1000c699
test eax, eax
jne 0x10007df1
push 0x80004005
call fcn.10001090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
call fcn.1000c699
test eax, eax
jne 0x10007e14
push 0x80004005
call fcn.10001090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
add edi, 0x10
push 0x1002a7cf
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
call fcn.100077e0
push 0x1002a7cf
lea ecx, [esp + 0x1c]
call fcn.100077e0
test esi, esi
jne 0x10007e4a
xor eax, eax
jmp 0x10007e5b
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007e50
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.100062b0
mov ebp, dword [esp + 0x20]
cmp dword [ebp - 0xc], 0
jg 0x10007ef4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007eb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007ed0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007eec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x100081f0
test ebx, ebx
jne 0x10007efc
xor eax, eax
jmp 0x10007f0c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007f01
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.100062b0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jg 0x10007f69
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007f41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007f61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x10007eb7
lea ecx, [esp + 0x14]
call fcn.10006690
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jge 0x10007f81
or eax, 0xffffffff
jmp 0x10007f9a
push str..SYS
push esi
call fcn.10014ea7
add esp, 8
test eax, eax
jne 0x10007f98
or eax, 0xffffffff
jmp 0x10007f9a
sub eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100060e0
push eax
lea ecx, [esp + 0x1c]
call fcn.10006840
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10007fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 6
push 0
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007f21
lea ecx, [esp + 0x30]
push ecx
push 0
push edi
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x28], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1000816d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, 1
lea ecx, [ecx]
push 0x20019
push 2
push 0
push ebp
lea edx, [esp + 0x40]
push edx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x100080da
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push str.Driver
push esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], 0x104
call ebx
test eax, eax
jne 0x100080d3
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
call fcn.10006cb0
lea ecx, [esp + 0x10]
call fcn.10006690
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100080d3
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x100080d3
push ecx
push eax
call fcn.10014ea7
add esp, 8
test eax, eax
je 0x100080d3
sub eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x100080d3
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push str.DriverVersion
push esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], 0x104
call ebx
test eax, eax
je 0x100080fb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
add eax, ebp
push ecx
push eax
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x10008020
jmp 0x10008165
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
call fcn.10006cb0
lea ecx, [esp + 0x10]
call fcn.10006690
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.10004220
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.10004220
call fcn.100076b0
add esp, 8
test eax, eax
jne 0x1000814a
mov dword [esp + 0x24], 2
jmp 0x1000815e
jle 0x10008152
mov dword [esp + 0x24], ebp
jmp 0x1000815e
test eax, eax
jge 0x1000815e
mov dword [esp + 0x24], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008194
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001530a
add esp, 0x144
ret