Function at 0x1400015f0
Capabilities:
Delete file
Delete service
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0x14
mov dword [rsp + 0x48], eax
movdqa xmm0, xmmword [0x140017840]
movdqu xmmword [rsp + 0x4c], xmm0
mov dword [rsp + 0x5c], 0x283f3a39
mov byte [rsp + 0x60], 0x5c
xor ecx, ecx
mov word [rsp + 0x61], cx
mov byte [rsp + 0x63], cl
xor r14d, r14d
mov edx, r14d
test eax, eax
je 0x14000167a
mov eax, edx
lea rcx, [rsp + 0x4c]
add rcx, rax
lea eax, [rdx + 0x48]
xor byte [rcx], al
inc edx
mov eax, dword [rsp + 0x48]
cmp edx, eax
jb 0x140001661
mov byte [rsp + rax + 0x4c], r14b
lea rdx, [rsp + 0x4c]
mov rcx, r8
call fcn.140003060
lea rdx, [0x140003230]
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, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x96
mov ecx, 0x29b
call qword [sym.imp.KERNEL32.dll_Beep]
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0xc
mov dword [rsp + 0x48], eax
movdqa xmm0, xmmword [0x1400176b0]
movdqu xmmword [rsp + 0x4c], xmm0
mov edx, r14d
test eax, eax
je 0x1400016f9
nop dword [rax]
mov eax, edx
lea rcx, [rsp + 0x4c]
add rcx, rax
lea eax, [rdx + 0x48]
xor byte [rcx], al
inc edx
mov eax, dword [rsp + 0x48]
cmp edx, eax
jb 0x1400016e0
mov byte [rsp + rax + 0x4c], r14b
lea rdx, [rsp + 0x4c]
mov rcx, r8
call fcn.140003060
lea rdx, [0x140003230]
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 r9, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0x16
mov dword [rsp + 0x48], eax
movdqa xmm0, xmmword [0x140017800]
movdqu xmmword [rsp + 0x4c], xmm0
mov dword [rsp + 0x5c], 0x3e2c302a
mov dword [rsp + 0x60], 0x5e572e
mov r8d, r14d
test eax, eax
je 0x14000177d
nop dword [rax + rax]
mov eax, r8d
lea rcx, [rsp + 0x4c]
add rcx, rax
lea eax, [r8 + 0x48]
xor byte [rcx], al
inc r8d
mov eax, dword [rsp + 0x48]
cmp r8d, eax
jb 0x140001760
mov byte [rsp + rax + 0x4c], r14b
lea rdx, [rsp + 0x4c]
mov rcx, r9
call fcn.140003060
lea rdx, [0x140003230]
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, rbx
call fcn.140002b60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov r8d, 7
lea rdx, str.i64.sys
lea rcx, [rsp + 0x28]
call fcn.140002e50
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
mov ebx, 1
test rax, rax
je 0x14000185f
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
mov r8d, 0x10020
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x140001856
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x48]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000184d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000189f
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000189a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000189a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], 0x4914
mov edx, r14d
nop
mov eax, edx
lea rcx, [rsp + 0x24]
add rcx, rax
lea eax, [rdx + 0x48]
xor byte [rcx], al
inc edx
mov ebx, dword [rsp + 0x20]
cmp edx, ebx
jb 0x1400018d0
mov byte [rsp + rbx + 0x24], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140001914
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x28]
call fcn.140002e50
nop
lea rax, [rsp + 0x24]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001932
mov r8, rbx
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.140002fb0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 7
lea rdx, str.i64.sys
lea rcx, [rsp + 0x48]
call fcn.140002fb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400019f3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140001a46
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140001a9b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14000c8d0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret