Function at 0x4011b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 4], 0x100
mov dword [ebp - 0x108], 1
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x20019
push 1
push 0x4088ec
push 0
push str.SoftwareHeima2001
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.C:HM2001_
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push str.BaseDir
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [0x408b00]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x108], 4
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push str.FontSize
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x10c]
mov dword [0x408b04], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
push str.FontColor
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10c]
mov dword [0x408b08], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.SouthSound
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b0c], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.SpellPrompt
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b14], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.PreferHeadSpell
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b18], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.DirectScreen
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b1c], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.HeadSpell
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b20], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.AutoWord
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b24], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.EnableUserlib
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b28], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.UsedFirst
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b30], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.UsedGBK
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
cmp edx, dword [ebp - 0x10c]
sbb eax, eax
neg eax
mov dword [0x408b3c], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 2
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push str.CpuType
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x10c]
mov dword [0x408b34], edx
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push str.InputMethod
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x10c]
mov dword [0x408b2c], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x10c], 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
push str.SpellSet
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10c]
mov dword [0x408b10], eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret