Function at 0x42b768
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbbc
push esi
push edi
mov eax, 0x50d79c
call fcn.004c58b8
mov dword [ebp - 0x30], 4
xor edx, edx
mov dword [ebp - 0x34], edx
mov esi, 0x50cfdc
lea edi, [ebp - 0x444]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x44], 4
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.SoftwareMStarISPTool
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42be81
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Port_Index_0_1:LPT__2_9:COM_
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Port_Base_Address
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Slave_Address
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Clock_Delay_Count
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Re_Connect_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Read_File_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Restore_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Erase
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x34
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.File_Area_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Erase_Area_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Blank_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.HDCP_Key_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Program_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Verify_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x48
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Exit_ISP_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x58
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.CompareMode
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xd4
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.AllowedEditHDCPKeyAlloc
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42ba19
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x444]
push eax
lea edx, [ebp - 0x40]
push edx
push 0
push str.UserCode
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
mov word [ebp - 0x18], 8
lea edx, [ebp - 0x444]
lea eax, [ebp - 4]
call fcn.004d137c
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0xd0
call fcn.004d150c
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d14dc
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x70], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x54
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Auto_Increase_HDCP_Key_Index
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x4c
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.WP_Ctrl_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.First_Erase_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.First_Erase_Size_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x68
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Partial_Erase_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x50
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Global_Offset_Address_Index
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 8
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
push 0
push str.Partial_Erase_Bit_Field_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp + 8]
add edx, 0x80
push edx
push 0
push 0
push str.Partial_Erase_Bit_Field_Item1
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x88
push eax
push 0
push 0
push str.Partial_Erase_Sector_Bit_Field_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x90
push ecx
push 0
push 0
push str.Partial_Erase_Sector_Bit_Field_Item1
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp + 8]
add edx, 0x98
push edx
push 0
push 0
push str.Protect_Area_Bits_Field_0
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp + 8]
add eax, 0xa0
push eax
push 0
push 0
push str.Protect_Area_Bits_Field_1
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xa8
push ecx
push 0
push 0
push 0x50d4d7
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp + 8]
add edx, 0xb0
push edx
push 0
push 0
push 0x50d4e4
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp + 8]
add eax, 0xb8
push eax
push 0
push 0
push 0x50d4eb
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xc0
push ecx
push 0
push 0
push 0x50d4f2
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
push 0
push 0
push 0x50d4f9
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 4
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x6c
push eax
push 0
push 0
push str.Auto_Check_Partial_Erase_Item
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.SDA_IN
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42bd0a
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov dword [edx + 0xd8], eax
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push str.SDA_OUT
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42bd38
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xdc], edx
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
push edx
push 0
push 0
push str.SCL_IN
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42bd66
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov dword [eax + 0xe0], ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.SCL_OUT
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42bd94
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov dword [edx + 0xe4], eax
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push str.SDA_IN_HIGH
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42bdcc
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xd8]
lea ecx, [ecx + ecx*2]
mov eax, dword [ebp - 0x38]
mov dword [ecx*4 + 0x50cbe4], eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.SDA_OUT_HIGH
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42be04
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xdc]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0x38]
mov dword [edx*4 + 0x50cbe4], ecx
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
push edx
push 0
push 0
push str.SCL_IN_HIGH
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42be3c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xe0]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x38]
mov dword [eax*4 + 0x50cbe4], edx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push str.SCL_OUT_HIGH
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42be74
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xe4]
lea ecx, [ecx + ecx*2]
mov eax, dword [ebp - 0x38]
mov dword [ecx*4 + 0x50cbe4], eax
push dword [ebp - 0x2c]
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x42bf98
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x378
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x1f4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 1
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 1
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], 1
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x60], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], pe_nt_image_headers32
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x60], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0xffff
mov dword [edx + 0x7c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x88], 0xffff
mov dword [eax + 0x8c], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd4], 1
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret