Function at 0x14008eb30
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.1400c3620
sub rsp, rax
mov rax, qword [0x140150010]
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.1400c0ee0
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, [0x1400e9c68]
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, [0x140122c88]
mov qword [0x140158e18], r12
lea rbx, [0x140158e08]
mov qword [0x140158e30], rax
mov qword [0x140151150], rbx
lea rdi, [0x140158e30]
mov qword [0x140158e08], r12
mov qword [0x140158e20], 1
nop dword [rax + rax]
mov r8, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
lea rcx, [0x1400ba3a0]
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 0x14008ec10
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.14005cbf0
lea rcx, [rbp + 0x8f0]
call fcn.1400ba430
test rsi, rsi
je 0x14008f6d1
movzx eax, word [rsi]
mov ecx, 0xfffd
sub ax, 0x2d
test cx, ax
jne 0x14008f6d1
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 0x14008edf7
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 0x14008ed16
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 0x14008f785
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 0x14008ed3e
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 0x14008f785
mov qword [rsp + 0x60], r12
lea rax, str.NT_AUTHORITYLocalService
mov qword [rsp + 0x58], rax
lea r8, str.Realtek_Audio_Universal_Service
lea rax, [0x1400deef8]
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 0x14008edc4
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.14008f8a0
jmp 0x14008edd7
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_installed._n
call fcn.14008f8a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rdi, rdi
je 0x14008f78c
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14008f78c
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 0x14008ef68
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 0x14008ed2c
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 0x14008ee72
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.14008f8a0
jmp 0x14008ef48
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 0x14008ef12
lea rdx, str.RtkAudioUniversalService
lea rcx, str.Stopping__s.
call fcn.14008f8a0
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 0x14008eef0
nop dword [rax + rax]
mov eax, dword [rbp - 0x44]
cmp eax, 3
jne 0x14008eef3
lea rcx, [0x140110c7c]
call fcn.14008f8a0
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 0x14008eec0
mov eax, dword [rbp - 0x44]
lea rdx, str.RtkAudioUniversalService
lea rcx, str._n_s_is_stopped._n
cmp eax, 1
je 0x14008ef0d
lea rcx, str._n_s_failed_to_stop._n
call fcn.14008f8a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x14008ef35
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.14008f8a0
jmp 0x14008ef48
lea rdx, str.RtkAudioUniversalService
lea rcx, str._s_is_removed._n
call fcn.14008f8a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rbx, rbx
je 0x14008f78c
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14008f78c
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 0x14008f180
lea rcx, str.MUTEX_NORMAL_USER_BC048E02_F0A9_4d8b_90F9_AB56BE6DA9E4
call fcn.1400b74f0
test eax, eax
jne 0x14008efac
lea r8d, [rax + 0x63]
lea rdx, str.wWinMain
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005c7e0
jmp 0x14008f78c
lea rcx, [0x140158e40]
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 0x14008f0b5
nop
lea rdx, [rbp + 0x1c8]
cmp qword [rax + 0x10], rdx
je 0x14008f0be
mov rax, qword [rax]
test rax, rax
jne 0x14008f0a0
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 0x14008f106
lea rax, [rbp + 0x1c0]
cmp qword [rdx + 0x10], rax
je 0x14008f10f
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14008f0f1
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.1400b9b80
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b8260
cmp edi, 1
jbe 0x14008f169
mov r9d, edi
lea rdx, str.wWinMain
mov r8d, 0x70
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14005c7e0
lea rcx, [rbp + 0x1a0]
call fcn.14001d880
jmp 0x14008f78c
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lea rcx, [rbp + 0x1a0]
call fcn.14001d880
jmp 0x14008f78c
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 0x14008f2ce
lea rcx, str.MUTEX_ADMIN_USER_F0900667_9D73_45a5_B87E_F78114AB93A0
call fcn.1400b74f0
test eax, eax
jne 0x14008f1b1
lea r8d, [rax + 0x75]
jmp 0x14008ef94
lea rcx, [0x140158e40]
mov dword [0x140158e54], 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 0x14008f242
nop dword [rax + rax]
lea rdx, [rbp + 0x58]
cmp qword [rax + 0x10], rdx
je 0x14008f24b
mov rax, qword [rax]
test rax, rax
jne 0x14008f230
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 0x14008f292
nop dword [rax + rax]
lea rax, [rbp + 0x50]
cmp qword [rdx + 0x10], rax
je 0x14008f29b
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14008f280
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.1400b9b80
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b8260
lea rcx, [rbp + 0x30]
call fcn.14001cca0
jmp 0x14008f78c
mov rdx, rsi
lea rcx, [0x140112570]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14008f5f6
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 0x14008f5f6
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 0x14008f3a2
lea r8, [rsp + 0x78]
xor ecx, ecx
lea rdx, [0x1400e9c68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14008f35d
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, [0x140112760]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARERealtekSpkProtection
cmp eax, 0x64
ja 0x14008f372
mov r9d, eax
jmp 0x14008f378
lea r8, [0x140112760]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARERealtekSpkProtection
mov r9d, 0xffffffff
call fcn.14007c5b0
mov r9d, 1
lea r8, str.ReKR0
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rcx, 0xffffffff80000002
call fcn.14007c5b0
jmp 0x14008f78c
lea rdx, [rsi + 2]
lea rcx, str.RETASKPOPUP
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [0x140158e40]
test eax, eax
jne 0x14008f4f4
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 0x14008f78c
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.1400c0ee0
lea rcx, [rbp + 0x110]
call fcn.140085b10
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.140029510
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14008f7c4
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, [0x1400dea78]
lea rcx, [rsp + 0x70]
call fcn.140006c20
mov rcx, qword [0x140158e48]
lea r8, str.JDPopup
mov r9d, ebx
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.14007c5b0
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008f4e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x110]
call fcn.140085bf0
jmp 0x14008f78c
call fcn.1400053c0
mov dword [0x140158e60], 1
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14008f7b9
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.1400c0ee0
lea rcx, [rbp + 0x80]
call fcn.140085b10
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.140029110
lea rcx, [rbp + 0x80]
call fcn.140085bf0
mov rdx, qword [rbp - 0x50]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008f78c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008f78c
lea rcx, [0x140158e40]
mov dword [0x140158e58], 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, [0x1400992f0]
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.140099350
call fcn.14001d740
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400b8260
mov r8d, 0x95
lea rdx, str.CRtkAudUServiceCOMServer::Stop
lea rcx, [0x1400deb00]
call fcn.14005c7e0
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 0x14008f6ad
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, [0x1400deb00]
call fcn.14005c7e0
jmp 0x14008f78c
lea rcx, str.Parameters:_n
call fcn.14008f8a0
lea rcx, str.__install__to_install_the_service._n
call fcn.14008f8a0
lea rcx, str.__remove___to_remove_the_service._n
call fcn.14008f8a0
lea rcx, str.__background__to_run_in_console_mode._n
call fcn.14008f8a0
call fcn.14008f7d0
test rax, rax
je 0x14008f719
mov qword [rax + 0x1b8], r15
mov qword [rax + 0x1c0], r14
mov r8d, 0x36
lea rdx, str.CServiceBase::Run
lea rcx, [0x1400deb00]
lea rbx, [rax + 0x168]
call fcn.14005c7e0
mov rax, qword [rbx + 0x10]
lea rcx, [rbp + 0x2b0]
mov qword [rbp + 0x2b0], rax
lea rax, [0x1400a9620]
mov qword [rbp + 0x2b8], rax
mov qword [0x140157dc8], 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 0x14008f78c
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.14008f8a0
xor eax, eax
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.1400ba610
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