Function at 0x14000f230
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea eax, [rcx - 1]
cmp eax, 0x6a
ja case.default.0x14000ebe5
lea r9, [0x140000000]
cdqe
movzx eax, byte [r9 + rax + 0xeeb4]
mov edx, dword [r9 + rax*4 + 0xee64]
add rdx, r9
jmp rdx
cmp dword [0x14003f9c8], 0
jne case.default.0x14000ebe5
mov rcx, qword [0x14003f9d8]
mov edx, 6
mov byte [0x14003f9cc], 0
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14003f9e0]
mov edx, 0xb
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x14003f9c8], 0
jne case.default.0x14000ebe5
xor ecx, ecx
mov byte [0x14003f9cd], 1
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
add rsp, 0x38
jmp 0x14000f450
add rsp, 0x38
jmp 0x14000f5f0
xor edx, edx
cmp ecx, 0x65
mov r8d, edx
setne r8b
mov dword [0x1400266dc], edx
add r8d, 0x16
cmp dword [0x14002c6e4], edx
je 0x14000ec83
movsxd rax, r8d
lea rcx, [rax*4 + 0x3f5d0]
mov eax, edx
cmp dword [rcx + r9], edx
sete al
mov dword [rcx + r9], eax
cmp r8d, 0x16
jne 0x14000ec6f
cmp dword [0x14003f628], edx
sete dl
mov dword [0x14003f62c], edx
add rsp, 0x38
ret
cmp dword [0x14003f62c], edx
sete dl
mov dword [0x14003f628], edx
add rsp, 0x38
ret
cmp r8d, 0x18
jne 0x14000ec9d
cmp dword [0x14003f630], edx
sete dl
mov dword [0x14003f634], edx
add rsp, 0x38
ret
cmp dword [0x14003f634], edx
sete dl
mov dword [0x14003f630], edx
add rsp, 0x38
ret
xor edx, edx
lea eax, [rcx - 0x3f]
movsxd rcx, eax
mov eax, edx
mov dword [0x1400266dc], edx
cmp dword [r9 + rcx*4 + 0x3f5d0], edx
sete al
mov dword [r9 + rcx*4 + 0x3f5d0], eax
add rsp, 0x38
ret
xor edx, edx
cmp dword [0x14003f5fc], edx
mov eax, edx
mov dword [0x1400266dc], edx
sete al
mov dword [0x14003f5fc], eax
add rsp, 0x38
ret
xor edx, edx
cmp dword [0x14003f600], edx
mov eax, edx
mov dword [0x1400266dc], edx
sete al
mov dword [0x14003f600], eax
add rsp, 0x38
ret
xor edx, edx
cmp dword [0x14003f620], edx
mov eax, edx
mov dword [0x1400266dc], edx
sete al
mov dword [0x14003f620], eax
add rsp, 0x38
ret
xor edx, edx
cmp dword [0x14003f624], edx
mov eax, edx
mov dword [0x1400266dc], edx
sete al
mov dword [0x14003f624], eax
add rsp, 0x38
ret
add rsp, 0x38
jmp 0x14000f190
lea rcx, str.ASUSSGPLUSBTSERVER
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je case.default.0x14000ebe5
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea r8, str.ms_settings:mousetouchpad
xor r9d, r9d
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
xor edx, edx
cmp dword [0x14003f638], edx
mov eax, edx
mov dword [0x1400266dc], edx
sete al
mov dword [0x14003f638], eax
add rsp, 0x38
ret
add rsp, 0x38
jmp 0x14000f230
call fcn.140006970
xor ecx, ecx
mov byte [0x14003f9cd], 1
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.140006970
mov dword [0x1400266dc], 3
add rsp, 0x38
ret
call qword [sym.imp.AsusTPApi.dll_GetPTPType]
xor edx, edx
mov dword [rsp + 0x28], 5
xor ecx, ecx
mov qword [rsp + 0x20], rdx
lea rdx, str.open
test eax, eax
jne 0x14000ee35
xor r9d, r9d
lea r8, [0x14003faa0]
jmp 0x14000ee43
lea r9, str._x_5CC56499_353D_4819_80F3_534E3D386028
lea r8, str.msiexec.exe
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
mov byte [0x14003f9cd], 1
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
add rsp, 0x38
ret
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rcx, qword [0x14003f9e8]
test rcx, rcx
jne 0x14000f1f3
mov ecx, 0x440
call qword [sym.imp.MSVCR110.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14000f1ea
mov rcx, qword [0x14003fd58]
mov qword [rsp + 0x50], rcx
mov ecx, dword [0x14003fd54]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x14003fd50]
mov dword [rsp + 0x30], ecx
mov rcx, rax
call fcn.140004b60
nop
mov qword [0x14003f9e8], rax
jmp case.default.0x14000f226
cmp dword [rcx + 0x434], 0
jne case.default.0x14000f226
mov edx, 5
lea r8d, [rdx - 4]
call fcn.140004c60
xor edx, edx
mov rcx, qword [0x14003f9d8]
call qword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov rcx, qword [0x14003f9e0]
add rsp, 0x78
jmp qword [sym.imp.USER32.dll_EnableWindow]
push rbx
push rsi
push rdi
sub rsp, 0x30
mov dl, 1
call fcn.140005c60
xor edi, edi
lea r8, [0x140000000]
mov edx, edi
mov ecx, edi
nop dword [rax]
mov eax, dword [rcx + r8 + 0x3fa50]
cmp rdx, 5
jl 0x14000f268
mov dword [rcx + r8 + 0x3f5d4], eax
jmp 0x14000f270
mov dword [rcx + r8 + 0x3f5d0], eax
add rcx, 4
inc rdx
cmp rcx, 0x4c
jl 0x14000f250
cmp dword [0x14003f5d0], edi
mov dword [0x1400266dc], edi
je 0x14000f29c
cmp dword [0x14003f5d4], edi
mov qword [0x14003f8f4], rdi
jne 0x14000f2bc
jmp 0x14000f2ac
mov dword [0x14003f8f4], 3
mov dword [0x14003f5d4], edi
mov dword [0x14003f8f8], 3
mov dword [0x14003f5d8], edi
cmp dword [0x14003f5e0], edi
mov esi, 1
jne 0x14000f2d5
mov dword [0x14003f904], 3
jmp 0x14000f2f4
cmp dword [0x14003f5e4], edi
mov dword [0x14003f904], edi
je 0x14000f2f4
mov eax, dword [0x14003fa9c]
test eax, eax
cmovne eax, esi
mov dword [0x14003fa9c], eax
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareASUSASUS_Smart_Gesture
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [0x14003f5e4], edi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x50], edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f382
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.DisableUsbDetectorLoading
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
test eax, eax
mov ebx, edi
cmove ebx, dword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000f384
mov ebx, edi
mov eax, dword [0x14003ef94]
mov r8d, dword [0x14002c6e4]
mov edx, dword [0x14003fa90]
mov dword [0x14003f624], eax
mov eax, dword [0x14003fa8c]
mov dword [0x14003f620], ebx
mov dword [0x14003f630], eax
test r8d, r8d
je 0x14000f3c8
mov eax, edi
test edx, edx
mov qword [0x14003f948], rdi
sete al
mov dword [0x14003f62c], eax
cmp dword [0x14003f9b8], 5
mov eax, edx
cmove eax, dword [0x14003fa80]
cmp dword [0x14003f8e8], edi
mov dword [0x14003f628], eax
je 0x14000f401
mov ecx, esi
call qword [sym.imp.AsusTPApi.dll_GetHandWritingSetting]
mov edx, dword [0x14003fa90]
mov r8d, dword [0x14002c6e4]
mov dword [0x14003f638], eax
test r8d, r8d
jne 0x14000f427
mov ecx, edi
test edx, edx
mov eax, edi
sete cl
mov qword [0x14003f950], rdi
test ecx, ecx
mov dword [0x14003f630], ecx
sete al
mov dword [0x14003f634], eax
mov rcx, qword [0x14003f9d8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
sub rsp, 0x48
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [0x14002c6e4], 0
je 0x14000f481
cmp dword [0x14003f9b8], 7
jne 0x14000f481
lea eax, [rcx - 5]
cmp eax, 1
jbe 0x14000f5db
cmp dword [0x14003ef9c], 0
jne 0x14000f493
cmp ecx, 6
je 0x14000f5db
mov eax, dword [0x14002c6e8]
cmp eax, ecx
je 0x14000f5db
mov eax, dword [0x14002c6e8]
mov qword [rsp + 0x40], rbx
mov dword [0x1400266d0], eax
mov ebx, dword [0x14002c6e8]
mov dword [0x14002c6e8], ecx
mov eax, dword [0x14002c6e8]
cmp eax, 3
jne 0x14000f509
cmp dword [0x14002c6e4], 0
je 0x14000f4e7
cmp dword [0x14003f9b8], 7
jne 0x14000f4e7
mov dword [0x1400266d8], 0x65
jmp 0x14000f53a
mov eax, dword [0x1400266d8]
cmp eax, 0x19
jl 0x14000f4fd
mov eax, dword [0x1400266d8]
cmp eax, 0x23
jl 0x14000f53a
mov dword [0x1400266d8], 0x19
jmp 0x14000f53a
mov eax, dword [0x14002c6e8]
cmp eax, 4
jne 0x14000f520
mov dword [0x1400266d8], 0x4c
jmp 0x14000f53a
mov eax, dword [0x14002c6e8]
or ecx, 0xffffffff
mov edx, 0x6a
cmp eax, 7
cmove ecx, edx
mov dword [0x1400266d8], ecx
mov rcx, qword [0x14003f9d8]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x8c
mov dword [rsp + 0x28], 0x31c
mov dword [rsp + 0x2c], 0x26c
call qword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [rbx - 3]
test eax, 0xfffffffa
jne 0x14000f59f
cmp ebx, 8
je 0x14000f59f
mov eax, dword [0x14002c6e8]
cmp eax, 3
je 0x14000f5d6
mov eax, dword [0x14002c6e8]
cmp eax, 7
je 0x14000f5d6
mov eax, dword [0x14002c6e8]
cmp eax, 4
je 0x14000f5d6
mov eax, dword [0x14002c6e8]
cmp eax, 3
je 0x14000f5c4
mov eax, dword [0x14002c6e8]
cmp eax, 7
je 0x14000f5c4
mov eax, dword [0x14002c6e8]
cmp eax, 4
je 0x14000f5c4
xor edx, edx
jmp 0x14000f5c9
mov edx, 5
mov rcx, qword [0x14003f9d0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0x48
ret
mov r11d, dword [0x14003f9b8]
mov r10d, dword [0x14002c6e4]
mov r8d, ecx
cmp r11d, 7
jne 0x14000f620
test r10d, r10d
jne 0x14000f620
cmp ecx, 0x21
jne 0x14000f616
lea edx, [rcx - 9]
jmp 0x14000f623
mov edx, 0x19
cmp ecx, 0x22
je 0x14000f623
lea edx, [rcx - 0x19]
lea rcx, [0x14003f5d0]
movsxd rax, edx
lea r9, [rcx + rax*4]
xor ecx, ecx
cmp dword [r9], ecx
mov eax, ecx
mov dword [0x1400266dc], ecx
sete al
mov dword [r9], eax
lea eax, [r8 - 0x19]
cmp eax, 1
ja 0x14000f6aa
cmp dword [0x14003f5d0], ecx
je 0x14000f664
mov eax, dword [0x14003f5d4]
mov qword [0x14003f8f4], rcx
jmp 0x14000f681
mov dword [0x14003f8f4], 3
mov dword [0x14003f8f8], 3
mov eax, ecx
mov qword [0x14003f5d4], rcx
cmp edx, 1
jne 0x14000f692
test eax, eax
je 0x14000f69a
mov dword [0x14003f8f8], ecx
jmp 0x14000f6aa
test edx, edx
jne 0x14000f6aa
test eax, eax
jne 0x14000f6aa
mov dword [0x14003f5d8], ecx
mov dword [0x14003f8f8], 3
cmp dword [0x14003f5e0], ecx
jne 0x14000f6c4
mov dword [0x14003f904], 3
mov dword [0x14003f5e4], ecx
jmp 0x14000f6ca
mov dword [0x14003f904], ecx
cmp r11d, 7
jne 0x14000f729
test r10d, r10d
je 0x14000f705
cmp dword [r9], ecx
mov eax, ecx
sete al
mov dword [r9], eax
cmp edx, 0x16
jne 0x14000f6f5
cmp dword [0x14003f628], ecx
sete cl
mov dword [0x14003f62c], ecx
ret
cmp dword [0x14003f62c], ecx
sete cl
mov dword [0x14003f628], ecx
ret
cmp edx, 0x18
jne 0x14000f71a
cmp dword [0x14003f630], ecx
sete cl
mov dword [0x14003f634], ecx
ret
cmp dword [0x14003f634], ecx
sete cl
mov dword [0x14003f630], ecx
repz ret