Function at 0x140045ad0
Capabilities:
Create process on windows
Get installed programs
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x200
call fcn.1400c5120
lea rax, [rsp + 0x40]
xor esi, esi
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], rsi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140045cc0
mov rcx, qword [rsp + 0x40]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x30]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov ebx, esi
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x3c], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x140045cb5
mov qword [rsp + 0x710], rdi
lea rdi, str.ASUS_Sync_Drivers
test eax, eax
jne 0x140045c70
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x48], rsi
lea rdx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140045c70
mov rcx, qword [rsp + 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x38]
lea rax, [rbp + 0x1e0]
mov dword [rbp - 0x40], 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DisplayName
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140045c65
lea rdx, [rbp + 0x1e0]
mov rax, rsi
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x140045c65
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x140045c65
add rax, 2
cmp rax, 0x12
jne 0x140045c10
mov rcx, qword [rsp + 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x38]
lea rax, [rbp + 0x3f0]
mov dword [rbp - 0x40], 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UninstallString
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x30]
mov qword [rsp + 0x30], rsi
inc ebx
mov qword [rsp + 0x28], rsi
mov edx, ebx
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x3c], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x140045b91
mov rdi, qword [rsp + 0x710]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x208
call fcn.1400c5120
mov r8d, 0x104
lea rdx, [rbp - 0x30]
lea rcx, str.ComSpec
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140045e06
xor edx, edx
lea rcx, [rbp + 0x1e0]
mov r8d, 0x208
call fcn.1400c5120
lea r9, [rbp + 0x3f0]
mov edx, 0x104
lea r8, str._c__s__qn
lea rcx, [rbp + 0x1e0]
call fcn.140017d20
xor eax, eax
mov dword [rsp + 0x50], WSACleanup
mov qword [rbp - 0x4c], rax
lea rdx, [rbp + 0x1e0]
mov dword [rbp - 0x44], eax
lea rcx, str._AsusSync_CommMgr__RemoveOldDriver____s_n
xorps xmm0, xmm0
mov qword [rsp + 0x58], rsi
lea rax, str.open
mov dword [rbp - 0x80], esi
mov qword [rsp + 0x60], rax
lea rax, [0x14010bc34]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x7c], xmm0
mov dword [rsp + 0x54], 0x40
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
call fcn.140095ab0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140045e06
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140045e06
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetProcessId]
mov edx, eax
lea rcx, str._AsusSync_CommMgr__RemoveOldDriver___Wait_PID__d_to_be_end_n
mov ebx, eax
call fcn.140095ab0
mov rcx, qword [rbp - 0x48]
mov edx, 0x2710
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov edx, ebx
test eax, eax
jne 0x140045de4
lea rcx, str._AsusSync_CommMgr__RemoveOldDriver___PID__d_is_ended_n
call fcn.140095ab0
jmp 0x140045dfc
lea rcx, str._AsusSync_CommMgr__RemoveOldDriver___PID__d_is_not_ended__force_terminate_it_n
call fcn.140095ab0
mov rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret