Function at 0x140001640
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xe90
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x140056c50]
xor rax, rsp
mov qword [rsp + 0xe80], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [r11 - 0x128]
call fcn.14002b480
mov dword [rsp + 0x80], 0x32
mov byte [rsp + 0xa40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xa41]
call fcn.14002b480
mov dword [rsp + 0xb0], 0x104
mov byte [rsp + 0x710], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x711]
call fcn.14002b480
mov dword [rsp + 0xb8], 0x104
mov byte [rsp + 0x820], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x821]
call fcn.14002b480
mov dword [rsp + 0x9c], 0x104
mov byte [rsp + 0x930], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x931]
call fcn.14002b480
mov dword [rsp + 0xac], 0x104
lea rcx, [rsp + 0xd70]
mov rax, qword [str.SOFTWAREWow6432NodeC_DACISMV5Settings]
mov qword [rcx], rax
mov rax, qword [0x140048a68]
mov qword [rcx + 8], rax
mov rax, qword [0x140048a70]
mov qword [rcx + 0x10], rax
mov rax, qword [0x140048a78]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140048a80]
mov qword [rcx + 0x20], rax
movzx eax, word [0x140048a88]
mov word [rcx + 0x28], ax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0xd70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400019f3
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.HYPHENATION
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ISMENABLEDISABLE
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROMAN
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROMANCAPITALS
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BILINGUAL
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.KEYBOARD
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x94]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SCRIPTKEY
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0xa40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LANGMN
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x710]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.KBDTYPDLL
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x9c]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x820]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.KBDTYPNAME
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0xac]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x930]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ISMPATH
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [rsp + 0x90]
cmp dword [0x1400584a4], 1
jne 0x140001a36
cmp eax, 6
jne 0x140001a36
call qword [0x14005cde0]
call qword [0x14005cdc0]
mov dword [0x1400584a4], esi
mov dword [0x1400584a0], 1
jmp 0x140001a60
cmp dword [0x1400584a0], 1
jne 0x140001a60
cmp eax, 6
je 0x140001a60
call qword [0x14005cdc8]
call qword [0x14005cdd8]
mov dword [0x1400584a0], esi
mov dword [0x1400584a4], 1
mov byte [rsp + 0xb50], sil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xb51]
call fcn.14002b480
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
lea rdi, [rsp + 0x710]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea eax, [rcx - 2]
movsxd rcx, eax
test eax, eax
js 0x140001ade
cmp byte [rsp + rcx + 0x710], 0x5c
je 0x140001ab5
dec eax
sub rcx, 1
jns 0x140001aa1
jmp 0x140001ade
movsxd rdi, eax
movsxd r8, edx
cmp rdi, r8
jge 0x140001ade
lea rdx, [rsp + rdi + 0x711]
mov rax, rdi
sub rax, rcx
lea rcx, [rsp + rax + 0xb50]
sub r8, rdi
call fcn.14002ba20
mov byte [rsp + 0xc60], sil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xc61]
call fcn.14002b480
xor eax, eax
mov rcx, rbx
lea rdi, [rsp + 0x820]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea eax, [rcx - 2]
movsxd rcx, eax
test eax, eax
js 0x140001b5d
nop dword [rax + rax]
cmp byte [rsp + rcx + 0x820], 0x5c
je 0x140001b34
dec eax
sub rcx, 1
jns 0x140001b20
jmp 0x140001b5d
movsxd rdi, eax
movsxd r8, edx
cmp rdi, r8
jge 0x140001b5d
lea rdx, [rsp + rdi + 0x821]
mov rax, rdi
sub rax, rcx
lea rcx, [rsp + rax + 0xc60]
sub r8, rdi
call fcn.14002ba20
mov byte [rsp + 0x600], sil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x601]
call fcn.14002b480
lea r8, [rsp + 0x930]
mov edx, 0x104
lea rcx, [rsp + 0x600]
call fcn.14002a2e8
mov edx, 0x5c
lea rcx, [rsp + 0x600]
call fcn.140029ef4
mov byte [rax], sil
lea r8, str.64BitTyping
mov edx, 0x104
lea rcx, [rsp + 0x600]
call fcn.14002a35c
mov edx, dword [rsp + 0xa4]
mov dword [rsp + 0x2dc], edx
mov eax, esi
cmp dword [rsp + 0xb4], eax
sete al
mov dword [rsp + 0x2d8], eax
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x5f8], ax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x2e0], eax
lea r8, [rsp + 0xb50]
mov edx, 0x104
lea rcx, [rsp + 0x2e8]
call fcn.14002a2e8
lea r8, [rsp + 0xc60]
mov edx, 0x104
lea rcx, [rsp + 0x3ec]
call fcn.14002a2e8
lea r8, [rsp + 0x600]
mov edx, 0x104
lea rcx, [rsp + 0x1d4]
call fcn.14002a2e8
lea r8, [rsp + 0x600]
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call fcn.14002a2e8
mov rdx, rsi
nop dword [rax]
movzx eax, byte [rsp + rdx + 0xa40]
mov byte [rsp + rdx + 0x4f0], al
inc rdx
test al, al
jne 0x140001c70
mov word [rsp + 0x5f4], si
movzx eax, word [rsp + 0xa0]
mov word [rsp + 0x2e6], ax
movzx eax, word [rsp + 0xa8]
mov word [rsp + 0x5f6], ax
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x2e4], ax
call fcn.1400111e0
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140001cdc
mov ecx, 0x80004005
call fcn.1400021b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc0], rax
movzx eax, word [rsp + 0x2e4]
movzx ecx, word [rsp + 0x5f6]
movzx edx, word [rsp + 0x2e6]
movzx edi, word [rsp + 0x5f8]
movzx r8d, word [rsp + 0x5f4]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], r8d
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1d4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x3ec]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x2e0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x2d8]
mov r8d, dword [rsp + 0x2dc]
lea rdx, str.bHyphenation___d_n_bIsmDisable___d_n_bRomanInternational___d_n_cstrKbdDllName___s_n_cstrKbdTypName___s_n_cstrLangPath___s_n_cstrPath___s_n_cstrScript___s_n_nAppCategory___d_n_nBilingual___d_n_nKeyboard___d_n_nRomanCase___d_n_nScriptKey___d_n
lea rcx, [rsp + 0xc0]
call fcn.140002150
cmp dword [rsp + 0x90], 6
jne 0x140001db8
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [0x14005cdb8]
jmp 0x140001dc9
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [0x14005cdd0]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140001de9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov al, 1
mov rcx, qword [rsp + 0xe80]
xor rcx, rsp
call fcn.140029b50
lea r11, [rsp + 0xe90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret