Function at 0x14001e530
Capabilities:
Encode data using xor
Query service status
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400b30a0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x19], 0xa4aaafbd
mov ecx, ebx
mov dword [rbp - 0x15], 0xa3b5bba2
mov word [rbp - 0x11], 0x100
nop dword [rax]
lea eax, [rcx - 0x36]
xor byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 8
jb 0x14001e570
xor edx, edx
mov byte [rbp - 0x10], bl
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 4
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x14001e62b
movdqa xmm0, xmmword [0x1400a5830]
movdqa xmm1, xmmword [0x1400a5700]
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x17], 0xcdd68e8e
movdqu xmmword [rbp + 7], xmm1
mov word [rbp + 0x1b], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x36]
xor byte [rbp + rbx - 9], al
inc rbx
cmp rbx, 0x24
jb 0x14001e5e0
lea rdx, [rbp - 9]
mov byte [rbp + 0x1c], 0
mov rcx, rdi
call fcn.140014bb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140014da0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x14001e7b7
lea rdx, [rbp + 0x27]
mov qword [rsp + 0xa0], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jne 0x14001e6e4
movdqa xmm0, xmmword [0x1400a5aa0]
movdqa xmm1, xmmword [0x1400a5970]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x17], 0x829e99af
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x1b], 0x9e93cf9c
mov dword [rbp + 0x1f], 0xd5ce9696
mov word [rbp + 0x23], 0x100
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx - 0x36]
xor byte [rbp + rbx - 9], al
inc rbx
cmp rbx, 0x2c
jb 0x14001e690
lea rdx, [rbp - 9]
mov byte [rbp + 0x24], 0
mov rcx, rsi
call fcn.140014bb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140014da0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14001e7af
movdqa xmm0, xmmword [0x1400a5940]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0xf2f5f4
mov byte [rbp + 0xb], 1
nop dword [rax]
lea eax, [rbx - 0x36]
xor byte [rbp + rbx - 9], al
inc rbx
cmp rbx, 0x13
jb 0x14001e700
lea rdx, [rbp - 9]
mov byte [rbp + 0xb], 0
mov rcx, rsi
call fcn.140014bb0
lea rdx, [0x140014da0]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0x2b], 4
jne 0x14001e7a4
movdqa xmm0, xmmword [0x1400a5ab0]
lea rdx, [rbp - 9]
movdqa xmm1, xmmword [0x1400a57a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x17], 0x8f8d9883
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x1b], 0x98d08a82
mov dword [rbp + 0x1f], 0x100d286
call fcn.14001e7e0
lea rdx, [0x140014da0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140089250
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret