Function at 0x14000ed74
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x710
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rdi, rcx
call fcn.140010f08
call fcn.140011f04
mov qword [rsp + 0x68], rax
mov byte [rax + 0x41], 1
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x68]
mov qword [rax], rax
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x10], rax
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftTPGLanguageModel
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000ee47
lea rcx, [rsp + 0x60]
call fcn.140010f08
mov rcx, qword [rsp + 0x68]
call fcn.140035cb4
nop
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.1400362c0
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov esi, r15d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x2e0]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000eefb
mov rax, qword [rsp + 0x68]
mov r8, qword [rax]
mov qword [rsp + 0x48], r8
cmp r8, rax
je 0x14000eed5
add r8, 0x18
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140010e40
mov r8, qword [rsp + 0x58]
cmp r8, qword [rdi + 8]
je 0x14000eebf
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140010fa4
lea rcx, [rsp + 0x48]
call fcn.140010dc8
mov rax, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
jmp 0x14000ee91
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x60]
call fcn.140010f08
mov rcx, qword [rsp + 0x68]
call fcn.140035cb4
nop
jmp 0x14000ee1e
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000efd4
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Resource0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000efdb
mov qword [rsp + 0xc0], 7
mov qword [rsp + 0xb8], r15
mov word [rsp + 0xa8], r15w
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0xa0]
call fcn.140011a68
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.14001147c
nop
cmp qword [rsp + 0xc0], 8
jb 0x14000efc9
mov rcx, qword [rsp + 0xa8]
call fcn.140035cb4
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
jmp 0x14000ee4a
movups xmm0, xmmword [str.Version0]
movaps xmmword [rsp + 0xd0], xmm0
movzx eax, word [0x14003d9c8]
mov word [rsp + 0xe0], ax
xor edx, edx
mov r8d, 0x1f6
lea rcx, [rsp + 0xe2]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
mov r14d, eax
mov ebx, r15d
test r14d, r14d
jne 0x14000efc9
cmp ebx, 4
jae 0x14000efc9
cmp ebx, dword [rsp + 0x58]
je 0x14000f114
lea eax, [rbx + 0x30]
mov word [rsp + 0xde], ax
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x14000f114
mov qword [rsp + 0xc0], 7
mov qword [rsp + 0xb8], r15
mov word [rsp + 0xa8], r15w
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0xa0]
call fcn.140011a68
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14001147c
nop
cmp qword [rsp + 0xc0], 8
jb 0x14000f114
mov rcx, qword [rsp + 0xa8]
call fcn.140035cb4
inc ebx
jmp 0x14000f048