Function at 0x10007cf0
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.1000c5d9
test eax, eax
jne 0x10007d31
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.1000c5d9
test eax, eax
jne 0x10007d54
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 0x1002a7b3
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
call fcn.10007760
push 0x1002a7b3
lea ecx, [esp + 0x1c]
call fcn.10007760
test esi, esi
jne 0x10007d8a
xor eax, eax
jmp 0x10007d9b
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007d90
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.10006230
mov ebp, dword [esp + 0x20]
cmp dword [ebp - 0xc], 0
jg 0x10007e34
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 0x10007dd4
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 0x10007df4
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 0x10007e10
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 0x10007e2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x10008130
test ebx, ebx
jne 0x10007e3c
xor eax, eax
jmp 0x10007e4c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007e41
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.10006230
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jg 0x10007ea9
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 0x10007e81
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 0x10007ea1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x10007df7
lea ecx, [esp + 0x14]
call fcn.10006610
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jge 0x10007ec1
or eax, 0xffffffff
jmp 0x10007eda
push str..SYS
push esi
call fcn.10014de7
add esp, 8
test eax, eax
jne 0x10007ed8
or eax, 0xffffffff
jmp 0x10007eda
sub eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10006060
push eax
lea ecx, [esp + 0x1c]
call fcn.100067c0
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 0x10007f13
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 0x10007e61
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 0x100080ad
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 0x1000801a
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 0x10008013
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
call fcn.10006c30
lea ecx, [esp + 0x10]
call fcn.10006610
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10008013
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x10008013
push ecx
push eax
call fcn.10014de7
add esp, 8
test eax, eax
je 0x10008013
sub eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10008013
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 0x1000803b
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 0x10007f60
jmp 0x100080a5
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
call fcn.10006c30
lea ecx, [esp + 0x10]
call fcn.10006610
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.10004fc0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.10004fc0
call fcn.10007630
add esp, 8
test eax, eax
jne 0x1000808a
mov dword [esp + 0x24], 2
jmp 0x1000809e
jle 0x10008092
mov dword [esp + 0x24], ebp
jmp 0x1000809e
test eax, eax
jge 0x1000809e
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 0x100080d4
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 0x100080f4
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 0x10008110
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 0x1000812c
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.1001524a
add esp, 0x144
ret