Function at 0x40eeb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push esi
push eax
push 1
push 0
push str.SoftwarePkLongUniKey
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40eee5
push 0
mov ecx, esi
call fcn.0040f370
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 4
push eax
push 0
push str.ShowDlg
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Vietnamese
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.CodeTable
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SwitchKey
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.InputMethod
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.FreeMarking
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.ModernStyle
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.VietGUI
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.InConvCharset
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.OutConvCharset
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.ClipboardConvert
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MacroEnabled
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.AutoNonVnRestore
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SpellCheckEnabled
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.UseUnicodeClipboard
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.AlwaysMacro
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.UseIME
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.AutoUpdate
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40f19c
xor ebx, ebx
jmp 0x40f1a1
mov ebx, 1
lea ecx, [ebp - 4]
mov dword [ebp - 4], 4
push ecx
lea eax, [esi + 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Notification
push dword [ebp - 8]
call edi
test eax, eax
je 0x40f1cb
mov dword [esi + 0x48], 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 4
push ecx
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.AutoUpcaseMacro
push dword [ebp - 8]
call edi
test eax, eax
je 0x40f1f5
mov dword [esi + 0x4c], 1
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x208
push ecx
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MacroPath
push dword [ebp - 8]
call edi
test eax, eax
je 0x40f224
lea eax, [esi + 0x50]
push eax
call fcn.0040ee40
add esp, 4
pop edi
test ebx, ebx
pop ebx
je 0x40f233
push 0
mov ecx, esi
call fcn.0040f370
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0040f2c0
push dword [esi + 8]
mov dword [esi + 0x260], eax
call fcn.004035e0
add esp, 4
cmp eax, 0xffffffff
jne 0x40f25e
mov dword [esi + 8], 0
cmp dword [esi + 0xc], 2
jb 0x40f26b
mov dword [esi + 0xc], 0
push dword [esi + 0x10]
call fcn.00403610
add esp, 4
cmp eax, 0xffffffff
jne 0x40f282
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f295
cmp eax, 1
je 0x40f295
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40f2a8
cmp eax, 1
je 0x40f2a8
mov dword [esi + 0x1c], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret