Function at 0x1400def70
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get keyboard layout
Get system information on windows
Identify system language via api
Persist via run registry key

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27b0]
mov eax, 0x28b0
call fcn.1400fbbd0
sub rsp, rax
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x28f8], rbx
mov r13d, r8d
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rbp + 0x27f0], r12d
lea rdx, str.System_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
call fcn.1400f2f50
lea rdi, str.64_bit
lea rcx, str.32_bit
test eax, eax
cmove rdi, rcx
xor ecx, ecx
call fcn.1400f1590
mov ecx, eax
call fcn.1400e2bb0
mov r9, rax
mov r8, rdi
lea rdx, str.OS_Platform_______________s__s_n
mov rcx, qword [rbx]
call fcn.140101fac
mov word [rbp + 0x80], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rbp + 0x82]
call fcn.1400fa4e0
mov dword [rbp + 0x27f0], 0xc8
lea rax, vtable.CListObjectBase.0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400f54d0
nop
lea r14, vtable.CRegistryKey.0
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x78]
call fcn.1400ddc20
nop
cmp qword [rbp - 0x70], r12
je 0x1400df1f1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.ProductName
lea rcx, [rbp - 0x80]
call fcn.1400f5ce0
test eax, eax
je 0x1400df0cf
lea r8, [rbp + 0x80]
lea rdx, str.OS_Product_Name___________s_n
mov rcx, qword [rbx]
call fcn.140101fac
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CSDVersion
lea rcx, [rbp - 0x80]
call fcn.1400f5ce0
test eax, eax
je 0x1400df111
lea r8, [rbp + 0x80]
lea rdx, str.OS_Service_Pack___________s_n
mov rcx, qword [rbx]
call fcn.140101fac
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
lea rdx, str.CurrentMajorVersionNumber
lea rcx, [rbp - 0x80]
call fcn.1400f5bd0
lea rcx, [rbp - 0x80]
cmp dword [rsp + 0x60], 0
je 0x1400df1a3
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1400f5bd0
mov edi, dword [rsp + 0x68]
mov dword [rbp - 0x38], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x38]
lea r8, [rsp + 0x30]
lea rdx, str.CurrentMajorVersionNumber
lea rcx, [rbp - 0x80]
call fcn.1400f5bd0
mov r9d, edi
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1401415c8]
lea rcx, [rbp + 0x80]
call fcn.1400fc05c
jmp 0x1400df1c7
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CurrentVersion
call fcn.1400f5ce0
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x58]
call fcn.1400f1590
mov r9d, dword [rsp + 0x58]
lea r8, [rbp + 0x80]
lea rdx, str.OS_Build_Version__________s._d_n
mov rcx, qword [rbx]
call fcn.140101fac
xor ecx, ecx
call fcn.1400f1ab0
mov rdx, rax
lea rcx, [rbp]
call fcn.1400e66b0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400df211
mov rdi, qword [rax]
xor ecx, ecx
call fcn.1400f1590
mov r8d, eax
mov r9, rdi
lea rdx, str.OS_GetOS_Reg_Settings_____d__s_n
mov rcx, qword [rbx]
call fcn.140101fac
nop
cmp qword [rbp + 0x18], 8
jb 0x1400df23f
mov rcx, qword [rbp]
call fcn.1400fa318
nop
mov qword [rsp + 0x78], r14
lea rcx, [rbp - 0x80]
call fcn.1400f5530
nop
lea rcx, [rbp - 0x80]
call fcn.1400f5530
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r8d, word [rbp + 0x150]
test r8d, r8d
je 0x1400df2ab
cmp r8d, 6
je 0x1400df2a2
cmp r8d, 9
je 0x1400df299
lea r9, [0x14015c4b0]
lea rax, [0x1401415d8]
cmp r8d, 0xffff
cmove r9, rax
jmp 0x1400df2b2
lea r9, str.x64__AMD_or_Intel_
jmp 0x1400df2b2
lea r9, str.Intel_Itanium
jmp 0x1400df2b2
lea r9, [0x14015c460]
lea rdx, str.Processor_Architecture___0x_x___s_n
mov rcx, qword [rbx]
call fcn.140101fac
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1400df2f7
mov r9d, dword [rbp - 4]
sub r9d, dword [rbp - 0xc]
mov r8d, dword [rbp - 8]
sub r8d, dword [rbp - 0x10]
lea rdx, str.Screen_Resolution_________d_by__d_n
mov rcx, qword [rbx]
call fcn.140101fac
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400df345
mov edx, 0x5a
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov edx, 0x58
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, eax
mov r9d, edi
lea rdx, str.System_DPI_Settings_______d_by__d_n
mov rcx, qword [rbx]
call fcn.140101fac
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.1400f3a50
mov r9, rax
mov r8d, edi
lea rdx, str.OS_Install_______________0x_x___s_n
mov rcx, qword [rbx]
call fcn.140101fac
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.1400f3a50
mov r9, rax
mov r8d, edi
lea rdx, str.Current_Display_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.140101fac
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
movzx ecx, di
call fcn.1400f3a50
mov r9, rax
mov r8d, edi
lea rdx, str.System_Default_Locale____0x_x___s_n
mov rcx, qword [rbx]
call fcn.140101fac
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
movzx ecx, ax
call fcn.1400f3a50
mov r9, rax
movzx r8d, di
lea rdx, str.Keyboard_Layout_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.140101fac
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e2760
or r15, 0xffffffffffffffff
mov dword [rbp + 0x2808], r15d
cmp qword [rsi], 0
je 0x1400df463
nop dword [rax]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rbp + 0x2808]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x20]
test eax, eax
jne 0x1400df463
mov r8d, dword [rbp + 0x2808]
lea rdx, str._nDevice__i_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
xor r8d, r8d
mov edx, dword [rbp + 0x2808]
mov rcx, rsi
call fcn.1400e0850
mov rdi, rax
mov r8, rax
lea rdx, [0x140148204]
mov rcx, qword [rbx]
call fcn.140101fac
mov rcx, rdi
call fcn.1400fd97c
cmp qword [rsi], 0
jne 0x1400df400
lea rdx, str._nProgram_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
lea rax, vtable.CListObjectBase.0
mov qword [rbp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1400f54d0
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
mov dword [rbp + 0x40], r12d
mov dword [rsp + 0x70], 0x2000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x20]
call fcn.1400ddc20
mov r14d, 1
test eax, eax
je 0x1400df52d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x7b0]
lea rdx, str.ProgDir
lea rcx, [rbp + 0x28]
call fcn.1400f5ce0
test eax, eax
je 0x1400df52d
mov dword [rsp + 0x28], r14d
lea rax, [0x14014b1d8]
mov qword [rsp + 0x20], rax
lea r9, [0x14013f6e0]
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
lea rdx, str._nSystem_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
lea rcx, str.SystemRoot
call fcn.140103af8
mov rdi, rax
test rax, rax
jne 0x1400df57d
lea rcx, str.WinDir
call fcn.140103af8
mov rdi, rax
test rax, rax
jne 0x1400df57d
lea rdi, str.C:WINDOWS
mov r8, rdi
lea rdx, str.Cannot_get_environment_variable_for_SYSTEMROOT__assume__s_n
mov rcx, qword [rbx]
call fcn.140101fac
xor ecx, ecx
call fcn.1400f1590
mov dword [rsp + 0x28], r14d
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
cmp eax, 5
lea rax, str.SynTPCo.
mov qword [rsp + 0x20], rax
jl 0x1400df62e
lea r9, str.System32
call fcn.1400e36e0
mov dword [rsp + 0x28], r14d
lea rax, str.SxSSynTPCo.
mov qword [rsp + 0x20], rax
lea r9, str.System32
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov dword [rsp + 0x28], r14d
lea rax, str.SynTPAPI.
mov qword [rsp + 0x20], rax
lea r9, str.System32
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov dword [rsp + 0x28], r14d
lea r14, str.SynTPCOM.
mov qword [rsp + 0x20], r14
lea r9, str.System32
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
lea r9, str.System32
jmp 0x1400df68d
lea r9, str.System
call fcn.1400e36e0
mov dword [rsp + 0x28], r14d
lea rax, str.SynTPAPI.
mov qword [rsp + 0x20], rax
lea r9, str.System
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov dword [rsp + 0x28], r14d
lea r14, str.SynTPCOM.
mov qword [rsp + 0x20], r14
lea r9, str.System
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
lea r9, str.System
mov ecx, 1
mov dword [rsp + 0x28], ecx
lea rax, str.SynCom.
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov eax, 1
mov dword [rsp + 0x28], eax
lea rax, str.SynTP.sys
mov qword [rsp + 0x20], rax
lea r9, str.System32Drivers
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov eax, 1
mov dword [rsp + 0x28], eax
lea rax, str.SynPTPHID.sys
mov qword [rsp + 0x20], rax
lea r9, str.System32Drivers
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov eax, 1
mov dword [rsp + 0x28], eax
lea rax, str.SynRMIHID.sys
mov qword [rsp + 0x20], rax
lea r9, str.System32Drivers
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov eax, 1
mov dword [rsp + 0x28], eax
lea rax, str.smb_driver_.sys
mov qword [rsp + 0x20], rax
lea r9, str.System32Drivers
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov eax, 1
mov dword [rsp + 0x28], eax
lea rax, str.i8042prt.sys
mov qword [rsp + 0x20], rax
lea r9, str.System32Drivers
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov edi, r12d
mov word [rbp + 0x7b0], r12w
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
je 0x1400df83e
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400df7d3
mov edx, 0x2000
lea rcx, [rbp + 0x7b0]
call rax
test eax, eax
mov eax, 1
cmovne edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1400df83e
lea rdx, str._nx64_System_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
mov r12d, 1
mov dword [rsp + 0x28], r12d
lea rdi, str..
mov qword [rsp + 0x20], rdi
mov r9, r14
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
lea r9, str.SynCOM.
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
lea rdx, str._nSynaptics_Files_found_in_PATH_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
lea rax, str.SynTP.sys
mov qword [rbp + 0x80], rax
lea rax, str.SynTPAPI.dll
mov qword [rbp + 0x88], rax
lea rax, str.SynTPCOM.dll
mov qword [rbp + 0x90], rax
lea rax, str.SynTPCpl.dll
mov qword [rbp + 0x98], rax
lea rax, str.SynTPEnh.exe
mov qword [rbp + 0xa0], rax
lea rax, [0x14015f588]
mov qword [rbp + 0xa8], rax
lea rax, str.SynTPFcs.dll
mov qword [rbp + 0xb0], rax
lea rax, str.SynTPLpr.exe
mov qword [rbp + 0xb8], rax
lea rax, str.SynCOM.dll
mov qword [rbp + 0xc0], rax
lea rax, str.SynCtrl.dll
mov qword [rbp + 0xc8], rax
lea rax, str.SynISDLL.dll
mov qword [rbp + 0xd0], rax
lea rax, str.SynTPCo.dll
mov qword [rbp + 0xd8], rax
lea rax, str.SxSSynTPCo.dll
mov qword [rbp + 0xe0], rax
xor r12d, r12d
mov qword [rbp + 0xe8], r12
lea rcx, str.PATH
call fcn.140103af8
lea rdx, [rbp + 0x7b0]
sub rdx, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rax + rdx], cx
lea rax, [rax + 2]
test cx, cx
jne 0x1400df930
lea rdx, [0x14015f684]
lea rcx, [rbp + 0x7b0]
call fcn.140103934
mov r14, rax
test rax, rax
je 0x1400df9c0
lea r13, str.SynTP.sys
nop dword [rax]
nop word [rax + rax]
mov rdi, r12
mov rcx, r13
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rcx
lea r9, [0x14013f6e0]
mov r8, r14
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e36e0
inc rdi
mov rcx, qword [rbp + rdi*8 + 0x80]
test rcx, rcx
jne 0x1400df976
lea rdx, [0x14015f684]
call fcn.140103934
mov r14, rax
test rax, rax
jne 0x1400df970
mov r13d, dword [rbp + 0x2800]
lea rdx, str._nEnviroment_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e3c60
lea rdx, str._nRegistry_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
lea rax, [rbp - 0x58]
mov qword [rbp + 0x27f0], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 0xffffffff80000002
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
xor r8d, r8d
lea rdx, [0x14013f6e0]
lea rcx, [rbp - 0x58]
call fcn.14000b9c0
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x14013f6e0]
lea rcx, [rsp + 0x38]
call fcn.14000b9c0
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x14013f6e0]
lea rcx, [rbp + 0x50]
call fcn.14000b9c0
nop
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x14013f6e0]
lea rcx, [rbp - 0x30]
call fcn.14000b9c0
nop
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov r8d, 0x27
lea rdx, str.SYSTEMCurrentControlSetServicesSynTP
lea rcx, [rbp]
call fcn.14000b9c0
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x30]
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.1400f1ea0
nop
mov ecx, 1
mov dword [rbp + 0x27f0], ecx
cmp qword [rax + 0x18], 8
jb 0x1400dfb17
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SYSTEMCurrentControlSetEnumACPI
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SYSTEMCurrentControlSetEnumHID
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SYSTEMCurrentControlSetEnumSERENUM
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPrecisionTouchPad
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000002
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWARESynaptics
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000001
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000001
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPrecisionTouchPad
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000001
mov dword [rsp + 0x20], r12d
lea r9, str.SOFTWARESynaptics
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000001
mov dword [rsp + 0x20], r12d
lea r9, str.Control_PanelDesktop
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000001
mov dword [rsp + 0x20], r12d
lea r9, str.Control_PanelMouse
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000003
mov dword [rsp + 0x20], r12d
lea r9, str..DEFAULTControl_PanelMouse
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
mov qword [rsp + 0x30], 0xffffffff80000000
mov dword [rsp + 0x20], r12d
lea r9, str.CLSID2F603045_309F_11CF_9774_0020AFD0CFF6InProcServer32
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3ac0
test eax, eax
je 0x1400dfd79
xor dil, dil
jmp 0x1400dfd7c
mov dil, 1
cmp qword [rbp - 0x70], 8
jb 0x1400dfd8d
mov rcx, qword [rsp + 0x78]
call fcn.1400fa318
test dil, dil
jne 0x1400e0217
lea rdx, str._nSetupAPI_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
cmp dword [rsi + 0x47c], 0
je 0x1400dfe1d
mov word [rbp + 0x5a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5a2]
call fcn.1400fa4e0
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
call fcn.1400f1590
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x7b0]
cmp eax, 7
lea rdx, str._sSetupAPI.log
je 0x1400dfe04
lea rdx, str._sinf_setupapi.dev.log
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e3d50
jmp 0x1400dfe2c
lea rdx, str._not_included__n
mov rcx, qword [rbx]
call fcn.140101fac
mov word [rbp + 0x390], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x392]
call fcn.1400fa4e0
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400dff33
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
cmp word [rbp + 0x390], 0
jne 0x1400dfe8e
mov r15, r12
jmp 0x1400dfea0
lea rax, [rbp + 0x390]
inc r15
cmp word [rax + r15*2], 0
jne 0x1400dfe95
mov r8, r15
lea rdx, [rbp + 0x390]
lea rcx, [rbp - 0x58]
call fcn.14000b9c0
nop
lea r8, str.SynapticsSynReflashSynReflash.log
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.14008fc80
nop
cmp qword [rbp - 0x40], 8
jb 0x1400dfeda
mov rcx, qword [rbp - 0x58]
call fcn.1400fa318
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400dff21
lea rdx, str._nSynReflash_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.140101fac
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e3d50
cmp qword [rsp + 0x50], 8
jb 0x1400dff33
mov rcx, qword [rsp + 0x38]
call fcn.1400fa318
lea rdx, [0x140151414]
mov rcx, qword [rbx]
call fcn.140101fac
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp + 0x180]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400dff60
mov eax, dword [0x140140710]
mov dword [rcx], eax
test r13d, r13d
jne 0x1400dff7f
mov rcx, rsi
call fcn.1400e07b0
lea r8, [rbp + 0x180]
lea rdx, str._sControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sI8042.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sNGIControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sNGIPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sUsbControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sUsbPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sPTPControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sPTPPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sSentOSPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea r8, [rbp + 0x180]
lea rdx, str._sProcessedPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400fc05c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
test r13d, r13d
jne 0x1400e0217
lea rcx, [rsp + 0x78]
call fcn.1400f0eb0
nop
lea r8, str.SynapticsSynTP_
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14008fc80
nop
lea r8, str.Enhancement.KTL
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14008fc80
nop
cmp qword [rbp - 0x18], 8
jb 0x1400e01b0
mov rcx, qword [rbp - 0x30]
call fcn.1400fa318
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbp - 0x70], 8
jb 0x1400e01d2
mov rcx, qword [rsp + 0x78]
call fcn.1400fa318
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400e39c0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.140103c24
cmp qword [rsp + 0x50], 8
jb 0x1400e0217
mov rcx, qword [rsp + 0x38]
call fcn.1400fa318
nop
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.1400f5530
nop
lea rcx, [rbp + 0x28]
call fcn.1400f5530
nop
mov rbx, qword [rsp + 0x28f8]
add rsp, 0x28b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret