Function at 0x14008e170
Capabilities:
Create service
Create thread
Delete service
Persist via windows service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.1400c26e0
sub rsp, rax
mov rax, qword [0x14014f010]
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.1400bffa0
mov r8, rbx
lea rcx, [rbp + 0x4f0]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movabs rax, 0xa00090020
lea r8, [rsp + 0x78]
xor r12d, r12d
mov qword [rbp + 0x2d0], rax
lea rdx, [0x1400e8c58]
mov qword [rsp + 0x78], r12
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov rsi, rax
lea rax, [0x140121b90]
mov qword [0x140157e18], r12
lea rbx, [0x140157e08]
mov qword [0x140157e30], rax
mov qword [0x140150140], rbx
lea rdi, [0x140157e30]
mov qword [0x140157e08], r12
mov qword [0x140157e20], 1
nop dword [rax + rax]
mov r8, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
lea rcx, [0x1400b9460]
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x60]
mov qword [rbp - 0x60], r8
lea rdi, [rdi + 8]
mov qword [rbp - 0x58], r12
mov r9d, 1
mov qword [rsp + 0x28], r12
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov qword [rbx + 0x20], r8
call qword [sym.imp.api_ms_win_eventing_classicprovider_l1_1_0.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14008e250
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx ecx, word [rbp - 0x1c]
lea r9, str.WPPTrace::InitWPP
movzx edx, word [rbp - 0x1e]
movzx r8d, word [rbp - 0x20]
movzx eax, word [rbp - 0x1a]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x8f0]
mov dword [rsp + 0x28], edx
mov edx, 0x3e6
mov dword [rsp + 0x20], r8d
lea r8, str._s__02d:_02d:_02d:_03d_n
call fcn.14005c220
lea rcx, [rbp + 0x8f0]
call fcn.1400b94f0
test rsi, rsi
je 0x14008ed11
movzx eax, word [rsi]
mov ecx, 0xfffd
sub ax, 0x2d
test cx, ax
jne 0x14008ed11
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 0x14008e437
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 0x14008e356
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 0x14008edc5
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 0x14008e37e
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 0x14008edc5
mov qword [rsp + 0x60], r12
lea rax, str.NT_AUTHORITYLocalService
mov qword [rsp + 0x58], rax
lea r8, str.Realtek_Audio_Universal_Service
lea rax, [0x1400ddee8]
mov r9d, 4
mov qword [rsp + 0x50], rax
lea rdx, str.RtkAudioUniversalService
mov qword [rsp + 0x48], r12
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x40], r12
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], SafeArrayUnaccessData
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x14008e404
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.14008eee0
jmp 0x14008e417
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_installed._n
call fcn.14008eee0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rdi, rdi
je 0x14008edcc
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14008edcc
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 0x14008e5a8
xor eax, eax
xor edx, edx
xor ecx, ecx
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea r8d, [rax + 1]
mov dword [rbp - 0x30], eax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14008e36c
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 0x14008e4b2
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.14008eee0
jmp 0x14008e588
lea r8, [rbp - 0x48]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x14008e552
lea rdx, str.RtkAudioUniversalService
lea rcx, str.Stopping__s.
call fcn.14008eee0
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x14008e530
nop dword [rax + rax]
mov eax, dword [rbp - 0x44]
cmp eax, 3
jne 0x14008e533
lea rcx, [0x14010fccc]
call fcn.14008eee0
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x14008e500
mov eax, dword [rbp - 0x44]
lea rdx, str.RtkAudioUniversalService
lea rcx, str._n_s_is_stopped._n
cmp eax, 1
je 0x14008e54d
lea rcx, str._n_s_failed_to_stop._n
call fcn.14008eee0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x14008e575
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.14008eee0
jmp 0x14008e588
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_removed._n
call fcn.14008eee0
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rbx, rbx
je 0x14008edcc
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14008edcc
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 0x14008e7c0
lea rcx, str.MUTEX_NORMAL_USER_BC048E02_F0A9_4d8b_90F9_AB56BE6DA9E4
call fcn.1400b65b0
test eax, eax
jne 0x14008e5ec
lea r8d, [rax + 0x63]
lea rdx, str.wWinMain
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005be10
jmp 0x14008edcc
lea rcx, [0x140157e40]
call fcn.1400053c0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
xorps xmm0, xmm0
mov qword [rbp + 0x1a8], r12
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm0
mov edi, eax
movdqa xmmword [rbp + 0x1d0], xmm0
lea rax, vtable.CBackgroundProcMain.1.0
movdqa xmmword [rbp + 0x1e0], xmm1
mov qword [rbp + 0x1a0], rax
lea rax, vtable.CBackgroundProcMain.2.0
mov qword [rbp + 0x1c0], rax
lea rax, vtable.CBackgroundProcMain.0
mov qword [rbp + 0x1c8], rax
lea rax, [rbp + 0x1c8]
mov qword [rbp - 0x80], rax
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
call fcn.140014060
mov rbx, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x48]
lea rcx, [rbx + 0x48]
test rax, rax
je 0x14008e6f5
nop
lea rdx, [rbp + 0x1c8]
cmp qword [rax + 0x10], rdx
je 0x14008e6fe
mov rax, qword [rax]
test rax, rax
jne 0x14008e6e0
lea rdx, [rbp - 0x80]
call fcn.140006d00
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.14001d740
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rdx, qword [rbx + 0x28]
lea rcx, [rbx + 0x28]
test rdx, rdx
je 0x14008e746
lea rax, [rbp + 0x1c0]
cmp qword [rdx + 0x10], rax
je 0x14008e74f
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14008e731
lea rdx, [rbp - 0x78]
call fcn.140006d00
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x1a0]
call fcn.1400b8c40
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b7320
cmp edi, 1
jbe 0x14008e7a9
mov r9d, edi
lea rdx, str.wWinMain
mov r8d, 0x70
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14005be10
lea rcx, [rbp + 0x1a0]
call fcn.14001d880
jmp 0x14008edcc
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lea rcx, [rbp + 0x1a0]
call fcn.14001d880
jmp 0x14008edcc
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 0x14008e90e
lea rcx, str.MUTEX_ADMIN_USER_F0900667_9D73_45a5_B87E_F78114AB93A0
call fcn.1400b65b0
test eax, eax
jne 0x14008e7f1
lea r8d, [rax + 0x75]
jmp 0x14008e5d4
lea rcx, [0x140157e40]
mov dword [0x140157e54], 1
call fcn.1400053c0
xorps xmm0, xmm0
mov qword [rbp + 0x38], r12
lea rax, vtable.CBackgroundAdminProcMain.2.0
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x30], rax
xorps xmm1, xmm1
lea rax, vtable.CBackgroundAdminProcMain.0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x50], rax
lea rax, vtable.CBackgroundAdminProcMain.1.0
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x58]
mov qword [rbp - 0x70], rax
movdqa xmmword [rbp + 0x70], xmm1
call fcn.140014060
mov rbx, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x48]
lea rcx, [rbx + 0x48]
test rax, rax
je 0x14008e882
nop dword [rax + rax]
lea rdx, [rbp + 0x58]
cmp qword [rax + 0x10], rdx
je 0x14008e88b
mov rax, qword [rax]
test rax, rax
jne 0x14008e870
lea rdx, [rbp - 0x70]
call fcn.140006d00
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.14001d740
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rdx, qword [rbx + 0x28]
lea rcx, [rbx + 0x28]
test rdx, rdx
je 0x14008e8d2
nop dword [rax + rax]
lea rax, [rbp + 0x50]
cmp qword [rdx + 0x10], rax
je 0x14008e8db
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14008e8c0
lea rdx, [rbp - 0x68]
call fcn.140006d00
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x30]
call fcn.1400b8c40
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b7320
lea rcx, [rbp + 0x30]
call fcn.14001cca0
jmp 0x14008edcc
mov rdx, rsi
lea rcx, [0x140111750]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14008ec36
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 0x14008ec36
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 0x14008e9e2
lea r8, [rsp + 0x78]
xor ecx, ecx
lea rdx, [0x1400e8c58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14008e99d
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
lea r8, [0x140111790]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARERealtekSpkProtection
cmp eax, 0x64
ja 0x14008e9b2
mov r9d, eax
jmp 0x14008e9b8
lea r8, [0x140111790]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARERealtekSpkProtection
mov r9d, 0xffffffff
call fcn.14007bbf0
mov r9d, 1
lea r8, str.ReKR0
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rcx, 0xffffffff80000002
call fcn.14007bbf0
jmp 0x14008edcc
lea rdx, [rsi + 2]
lea rcx, str.RETASKPOPUP
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [0x140157e40]
test eax, eax
jne 0x14008eb34
call fcn.1400053c0
lea r8, [rsp + 0x78]
xor ecx, ecx
lea rdx, [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14008edcc
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
xor edx, edx
lea rcx, [rbp + 0x110]
mov r8d, 0x88
mov ebx, eax
call fcn.1400bffa0
lea rcx, [rbp + 0x110]
call fcn.140085150
xor eax, eax
mov qword [rbp + 0x168], r12
xorps xmm0, xmm0
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], eax
movdqa xmmword [rbp + 0x170], xmm0
mov dword [rbp + 0x180], r12d
mov dword [rbp + 0x188], r12d
mov qword [rbp + 0x18c], 1
call fcn.1400295b0
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14008ee04
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
mov qword [rsp + 0x70], rax
lea rdx, [0x1400dda68]
lea rcx, [rsp + 0x70]
call fcn.140006c20
mov rcx, qword [0x140157e48]
lea r8, str.JDPopup
mov r9d, ebx
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.14007bbf0
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008eb23
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x110]
call fcn.140085230
jmp 0x14008edcc
call fcn.1400053c0
mov dword [0x140157e60], 1
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14008edf9
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
lea r8, [rsi + 2]
lea rdx, str.command_s_r_n
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
call fcn.140006c20
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x88
call fcn.1400bffa0
lea rcx, [rbp + 0x80]
call fcn.140085150
mov r8, qword [rsp + 0x78]
lea rdx, [rsi + 2]
xor eax, eax
mov qword [rbp + 0xd8], r12
xorps xmm0, xmm0
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], eax
movdqa xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0xf0], r12d
mov dword [rbp + 0xf8], r12d
mov qword [rbp + 0xfc], 1
call fcn.1400291b0
lea rcx, [rbp + 0x80]
call fcn.140085230
mov rdx, qword [rbp - 0x50]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008edcc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008edcc
lea rcx, [0x140157e40]
mov dword [0x140157e58], 1
call fcn.1400053c0
xorps xmm0, xmm0
mov qword [rbp + 0x10], r12
lea rax, vtable.CRtkAudUServiceCOMServer.0
mov qword [rbp - 8], 1
mov qword [rbp - 0x10], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x18]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, [0x140098930]
xor ecx, ecx
mov dword [rsp + 0x20], r12d
movdqu xmmword [rbp], xmm0
movdqu xmmword [rbp + 0x18], xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x20], rax
call fcn.140098990
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b7320
mov r8d, 0x95
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x1400ddaf0]
call fcn.14005be10
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 0x14008eced
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x28]
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, [0x1400ddaf0]
call fcn.14005be10
jmp 0x14008edcc
lea rcx, str.Parameters:_n
call fcn.14008eee0
lea rcx, str.__install__to_install_the_service._n
call fcn.14008eee0
lea rcx, str.__remove___to_remove_the_service._n
call fcn.14008eee0
lea rcx, str.__background__to_run_in_console_mode._n
call fcn.14008eee0
call fcn.14008ee10
test rax, rax
je 0x14008ed59
mov qword [rax + 0x1b8], r15
mov qword [rax + 0x1c0], r14
mov r8d, 0x36
lea rdx, str.CServiceBase::Run
lea rcx, [0x1400ddaf0]
lea rbx, [rax + 0x168]
call fcn.14005be10
mov rax, qword [rbx + 0x10]
lea rcx, [rbp + 0x2b0]
mov qword [rbp + 0x2b0], rax
lea rax, [0x1400a8340]
mov qword [rbp + 0x2b8], rax
mov qword [0x140156dc8], rbx
mov qword [rbp + 0x2c0], r12
mov qword [rbp + 0x2c8], r12
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14008edcc
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.14008eee0
xor eax, eax
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.1400b96d0
lea r11, [rsp + 0x11d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005030
int3
mov ecx, 0x80004005
call fcn.140005030
int3