Function at 0x14008f200
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x100
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0xf8], rax
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, [0x1402e8100]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008f35d
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea rbp, [0x140433fd0]
mov rcx, rbp
call sub.ntdll.dll_memset
lea edx, [rsi + 0x5c]
lea rcx, str...updatecfg.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14008f343
mov byte [rsp + 0xe8], sil
xor eax, eax
mov qword [rsp + 0xe9], rax
mov word [rsp + 0xf1], ax
mov byte [rsp + 0xf3], al
mov r8d, reloc.MFC80U.DLL_Ordinal_757
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbp
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x14008f300
mov rdi, rbp
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xe8]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14008f330
mov rsi, rbp
mov rax, qword [rbx]
mov r8, rsi
lea rdx, [0x1402e80c8]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x14008f607
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x14008f3a0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14008f607
mov rcx, rdx
call sub.MFC80U.DLL_Ordinal_265
mov rbp, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008f41e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call sub.MFC80U.DLL_Ordinal_266
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_774
lea rcx, str...updatecfg.cpp
call fcn.14008d3f0
mov r8, rax
lea rdx, [0x1402e8090]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x14008f607
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rdx, [0x1403b65c0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov ebx, esi
cmp dword [rsp + 0x30], ebx
jbe 0x14008f4b7
mov rdi, rbp
nop
nop
movzx edx, byte [rdi]
test dx, dx
jne 0x14008f49c
cmp qword [rsp + 0xb0], 0
je 0x14008f485
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.1400044f0
lea rdx, [0x1403b65c0]
lea rcx, [rsp + 0x98]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
jmp 0x14008f4aa
lea rcx, [rsp + 0x98]
call qword [reloc.MSVCP80.dll___Y__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01__W_Z]
add ebx, 2
add rdi, 2
cmp ebx, dword [rsp + 0x30]
jb 0x14008f460
mov rcx, rbp
call sub.MFC80U.DLL_Ordinal_266
lea rdx, [0x1402e2820]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rbx, rsi
mov rbp, rsi
movabs r12, 0x6666666666666667
nop
nop
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14008f5b4
mov rcx, qword [rsp + 0x58]
sub rcx, rdi
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x14008f5b4
cmp rbx, rdx
jb 0x14008f533
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x50]
lea rdx, [rdi + rbp]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdi, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdi, qword [rsp + 0xc8]
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rax, qword [rsp + 0x78]
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x14008f587
add rax, 2
test ecx, ecx
jne 0x14008f574
test edx, edx
je 0x14008f5a3
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 1
add rbp, 0x28
jmp 0x14008f4f0
mov esi, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14008f605
mov rbx, qword [rsp + 0x58]
cmp rdi, rbx
je 0x14008f5fd
mov rcx, rdi
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 0x28
cmp rdi, rbx
jne 0x14008f5e6
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, esi
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret