Function at 0x1800045c0
Capabilities:
Access the windows event log
Clear windows event logs
Delete registry key
Delete registry value
Execute command
Open recentdocs registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r15
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x18000e040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [0x18000aac0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
mov qword [rbp - 0x39], 0xffffffff80000001
lea rax, [0x18000ab10]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], 0xffffffff80000001
lea rax, [0x18000ab90]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 0xffffffff80000001
lea rax, [0x18000ac30]
mov qword [rbp - 0x11], rax
lea rdi, [rbp - 0x39]
movdqu xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], 0
mov ecx, 0x30
call fcn.180008040
mov rbx, rax
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
lea rcx, [rax + 0x30]
mov qword [rbp + 0x47], rcx
mov r8d, 0x30
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rdi, [rbx + 0x30]
mov qword [rbp + 0x3f], rdi
mov rbx, qword [rbp + 0x37]
cmp rbx, rdi
je 0x1800046a6
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rbx, 0x10
cmp rbx, rdi
jne 0x180004690
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x18000acd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000470d
lea rdx, [0x18000ad68]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x18000ad80]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x18000ad98]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x18000ada8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov rdi, rax
movabs r15, 0x861c46800
test rax, rax
je 0x1800047fb
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [rbp + 0x2b]
shl rsi, 0x20
mov ecx, dword [rbp + 0x27]
or rsi, rcx
sub rsi, r15
mov ecx, 0x10000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x23]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, rbx
xor r8d, r8d
mov edx, 5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x1800047e9
mov dword [rbp + 0x33], 0
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x2f], eax
mov rcx, rdi
cmp qword [rbp + 0x2f], rsi
jae 0x1800047e1
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x23]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, rbx
xor r8d, r8d
mov edx, 5
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x1800047a1
jmp 0x1800047e9
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_ClearEventLogW]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
lea rdx, [0x18000adc0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov rdi, rax
test rax, rax
je 0x1800048f6
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [rbp + 0x33]
shl rsi, 0x20
mov ecx, dword [rbp + 0x2f]
or rsi, rcx
sub rsi, r15
mov ecx, 0x10000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
lea rax, [rbp + 0x23]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, rbx
xor r8d, r8d
mov edx, 5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x1800048e4
mov dword [rbp + 0x2b], 0
nop word [rax + rax]
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x27], eax
cmp qword [rbp + 0x27], rsi
jb 0x1800048a5
cmp dword [rbx + 0x14], 0x1210
je 0x1800048d9
lea rax, [rbp + 0x23]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, rbx
xor r8d, r8d
mov edx, 5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x180004890
jmp 0x1800048e4
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ClearEventLogW]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0xf
lea rdx, [0x18000add8]
lea rcx, [rbp - 1]
call fcn.180006ca0
nop
lea rcx, [rbp - 1]
call fcn.180004200
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x180004969
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004964
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x13
lea rdx, [0x18000adf8]
lea rcx, [rbp - 1]
call fcn.180006ca0
nop
lea rcx, [rbp - 1]
call fcn.180004200
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x1800049dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x13
lea rdx, [0x18000adf8]
lea rcx, [rbp - 1]
call fcn.180006ca0
nop
lea rcx, [rbp - 1]
call fcn.180003d00
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x180004a4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004a4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x32
lea rdx, [0x18000ae20]
lea rcx, [rbp - 1]
call fcn.180006ca0
nop
lea rcx, [rbp - 1]
call fcn.180003790
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x180004ac2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004abd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x23
lea rdx, [0x18000ae90]
lea rcx, [rbp - 1]
call fcn.180006ca0
nop
lea rcx, [rbp - 1]
call fcn.180004200
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x180004b35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004b30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
lea rdx, [0x18000aed8]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x18000af20]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x18000af70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x18000afb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004bc7
lea rdx, [0x18000b008]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [0x18000b030]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.180004c40
nop
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x180004c0e
mov rdx, qword [rbp + 0x47]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004c09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180008020
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret