Function at 0x1400f9520
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.140121190
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.14012755c
call fcn.140117f10
lea rdi, str.64_bit
lea rcx, str.32_bit
test eax, eax
cmove rdi, rcx
xor ecx, ecx
call fcn.140116270
mov ecx, eax
call fcn.1400fd340
mov r9, rax
mov r8, rdi
lea rdx, str.OS_Platform_______________s__s_n
mov rcx, qword [rbx]
call fcn.14012755c
mov word [rbp + 0x80], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rbp + 0x82]
call fcn.14011fa60
mov dword [rbp + 0x27f0], 0xc8
lea rax, vtable.CListObjectBase.0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14011aa90
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.1400f7af0
nop
cmp qword [rbp - 0x70], r12
je 0x1400f97a1
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.14011b2a0
test eax, eax
je 0x1400f967f
lea r8, [rbp + 0x80]
lea rdx, str.OS_Product_Name___________s_n
mov rcx, qword [rbx]
call fcn.14012755c
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.14011b2a0
test eax, eax
je 0x1400f96c1
lea r8, [rbp + 0x80]
lea rdx, str.OS_Service_Pack___________s_n
mov rcx, qword [rbx]
call fcn.14012755c
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.14011b090
lea rcx, [rbp - 0x80]
cmp dword [rsp + 0x60], 0
je 0x1400f9753
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.CurrentMinorVersionNumber
call fcn.14011b090
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.14011b090
mov r9d, edi
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140169228]
lea rcx, [rbp + 0x80]
call fcn.14012161c
jmp 0x1400f9777
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CurrentVersion
call fcn.14011b2a0
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x58]
call fcn.140116270
mov r9d, dword [rsp + 0x58]
lea r8, [rbp + 0x80]
lea rdx, str.OS_Build_Version__________s._d_n
mov rcx, qword [rbx]
call fcn.14012755c
xor ecx, ecx
call fcn.140116870
mov rdx, rax
lea rcx, [rbp]
call fcn.14010aa80
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400f97c1
mov rdi, qword [rax]
xor ecx, ecx
call fcn.140116270
mov r8d, eax
mov r9, rdi
lea rdx, str.OS_GetOS_Reg_Settings_____d__s_n
mov rcx, qword [rbx]
call fcn.14012755c
nop
cmp qword [rbp + 0x18], 8
jb 0x1400f97ef
mov rcx, qword [rbp]
call fcn.14011f898
nop
mov qword [rsp + 0x78], r14
lea rcx, [rbp - 0x80]
call fcn.14011aaf0
nop
lea rcx, [rbp - 0x80]
call fcn.14011aaf0
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r8d, word [rbp + 0x150]
test r8d, r8d
je 0x1400f985b
cmp r8d, 6
je 0x1400f9852
cmp r8d, 9
je 0x1400f9849
lea r9, [0x14019c870]
lea rax, [0x140169238]
cmp r8d, 0xffff
cmove r9, rax
jmp 0x1400f9862
lea r9, str.x64__AMD_or_Intel_
jmp 0x1400f9862
lea r9, str.Intel_Itanium
jmp 0x1400f9862
lea r9, [0x14019c820]
lea rdx, str.Processor_Architecture___0x_x___s_n
mov rcx, qword [rbx]
call fcn.14012755c
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 0x1400f98a7
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.14012755c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400f98f5
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.14012755c
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.140118a20
mov r9, rax
mov r8d, edi
lea rdx, str.OS_Install_______________0x_x___s_n
mov rcx, qword [rbx]
call fcn.14012755c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.140118a20
mov r9, rax
mov r8d, edi
lea rdx, str.Current_Display_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.14012755c
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
movzx ecx, di
call fcn.140118a20
mov r9, rax
mov r8d, edi
lea rdx, str.System_Default_Locale____0x_x___s_n
mov rcx, qword [rbx]
call fcn.14012755c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
movzx ecx, ax
call fcn.140118a20
mov r9, rax
movzx r8d, di
lea rdx, str.Keyboard_Layout_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.14012755c
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fcee0
or r15, 0xffffffffffffffff
mov dword [rbp + 0x2808], r15d
cmp qword [rsi], 0
je 0x1400f9a13
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 0x1400f9a13
mov r8d, dword [rbp + 0x2808]
lea rdx, str._nDevice__i_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
xor r8d, r8d
mov edx, dword [rbp + 0x2808]
mov rcx, rsi
call fcn.1400fae00
mov rdi, rax
mov r8, rax
lea rdx, [0x140173d4c]
mov rcx, qword [rbx]
call fcn.14012755c
mov rcx, rdi
call fcn.140120c5c
cmp qword [rsi], 0
jne 0x1400f99b0
lea rdx, str._nProgram_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
lea rax, vtable.CListObjectBase.0
mov qword [rbp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14011aa90
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.1400f7af0
mov r14d, 1
test eax, eax
je 0x1400f9add
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.14011b2a0
test eax, eax
je 0x1400f9add
mov dword [rsp + 0x28], r14d
lea rax, [0x140178290]
mov qword [rsp + 0x20], rax
lea r9, [0x140165848]
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fde70
lea rdx, str._nSystem_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
lea rcx, str.SystemRoot
call fcn.1401290a8
mov rdi, rax
test rax, rax
jne 0x1400f9b2d
lea rcx, str.WinDir
call fcn.1401290a8
mov rdi, rax
test rax, rax
jne 0x1400f9b2d
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.14012755c
xor ecx, ecx
call fcn.140116270
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 0x1400f9bde
lea r9, str.System32
call fcn.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
lea r9, str.System32
jmp 0x1400f9c3d
lea r9, str.System
call fcn.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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.1400fde70
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 0x1400f9dee
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f9d83
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 0x1400f9dee
lea rdx, str._nx64_System_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
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.1400fde70
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.1400fde70
lea rdx, str._nSynaptics_Files_found_in_PATH_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
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, [0x14019f9d8]
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.1401290a8
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 0x1400f9ee0
lea rdx, [0x14019fad4]
lea rcx, [rbp + 0x7b0]
call fcn.140128ee4
mov r14, rax
test rax, rax
je 0x1400f9f70
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, [0x140165848]
mov r8, r14
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fde70
inc rdi
mov rcx, qword [rbp + rdi*8 + 0x80]
test rcx, rcx
jne 0x1400f9f26
lea rdx, [0x14019fad4]
call fcn.140128ee4
mov r14, rax
test rax, rax
jne 0x1400f9f20
mov r13d, dword [rbp + 0x2800]
lea rdx, str._nEnviroment_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe3f0
lea rdx, str._nRegistry_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
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, [0x140165848]
lea rcx, [rbp - 0x58]
call fcn.14000d340
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x140165848]
lea rcx, [rsp + 0x38]
call fcn.14000d340
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x140165848]
lea rcx, [rbp + 0x50]
call fcn.14000d340
nop
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x140165848]
lea rcx, [rbp - 0x30]
call fcn.14000d340
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.14000d340
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.140116d90
nop
mov ecx, 1
mov dword [rbp + 0x27f0], ecx
cmp qword [rax + 0x18], 8
jb 0x1400fa0c7
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
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.1400fe250
test eax, eax
je 0x1400fa329
xor dil, dil
jmp 0x1400fa32c
mov dil, 1
cmp qword [rbp - 0x70], 8
jb 0x1400fa33d
mov rcx, qword [rsp + 0x78]
call fcn.14011f898
test dil, dil
jne 0x1400fa7c7
lea rdx, str._nSetupAPI_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
cmp dword [rsi + 0x47c], 0
je 0x1400fa3cd
mov word [rbp + 0x5a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5a2]
call fcn.14011fa60
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
call fcn.140116270
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x7b0]
cmp eax, 7
lea rdx, str._sSetupAPI.log
je 0x1400fa3b4
lea rdx, str._sinf_setupapi.dev.log
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe4e0
jmp 0x1400fa3dc
lea rdx, str._not_included__n
mov rcx, qword [rbx]
call fcn.14012755c
mov word [rbp + 0x390], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x392]
call fcn.14011fa60
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 0x1400fa4e3
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
cmp word [rbp + 0x390], 0
jne 0x1400fa43e
mov r15, r12
jmp 0x1400fa450
lea rax, [rbp + 0x390]
inc r15
cmp word [rax + r15*2], 0
jne 0x1400fa445
mov r8, r15
lea rdx, [rbp + 0x390]
lea rcx, [rbp - 0x58]
call fcn.14000d340
nop
lea r8, str.SynapticsSynReflashSynReflash.log
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400a0020
nop
cmp qword [rbp - 0x40], 8
jb 0x1400fa48a
mov rcx, qword [rbp - 0x58]
call fcn.14011f898
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 0x1400fa4d1
lea rdx, str._nSynReflash_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.14012755c
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe4e0
cmp qword [rsp + 0x50], 8
jb 0x1400fa4e3
mov rcx, qword [rsp + 0x38]
call fcn.14011f898
lea rdx, [0x1401873a4]
mov rcx, qword [rbx]
call fcn.14012755c
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 0x1400fa510
mov eax, dword [0x140167e60]
mov dword [rcx], eax
test r13d, r13d
jne 0x1400fa52f
mov rcx, rsi
call fcn.1400fad60
lea r8, [rbp + 0x180]
lea rdx, str._sControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sI8042.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sNGIControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sNGIPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sUsbControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sUsbPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sPTPControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sPTPPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sSentOSPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea r8, [rbp + 0x180]
lea rdx, str._sProcessedPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.14012161c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
test r13d, r13d
jne 0x1400fa7c7
lea rcx, [rsp + 0x78]
call fcn.1401159f0
nop
lea r8, str.SynapticsSynTP_
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400a0020
nop
lea r8, str.Enhancement.KTL
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400a0020
nop
cmp qword [rbp - 0x18], 8
jb 0x1400fa760
mov rcx, qword [rbp - 0x30]
call fcn.14011f898
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbp - 0x70], 8
jb 0x1400fa782
mov rcx, qword [rsp + 0x78]
call fcn.14011f898
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400fe150
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1401292fc
cmp qword [rsp + 0x50], 8
jb 0x1400fa7c7
mov rcx, qword [rsp + 0x38]
call fcn.14011f898
nop
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.14011aaf0
nop
lea rcx, [rbp + 0x28]
call fcn.14011aaf0
nop
mov rbx, qword [rsp + 0x28f8]
add rsp, 0x28b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret