Function at 0x1400ca5c0
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.1400e5730
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.1400ebb0c
call fcn.1400dd8c0
lea rdi, str.64_bit
lea rcx, str.32_bit
test eax, eax
cmove rdi, rcx
xor ecx, ecx
call fcn.1400dbe60
mov ecx, eax
call fcn.1400cde60
mov r9, rax
mov r8, rdi
lea rdx, str.OS_Platform_______________s__s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov word [rbp + 0x80], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rbp + 0x82]
call fcn.1400e4040
mov dword [rbp + 0x27f0], 0xc8
lea rax, vtable.CListObjectBase.0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400df4c0
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.1400c9360
nop
cmp qword [rbp - 0x70], r12
je 0x1400ca841
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.1400dfb40
test eax, eax
je 0x1400ca71f
lea r8, [rbp + 0x80]
lea rdx, str.OS_Product_Name___________s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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.1400dfb40
test eax, eax
je 0x1400ca761
lea r8, [rbp + 0x80]
lea rdx, str.OS_Service_Pack___________s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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.1400dfa30
lea rcx, [rbp - 0x80]
cmp dword [rsp + 0x60], 0
je 0x1400ca7f3
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1400dfa30
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.1400dfa30
mov r9d, edi
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140123d70]
lea rcx, [rbp + 0x80]
call fcn.1400e5bbc
jmp 0x1400ca817
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CurrentVersion
call fcn.1400dfb40
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x58]
call fcn.1400dbe60
mov r9d, dword [rsp + 0x58]
lea r8, [rbp + 0x80]
lea rdx, str.OS_Build_Version__________s._d_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
xor ecx, ecx
call fcn.1400dc380
mov rdx, rax
lea rcx, [rbp]
call fcn.1400d18e0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400ca861
mov rdi, qword [rax]
xor ecx, ecx
call fcn.1400dbe60
mov r8d, eax
mov r9, rdi
lea rdx, str.OS_GetOS_Reg_Settings_____d__s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
nop
cmp qword [rbp + 0x18], 8
jb 0x1400ca88f
mov rcx, qword [rbp]
call fcn.1400e3e78
nop
mov qword [rsp + 0x78], r14
lea rcx, [rbp - 0x80]
call fcn.1400df4e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400df4e0
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r8d, word [rbp + 0x150]
test r8d, r8d
je 0x1400ca8fb
cmp r8d, 6
je 0x1400ca8f2
cmp r8d, 9
je 0x1400ca8e9
lea r9, [0x14013a650]
lea rax, [0x140123d80]
cmp r8d, 0xffff
cmove r9, rax
jmp 0x1400ca902
lea r9, str.x64__AMD_or_Intel_
jmp 0x1400ca902
lea r9, str.Intel_Itanium
jmp 0x1400ca902
lea r9, [0x14013a600]
lea rdx, str.Processor_Architecture___0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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 0x1400ca947
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.1400ebb0c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400ca995
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.1400ebb0c
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.1400dddb0
mov r9, rax
mov r8d, edi
lea rdx, str.OS_Install_______________0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.1400dddb0
mov r9, rax
mov r8d, edi
lea rdx, str.Current_Display_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
movzx ecx, di
call fcn.1400dddb0
mov r9, rax
mov r8d, edi
lea rdx, str.System_Default_Locale____0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
movzx ecx, ax
call fcn.1400dddb0
mov r9, rax
movzx r8d, di
lea rdx, str.Keyboard_Layout_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cda10
or r15, 0xffffffffffffffff
mov dword [rbp + 0x2808], r15d
cmp qword [rsi], 0
je 0x1400caab3
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 0x1400caab3
mov r8d, dword [rbp + 0x2808]
lea rdx, str._nDevice__i_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
xor r8d, r8d
mov edx, dword [rbp + 0x2808]
mov rcx, rsi
call fcn.1400cbe20
mov rdi, rax
mov r8, rax
lea rdx, [0x14012943c]
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov rcx, rdi
call fcn.1400e64f8
cmp qword [rsi], 0
jne 0x1400caa50
lea rdx, str._nProgram_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
lea rax, vtable.CListObjectBase.0
mov qword [rbp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1400df4c0
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.1400c9360
mov r14d, 1
test eax, eax
je 0x1400cab7d
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.1400dfb40
test eax, eax
je 0x1400cab7d
mov dword [rsp + 0x28], r14d
lea rax, [0x14012c0f8]
mov qword [rsp + 0x20], rax
lea r9, [0x1401226e8]
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ce990
lea rdx, str._nSystem_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
lea rcx, str.SystemRoot
call fcn.1400ed5e8
mov rdi, rax
test rax, rax
jne 0x1400cabcd
lea rcx, str.WinDir
call fcn.1400ed5e8
mov rdi, rax
test rax, rax
jne 0x1400cabcd
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.1400ebb0c
xor ecx, ecx
call fcn.1400dbe60
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 0x1400cac7e
lea r9, str.System32
call fcn.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
lea r9, str.System32
jmp 0x1400cacdd
lea r9, str.System
call fcn.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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.1400ce990
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 0x1400cae8e
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cae23
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 0x1400cae8e
lea rdx, str._nx64_System_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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.1400ce990
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.1400ce990
lea rdx, str._nSynaptics_Files_found_in_PATH_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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, [0x14013d648]
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.1400ed5e8
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 0x1400caf80
lea rdx, [0x14013d744]
lea rcx, [rbp + 0x7b0]
call fcn.1400ed424
mov r14, rax
test rax, rax
je 0x1400cb010
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, [0x1401226e8]
mov r8, r14
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ce990
inc rdi
mov rcx, qword [rbp + rdi*8 + 0x80]
test rcx, rcx
jne 0x1400cafc6
lea rdx, [0x14013d744]
call fcn.1400ed424
mov r14, rax
test rax, rax
jne 0x1400cafc0
mov r13d, dword [rbp + 0x2800]
lea rdx, str._nEnviroment_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cef10
lea rdx, str._nRegistry_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
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, [0x1401226e8]
lea rcx, [rbp - 0x58]
call fcn.1400079e0
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rsp + 0x38]
call fcn.1400079e0
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rbp + 0x50]
call fcn.1400079e0
nop
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rbp - 0x30]
call fcn.1400079e0
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.1400079e0
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.1400dc760
nop
mov ecx, 1
mov dword [rbp + 0x27f0], ecx
cmp qword [rax + 0x18], 8
jb 0x1400cb167
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
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.1400ced70
test eax, eax
je 0x1400cb342
xor dil, dil
jmp 0x1400cb345
mov dil, 1
cmp qword [rbp - 0x70], 8
jb 0x1400cb356
mov rcx, qword [rsp + 0x78]
call fcn.1400e3e78
test dil, dil
jne 0x1400cb7e7
lea rdx, str._nSetupAPI_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
cmp dword [rsi + 0x47c], 0
je 0x1400cb3e6
mov word [rbp + 0x5a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5a2]
call fcn.1400e4040
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
call fcn.1400dbe60
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x7b0]
cmp eax, 7
lea rdx, str._sSetupAPI.log
je 0x1400cb3cd
lea rdx, str._sinf_setupapi.dev.log
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cf000
jmp 0x1400cb3f5
lea rdx, str._not_included__n
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov word [rbp + 0x390], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x392]
call fcn.1400e4040
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 0x1400cb4fe
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
cmp word [rbp + 0x390], 0
jne 0x1400cb457
mov r15, r12
jmp 0x1400cb46b
lea rax, [rbp + 0x390]
nop
inc r15
cmp word [rax + r15*2], 0
jne 0x1400cb460
mov r8, r15
lea rdx, [rbp + 0x390]
lea rcx, [rbp - 0x58]
call fcn.1400079e0
nop
lea r8, str.SynapticsSynReflashSynReflash.log
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000b2f0
nop
cmp qword [rbp - 0x40], 8
jb 0x1400cb4a5
mov rcx, qword [rbp - 0x58]
call fcn.1400e3e78
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 0x1400cb4ec
lea rdx, str._nSynReflash_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebb0c
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cf000
cmp qword [rsp + 0x50], 8
jb 0x1400cb4fe
mov rcx, qword [rsp + 0x38]
call fcn.1400e3e78
lea rdx, [0x140130324]
mov rcx, qword [rbx]
call fcn.1400ebb0c
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp + 0x180]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400cb530
mov eax, dword [0x140122f68]
mov dword [rcx], eax
test r13d, r13d
jne 0x1400cb54f
mov rcx, rsi
call fcn.1400cbd80
lea r8, [rbp + 0x180]
lea rdx, str._sControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sI8042.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sNGIControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sNGIPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sUsbControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sUsbPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sPTPControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sPTPPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sSentOSPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea r8, [rbp + 0x180]
lea rdx, str._sProcessedPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5bbc
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
test r13d, r13d
jne 0x1400cb7e7
lea rcx, [rsp + 0x78]
call fcn.1400dba00
nop
lea r8, str.SynapticsSynTP_
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000b2f0
nop
lea r8, str.Enhancement.KTL
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000b2f0
nop
cmp qword [rbp - 0x18], 8
jb 0x1400cb780
mov rcx, qword [rbp - 0x30]
call fcn.1400e3e78
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbp - 0x70], 8
jb 0x1400cb7a2
mov rcx, qword [rsp + 0x78]
call fcn.1400e3e78
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cec70
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1400ed714
cmp qword [rsp + 0x50], 8
jb 0x1400cb7e7
mov rcx, qword [rsp + 0x38]
call fcn.1400e3e78
nop
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.1400df4e0
nop
lea rcx, [rbp + 0x28]
call fcn.1400df4e0
nop
mov rbx, qword [rsp + 0x28f8]
add rsp, 0x28b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret