Function at 0x1400102a0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x6c8]
sub rsp, 0x7c8
mov qword [rbp - 0x30], 0xfffffffffffffffe
cmp dword [0x1402794a8], 0
jne 0x140010afb
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SoftwareElantechSmartPad
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400106ff
lea rdx, str.Button_Left
lea rcx, [rbp - 0x40]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a450]
mov dword [rbp + 0x6f0], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6f0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010359
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x80]
mov qword [rbp + 0x6f8], rax
mov rcx, qword [0x14027a458]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, str.Button_Left_Ex
lea rcx, [rbp + 0x40]
call fcn.140019f40
nop
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rax, [rsp + 0x60]
mov qword [rbp + 0x6f8], rax
mov rcx, qword [0x14027a460]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.Button_Left_Path
lea rcx, [rbp - 0x50]
call fcn.140019f40
nop
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rdx, str.Button_Right
lea rcx, [rbp + 0x20]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a424]
mov dword [rbp + 0x6f8], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6f8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010447
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x68]
mov qword [rbp + 0x700], rax
mov rcx, qword [0x14027a428]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rbp - 0x68], rax
lea rdx, str.Button_Right_Ex
lea rcx, [rbp - 0x20]
call fcn.140019f40
nop
lea r8, [rbp - 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rax, [rsp + 0x48]
mov qword [rbp + 0x700], rax
mov rcx, qword [0x14027a430]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.Button_Right_Path
lea rcx, [rbp + 0x38]
call fcn.140019f40
nop
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rdx, str.ClickPad_LeftCorner_Click_Path
lea rcx, [rbp - 0x10]
call fcn.140019f40
mov r8, rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.14000a720
nop
lea rdx, str.ClickPad_RightCorner_Click_Path
lea rcx, [rbp + 0x30]
call fcn.140019f40
mov r8, rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000a720
nop
lea rdx, str.ClickPad_LeftCorner_Click_Func
lea rcx, [rbp]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a488]
mov dword [rbp + 0x700], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x700]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010579
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x70]
mov qword [rbp + 0x708], rax
mov rcx, qword [0x14027a490]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, str.ClickPad_LeftCorner_Click_Path
lea rcx, [rbp + 0x48]
call fcn.140019f40
nop
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rdx, str.ClickPad_RightCorner_Click_Func
lea rcx, [rbp + 0x10]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a470]
mov dword [rbp + 0x708], ecx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x708]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001061f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rcx, qword [0x14027a478]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.ClickPad_RightCorner_Click_Path
lea rcx, [rbp - 0x48]
call fcn.140019f40
nop
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rdx, str.SwapButton_Enable
lea rcx, [rbp - 0x38]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a7cc]
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400106c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400106e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400106ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SoftwareElantechPointStick
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001090c
lea rdx, str.Button_Left
lea rcx, [rbp - 0x28]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a8f0]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001078b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14027a8f8]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, str.Button_Left_Ex
lea rcx, [rbp - 0x18]
call fcn.140019f40
nop
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14027a900]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.Button_Left_Path
lea rcx, [rbp - 8]
call fcn.140019f40
nop
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rdx, str.Button_Right
lea rcx, [rbp + 8]
call fcn.140019f40
mov rbx, rax
mov ecx, dword [0x14027a8c0]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010874
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x78]
mov qword [rbp + 0x6f0], rax
mov rcx, qword [0x14027a8c8]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.Button_Right_Ex
lea rcx, [rbp + 0x18]
call fcn.140019f40
nop
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
lea rax, [rbp - 0x78]
mov qword [rbp + 0x6f0], rax
mov rcx, qword [0x14027a8d0]
add rcx, 0xffffffffffffffe8
call fcn.1400198b0
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rdx, str.Button_Right_Path
lea rcx, [rbp + 0x28]
call fcn.140019f40
nop
lea r8, [rbp - 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000a520
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140279ce0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [0x14027a940]
mov qword [rsp + 0x20], rax
lea r9, [0x14027a8c0]
lea r8, [0x14027a420]
lea rbx, [0x1402794a0]
mov rdx, rbx
lea rsi, [0x140279540]
mov rcx, rsi
call qword [0x140279360]
lea rcx, [0x140279ce0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp + 0x50]
mov qword [rbp + 0x6f0], rax
lea rdx, [0x14027a8c0]
lea rcx, [rbp + 0x50]
call fcn.140010b10
mov rdi, rax
lea rdx, [0x14027a420]
lea rcx, [rbp + 0x220]
call fcn.140010c20
mov r8, rax
lea rcx, [rbp + 0xd0]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x80]
movups xmmword [rcx + 0x80], xmm1
movups xmm0, xmmword [rbx + 0x90]
movups xmmword [rcx + 0x90], xmm0
lea rdx, [rbp + 0x170]
movups xmm0, xmmword [rsi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rdx + 0x70], xmm1
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rdx + 0x80], xmm0
movups xmm1, xmmword [rsi + 0x90]
movups xmmword [rdx + 0x90], xmm1
mov rax, qword [rsi + 0xa0]
mov qword [rdx + 0xa0], rax
mov eax, dword [rsi + 0xa8]
mov dword [rdx + 0xa8], eax
mov r9, rdi
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x170]
call qword [0x140279648]
mov edx, 2
lea ecx, [rdx + 2]
call qword [0x140279358]
cmp dword [0x140279410], 1
jne 0x140010ac5
lea r8, str.GlobalButtonPage_Realtime_UpdateUI
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140010ac5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x140279414], 1
jne 0x140010afb
lea r8, str.GlobalClickPage_Realtime_UpdateUI
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140010afb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x7c8
pop rdi
pop rsi
pop rbx
pop rbp
ret