Function at 0x1400054ad
Capabilities:
Query or enumerate registry value

Disassembly:
cmp r8d, 0x8001
jne 0x140005cd7
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x7a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140044078]
xor rax, rsp
mov qword [rbp + 0x690], rax
mov rdi, qword [0x140046af8]
lea rsi, [rdi + 0x21c]
test rsi, rsi
je 0x1400054ff
mov dword [rsi], r9d
lea r8, str.Message:_kAgtCmdOSD
mov edx, 0x100
lea rcx, [rbp + 0x490]
call fcn.1400052d0
mov rcx, qword [0x140046af0]
test rcx, rcx
je 0x140005536
lea r9, [rbp + 0x490]
lea r8, str.OSDDialog::ProcessMessage
call fcn.140005050
mov edx, 0x100
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.USER32.dll_KillTimer]
mov eax, 0xdc
mov word [rbp - 0x2c], ax
lea r8, [rbp - 0x70]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
movzx eax, word [rbp + 0x36]
cmp eax, 0x78
jae 0x140005574
lea r8, [0x14003dea8]
jmp 0x140005599
cmp eax, 0x90
jae 0x140005584
lea r8, [0x14003deb0]
jmp 0x140005599
cmp eax, 0xc0
lea r8, [0x14003deb8]
jb 0x140005599
lea r8, [0x14003dec0]
lea rbx, [rdi + 8]
mov edx, 0x100
mov rcx, rbx
call fcn.14001142c
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x220], rax
mov dword [rdi + 0x218], 0x84
mov dword [rdi + 0x214], 0xf0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x280]
call fcn.14000a380
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call fcn.14000a380
mov eax, dword [rsi]
mov r15, 0xffffffffffffffff
test eax, eax
jne 0x1400056aa
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x14000563e
lea rax, str.img_osd_cpu_normal.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x69
jmp 0x140005bb3
cmp eax, 1
jne 0x140005672
lea rax, str.img_osd_cpu_faster.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6a
jmp 0x140005bb3
cmp eax, 2
jne 0x140005bc5
lea rax, str.img_osd_cpu_turbo.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6b
jmp 0x140005bb3
cmp eax, 1
jne 0x1400056e8
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x1400056c5
lea rax, str.img_osd_gpu_normal.png
jmp 0x140005616
cmp eax, 1
jne 0x1400056d6
lea rax, str.img_osd_gpu_faster.png
jmp 0x14000564a
cmp eax, 2
jne 0x140005bc5
lea rax, str.img_osd_gpu_turbo.png
jmp 0x140005682
cmp eax, 2
jne 0x140005796
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x14000572a
lea rax, str.img_osd_fan_auto.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6c
jmp 0x140005bb3
cmp eax, 1
jne 0x14000575e
lea rax, str.img_osd_fan_max.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6d
jmp 0x140005bb3
cmp eax, 2
jne 0x140005bc5
lea rax, str.img_osd_fan_custom.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6e
jmp 0x140005bb3
cmp eax, 5
jne 0x14000593f
lea rax, str.img_osd_pkey.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400058f5
mov ebx, 0x200
mov ecx, ebx
call fcn.140008970
mov rsi, rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
call fcn.140006c60
mov r14d, eax
test eax, eax
jne 0x1400058f5
cmp dword [rsp + 0x48], ebx
jne 0x1400058ab
mov rcx, rsi
call fcn.140008694
lea eax, [rbx + rbx]
mov ebx, eax
mov ecx, eax
shr rcx, 1
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140008970
mov rsi, rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
call fcn.140006c60
mov r14d, eax
cmp dword [rsp + 0x48], ebx
je 0x140005855
mov r8, r15
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400058b0
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006ee0
mov rcx, rsi
call fcn.140008694
test r14d, r14d
jne 0x1400058f5
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.14001142c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140005bc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cde
jmp 0x140005b36
cmp eax, 6
jne 0x140005992
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x14000597d
lea rax, str.img_osd_sticky_disable.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x70
jmp 0x140005bb3
cmp eax, 1
jne 0x140005bc5
lea rax, str.img_osd_sticky.png
jmp 0x140005b90
cmp eax, 3
jne 0x140005b40
lea rax, str.img_osd_launchapp.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140005af5
mov ebx, 0x200
mov ecx, ebx
call fcn.140008970
mov rsi, rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
call fcn.140006c60
mov r14d, eax
test eax, eax
jne 0x140005af5
cmp dword [rsp + 0x48], ebx
jne 0x140005aa7
mov rcx, rsi
call fcn.140008694
lea eax, [rbx + rbx]
mov ebx, eax
mov ecx, eax
shr rcx, 1
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140008970
mov rsi, rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.OSDNameTemp
lea rdx, str.SOFTWAREOEMNitroSenseKeyAssignment
call fcn.140006c60
mov r14d, eax
cmp dword [rsp + 0x48], ebx
je 0x140005a51
mov r8, r15
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x140005ab0
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006ee0
mov rcx, rsi
call fcn.140008694
test r14d, r14d
jne 0x140005af5
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.14001142c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140005bc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cd8
call fcn.140008694
jmp 0x140005bc5
cmp eax, 4
jne 0x140005b69
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x140005b5b
lea rax, str.img_osd_lcdod_off.png
jmp 0x140005955
cmp eax, 1
jne 0x140005bc5
lea rax, str.img_osd_lcdod_on.png
jmp 0x140005b90
cmp eax, 7
jne 0x140005bc5
mov eax, dword [rbp + 0x6e0]
test eax, eax
jne 0x140005b84
lea rax, str.img_osd_winmenu_disable.png
jmp 0x140005955
cmp eax, 1
jne 0x140005bc5
lea rax, str.img_osd_winmenu.png
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rdi]
lea rdx, str._sImages_s_s
lea rcx, [rbp + 0x280]
call fcn.140001760
mov edx, 0x6f
mov r9d, 0x104
lea r8, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x7c]
mov eax, 0x51eb851f
imul r8d
mov r9d, edx
sar r9d, 4
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov r10d, dword [rdi + 0x218]
lea eax, [r10 + r9]
mov ecx, r8d
sub ecx, r10d
cmp eax, r8d
cmovg r9d, ecx
mov r8d, dword [rdi + 0x214]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsp + 0x78]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r8d
mov r8d, eax
mov rdx, r15
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.USER32.dll_SetWindowPos]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.USER32.dll_GetClientRect]
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x280]
mov rcx, rdi
call fcn.140005fa0
mov edx, 1
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.USER32.dll_ShowWindow]
lea r9, [0x140005d00]
mov edx, 0x100
mov r8d, 0xbb8
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.140008670
lea r11, [rsp + 0x7a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000c7fc
int3
call fcn.14000c7fc
int3