Function at 0x140049e30
Capabilities:
Query service configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
test cl, cl
jne 0x140035a3e
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Memory_Scanner__Running_checks_to_detect_executed_files_in_memory..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ada0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Memory_Scanner__Analyzing_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ada0
mov rcx, rax
lea rdx, str.Explorer_n
call fcn.14000ada0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
call fcn.140033380
xor r13d, r13d
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x71], r13
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call fcn.14004f840
nop dword [rax]
test eax, eax
js 0x140035e6d
lea rax, [0x140065408]
mov qword [rbp - 0x29], rax
lea rsi, [0x14005a878]
mov qword [rbp - 0x21], rsi
lea rax, str.PlugPlay
mov qword [rbp - 0x19], rax
lea rcx, str.jar_bat
mov qword [rbp - 0x11], rcx
lea rax, str.PcaSvc
mov qword [rbp - 9], rax
mov qword [rbp - 1], rcx
lea rax, str.Winmgmt
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rcx
lea rdi, str.DiagTrack
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rcx
lea r12, [rbp - 0x29]
nop word [rax + rax]
mov rbx, qword [r12]
mov r15, qword [r12 + 8]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
je 0x140035bed
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140035bd8
mov dword [rbp - 0x79], r13d
lea r9, [rbp - 0x79]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x140035bcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140035bcf
mov ecx, dword [rbp - 0x79]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140035bc8
lea r9, ds:[rbp - 0x79]
mov r8d, dword [rbp - 0x79]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x140035bbf
cmp dword [rdi + 4], 4
jne 0x140035bbf
lea rdx, str.___The_following_service_is_disabled:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
nop
call fcn.1400064a0
mov rcx, rax
mov rdx, rbx
call fcn.1400064a0
mov rcx, rax
lea rdx, str.._This_is_not_considered_bannable._n
call fcn.1400064a0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140035e0f
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdi, str.DiagTrack
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rsi, [0x14005a878]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Memory_Scanner__Analyzing_service
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400080c0
mov rcx, rax
mov rdx, rbx
call fcn.1400064a0
lea rdx, [0x140008380]
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]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp - 0x61]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea r8, [rbp - 0x61]
mov rdx, rbx
mov rcx, qword [rbp - 0x71]
call fcn.14004fa80
test eax, eax
jns 0x140035c9f
lfence
lea rdx, str.____Failed_to_retrieve_process_ID_for_service:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400064a0
mov rcx, rax
mov rdx, rbx
call fcn.1400064a0
lea rdx, [0x140065540]
jmp 0x140035dfd
cmp word [rbp - 0x61], 3
lfence
jne 0x140035dd8
mov rax, r13
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x140035d19
movzx ecx, word ds:[rbx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x140035d19
add rax, 2
cmp rax, 0xa
jne 0x140035cb0
lfence
mov ecx, dword [rbp - 0x59]
call fcn.140033c60
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140035cf2
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400066a0
nop
lea rdx, [rbp - 0x49]
mov ecx, dword [rbp - 0x59]
call fcn.140034b60
nop
jmp 0x140035d86
mov rcx, r13
nop dword [rax]
movzx eax, word [r15 + rcx*2]
inc rcx
cmp ax, word [rsi + rcx*2 - 2]
jne 0x140035d45
cmp rcx, 4
jne 0x140035d20
mov ecx, dword [rbp - 0x59]
call fcn.140033c60
nop dword [rax]
jmp 0x140035e05
lfence
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140035d60
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400066a0
nop
lea rdx, [rbp - 0x49]
mov ecx, dword [rbp - 0x59]
call fcn.140034b60
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140035dc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140035dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035e2f
nop dword [rax]
call fcn.140050f60
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r13w
jmp 0x140035e05
lea rdx, str.____The_following_service_is_not_running:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400064a0
mov rcx, rax
mov rdx, rbx
call fcn.1400064a0
lea rdx, str.._Ban_the_user._n
mov rcx, rax
call fcn.1400064a0
lea rcx, [rbp - 0x61]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
add r12, 0x10
lea rax, [rbp + 0x27]
cmp r12, rax
je 0x140035e36
lea rdi, str.DiagTrack
lea rsi, [0x14005a878]
jmp 0x140035ad0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword ds:[rbp - 0x69]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140035e52
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140057e20]
test rbx, rbx
je 0x140035e67
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140057e20]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movzx ecx, dl
jmp 0x140035960