Function at 0x10001217
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x100064c0
sub esp, 0x744
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
mov esi, dword [esp + 0x750]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call ebp
test eax, eax
je 0x100064f8
pop esi
xor eax, eax
pop ebp
add esp, 0x744
ret
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x244]
push edx
push 0
push 0
push str.Service
mov edi, 0x104
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], edi
call ebx
test eax, eax
jne 0x1000654f
lea ecx, [esp + 0x240]
push ecx
push esi
call fcn.1000172b
add esp, 8
test eax, eax
je 0x1000654f
mov dword [esp + 0x28], 1
push esi
lea edx, [esp + 0x550]
push str._sDevice_Parameters
push edx
mov dword [esp + 0x38], edi
call fcn.1002cc1c
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x558]
push ecx
push 0x80000002
call ebp
test eax, eax
jne 0x100065b0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44c]
push eax
push 0
push 0
push str.VideoID
push ecx
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
push eax
push 0x20019
xor esi, esi
push esi
push str.HardwareDeviceMapVideo
push 0x80000002
mov dword [esp + 0x44], edi
call ebp
test eax, eax
jne 0x10006714
jmp 0x100065e0
push esi
push str.DeviceVideo
lea ecx, [esp + 0x34c]
push str._s_d
push ecx
call fcn.1002cc1c
add esp, 0x10
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push 0
push 0
lea ecx, [esp + 0x354]
push ecx
push edx
inc esi
call ebx
mov edi, eax
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.1002c940
add esp, 8
test eax, eax
jne 0x1000663d
test edi, edi
je 0x100065e0
jmp 0x10006709
test edi, edi
jne 0x10006709
push str.RegistryMachine_
lea edx, [esp + 0x140]
push 0x100444c8
mov esi, 4
push edx
mov dword [esp + 0x30], esi
call fcn.1002cc1c
lea eax, [esp + 0x148]
push eax
call fcn.1002caf1
lea ecx, [esp + 0x48]
push ecx
call fcn.1002caf1
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.1002c940
add esp, 0x1c
test eax, eax
je 0x100066ae
add eax, 0x12
push eax
lea ecx, [esp + 0x654]
push 0x100444c8
push ecx
call fcn.1002cc1c
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x65c]
push eax
push 0x80000002
call ebp
test eax, eax
jne 0x10006709
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
push str.Acceleration.Level
push eax
mov dword [esp + 0x3c], esi
call ebx
test eax, eax
jne 0x100066fe
mov ecx, dword [esp + 0x75c]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x744
ret