Function at 0x140042f20
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, 0xf0
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x27], rax
test cl, cl
jne 0x14002b3de
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.14000b5c0
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.14000b5c0
mov rcx, rax
lea rdx, str.Explorer_n
call fcn.14000b5c0
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.140028520
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400470a0
test eax, eax
js 0x14002b8a6
lea rax, [0x140057eb8]
mov qword [rbp - 0x29], rax
lea rsi, [0x140057eb0]
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 0x14002b596
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14002b586
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x14002b57c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x14002b57c
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14002b575
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x14002b56c
cmp dword [rdi + 4], 4
jne 0x14002b56c
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]
call fcn.140006b20
mov rcx, rax
mov rdx, rbx
call fcn.140006b20
mov rcx, rax
lea rdx, str.._This_is_not_considered_bannable._n
call fcn.140006b20
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 0x14002b83f
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, [0x140057eb0]
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.1400089c0
mov rcx, rax
mov rdx, rbx
call fcn.140006b20
lea rdx, [0x140008c60]
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, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rsp + 0x28]
call fcn.1400472e0
nop dword [rax]
test eax, eax
jns 0x14002b651
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.140006b20
mov rcx, rax
mov rdx, rbx
call fcn.140006b20
lea rdx, [0x140057fc0]
jmp 0x14002b82c
cmp word ds:[rsp + 0x38], 3
lfence
jne 0x14002b804
mov rax, r13
nop dword [rax]
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x14002b745
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x14002b745
add rax, 2
cmp rax, 0xa
jne 0x14002b670
lfence
mov ecx, dword [rbp - 0x79]
call fcn.140029020
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], r13
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002b6c0
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.140006d20
nop
lea rdx, [rbp - 0x69]
mov ecx, dword [rbp - 0x79]
call fcn.14002a280
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14002b72f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b72a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b85f
call fcn.140048710
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r13w
jmp 0x14002b834
mov rcx, r13
nop dword [rax + rax]
movzx eax, word [r15 + rcx*2]
inc rcx
cmp ax, word [rsi + rcx*2 - 2]
jne 0x14002b773
nop
cmp rcx, 4
jne 0x14002b750
mov ecx, dword [rbp - 0x79]
call fcn.140029020
jmp 0x14002b834
lfence
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002b790
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140006d20
nop
lea rdx, [rbp - 0x49]
mov ecx, dword [rbp - 0x79]
call fcn.14002a280
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14002b7f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b7ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b85f
call fcn.140048710
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r13w
jmp 0x14002b834
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.140006b20
mov rcx, rax
mov rdx, rbx
call fcn.140006b20
lea rdx, str.._Ban_the_user._n
mov rcx, rax
call fcn.140006b20
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
add r12, 0x10
lea rax, [rbp + 0x27]
cmp r12, rax
je 0x14002b867
lea rdi, str.DiagTrack
lea rsi, [0x140057eb0]
jmp 0x14002b470
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14002b886
mov rax, qword ds:[rcx]
mov rax, qword [rax + 0x10]
call qword [0x14004fd60]
test rbx, rbx
je 0x14002b89b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x14004fd60]
nop dword [rax + rax]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400486f0
lea r11, [rsp + 0xf0]
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 0x14002b300