Function at 0x140026a20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x580], rax
call fcn.140022360
test eax, eax
jne 0x140026cbf
call fcn.1400221e0
test eax, eax
jne 0x140026cae
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140034ac0
lea rax, [rsp + 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREASUSGameFirst
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, 1
test eax, eax
jne 0x140026b37
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140034ac0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x370]
mov dword [rsp + 0x40], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Path
mov dword [rsp + 0x44], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026b22
lea r8, [rbp + 0x370]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140036978
mov edi, ebx
jmp 0x140026b24
xor edi, edi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x140026cbf
lea rax, [rsp + 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREASUSGameFirst_V
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140026be9
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.140034ac0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rbp + 0x160]
mov dword [rsp + 0x38], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Path
mov dword [rsp + 0x3c], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026bd4
lea r8, [rbp + 0x160]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140036978
mov edi, ebx
jmp 0x140026bd6
xor edi, edi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x140026cbf
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallTurbo_LAN
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140026cae
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.140034ac0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140034ac0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x3c], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DisplayName
mov dword [rsp + 0x38], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140026c9d
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.140036978
jmp 0x140026c9f
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x140026cbf
call fcn.140026cf0
test eax, eax
jne 0x140026cbf
mov eax, dword [0x1400679c4]
jmp 0x140026ccb
mov dword [0x1400679c4], 0
xor eax, eax
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140032e60
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret