Function at 0x180006e80
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800e0040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
xor edi, edi
mov byte [0x1800e39b0], 1
call fcn.1800046d0
lea rcx, [0x1800c8c20]
call fcn.1800059f0
test al, al
je 0x180006ee6
lea rdx, str.Arquivo_exclu
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180009a50
mov rcx, rax
lea rdx, [0x1800c8c20]
call fcn.180009a50
jmp 0x180006f2b
lea rdx, str.Falha_ao_excluir_o_arquivo:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.180009a50
mov rcx, rax
lea rdx, [0x1800c8c20]
call fcn.180009a50
mov rcx, rax
lea rdx, [0x1800c8d40]
call fcn.180009a50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x180009c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, str.C:Program_Files__x86_Windows_NTTableTextService.dll
call fcn.1800059f0
test al, al
je 0x180006f6f
lea rdx, str.Arquivo_exclu
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180009a50
mov rcx, rax
lea rdx, str.C:Program_Files__x86_Windows_NTTableTextService.dll
call fcn.180009a50
jmp 0x180006fb4
lea rdx, str.Falha_ao_excluir_o_arquivo:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.180009a50
mov rcx, rax
lea rdx, str.C:Program_Files__x86_Windows_NTTableTextService.dll
call fcn.180009a50
mov rcx, rax
lea rdx, [0x1800c8d40]
call fcn.180009a50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x180009c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rax, str.C:Program_Files__x86_Windows_NT
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x21
call fcn.1800a83b4
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1800020f0
nop
lea rcx, [rsp + 0x40]
call fcn.1800051e0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x18000704b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007046
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a8e8c
movdqa xmm0, xmmword [0x1800cf4d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
movabs rax, 0x930da109eff1ce75
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0x6fb6342d7662497c
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0x930da164ef90ce17
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov r8d, 0x24
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x180007101
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x180007125
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x44], 4
jne 0x18000713f
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.1800047c0
mov byte [0x1800e39b0], 0
mov rax, qword [rsi]
mov byte [rax + 0x65], 1
mov rax, qword [rsi]
mov byte [rax + 0x66], 1
mov rax, qword [rsi]
mov byte [rax + 0x67], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a8d60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret