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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x838
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140022750]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000fb37
mov dword [rsp + 0x28], 0
jmp 0x14000f7ed
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov r9d, 0x40
lea r8, [rsp + 0x180]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14000fb2c
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000fb27
mov dword [rsp + 0x2c], 0
jmp 0x14000f846
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov r9d, 0x40
lea r8, [rsp + 0x100]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14000fb1c
mov dword [rsp + 0x38], 0x208
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x14000fb17
mov ecx, 0x498
call fcn.1400011c8
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000f8c3
mov rcx, qword [rsp + 0x50]
call fcn.14000bc50
mov qword [rsp + 0x58], rax
jmp 0x14000f8cc
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000f8ed
jmp 0x14000f83c
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 3
lea rcx, [rsp + 0x180]
call fcn.14000152c
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000f92c
mov rax, qword [rsp + 0x20]
add rax, 0xc
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CLSIDFromString]
jmp 0x14000f995
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000f984
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
call qword [case.0x14001925e.0]
mov qword [rsp + 0x90], rax
jmp 0x14000f990
mov qword [rsp + 0x90], 0
jmp 0x14000f83c
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x20]
mov word [rdx + rax + 0x1c], cx
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x70], 4
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x74], 4
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x100]
call qword [sym.imp.msvcrt.dll_wcstol]
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x6c], ax
mov dx, 0x2e
lea rcx, [rsp + 0x100]
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000fa25
mov rax, qword [rsp + 0x68]
add rax, 2
mov r8d, 0x10
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcstol]
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x6e], ax
jmp 0x14000fa30
xor eax, eax
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x6e], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x200]
test eax, eax
jne 0x14000fa62
lea r8, [rsp + 0x180]
lea rdx, str._s__no_name_
lea rcx, [rsp + 0x200]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x200]
lea rdx, str._s__Ver__s_
lea rcx, [rsp + reloc.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rsp + 0x840]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0xffffffffffff0003
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xb0], 0x27
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x70]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + reloc.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x840]
call fcn.14000152c
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.140010428
jmp 0x14000f83c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000f7e3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140019330
add rsp, 0x838
ret