Function at 0x1400ca7f0
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.1400e5910
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.1400ebda4
call fcn.1400ddb20
lea rdi, str.64_bit
lea rcx, str.32_bit
test eax, eax
cmove rdi, rcx
xor ecx, ecx
call fcn.1400dc0c0
mov ecx, eax
call fcn.1400ce090
mov r9, rax
mov r8, rdi
lea rdx, str.OS_Platform_______________s__s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
mov word [rbp + 0x80], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rbp + 0x82]
call fcn.1400e4220
mov dword [rbp + 0x27f0], 0xc8
lea rax, vtable.CListObjectBase.0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400df720
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.1400c9590
nop
cmp qword [rbp - 0x70], r12
je 0x1400caa71
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.1400dfda0
test eax, eax
je 0x1400ca94f
lea r8, [rbp + 0x80]
lea rdx, str.OS_Product_Name___________s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
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.1400dfda0
test eax, eax
je 0x1400ca991
lea r8, [rbp + 0x80]
lea rdx, str.OS_Service_Pack___________s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
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.1400dfc90
lea rcx, [rbp - 0x80]
cmp dword [rsp + 0x60], 0
je 0x1400caa23
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1400dfc90
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.1400dfc90
mov r9d, edi
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140123d60]
lea rcx, [rbp + 0x80]
call fcn.1400e5d9c
jmp 0x1400caa47
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CurrentVersion
call fcn.1400dfda0
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x58]
call fcn.1400dc0c0
mov r9d, dword [rsp + 0x58]
lea r8, [rbp + 0x80]
lea rdx, str.OS_Build_Version__________s._d_n
mov rcx, qword [rbx]
call fcn.1400ebda4
xor ecx, ecx
call fcn.1400dc5e0
mov rdx, rax
lea rcx, [rbp]
call fcn.1400d1b10
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400caa91
mov rdi, qword [rax]
xor ecx, ecx
call fcn.1400dc0c0
mov r8d, eax
mov r9, rdi
lea rdx, str.OS_GetOS_Reg_Settings_____d__s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
nop
cmp qword [rbp + 0x18], 8
jb 0x1400caabf
mov rcx, qword [rbp]
call fcn.1400e4058
nop
mov qword [rsp + 0x78], r14
lea rcx, [rbp - 0x80]
call fcn.1400df740
nop
lea rcx, [rbp - 0x80]
call fcn.1400df740
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r8d, word [rbp + 0x150]
test r8d, r8d
je 0x1400cab2b
cmp r8d, 6
je 0x1400cab22
cmp r8d, 9
je 0x1400cab19
lea r9, [0x14013a720]
lea rax, [0x140123d70]
cmp r8d, 0xffff
cmove r9, rax
jmp 0x1400cab32
lea r9, str.x64__AMD_or_Intel_
jmp 0x1400cab32
lea r9, str.Intel_Itanium
jmp 0x1400cab32
lea r9, [0x14013a6d0]
lea rdx, str.Processor_Architecture___0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
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 0x1400cab77
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.1400ebda4
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400cabc5
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.1400ebda4
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.1400de010
mov r9, rax
mov r8d, edi
lea rdx, str.OS_Install_______________0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.1400de010
mov r9, rax
mov r8d, edi
lea rdx, str.Current_Display_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
movzx ecx, di
call fcn.1400de010
mov r9, rax
mov r8d, edi
lea rdx, str.System_Default_Locale____0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
movzx ecx, ax
call fcn.1400de010
mov r9, rax
movzx r8d, di
lea rdx, str.Keyboard_Layout_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ebda4
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cdc40
or r15, 0xffffffffffffffff
mov dword [rbp + 0x2808], r15d
cmp qword [rsi], 0
je 0x1400cace3
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 0x1400cace3
mov r8d, dword [rbp + 0x2808]
lea rdx, str._nDevice__i_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
xor r8d, r8d
mov edx, dword [rbp + 0x2808]
mov rcx, rsi
call fcn.1400cc050
mov rdi, rax
mov r8, rax
lea rdx, [0x14012947c]
mov rcx, qword [rbx]
call fcn.1400ebda4
mov rcx, rdi
call fcn.1400e66d8
cmp qword [rsi], 0
jne 0x1400cac80
lea rdx, str._nProgram_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
lea rax, vtable.CListObjectBase.0
mov qword [rbp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1400df720
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.1400c9590
mov r14d, 1
test eax, eax
je 0x1400cadad
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.1400dfda0
test eax, eax
je 0x1400cadad
mov dword [rsp + 0x28], r14d
lea rax, [0x14012c0e8]
mov qword [rsp + 0x20], rax
lea r9, [0x1401226e8]
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cebc0
lea rdx, str._nSystem_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
lea rcx, str.SystemRoot
call fcn.1400ed7c8
mov rdi, rax
test rax, rax
jne 0x1400cadfd
lea rcx, str.WinDir
call fcn.1400ed7c8
mov rdi, rax
test rax, rax
jne 0x1400cadfd
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.1400ebda4
xor ecx, ecx
call fcn.1400dc0c0
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 0x1400caeae
lea r9, str.System32
call fcn.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
lea r9, str.System32
jmp 0x1400caf0d
lea r9, str.System
call fcn.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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.1400cebc0
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 0x1400cb0be
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cb053
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 0x1400cb0be
lea rdx, str._nx64_System_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
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.1400cebc0
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.1400cebc0
lea rdx, str._nSynaptics_Files_found_in_PATH_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
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, [0x14013d718]
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.1400ed7c8
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 0x1400cb1b0
lea rdx, [0x14013d814]
lea rcx, [rbp + 0x7b0]
call fcn.1400ed604
mov r14, rax
test rax, rax
je 0x1400cb240
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.1400cebc0
inc rdi
mov rcx, qword [rbp + rdi*8 + 0x80]
test rcx, rcx
jne 0x1400cb1f6
lea rdx, [0x14013d814]
call fcn.1400ed604
mov r14, rax
test rax, rax
jne 0x1400cb1f0
mov r13d, dword [rbp + 0x2800]
lea rdx, str._nEnviroment_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cf140
lea rdx, str._nRegistry_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
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.1400076c0
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.1400076c0
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.1400076c0
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.1400076c0
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.1400076c0
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.1400dc9c0
nop
mov ecx, 1
mov dword [rbp + 0x27f0], ecx
cmp qword [rax + 0x18], 8
jb 0x1400cb397
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
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.1400cefa0
test eax, eax
je 0x1400cb572
xor dil, dil
jmp 0x1400cb575
mov dil, 1
cmp qword [rbp - 0x70], 8
jb 0x1400cb586
mov rcx, qword [rsp + 0x78]
call fcn.1400e4058
test dil, dil
jne 0x1400cba17
lea rdx, str._nSetupAPI_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
cmp dword [rsi + 0x47c], 0
je 0x1400cb616
mov word [rbp + 0x5a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5a2]
call fcn.1400e4220
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
call fcn.1400dc0c0
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x7b0]
cmp eax, 7
lea rdx, str._sSetupAPI.log
je 0x1400cb5fd
lea rdx, str._sinf_setupapi.dev.log
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cf230
jmp 0x1400cb625
lea rdx, str._not_included__n
mov rcx, qword [rbx]
call fcn.1400ebda4
mov word [rbp + 0x390], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x392]
call fcn.1400e4220
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 0x1400cb72e
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
cmp word [rbp + 0x390], 0
jne 0x1400cb687
mov r15, r12
jmp 0x1400cb69b
lea rax, [rbp + 0x390]
nop
inc r15
cmp word [rax + r15*2], 0
jne 0x1400cb690
mov r8, r15
lea rdx, [rbp + 0x390]
lea rcx, [rbp - 0x58]
call fcn.1400076c0
nop
lea r8, str.SynapticsSynReflashSynReflash.log
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000b4b0
nop
cmp qword [rbp - 0x40], 8
jb 0x1400cb6d5
mov rcx, qword [rbp - 0x58]
call fcn.1400e4058
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 0x1400cb71c
lea rdx, str._nSynReflash_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ebda4
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cf230
cmp qword [rsp + 0x50], 8
jb 0x1400cb72e
mov rcx, qword [rsp + 0x38]
call fcn.1400e4058
lea rdx, [0x140130314]
mov rcx, qword [rbx]
call fcn.1400ebda4
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 0x1400cb760
mov eax, dword [0x140122f58]
mov dword [rcx], eax
test r13d, r13d
jne 0x1400cb77f
mov rcx, rsi
call fcn.1400cbfb0
lea r8, [rbp + 0x180]
lea rdx, str._sControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sI8042.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sNGIControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sNGIPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sUsbControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sUsbPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sPTPControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sPTPPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sSentOSPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea r8, [rbp + 0x180]
lea rdx, str._sProcessedPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e5d9c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
test r13d, r13d
jne 0x1400cba17
lea rcx, [rsp + 0x78]
call fcn.1400dbc60
nop
lea r8, str.SynapticsSynTP_
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000b4b0
nop
lea r8, str.Enhancement.KTL
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000b4b0
nop
cmp qword [rbp - 0x18], 8
jb 0x1400cb9b0
mov rcx, qword [rbp - 0x30]
call fcn.1400e4058
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbp - 0x70], 8
jb 0x1400cb9d2
mov rcx, qword [rsp + 0x78]
call fcn.1400e4058
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400ceea0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1400ed8f4
cmp qword [rsp + 0x50], 8
jb 0x1400cba17
mov rcx, qword [rsp + 0x38]
call fcn.1400e4058
nop
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.1400df740
nop
lea rcx, [rbp + 0x28]
call fcn.1400df740
nop
mov rbx, qword [rsp + 0x28f8]
add rsp, 0x28b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret