Function at 0x1401f0b60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x9b0], rax
movups xmm0, xmmword [str.Sony_Application]
movzx eax, word [0x140453e00]
xor r12d, r12d
movups xmm1, xmmword [0x140453df0]
mov r8d, 0x104
mov dword [rsp + 0x58], 0x200
lea rdx, [rbp + 0x5a0]
mov word [rbp - 0x70], ax
xor ecx, ecx
mov esi, 0x3e8
movups xmmword [rsp + 0x70], xmm0
mov r14d, r12d
movups xmmword [rbp - 0x80], xmm1
call sym.ErrorReportClient.exe_SfGetModuleFileName
mov r15d, 0x100
lea rax, [rbp + 0x7b0]
mov qword [rsp + 0x40], r15
lea rcx, [rbp + 0x5a0]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
mov rdi, 0xffffffffffffffff
lea r8, [rbp + 0x7b0]
mov r9, rdi
lea rcx, [rbp + 0x1a0]
mov edx, r15d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelMicrosoft_Input_DevicesMouseExceptions
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401f0dba
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x3a0]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401f0daf
nop dword [rax]
lea rcx, [rbp + 0x3a0]
inc r14d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ebx, eax
cmp eax, 0x3e8
jle 0x1401f0d64
cmp eax, 0x7d0
jge 0x1401f0d71
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x3a0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401f0d64
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rbp + 0x5a0]
mov dword [rsp + 0x5c], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Filename
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401f0d59
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1401f0f84
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 0x7d0
jge 0x1401f0d71
cmp ebx, esi
cmovg esi, ebx
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x3a0]
mov qword [rsp + 0x30], r12
mov edx, r14d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1401f0cb0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, rdi
mov dword [rsp + 0x64], 0xffffffff
lea r8, str.Control_PanelMicrosoft_Input_DevicesMouseExceptions
mov rdx, r15
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp - 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401f0de0
mov ecx, r15d
sub ecx, eax
test ecx, ecx
jle 0x1401f0e10
movsxd rdx, ecx
lea r8, [0x14044bfc8]
mov eax, eax
lea rcx, [rbp - 0x60]
mov r9, rdi
lea rcx, [rcx + rax*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp - 0x60]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401f0e20
sub r15d, eax
lea rdx, [rbp - 0x60]
mov eax, eax
lea ecx, [rsi + 1]
mov r8d, r15d
mov r9d, 0xa
lea rdx, [rdx + rax*2]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401f0f54
lea rcx, [rbp + 0x1a0]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401f0ea0
mov rcx, qword [rsp + 0x50]
lea rdx, str.Filename
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401f0f49
lea rax, [rsp + 0x70]
cmp word [rax + rdi*2 + 2], r12w
lea rdi, [rdi + 1]
jne 0x1401f0ee0
mov rcx, qword [rsp + 0x50]
lea eax, [rdi + rdi]
mov dword [rsp + 0x28], eax
lea rdx, str.Description
lea rax, [rsp + 0x70]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401f0f49
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x64]
mov dword [rsp + 0x28], 4
lea rdx, [0x14044c100]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x9b0]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
jmp 0x1401f0f4e