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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov esi, r8d
mov dword [rsp + 0x40], r8d
mov r13, rdx
mov qword [rbp - 0x60], rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea r12, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x456aa4
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x456aa4
lea edi, [rax + 0x7a]
lea r14, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePathManager.cpp
test esi, esi
je 0x4565a1
mov dword [rsp + 0x78], r15d
mov dword [rbp - 0x80], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rsi, str.DefaultVolumeKey
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x4563a1
movzx ecx, byte [0x004c8b19]
cmp cl, 0x2f
je 0x456323
cmp cl, 0x5c
je 0x456323
lfence
lea edx, [rdi - 2]
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456326
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
mov ecx, 1
lea r8d, [rcx + 0x7a]
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x456372
cmp al, 0x5c
je 0x456372
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456375
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
mov ecx, 1
lea r8d, [rcx + 0x7a]
call fcn.0044b390
jmp 0x456433
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4563c6
cmp al, 0x5c
je 0x4563c6
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x4563c9
mov rax, rdi
lea rdx, [r14 + rax*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
lea r9, str.Default_Appx_Installed_Volume___d_
mov ecx, 4
lea r8d, [rcx + 0x7b]
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x45640f
cmp al, 0x5c
je 0x45640f
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456412
mov rax, rdi
lea rdx, [r14 + rax*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
lea r9, str.Default_Appx_Installed_Volume___d_
mov ecx, 4
lea r8d, [rcx + 0x7b]
call fcn.0044b390
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rsi, str.NextVolumeIndex
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
movzx eax, byte [0x004c8b19]
test ebx, ebx
je 0x456512
cmp al, 0x2f
je 0x456490
cmp al, 0x5c
je 0x456490
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456493
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0x8f
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4564e1
cmp al, 0x5c
je 0x4564e1
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x4564e4
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_query_registry_value___s_:__s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0x8f
call fcn.0044b390
jmp 0x4565a1
cmp al, 0x2f
je 0x456530
cmp al, 0x5c
je 0x456530
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456533
mov rax, rdi
lea rdx, [r14 + rax*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
lea r9, str.Next_Volume_Index___d_
mov ecx, 4
mov r8d, 0x93
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x45657b
cmp al, 0x5c
je 0x45657b
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x45657e
mov rax, rdi
lea rdx, [r14 + rax*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
lea r9, str.Next_Volume_Index___d_
mov ecx, 4
mov r8d, 0x93
call fcn.0044b390
mov r12d, r15d
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3d0]
call fcn.004a2370
mov dword [rsp + 0x7c], 0x208
mov qword [rbp - 0x60], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x3d0]
mov edx, r12d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov r15d, eax
test eax, eax
je 0x456644
cmp eax, 0x103
je 0x4569e3
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4569fb
cmp al, 0x5c
je 0x4569fb
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x4569fe
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.004a2370
lea r9, [rbp + 0x3d0]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
lea rdx, [0x004be8a0]
lea rcx, [rbp - 0x50]
call fcn.00456b90
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x456943
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x456943
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.004a2370
mov dword [rsp + 0x7c], 0x208
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SisPath
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x4567a3
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x45672d
cmp al, 0x5c
je 0x45672d
lfence
lea edx, [rsi + 0x78]
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456730
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0xd7
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x45677d
cmp al, 0x5c
je 0x45677d
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456780
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x50]
lea r9, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0xd7
jmp 0x456929
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rbp + 0x1c0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x4567d0
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x48]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x45681d
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], rbx
mov edx, 7
mov word [rsp + 0x48], bx
add qword [rbp - 0x70], 0x20
jmp 0x456830
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.00456bf0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x45686d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x456868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x456a9d
call fcn.00479330
mov word [rsp + 0x48], bx
cmp dword [rsp + 0x40], 0
je 0x456933
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4568a2
cmp al, 0x5c
je 0x4568a2
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x4568a5
mov rax, rdi
lea rdx, [r14 + rax*2]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
lea r9, str.____s__Volume_Appx_Path_:___s_
mov ecx, 4
mov r8d, 0xe0
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4568fd
cmp al, 0x5c
je 0x4568fd
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456900
mov rax, rdi
lea rdx, [r14 + rax*2]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3d0]
lea r9, str.____s__Volume_Appx_Path_:___s_
mov ecx, 4
mov r8d, 0xe0
mov qword [rsp + 0x20], rax
call fcn.0044b390
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x4569e3
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x456968
cmp al, 0x5c
je 0x456968
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x45696b
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0xc4
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x4569b8
cmp al, 0x5c
je 0x4569b8
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x4569bb
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Failed_to_open_registry_key___s__._Error_code0x_08x
mov ecx, 1
mov r8d, 0xc4
call fcn.0044b390
inc r12d
cmp r15d, 0x103
je 0x456a75
xor r15d, r15d
jmp 0x4565b0
mov rax, rdi
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], r15d
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppxPackageVolumes
mov qword [rsp + 0x20], rbx
lea r9, str.ERROR:_Failed_to_enumerate_sub_keys_of_registry___s__._Error_code0x_08x
mov ecx, 1
mov r8d, VarDecAdd
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x456a50
cmp al, 0x5c
je 0x456a50
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
mov rdi, rax
lea rdx, [r14 + rdi*2]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9, str.ERROR:_Failed_to_enumerate_sub_keys_of_registry___s__._Error_code0x_08x
mov ecx, 1
mov r8d, VarDecAdd
call fcn.0044b390
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [r13], rcx
mov rcx, qword [rbp - 0x70]
mov qword [r13 + 8], rcx
mov rcx, qword [rbp - 0x68]
mov qword [r13 + 0x10], rcx
jmp 0x456b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx eax, byte [0x004c8b19]
mov edi, 0x7a
cmp al, 0x2f
je 0x456acc
cmp al, 0x5c
je 0x456acc
lfence
lea edx, [rdi - 2]
lea rcx, [0x004c8aa0]
call fcn.004036d0
jmp 0x456acf
mov rax, rdi
lea r14, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePathManager.cpp
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_open_registry_key___s_._Error_code0x_08x
mov ecx, 1
lea r8d, [rcx + 0x65]
call fcn.0044a600
movzx eax, byte [0x004c8b19]
cmp al, 0x2f
je 0x456b1e
cmp al, 0x5c
je 0x456b1e
lfence
mov edx, 0x78
lea rcx, [0x004c8aa0]
call fcn.004036d0
mov rdi, rax
lea rdx, [r14 + rdi*2]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
lea r9, str.ERROR:_Failed_to_open_registry_key___s_._Error_code0x_08x
mov ecx, 1
lea r8d, [rcx + 0x65]
call fcn.0044b390
mov rax, qword [rbp - 0x78]
mov qword [r13], rax
mov rax, qword [rbp - 0x70]
mov qword [r13 + 8], rax
mov rax, qword [rbp - 0x68]
mov qword [r13 + 0x10], rax
mov rax, r13
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret