Function at 0x1400932e0
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 - 0x10d0]
mov eax, 0x11d0
call fcn.1400ca8f0
sub rsp, rax
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x4f0]
call fcn.1400c7980
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movabs rax, 0xa00090020
mov qword [rbp + 0x2d0], rax
xor r12d, r12d
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
lea rdx, [0x1400edd28]
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov rsi, rax
mov qword [0x140144d78], r12
mov qword [0x140144d68], r12
mov qword [0x140144d80], 1
lea rax, [0x14011a2e0]
mov qword [0x140144d60], rax
lea rbx, [0x140144d68]
mov qword [0x14013d2a0], rbx
lea rdi, [0x140144d60]
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, [0x1400c1440]
call qword [sym.imp.api_ms_win_eventing_classicprovider_l1_1_0.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400933c0
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 + 0x8f0]
call fcn.14005bd10
lea rcx, [rbp + 0x8f0]
call fcn.1400c14d0
test rsi, rsi
je 0x140094038
movzx eax, word [rsi]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x140094038
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 0x1400935aa
mov r8d, 0x104
lea rdx, [rbp + 0x2e0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400934c6
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 0x1400940ec
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 0x1400934ee
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 0x1400940ec
mov qword [rsp + 0x60], r12
lea rax, str.NT_AUTHORITYLocalService
mov qword [rsp + 0x58], rax
lea rax, [0x1400e36c8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x2e0]
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 0x140093580
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.140094200
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400940f3
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_installed._n
call fcn.140094200
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 0x1400940f3
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 0x140093715
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 0x1400934dc
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 0x14009362d
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.140094200
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x1400940f3
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 0x1400936c8
lea rdx, str.RtkAudioUniversalService
lea rcx, str.Stopping__s.
call fcn.140094200
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 0x1400936a6
mov eax, dword [rbp - 0x34]
cmp eax, 3
jne 0x1400936a9
lea rcx, [0x140109d54]
call fcn.140094200
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 0x140093676
mov eax, dword [rbp - 0x34]
lea rdx, str.RtkAudioUniversalService
cmp eax, 1
lea rcx, str._n_s_is_stopped._n
je 0x1400936c3
lea rcx, str._n_s_failed_to_stop._n
call fcn.140094200
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x1400936eb
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.140094200
jmp 0x1400936fe
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_removed._n
call fcn.140094200
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 0x1400940f3
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 0x140093994
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 [0x140144d50], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x14009377e
mov rcx, qword [0x140144d50]
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.14005b9a0
jmp 0x1400940f3
lea rcx, [0x14013c480]
call fcn.140004bd0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov edi, eax
mov qword [rbp + 0x1a8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1b0], xmm0
lea rsi, vtable.CBackgroundProcMain.2.0
mov qword [rbp + 0x1a0], rsi
lea r13, vtable.CBackgroundProcMain.1.0
mov qword [rbp + 0x1c0], r13
lea rax, vtable.CBackgroundProcMain.0
mov qword [rbp + 0x1c8], rax
movdqa xmmword [rbp + 0x1d0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1e0], xmm1
movdqa xmmword [rbp + 0x1f0], xmm0
movdqa xmmword [rbp + 0x200], xmm1
movdqa xmmword [rbp + 0x210], xmm0
movdqa xmmword [rbp + 0x220], xmm1
movdqa xmmword [rbp + 0x230], xmm0
movdqa xmmword [rbp + 0x240], xmm1
movdqa xmmword [rbp + 0x250], xmm0
movdqa xmmword [rbp + 0x260], xmm1
movdqa xmmword [rbp + 0x270], xmm0
movdqa xmmword [rbp + 0x280], xmm1
movdqa xmmword [rbp + 0x290], xmm0
mov qword [rbp + 0x2a0], r12
lea rax, [rbp + 0x1c8]
mov qword [rbp - 0x80], rax
call fcn.1400141e0
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 0x140093885
lea rdx, [rbp + 0x1c8]
cmp qword [rax + 0x10], rdx
je 0x14009388e
mov rax, qword [rax]
test rax, rax
jne 0x140093870
lea rdx, [rbp - 0x80]
call fcn.140006520
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x78], rax
call fcn.14001def0
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 0x1400938d5
lea rax, [rbp + 0x1c0]
cmp qword [rdx + 0x10], rax
je 0x1400938de
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400938c0
lea rdx, [rbp - 0x78]
call fcn.140006520
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x1a0]
call fcn.1400c0be0
call fcn.14001def0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400befc0
cmp edi, 1
jbe 0x140093929
mov r9d, edi
mov r8d, 0x70
lea rdx, str.wWinMain
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14005b9a0
jmp 0x140093930
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop
mov qword [rbp + 0x1a0], rsi
mov qword [rbp + 0x1c0], r13
lea rax, vtable.CBackgroundProcMain.0
mov qword [rbp + 0x1c8], rax
call fcn.1400141e0
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x1c8]
call fcn.14000b680
call fcn.14001def0
mov rcx, rax
lea rdx, [rbp + 0x1c0]
call fcn.14000b680
mov r8d, 0x1c
lea rdx, str.CBackgroundProcMain::CBackgroundProcMain
lea rcx, [0x1400e3358]
call fcn.14005b9a0
nop
jmp 0x1400940f3
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 0x140093b3f
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 [0x140144d50], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400939ea
mov rcx, qword [0x140144d50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x75
jmp 0x140093766
mov dword [0x14013c494], 1
lea rcx, [0x14013c480]
call fcn.140004bd0
mov qword [rbp + 0x38], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
lea rdi, vtable.CBackgroundAdminProcMain.2.0
mov qword [rbp + 0x30], rdi
lea rsi, vtable.CBackgroundAdminProcMain.1.0
mov qword [rbp + 0x50], rsi
lea r12, vtable.CBackgroundAdminProcMain.0
mov qword [rbp + 0x58], r12
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
lea rax, [rbp + 0x58]
mov qword [rbp - 0x70], rax
call fcn.1400141e0
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 0x140093a72
lea rdx, [rbp + 0x58]
cmp qword [rax + 0x10], rdx
je 0x140093a7b
mov rax, qword [rax]
test rax, rax
jne 0x140093a60
lea rdx, [rbp - 0x70]
call fcn.140006520
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.14001def0
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 0x140093ac2
nop word [rax + rax]
lea rax, [rbp + 0x50]
cmp qword [rdx + 0x10], rax
je 0x140093acb
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140093ab0
lea rdx, [rbp - 0x68]
call fcn.140006520
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x30]
call fcn.1400c0be0
call fcn.14001def0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400befc0
nop
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], r12
call fcn.1400141e0
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x58]
call fcn.14000b680
call fcn.14001def0
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.14000b680
mov r8d, SafeArrayUnaccessData
lea rdx, str.CBackgroundAdminProcMain::CBackgroundAdminProcMain
lea rcx, [0x1400e3358]
call fcn.14005b9a0
nop
jmp 0x1400940f3
mov rdx, rsi
lea rcx, [0x14010b6a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140093f56
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 0x140093f56
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 0x140093c16
lea r8, [rsp + 0x78]
lea rdx, [0x1400edd28]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x140093bd1
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, [0x14010b764]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
cmp eax, 0x64
ja 0x140093be6
lfence
mov r9d, eax
jmp 0x140093bec
lea r8, [0x14010b764]
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
mov r9d, 0xffffffff
call fcn.14007ef10
mov r9d, 1
lea r8, str.ReKR0
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rcx, 0xffffffff80000002
call fcn.14007ef10
jmp 0x1400940f3
lea rdx, [rsi + 2]
lea rcx, str.RETASKPOPUP
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [0x14013c480]
test eax, eax
jne 0x140093dde
call fcn.140004bd0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x2d0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400940f3
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 + 0x110], xmm0
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
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x110]
call fcn.140089de0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], eax
mov qword [rbp + 0x168], r12
movdqa xmmword [rbp + 0x170], xmm0
mov dword [rbp + 0x180], r12d
mov dword [rbp + 0x188], r12d
mov qword [rbp + 0x18c], 1
call fcn.14002b7b0
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14009412a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rsp + 0x70]
call fcn.1400064f0
mov r9d, ebx
lea r8, str.JDPopup
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, qword [0x14013c488]
call fcn.14007ef10
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140093d8d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov eax, dword [0x140143c58]
cmp eax, 1
jne 0x140093da8
call fcn.14008ae30
call fcn.14008ce70
mov eax, dword [0x140143c58]
dec eax
mov dword [0x140143c58], eax
mov rdx, qword [rbp + 0x110]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140093dd9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
jmp 0x1400940f3
call fcn.140004bd0
mov dword [0x14013c4a0], 1
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14009411f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.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.1400064f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
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
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0x80]
call fcn.140089de0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], eax
mov qword [rbp + 0xd8], r12
movdqa xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0xf0], r12d
mov dword [rbp + 0xf8], r12d
mov qword [rbp + 0xfc], 1
mov r8, qword [rsp + 0x78]
lea rdx, [rsi + 2]
lea rcx, [rbp + 0x80]
call fcn.14002b3c0
nop
mov eax, dword [0x140143c58]
cmp eax, 1
jne 0x140093ef0
call fcn.14008ae30
call fcn.14008ce70
mov eax, dword [0x140143c58]
dec eax
mov dword [0x140143c58], eax
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140093f28
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400940f3
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
jmp 0x1400940f3
mov dword [0x14013c498], 1
lea rcx, [0x14013c480]
call fcn.140004bd0
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, [0x14009e550]
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.14009e5b0
call fcn.14001def0
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400befc0
mov r8d, 0x95
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x1400e3358]
call fcn.14005b9a0
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 0x140094014
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x28]
call qword [case.0x140048c62.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, [0x1400e3358]
call fcn.14005b9a0
jmp 0x1400940f3
lea rcx, str.Parameters:_n
call fcn.140094200
lea rcx, str.__install__to_install_the_service._n
call fcn.140094200
lea rcx, str.__remove___to_remove_the_service._n
call fcn.140094200
lea rcx, str.__background__to_run_in_console_mode._n
call fcn.140094200
call fcn.140094140
test rax, rax
je 0x140094080
mov qword [rax + 0x1b8], r15
mov qword [rax + 0x1c0], r14
lea rbx, [rax + 0x168]
mov r8d, 0x36
lea rdx, str.CServiceBase::Run
lea rcx, [0x1400e3358]
call fcn.14005b9a0
mov qword [0x140143d20], rbx
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x2b0], rax
lea rax, [0x1400adcd0]
mov qword [rbp + 0x2b8], rax
mov qword [rbp + 0x2c0], r12
mov qword [rbp + 0x2c8], r12
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400940f3
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.140094200
xor eax, eax
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0x1218]
add rsp, 0x11d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
int3
mov ecx, 0x80004005
call fcn.140004820
int3