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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400b30a0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
je 0x14001e197
mov dword [rbp - 0x21], 0xafacbc
mov byte [rbp - 0x1d], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rbp + rcx - 0x21], al
inc rcx
cmp rcx, 3
jb 0x14001e030
mov byte [rbp - 0x1d], bl
mov r8d, 4
lea rdx, [rbp - 0x21]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x14001e1a1
movdqa xmm0, xmmword [0x1400a5ac0]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0xb3b2aea8
mov dword [rbp - 5], 0x87b1b7
mov byte [rbp - 1], 1
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 0x17
jb 0x14001e090
mov byte [rbp - 1], bl
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14001e0b0
lea rdx, [rbp - 0x19]
lea rdi, [0x1400b30f8]
mov rcx, rdi
call fcn.1400145d0
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x1400a5ad0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 9], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x36]
xor byte [rbp + rbx - 0x19], al
inc rbx
cmp rbx, 0x10
jb 0x14001e0f0
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.140014bb0
mov word [rbp - 0x25], 0x5b
mov byte [rbp - 0x23], 0
lea rdx, [rbp - 0x25]
mov rcx, rsi
call fcn.140014bb0
lea rdx, [0x14001b5b0]
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]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [0x1400b30f8]
mov r8, qword [0x1400b3108]
mov rdx, rdi
mov rcx, rax
call fcn.140014e50
lea rdx, [0x14001b550]
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 word [rbp - 0x29], 0x5d
mov byte [rbp - 0x27], 0
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140014bb0
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 rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14001e4b1
lea rdx, [rbp + 0x27]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14001e1ce
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14001e4b1
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x1400a5930]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0xf2f5f4
mov byte [rbp - 5], 1
mov rdx, rbx
lea eax, [rdx - 0x36]
xor byte [rbp + rdx - 0x19], al
inc rdx
cmp rdx, 0x13
jb 0x14001e1f0
mov byte [rbp - 5], bl
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140014bb0
lea rdx, [0x140014da0]
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___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 0x14001e328
movdqa xmm0, xmmword [0x1400a58a0]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0xbbb5b3
mov byte [rbp - 5], 1
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.14001fe90
mov rdx, rax
lea rdi, [0x1400b30f8]
mov rcx, rdi
call fcn.140015010
lea rcx, [rbp + 7]
call fcn.1400140d0
movdqa xmm0, xmmword [0x1400a5ad0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 9], 0x100
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001e4f0
mov r8, rax
mov word [rbp - 0x29], 0xcc
mov byte [rbp - 0x27], 1
lea rcx, [rbp - 0x29]
call fcn.140014b90
mov rdx, rax
mov rcx, r8
call fcn.140014bb0
lea rdx, [0x14001b580]
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 rcx, rax
mov rdx, rdi
call fcn.140014d80
lea rdx, [0x14001b550]
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 r8, rax
mov word [rbp - 0x25], 0xca
mov byte [rbp - 0x23], 1
lea rcx, [rbp - 0x25]
call fcn.140014b90
mov rdx, rax
mov rcx, r8
call fcn.140014bb0
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 dword [rbp - 0x29], 0x100d3d8
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x69]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 2
jb 0x14001e340
mov byte [rbp - 0x26], bl
mov qword [rbp - 0x19], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov r8d, 2
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1400145d0
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0x10
jb 0x14001e3b7
mov rcx, qword [0x1400b30f8]
inc rdx
cmp rdx, 0x1000
jb 0x14001e3b2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001e4da
mov rcx, r8
call fcn.140089278
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x1400b30f8], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [0x1400b3108], xmm1
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x1400a5ad0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 9], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x36]
xor byte [rbp + rbx - 0x19], al
inc rbx
cmp rbx, 0x10
jb 0x14001e3f0
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140014bb0
mov word [rbp - 0x29], 0x5b
mov byte [rbp - 0x27], 0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.140014bb0
lea rdx, [0x14001b5b0]
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]
lea rdx, [0x1400b30f8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400b30f8]
mov r8, qword [0x1400b3108]
mov rcx, rax
call fcn.140014e50
lea rdx, [0x14001b550]
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 word [rbp - 0x25], 0x5d
mov byte [rbp - 0x23], 0
lea rdx, [rbp - 0x25]
mov rcx, rax
call fcn.140014bb0
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, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140089250
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3