Function at 0x1400ae8a0
Capabilities:
Check mutex on windows
Create service
Create thread
Delete service
Persist via windows service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14d0]
mov eax, 0x15d0
call fcn.1400fdb80
sub rsp, rax
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0x14c0], rax
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x8f0]
call fcn.1400fac10
test rbx, rbx
je 0x1400ae931
mov edx, 0x200
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
cmp rax, 0x200
jb 0x1400ae931
mov r8d, 0x41
lea rdx, str.wWinMain
lea rcx, str._s__d_RETURN_VALUE_ON_FALSE
call fcn.140075db0
mov eax, 0xa0
jmp 0x1400af77b
lfence
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x8f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movabs rax, 0xa00090020
mov qword [rbp + 0x2e0], rax
xor r12d, r12d
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
lea rdx, [0x140129968]
lea rcx, [rbp + 0x8f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov rsi, rax
mov qword [0x1401ba760], r12
mov qword [0x1401ba750], r12
mov qword [0x1401ba768], 1
lea rax, [0x140182510]
mov qword [0x1401ba748], rax
lea rbx, [0x1401ba750]
mov qword [0x1401ab9a8], rbx
lea rdi, [0x1401ba748]
nop word [rax + rax]
mov r8, qword [rdi]
lea rdi, [rdi + 8]
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x58], r12
mov qword [rbx + 0x20], r8
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, rbx
lea rcx, [0x1400f4060]
call qword [sym.imp.api_ms_win_eventing_classicprovider_l1_1_0.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400ae9c0
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rbp - 0x3a]
movzx ecx, word [rbp - 0x3c]
movzx edx, word [rbp - 0x3e]
movzx r8d, word [rbp - 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r9, str.WPPTrace::InitWPP
lea r8, str._s__02d:_02d:_02d:_03d_n
mov edx, 0x3e6
lea rcx, [rbp + 0xcf0]
call fcn.140076420
xor edx, edx
mov r8d, 0x3e7
lea rcx, [rbp + 0x500]
call fcn.1400fac10
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x3e6
lea rax, [rbp + 0x500]
mov qword [rsp + 0x20], rax
mov edi, 0xffffffff
mov r9d, edi
lea r8, [rbp + 0xcf0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
lea rax, [0x1401ab9a8]
mov rcx, qword [0x1401ab9a8]
cmp rcx, rax
je 0x1400aead5
test byte [rcx + 0x1c], 1
je 0x1400aead5
cmp byte [rcx + 0x19], 4
jb 0x1400aead5
lea r9, [rbp + 0x500]
mov rcx, qword [rcx + 0x10]
call fcn.1400f3ff0
test rsi, rsi
je 0x1400af6be
movzx eax, word [rsi]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x1400af6be
lea rdx, [rsi + 2]
lea rcx, str.install
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400aec1b
mov r8d, 0x104
lea rdx, [rbp + 0x2f0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400aeb37
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
jmp 0x1400af772
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400aeb5f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
jmp 0x1400af772
mov qword [rsp + 0x60], r12
lea rax, str.NT_AUTHORITYLocalService
mov qword [rsp + 0x58], rax
lea rax, [0x14011c160]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], SafeArrayUnaccessData
mov r9d, 4
lea r8, str.Realtek_Audio_Universal_Service
lea rdx, str.RtkAudioUniversalService
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x1400aebf1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.1400af880
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400af779
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_installed._n
call fcn.1400af880
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400af779
lea rdx, [rsi + 2]
lea rcx, str.remove
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400aed86
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], eax
xor edx, edx
xor ecx, ecx
lea r8d, [rax + 1]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400aeb4d
mov r8d, 0x10024
lea rdx, str.RtkAudioUniversalService
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1400aec9e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.1400af880
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400af779
lea r8, [rbp - 0x38]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x1400aed39
lea rdx, str.RtkAudioUniversalService
lea rcx, str.Stopping__s.
call fcn.1400af880
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x1400aed17
mov eax, dword [rbp - 0x34]
cmp eax, 3
jne 0x1400aed1a
lea rcx, [0x14016583c]
call fcn.1400af880
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x1400aece7
mov eax, dword [rbp - 0x34]
lea rdx, str.RtkAudioUniversalService
cmp eax, 1
lea rcx, str._n_s_is_stopped._n
je 0x1400aed34
lea rcx, str._n_s_failed_to_stop._n
call fcn.1400af880
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x1400aed5c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.1400af880
jmp 0x1400aed6f
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_removed._n
call fcn.1400af880
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400af779
mov rdx, rsi
lea rcx, str._background
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400af014
lea r8, str.MUTEX_NORMAL_USER_BC048E02_F0A9_4d8b_90F9_AB56BE6DA9E4
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov qword [0x1401b9738], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400aedef
mov rcx, qword [0x1401b9738]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x66
lea rdx, str.wWinMain
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
jmp 0x1400af779
lea rcx, [0x1401aa490]
call fcn.14000d240
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov edi, eax
xor eax, eax
mov qword [rbp + 0x2b8], rax
mov qword [rbp + 0x1b8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
lea rsi, vtable.CBackgroundProcMain.1.0
mov qword [rbp + 0x1b0], rsi
lea r13, vtable.CBackgroundProcMain.2.0
mov qword [rbp + 0x1d0], r13
lea rax, vtable.CBackgroundProcMain.0
mov qword [rbp + 0x1d8], rax
movdqa xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmmword [rbp + 0x200], xmm0
movdqa xmmword [rbp + 0x210], xmm1
movdqa xmmword [rbp + 0x220], xmm0
movdqa xmmword [rbp + 0x230], xmm1
movdqa xmmword [rbp + 0x240], xmm0
movdqa xmmword [rbp + 0x250], xmm1
movdqa xmmword [rbp + 0x260], xmm0
movdqa xmmword [rbp + 0x270], xmm1
movdqa xmmword [rbp + 0x280], xmm0
movdqa xmmword [rbp + 0x290], xmm1
movdqa xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
lea rax, [rbp + 0x1d8]
mov qword [rbp - 0x80], rax
call fcn.14001d830
mov rbx, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1400aef05
nop word [rax + rax]
lea rdx, [rbp + 0x1d8]
cmp qword [rax + 0x10], rdx
je 0x1400aef0e
mov rax, qword [rax]
test rax, rax
jne 0x1400aeef0
lea rdx, [rbp - 0x80]
call fcn.14000ecc0
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rax, [rbp + 0x1d0]
mov qword [rbp - 0x78], rax
call fcn.140028840
mov rbx, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x28]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400aef55
lea rax, [rbp + 0x1d0]
cmp qword [rdx + 0x10], rax
je 0x1400aef5e
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400aef40
lea rdx, [rbp - 0x78]
call fcn.14000ecc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x1b0]
call fcn.1400f3800
call fcn.140028840
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400f1c50
cmp edi, 1
jbe 0x1400aefa9
mov r9d, edi
mov r8d, 0x73
lea rdx, str.wWinMain
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.140075db0
jmp 0x1400aefb0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1d0], r13
lea rax, vtable.CBackgroundProcMain.0
mov qword [rbp + 0x1d8], rax
call fcn.14001d830
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x1d8]
call fcn.140014720
call fcn.140028840
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.140014720
mov r8d, 0x1e
lea rdx, str.CBackgroundProcMain::CBackgroundProcMain
lea rcx, [0x14011bca8]
call fcn.140075db0
nop
jmp 0x1400af779
mov rdx, rsi
lea rcx, str._admin
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400af1cf
lea r8, str.MUTEX_ADMIN_USER_F0900667_9D73_45a5_B87E_F78114AB93A0
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov qword [0x1401b9738], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400af06a
mov rcx, qword [0x1401b9738]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x78
jmp 0x1400aedd7
mov dword [0x1401aa4a4], 1
lea rcx, [0x1401aa490]
call fcn.14000d240
mov qword [rbp + 0x38], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
lea rdi, vtable.CBackgroundAdminProcMain.1.0
mov qword [rbp + 0x30], rdi
lea rsi, vtable.CBackgroundAdminProcMain.2.0
mov qword [rbp + 0x50], rsi
lea r13, vtable.CBackgroundAdminProcMain.0
mov qword [rbp + 0x58], r13
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], r12
lea rax, [rbp + 0x58]
mov qword [rbp - 0x70], rax
call fcn.14001d830
mov rbx, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1400af102
nop word [rax + rax]
lea rdx, [rbp + 0x58]
cmp qword [rax + 0x10], rdx
je 0x1400af10b
mov rax, qword [rax]
test rax, rax
jne 0x1400af0f0
lea rdx, [rbp - 0x70]
call fcn.14000ecc0
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rax, [rbp + 0x50]
mov qword [rbp - 0x68], rax
call fcn.140028840
mov rbx, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x28]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400af152
nop word [rax + rax]
lea rax, [rbp + 0x50]
cmp qword [rdx + 0x10], rax
je 0x1400af15b
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400af140
lea rdx, [rbp - 0x68]
call fcn.14000ecc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x30]
call fcn.1400f3800
call fcn.140028840
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400f1c50
nop
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], r13
call fcn.14001d830
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x58]
call fcn.140014720
call fcn.140028840
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.140014720
mov r8d, SafeArrayCopy
lea rdx, str.CBackgroundAdminProcMain::CBackgroundAdminProcMain
lea rcx, [0x14011bca8]
call fcn.140075db0
nop
jmp 0x1400af779
mov rdx, rsi
lea rcx, str._Embedding
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400af5dc
mov rdx, rsi
lea rcx, [0x140167320]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400af5dc
mov rdx, rsi
lea rcx, str._rekr0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400af2a6
lea r8, [rsp + 0x78]
lea rdx, [0x140129968]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400af261
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
lea r8, [0x140167404]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
cmp eax, 0x64
ja 0x1400af276
lfence
mov r9d, eax
jmp 0x1400af27c
lea r8, [0x140167404]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
mov r9d, 0xffffffff
call fcn.1400986f0
mov r9d, 1
lea r8, str.ReKR0
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rcx, 0xffffffff80000002
call fcn.1400986f0
jmp 0x1400af779
lea rdx, [rsi + 2]
lea rcx, str.RETASKPOPUP
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [0x1401aa490]
test eax, eax
jne 0x1400af469
call fcn.14000d240
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x2e0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400af779
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ebx, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x120]
call fcn.1400a4be0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], eax
mov qword [rbp + 0x178], r12
movdqa xmmword [rbp + 0x180], xmm0
mov dword [rbp + 0x190], r12d
mov dword [rbp + 0x198], r12d
mov qword [rbp + 0x19c], 1
call fcn.14003a6b0
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400af7b0
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x14011bc58]
lea rcx, [rsp + 0x70]
call fcn.14000ec90
mov r9d, ebx
lea r8, str.JDPopup
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, qword [0x1401aa498]
call fcn.1400986f0
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400af418
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov eax, dword [0x1401b26ac]
cmp eax, 1
jne 0x1400af433
call fcn.1400a5c30
call fcn.1400a7b60
mov eax, dword [0x1401b26ac]
dec eax
mov dword [0x1401b26ac], eax
mov rdx, qword [rbp + 0x120]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400af464
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
jmp 0x1400af779
call fcn.14000d240
mov dword [0x1401aa4b0], 1
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400af7a5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x50], rax
lea r8, [rsi + 2]
lea rdx, str.command_s_r_n
lea rcx, [rbp - 0x50]
call fcn.14000ec90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x90]
call fcn.1400a4be0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xc0], eax
mov qword [rbp + 0xe8], r12
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], r12d
mov dword [rbp + 0x108], r12d
mov qword [rbp + 0x10c], 1
mov r8, qword [rsp + 0x78]
lea rdx, [rsi + 2]
lea rcx, [rbp + 0x90]
call fcn.14003a2c0
nop
mov eax, dword [0x1401b26ac]
cmp eax, 1
jne 0x1400af57b
call fcn.1400a5c30
call fcn.1400a7b60
mov eax, dword [0x1401b26ac]
dec eax
mov dword [0x1401b26ac], eax
mov rdx, qword [rbp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400af5ae
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400af779
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
jmp 0x1400af779
mov dword [0x1401aa4a8], 1
lea rcx, [0x1401aa490]
call fcn.14000d240
mov qword [rbp + 0x10], r12
mov qword [rbp - 8], 1
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rax, vtable.CRtkAudUServiceCOMServer.0
mov qword [rbp - 0x10], rax
movdqu xmmword [rbp + 0x18], xmm0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x10]
lea r8, [0x1400b9ca0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.1400b9d00
call fcn.140028840
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400f1c50
mov r8d, 0x95
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x14011bca8]
call fcn.140075db0
mov ecx, dword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400af69a
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x28]
call qword [case.0x14005eeb3.0]
mov qword [rbp + 0x18], r12
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov r8d, 0x9d
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x14011bca8]
call fcn.140075db0
jmp 0x1400af779
lea rcx, str.Parameters:_n
call fcn.1400af880
lea rcx, str.__install__to_install_the_service._n
call fcn.1400af880
lea rcx, str.__remove___to_remove_the_service._n
call fcn.1400af880
lea rcx, str.__background__to_run_in_console_mode._n
call fcn.1400af880
call fcn.1400af7c0
test rax, rax
je 0x1400af706
mov qword [rax + 0x1c0], r15
mov qword [rax + 0x1c8], r14
lea rbx, [rax + 0x170]
mov r8d, 0x36
lea rdx, str.CServiceBase::Run
lea rcx, [0x14011bca8]
call fcn.140075db0
mov qword [0x1401b2b70], rbx
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x2c0], rax
lea rax, [0x1400da650]
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x2d0], r12
mov qword [rbp + 0x2d8], r12
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400af779
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rcx, str.Service_failed_to_run_w_err_0x_08lx_n
mov edx, eax
call fcn.1400af880
xor eax, eax
mov rcx, qword [rbp + 0x14c0]
xor rcx, rsp
call fcn.1400f4410
mov rbx, qword [rsp + 0x1618]
add rsp, 0x15d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3
mov ecx, 0x80004005
call fcn.14000ce90
int3