Function at 0x1402b7b20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x100
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r12, rcx
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], esi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1402b7c6e
call fcn.140049470
mov rbp, rax
xor edx, edx
mov r8d, 0x80
lea rbx, [0x140c49250]
mov rcx, rbx
call sub.ntdll.dll_memset
lea edx, [rsi + 0x5c]
lea rcx, [0x14037d198]
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1402b7c53
mov byte [rsp + 0xe0], sil
xor eax, eax
mov qword [rsp + 0xe1], rax
mov word [rsp + 0xe9], ax
mov byte [rsp + 0xeb], al
mov r8d, 0x131
lea rdx, [0x14037d484]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1402b7c11
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xe0]
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1402b7c40
mov rsi, rbx
mov rax, qword [rbp]
mov r8, rsi
lea rdx, str._s:_Failed_to_RegOpenKeyExW_in_IsExistRegistry.
mov rcx, rbp
call qword [rax + 0x10]
xor eax, eax
jmp 0x1402b7fb7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x14037d248]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x30]
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 + 0x34]
xor r8d, r8d
lea rdx, str.BootExecute
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1402b7dce
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 rbp, rax
xor edx, edx
mov r8d, 0x80
lea rbx, [0x140c49250]
mov rcx, rbx
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, [0x14037d278]
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1402b7db3
mov byte [rsp + 0xe0], sil
xor eax, eax
mov qword [rsp + 0xe1], rax
mov word [rsp + 0xe9], ax
mov byte [rsp + 0xeb], al
mov r8d, Ordinal_320
lea rdx, [0x14037d484]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1402b7d70
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xe0]
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 0x1402b7da0
mov rsi, rbx
mov rax, qword [rbp]
mov r8, rsi
lea rdx, str._s:_Failed_to_RegQueryValueExW_in_IsExistRegistry.
mov rcx, rbp
call qword [rax + 0x10]
xor eax, eax
jmp 0x1402b7fb7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rdx, [0x140377d84]
lea rcx, [rsp + 0x90]
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 0x1402b7e67
mov rdi, rbp
nop
nop
movzx edx, byte [rdi]
test dx, dx
jne 0x1402b7e4c
cmp qword [rsp + 0xa8], 0
je 0x1402b7e35
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.1400044f0
lea rdx, [0x140377fdc]
lea rcx, [rsp + 0x90]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
jmp 0x1402b7e5a
lea rcx, [rsp + 0x90]
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 0x1402b7e10
mov rcx, rbp
call sub.MFC80U.DLL_Ordinal_266
lea rdx, [r12 + 0xb90]
lea rcx, [rsp + 0xb8]
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 + 0x48]
test rdi, rdi
je 0x1402b7f64
mov rcx, qword [rsp + 0x50]
sub rcx, rdi
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x1402b7f64
cmp rbx, rdx
jb 0x1402b7ee3
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x48]
lea rdx, [rdi + rbp]
lea rcx, [rsp + 0x68]
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 + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdi, qword [rsp + 0xc0]
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rax, qword [rsp + 0x70]
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x1402b7f37
add rax, 2
test ecx, ecx
jne 0x1402b7f24
test edx, edx
je 0x1402b7f53
lea rcx, [rsp + 0x68]
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 0x1402b7ea0
mov esi, 1
lea rcx, [rsp + 0x68]
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 + 0xb8]
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 + 0x90]
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 + 0x48]
test rdi, rdi
je 0x1402b7fb5
mov rbx, qword [rsp + 0x50]
cmp rdi, rbx
je 0x1402b7fad
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 0x1402b7f96
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret