Function at 0x140046930
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 [0x140078040]
xor rax, rsp
mov qword [rbp + 0x27], rax
test cl, cl
jne 0x1400357fe
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.140033140
xor r13d, r13d
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x71], r13
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call fcn.14004bfa0
nop dword [rax]
test eax, eax
js 0x140035c2d
lea rax, [0x1400620f8]
mov qword [rbp - 0x29], rax
lea rsi, [0x140057818]
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 0x1400359ad
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140035998
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 0x14003598f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14003598f
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 0x140035988
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 0x14003597f
cmp dword [rdi + 4], 4
jne 0x14003597f
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 0x140035bcf
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, [0x140057818]
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.14004c1e0
test eax, eax
jns 0x140035a5f
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, [0x140062230]
jmp 0x140035bbd
cmp word [rbp - 0x61], 3
lfence
jne 0x140035b98
mov rax, r13
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x140035ad9
movzx ecx, word ds:[rbx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x140035ad9
add rax, 2
cmp rax, 0xa
jne 0x140035a70
lfence
mov ecx, dword [rbp - 0x59]
call fcn.140033a20
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 0x140035ab2
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400066a0
nop
lea rdx, [rbp - 0x49]
mov ecx, dword [rbp - 0x59]
call fcn.140034920
nop
jmp 0x140035b46
mov rcx, r13
nop dword [rax]
movzx eax, word [r15 + rcx*2]
inc rcx
cmp ax, word [rsi + rcx*2 - 2]
jne 0x140035b05
cmp rcx, 4
jne 0x140035ae0
mov ecx, dword [rbp - 0x59]
call fcn.140033a20
nop dword [rax]
jmp 0x140035bc5
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 0x140035b20
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400066a0
nop
lea rdx, [rbp - 0x49]
mov ecx, dword [rbp - 0x59]
call fcn.140034920
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140035b85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140035b7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035bef
nop dword [rax]
call fcn.14004d6c0
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r13w
jmp 0x140035bc5
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 0x140035bf6
lea rdi, str.DiagTrack
lea rsi, [0x140057818]
jmp 0x140035890
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 0x140035c12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140054de8]
test rbx, rbx
je 0x140035c27
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140054de8]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004d6a0
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 0x140035720