Function at 0x1400a5c50
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 - 0x10e0]
mov eax, 0x11e0
call fcn.1400e8ab0
sub rsp, rax
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x500]
call fcn.1400e5b40
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x500]
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, [0x14010fdf8]
lea rcx, [rbp + 0x500]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov rsi, rax
mov qword [0x1401818e0], r12
mov qword [0x1401818d0], r12
mov qword [0x1401818e8], 1
lea rax, [0x140153b58]
mov qword [0x1401818f8], rax
lea rbx, [0x1401818d0]
mov qword [0x140179638], rbx
lea rdi, [0x1401818f8]
nop dword [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, [0x1400def90]
call qword [sym.imp.api_ms_win_eventing_classicprovider_l1_1_0.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400a5d30
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 + 0x900]
call fcn.14006e150
lea rcx, [rbp + 0x900]
call fcn.1400df020
test rsi, rsi
je 0x1400a69c8
movzx eax, word [rsi]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x1400a69c8
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 0x1400a5f1a
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 0x1400a5e36
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 0x1400a6a7c
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 0x1400a5e5e
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 0x1400a6a7c
mov qword [rsp + 0x60], r12
lea rax, str.NT_AUTHORITYLocalService
mov qword [rsp + 0x58], rax
lea rax, [0x140103060]
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 0x1400a5ef0
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.1400a6b90
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400a6a83
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_installed._n
call fcn.1400a6b90
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 0x1400a6a83
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 0x1400a6085
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 0x1400a5e4c
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 0x1400a5f9d
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.1400a6b90
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400a6a83
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 0x1400a6038
lea rdx, str.RtkAudioUniversalService
lea rcx, str.Stopping__s.
call fcn.1400a6b90
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 0x1400a6016
mov eax, dword [rbp - 0x34]
cmp eax, 3
jne 0x1400a6019
lea rcx, [0x14013b324]
call fcn.1400a6b90
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 0x1400a5fe6
mov eax, dword [rbp - 0x34]
lea rdx, str.RtkAudioUniversalService
cmp eax, 1
lea rcx, str._n_s_is_stopped._n
je 0x1400a6033
lea rcx, str._n_s_failed_to_stop._n
call fcn.1400a6b90
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x1400a605b
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.1400a6b90
jmp 0x1400a606e
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_removed._n
call fcn.1400a6b90
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 0x1400a6a83
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 0x1400a6314
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 [0x1401810c0], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400a60ee
mov rcx, qword [0x1401810c0]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x63
lea rdx, str.wWinMain
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
jmp 0x1400a6a83
lea rcx, [0x140178490]
call fcn.1400052e0
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.140014b20
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 0x1400a6205
nop dword [rax]
lea rdx, [rbp + 0x1d8]
cmp qword [rax + 0x10], rdx
je 0x1400a620e
mov rax, qword [rax]
test rax, rax
jne 0x1400a61f0
lea rdx, [rbp - 0x80]
call fcn.140006d60
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.14001f8c0
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 0x1400a6255
lea rax, [rbp + 0x1d0]
cmp qword [rdx + 0x10], rax
je 0x1400a625e
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400a6240
lea rdx, [rbp - 0x78]
call fcn.140006d60
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x1b0]
call fcn.1400de730
call fcn.14001f8c0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400dcb80
cmp edi, 1
jbe 0x1400a62a9
mov r9d, edi
mov r8d, 0x70
lea rdx, str.wWinMain
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14006dd20
jmp 0x1400a62b0
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.140014b20
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x1d8]
call fcn.14000bdd0
call fcn.14001f8c0
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.14000bdd0
mov r8d, 0x1c
lea rdx, str.CBackgroundProcMain::CBackgroundProcMain
lea rcx, [0x140102ba8]
call fcn.14006dd20
nop
jmp 0x1400a6a83
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 0x1400a64cf
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 [0x1401810c0], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400a636a
mov rcx, qword [0x1401810c0]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x75
jmp 0x1400a60d6
mov dword [0x1401784a4], 1
lea rcx, [0x140178490]
call fcn.1400052e0
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.140014b20
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 0x1400a6402
nop word [rax + rax]
lea rdx, [rbp + 0x58]
cmp qword [rax + 0x10], rdx
je 0x1400a640b
mov rax, qword [rax]
test rax, rax
jne 0x1400a63f0
lea rdx, [rbp - 0x70]
call fcn.140006d60
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.14001f8c0
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 0x1400a6452
nop word [rax + rax]
lea rax, [rbp + 0x50]
cmp qword [rdx + 0x10], rax
je 0x1400a645b
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400a6440
lea rdx, [rbp - 0x68]
call fcn.140006d60
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x30]
call fcn.1400de730
call fcn.14001f8c0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400dcb80
nop
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], r13
call fcn.140014b20
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x58]
call fcn.14000bdd0
call fcn.14001f8c0
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.14000bdd0
mov r8d, SafeArrayCopy
lea rdx, str.CBackgroundAdminProcMain::CBackgroundAdminProcMain
lea rcx, [0x140102ba8]
call fcn.14006dd20
nop
jmp 0x1400a6a83
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 0x1400a68e6
mov rdx, rsi
lea rcx, [0x14013d040]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400a68e6
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 0x1400a65a6
lea r8, [rsp + 0x78]
lea rdx, [0x14010fdf8]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400a6561
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, [0x14013d024]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
cmp eax, 0x64
ja 0x1400a6576
lfence
mov r9d, eax
jmp 0x1400a657c
lea r8, [0x14013d024]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
mov r9d, 0xffffffff
call fcn.140090400
mov r9d, 1
lea r8, str.ReKR0
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rcx, 0xffffffff80000002
call fcn.140090400
jmp 0x1400a6a83
lea rdx, [rsi + 2]
lea rcx, str.RETASKPOPUP
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [0x140178490]
test eax, eax
jne 0x1400a676e
call fcn.1400052e0
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 0x1400a6a83
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.14009c120
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.14002fcd0
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x1400a6aba
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140102b58]
lea rcx, [rsp + 0x70]
call fcn.140006d30
mov r9d, ebx
lea r8, str.JDPopup
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, qword [0x140178498]
call fcn.140090400
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a671d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov eax, dword [0x1401802b8]
cmp eax, 1
jne 0x1400a6738
call fcn.14009d170
call fcn.14009f0a0
mov eax, dword [0x1401802b8]
dec eax
mov dword [0x1401802b8], eax
mov rdx, qword [rbp + 0x120]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a6769
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
jmp 0x1400a6a83
call fcn.1400052e0
mov dword [0x1401784b0], 1
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x1400a6aaf
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.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.140006d30
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.14009c120
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.14002f8e0
nop
mov eax, dword [0x1401802b8]
cmp eax, 1
jne 0x1400a6880
call fcn.14009d170
call fcn.14009f0a0
mov eax, dword [0x1401802b8]
dec eax
mov dword [0x1401802b8], eax
mov rdx, qword [rbp + 0x90]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a68b8
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a6a83
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
jmp 0x1400a6a83
mov dword [0x1401784a8], 1
lea rcx, [0x140178490]
call fcn.1400052e0
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, [0x1400b0f90]
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.1400b0ff0
call fcn.14001f8c0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400dcb80
mov r8d, 0x95
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x140102ba8]
call fcn.14006dd20
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 0x1400a69a4
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x28]
call qword [case.0x140050923.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, [0x140102ba8]
call fcn.14006dd20
jmp 0x1400a6a83
lea rcx, str.Parameters:_n
call fcn.1400a6b90
lea rcx, str.__install__to_install_the_service._n
call fcn.1400a6b90
lea rcx, str.__remove___to_remove_the_service._n
call fcn.1400a6b90
lea rcx, str.__background__to_run_in_console_mode._n
call fcn.1400a6b90
call fcn.1400a6ad0
test rax, rax
je 0x1400a6a10
mov qword [rax + 0x1b8], r15
mov qword [rax + 0x1c0], r14
lea rbx, [rax + 0x168]
mov r8d, 0x36
lea rdx, str.CServiceBase::Run
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov qword [0x140180780], rbx
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x2c0], rax
lea rax, [0x1400cb1e0]
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 0x1400a6a83
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.1400a6b90
xor eax, eax
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x1228]
add rsp, 0x11e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
mov ecx, 0x80004005
call fcn.140004f30
int3