Function at 0x14000d264
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140114ab8]
xor rax, rsp
mov qword [rbp + 0x47], rax
and qword [rbp + 0xf], 0
lea r14, fcn.14000d650
and qword [rbp - 1], 0
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 7], r14
mov qword [rbp - 9], r14
movups xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x3f], eax
movups xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov rdi, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xf]
mov rbx, rax
cmp rax, rcx
je 0x14000d316
test rcx, rcx
je 0x14000d30f
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
movabs r10, 0xefcdb65178560a70
lea rcx, [rbp + 7]
call qword [0x1400de008]
test al, al
je 0x14000d4e2
mov rcx, rbx
mov qword [rbp + 0xf], rbx
test rcx, rcx
jne 0x14000d333
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rcx, str.Service:_OpenSCManager_failed___u__n
jmp 0x14000d440
mov r8d, 0xf01ff
lea rdx, str.SensorDataService
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov rcx, qword [rbp - 1]
mov rbx, rax
cmp rax, rcx
je 0x14000d387
test rcx, rcx
je 0x14000d380
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
movabs r10, 0xefcdb65178560a70
lea rcx, [rbp - 9]
call qword [0x1400de008]
test al, al
je 0x14000d502
mov rcx, rbx
mov qword [rbp - 1], rbx
test rcx, rcx
jne 0x14000d3a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rcx, str.Service:_OpenService_failed___u__n
jmp 0x14000d440
lea r8, [rbp + 0x1f]
mov edx, 1
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
je 0x14000d419
cmp dword [rbp + 0x23], 1
je 0x14000d419
lea rbx, [rdi + 0x3a98]
mov ecx, dword [rbp + 0x37]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
cmp rax, rbx
ja 0x14000d419
mov rcx, qword [rbp - 1]
lea rax, [rbp + 0x17]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1f]
xor edx, edx
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
nop dword [rax + rax]
test eax, eax
je 0x14000d419
cmp dword [rbp + 0x23], 1
jne 0x14000d3ca
mov rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
nop dword [rax + rax]
test eax, eax
jne 0x14000d450
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rcx, str.Service:_DeleteService_failed___u__n
mov edx, eax
call qword [sym.imp.msvcrt.dll_wprintf_s]
nop dword [rax + rax]
jmp 0x14000d463
lea rcx, str.Service:_Uninstalled_successfully_n
call qword [sym.imp.msvcrt.dll_wprintf_s]
nop dword [rax + rax]
cmp qword [rbp - 1], 0
mov qword [rbp - 9], r14
je 0x14000d484
lea rcx, [rbp - 9]
call fcn.14000d650
test al, al
je 0x14000d522
and qword [rbp - 1], 0
cmp qword [rbp + 0xf], 0
mov qword [rbp + 7], r14
je 0x14000d49c
lea rcx, [rbp + 7]
call fcn.14000d650
test al, al
je 0x14000d4c2
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400d2540
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000ebc0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000ebc0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000ebc0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000ebc0
int3