Function at 0x1400124a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400124a0
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x80
mov rdi, rcx
xor esi, esi
mov rax, rdx
lea rdx, [rcx + 0x2c]
lea rcx, [r11 - 0x34]
mov ebx, r8d
mov qword [r11 - 0x48], rcx
lea rcx, [r11 - 0x28]
xor r9d, r9d
mov qword [r11 - 0x50], rcx
mov qword [r11 - 0x58], rsi
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x28], 0xf003f
mov qword [r11 - 0x28], rsi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x54], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140012504
xor eax, eax
jmp 0x1400127d1
mov rcx, qword [rsp + 0x60]
lea rdx, str.Enabled
test ebx, ebx
je 0x140012626
lea rax, [rdi + 8]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
lea r11, [rdi + 0x2e8]
lea rdx, str.ShowTitle
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
lea r11, [rdi + 0x2ec]
lea rdx, str.ShowText
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400010dc
lea rdx, [rdi + 0x308]
mov dword [rsp + 0x28], 0x10
mov ecx, dword [rax]
mov qword [rsp + 0x20], rdx
mov r9d, 3
mov dword [rdx], ecx
mov ecx, dword [rax + 4]
xor r8d, r8d
mov dword [rdx + 4], ecx
mov ecx, dword [rax + 8]
mov dword [rdx + 8], ecx
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x60]
mov dword [rdx + 0xc], eax
lea rdx, [0x14004d890]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
lea rbx, [rdi + 0x318]
call fcn.140001271
mov rcx, qword [rsp + 0x60]
lea rdx, str.Index
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rbx], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400127c1
lea rax, [rsp + 0xa8]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov dword [rsp + 0xa8], 4
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012676
mov eax, dword [rsp + 0x90]
mov dword [rdi + 8], eax
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0xa8]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, str.ShowTitle
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400126bb
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0x2e8], eax
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0xa8]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, str.ShowText
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012700
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0x2ec], eax
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0xa8]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, str.Index
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012745
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0x318], eax
mov rcx, qword [rsp + 0x60]
xor eax, eax
lea r9, [rsp + 0x5c]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0x58]
lea rdx, [0x14004d890]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x58], 0x10
mov dword [rsp + 0x5c], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400127c1
lea rcx, [rsp + 0x68]
mov eax, dword [rcx]
mov dword [rdi + 0x308], eax
mov eax, dword [rcx + 4]
mov dword [rdi + 0x30c], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x310], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x314], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret