Function at 0x1400cbae0
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.1400e75d0
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.1400ed9ac
call fcn.1400df0b0
lea rdi, str.64_bit
lea rcx, str.32_bit
test eax, eax
cmove rdi, rcx
xor ecx, ecx
call fcn.1400dd550
mov ecx, eax
call fcn.1400cf400
mov r9, rax
mov r8, rdi
lea rdx, str.OS_Platform_______________s__s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
mov word [rbp + 0x80], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rbp + 0x82]
call fcn.1400e5ee0
mov dword [rbp + 0x27f0], 0xc8
lea rax, vtable.CListObjectBase.0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400e1120
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.1400ca880
nop
cmp qword [rbp - 0x70], r12
je 0x1400cbd61
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.1400e17a0
test eax, eax
je 0x1400cbc3f
lea r8, [rbp + 0x80]
lea rdx, str.OS_Product_Name___________s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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.1400e17a0
test eax, eax
je 0x1400cbc81
lea r8, [rbp + 0x80]
lea rdx, str.OS_Service_Pack___________s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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.1400e1690
lea rcx, [rbp - 0x80]
cmp dword [rsp + 0x60], 0
je 0x1400cbd13
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1400e1690
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.1400e1690
mov r9d, edi
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140125dd0]
lea rcx, [rbp + 0x80]
call fcn.1400e7a5c
jmp 0x1400cbd37
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x27f0]
lea r8, [rbp + 0x80]
lea rdx, str.CurrentVersion
call fcn.1400e17a0
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x58]
call fcn.1400dd550
mov r9d, dword [rsp + 0x58]
lea r8, [rbp + 0x80]
lea rdx, str.OS_Build_Version__________s._d_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
xor ecx, ecx
call fcn.1400dda70
mov rdx, rax
lea rcx, [rbp]
call fcn.1400d2e90
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400cbd81
mov rdi, qword [rax]
xor ecx, ecx
call fcn.1400dd550
mov r8d, eax
mov r9, rdi
lea rdx, str.OS_GetOS_Reg_Settings_____d__s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
nop
cmp qword [rbp + 0x18], 8
jb 0x1400cbdaf
mov rcx, qword [rbp]
call fcn.1400e5d14
nop
mov qword [rsp + 0x78], r14
lea rcx, [rbp - 0x80]
call fcn.1400e1140
nop
lea rcx, [rbp - 0x80]
call fcn.1400e1140
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r8d, word [rbp + 0x150]
test r8d, r8d
je 0x1400cbe1b
cmp r8d, 6
je 0x1400cbe12
cmp r8d, 9
je 0x1400cbe09
lea r9, [0x14013cd10]
lea rax, [0x140125de0]
cmp r8d, 0xffff
cmove r9, rax
jmp 0x1400cbe22
lea r9, str.x64__AMD_or_Intel_
jmp 0x1400cbe22
lea r9, str.Intel_Itanium
jmp 0x1400cbe22
lea r9, [0x14013ccc0]
lea rdx, str.Processor_Architecture___0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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 0x1400cbe67
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.1400ed9ac
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
test rax, rax
je 0x1400cbeb5
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.1400ed9ac
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.1400df850
mov r9, rax
mov r8d, edi
lea rdx, str.OS_Install_______________0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
movzx ecx, di
call fcn.1400df850
mov r9, rax
mov r8d, edi
lea rdx, str.Current_Display_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
movzx ecx, di
call fcn.1400df850
mov r9, rax
mov r8d, edi
lea rdx, str.System_Default_Locale____0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
movzx ecx, ax
call fcn.1400df850
mov r9, rax
movzx r8d, di
lea rdx, str.Keyboard_Layout_Language_0x_x___s_n
mov rcx, qword [rbx]
call fcn.1400ed9ac
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cefb0
or r15, 0xffffffffffffffff
mov dword [rbp + 0x2808], r15d
cmp qword [rsi], 0
je 0x1400cbfd3
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 0x1400cbfd3
mov r8d, dword [rbp + 0x2808]
lea rdx, str._nDevice__i_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
xor r8d, r8d
mov edx, dword [rbp + 0x2808]
mov rcx, rsi
call fcn.1400cd340
mov rdi, rax
mov r8, rax
lea rdx, [0x14012b69c]
mov rcx, qword [rbx]
call fcn.1400ed9ac
mov rcx, rdi
call fcn.1400e8398
cmp qword [rsi], 0
jne 0x1400cbf70
lea rdx, str._nProgram_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
lea rax, vtable.CListObjectBase.0
mov qword [rbp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1400e1120
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.1400ca880
mov r14d, 1
test eax, eax
je 0x1400cc09d
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.1400e17a0
test eax, eax
je 0x1400cc09d
mov dword [rsp + 0x28], r14d
lea rax, [0x14012e408]
mov qword [rsp + 0x20], rax
lea r9, [0x1401246c4]
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cff30
lea rdx, str._nSystem_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
lea rcx, str.SystemRoot
call fcn.1400ef488
mov rdi, rax
test rax, rax
jne 0x1400cc0ed
lea rcx, str.WinDir
call fcn.1400ef488
mov rdi, rax
test rax, rax
jne 0x1400cc0ed
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.1400ed9ac
xor ecx, ecx
call fcn.1400dd550
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 0x1400cc19e
lea r9, str.System32
call fcn.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
lea r9, str.System32
jmp 0x1400cc1fd
lea r9, str.System
call fcn.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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.1400cff30
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 0x1400cc3ae
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cc343
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 0x1400cc3ae
lea rdx, str._nx64_System_Files_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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.1400cff30
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.1400cff30
lea rdx, str._nSynaptics_Files_found_in_PATH_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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, [0x14013fd18]
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.1400ef488
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 0x1400cc4a0
lea rdx, [0x14013fe14]
lea rcx, [rbp + 0x7b0]
call fcn.1400ef2c4
mov r14, rax
test rax, rax
je 0x1400cc530
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, [0x1401246c4]
mov r8, r14
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400cff30
inc rdi
mov rcx, qword [rbp + rdi*8 + 0x80]
test rcx, rcx
jne 0x1400cc4e6
lea rdx, [0x14013fe14]
call fcn.1400ef2c4
mov r14, rax
test rax, rax
jne 0x1400cc4e0
mov r13d, dword [rbp + 0x2800]
lea rdx, str._nEnviroment_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d04b0
lea rdx, str._nRegistry_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
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, [0x1401246c4]
lea rcx, [rbp - 0x58]
call fcn.140007750
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rsp + 0x38]
call fcn.140007750
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rbp + 0x50]
call fcn.140007750
nop
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rbp - 0x30]
call fcn.140007750
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.140007750
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.1400dde50
nop
mov ecx, 1
mov dword [rbp + 0x27f0], ecx
cmp qword [rax + 0x18], 8
jb 0x1400cc687
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call fcn.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
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.1400d0310
test eax, eax
je 0x1400cc862
xor dil, dil
jmp 0x1400cc865
mov dil, 1
cmp qword [rbp - 0x70], 8
jb 0x1400cc876
mov rcx, qword [rsp + 0x78]
call fcn.1400e5d14
test dil, dil
jne 0x1400ccd07
lea rdx, str._nSetupAPI_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
cmp dword [rsi + 0x47c], 0
je 0x1400cc906
mov word [rbp + 0x5a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5a2]
call fcn.1400e5ee0
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
call fcn.1400dd550
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x7b0]
cmp eax, 7
lea rdx, str._sSetupAPI.log
je 0x1400cc8ed
lea rdx, str._sinf_setupapi.dev.log
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d05a0
jmp 0x1400cc915
lea rdx, str._not_included__n
mov rcx, qword [rbx]
call fcn.1400ed9ac
mov word [rbp + 0x390], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x392]
call fcn.1400e5ee0
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 0x1400cca1e
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
cmp word [rbp + 0x390], 0
jne 0x1400cc977
mov r15, r12
jmp 0x1400cc98b
lea rax, [rbp + 0x390]
nop
inc r15
cmp word [rax + r15*2], 0
jne 0x1400cc980
mov r8, r15
lea rdx, [rbp + 0x390]
lea rcx, [rbp - 0x58]
call fcn.140007750
nop
lea r8, str.SynapticsSynReflashSynReflash.log
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000b0b0
nop
cmp qword [rbp - 0x40], 8
jb 0x1400cc9c5
mov rcx, qword [rbp - 0x58]
call fcn.1400e5d14
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 0x1400cca0c
lea rdx, str._nSynReflash_Log_Info_n_________________________________________n
mov rcx, qword [rbx]
call fcn.1400ed9ac
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d05a0
cmp qword [rsp + 0x50], 8
jb 0x1400cca1e
mov rcx, qword [rsp + 0x38]
call fcn.1400e5d14
lea rdx, [0x1401327f4]
mov rcx, qword [rbx]
call fcn.1400ed9ac
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 0x1400cca50
mov eax, dword [0x140124f70]
mov dword [rcx], eax
test r13d, r13d
jne 0x1400cca6f
mov rcx, rsi
call fcn.1400cd2a0
lea r8, [rbp + 0x180]
lea rdx, str._sControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sI8042.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sNGIControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sNGIPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sUsbControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sUsbPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sPTPControl.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sPTPPacket.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sSentOSPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea r8, [rbp + 0x180]
lea rdx, str._sProcessedPackets.KTL
lea rcx, [rbp + 0x7b0]
call fcn.1400e7a5c
lea r8, [rbp + 0x7b0]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
test r13d, r13d
jne 0x1400ccd07
lea rcx, [rsp + 0x78]
call fcn.1400dd0f0
nop
lea r8, str.SynapticsSynTP_
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000b0b0
nop
lea r8, str.Enhancement.KTL
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000b0b0
nop
cmp qword [rbp - 0x18], 8
jb 0x1400ccca0
mov rcx, qword [rbp - 0x30]
call fcn.1400e5d14
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rbp - 0x70], 8
jb 0x1400cccc2
mov rcx, qword [rsp + 0x78]
call fcn.1400e5d14
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.1400d0210
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1400ef5b4
cmp qword [rsp + 0x50], 8
jb 0x1400ccd07
mov rcx, qword [rsp + 0x38]
call fcn.1400e5d14
nop
lea rax, vtable.CRegistryKey.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.1400e1140
nop
lea rcx, [rbp + 0x28]
call fcn.1400e1140
nop
mov rbx, qword [rsp + 0x28f8]
add rsp, 0x28b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret