Function at 0x140095bf0
Capabilities:
Access the windows event log
Create process on windows
Delete registry value
Query or enumerate registry value
Set registry value
Start service

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [r11 - 0x638]
sub rsp, 0x720
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov r14, rcx
test rdx, rdx
je 0x140095ffa
mov eax, dword [rdx]
xor ebx, ebx
mov qword [r11 + 0x10], r15
cmp eax, 0x69002f
jne 0x140095c43
call fcn.14004ec40
jmp 0x140095f11
cmp eax, 0x72002f
jne 0x140095c54
call fcn.14004eb10
jmp 0x140095f11
cmp eax, 0x73002f
jne 0x140095cca
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rbx
call fcn.14004e800
test al, al
je 0x140095f11
mov rdi, qword [rbp - 0x30]
xor r8d, r8d
mov rcx, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
test eax, eax
je 0x140095c8a
mov eax, ebx
jmp 0x140095c90
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rdx, [r14 + 0x30]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov qword [rsp + 0x20], rdx
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageW]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x140095f11
cmp eax, 0x71002f
jne 0x140095cdb
call fcn.14004ea30
jmp 0x140095f11
cmp eax, 0x75002f
jne 0x140095f11
lea rax, [rbp - 0x30]
mov dword [rsp + 0x50], ebx
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x30], rbx
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceLinktoMyASUS
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140095de5
mov rcx, qword [rbp - 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x140095d4d
test eax, eax
jne 0x140095d60
mov rcx, qword [rbp - 0x30]
lea r8, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
mov rcx, qword [rbp - 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.74525cca_11db_44fa_b723_23038b38ef9b
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x140095d91
test eax, eax
jne 0x140095da4
mov rcx, qword [rbp - 0x30]
lea r8, str.74525cca_11db_44fa_b723_23038b38ef9b
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
mov rcx, qword [rbp - 0x30]
lea rdx, str.a4b75315_c24b_42eb_9f0a_97e4d1a9f37f
mov eax, 1
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x54], eax
mov r9d, 4
lea rax, [rsp + 0x54]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140095df1
lea rcx, str._AsusSync_CommMgr__RemoveAll___fail_to_open_key_n
call fcn.140095ab0
mov rcx, r14
call fcn.14004eb10
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call fcn.1400c5120
mov r8d, 0x104
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp]
call fcn.1400c46bc
test rax, rax
je 0x140095e33
mov word [rax + 2], bx
lea r8, str.AsusLinkWP2P.exe
mov edx, 0x104
lea rcx, [rbp]
call fcn.1400d6ec0
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x400
call fcn.1400c5120
lea r9, str.B9ECED6F.ASUSPCAssistant.AsusMyASUSNotification.exe
mov edx, 0x200
lea r8, str.__s___Link___removeall_
lea rcx, [rbp + 0x210]
call fcn.140017d20
xorps xmm0, xmm0
mov dword [rsp + 0x60], WSAGetLastError
lea rax, [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x210]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x140095efe
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140095eee
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140095efe
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, [rbp + 0x210]
lea rcx, str._AsusSync_CommMgr__ReleaseResource_:__s_n
call fcn.140095ab0
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [0x1400fac68]
mov dword [rsp + 0x50], ebx
mov rdi, 0xffffffffffffffff
mov r15, rax
test rax, rax
je 0x140095f92
cmp word [rax], bx
je 0x140095f92
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8d, [rdi + 3]
lea rdx, [0x14012746c]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleW]
mov rsi, rdi
inc rsi
cmp word [r15 + rsi*2], bx
jne 0x140095f64
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov r8d, esi
mov rdx, r15
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleW]
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea rdx, [0x14012746c]
mov r8d, 2
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleW]
mov r15, qword [rsp + 0x748]
inc rdi
cmp word [r14 + rdi*2 + 0x30], bx
jne 0x140095fc5
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea rdx, [r14 + 0x30]
mov r8d, edi
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleW]
jmp 0x1400960c3
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [r14 + 0x18], rax
mov rcx, r14
mov rax, qword [r14]
mov rax, qword [rax]
call qword [0x1400fac68]
mov qword [rbp - 0x28], rax
xor ebx, ebx
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x18], rbx
lea rax, [0x14004e3e0]
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x20], rax
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x14009604f
mov edi, ebx
jmp 0x140096057
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
lea rsi, [r14 + 0x30]
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov r8d, edi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageW]
test edi, edi
je 0x1400960c3
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1400960c3
mov qword [rsp + 0x40], rbx
lea r9, [rbp - 0x30]
mov qword [rsp + 0x38], r9
mov eax, 1
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov word [rsp + 0x28], ax
mov edx, eax
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x30], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret