Function at 0x140058890
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 [0x14012c040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, str.C:WindowsSystem32_rundll32.exe_InetCpl.cpl_ClearMyTracksByProcess_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
mov qword [rbp - 0x39], 0xffffffff80000001
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], 0xffffffff80000001
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppLaunch
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 0xffffffff80000001
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
mov qword [rbp - 0x11], rax
lea rdi, [rbp - 0x39]
movdqu xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], 0
mov ecx, 0x30
call fcn.14007eff8
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 0x140058976
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 0x140058960
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400589dd
lea rdx, [0x140114f48]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.chrome.dll
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x140114ff8]
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, str.Application
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov rdi, rax
movabs r15, 0x861c46800
test rax, rax
je 0x140058acb
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 0x140058ab9
mov dword [rbp + 0x33], 0
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x2f], eax
mov rcx, rdi
cmp qword [rbp + 0x2f], rsi
jae 0x140058ab1
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 0x140058a71
jmp 0x140058ab9
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, str.Security
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov rdi, rax
test rax, rax
je 0x140058bc6
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 0x140058bb4
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 0x140058b75
cmp dword [rbx + 0x14], 0x1210
je 0x140058ba9
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 0x140058b60
jmp 0x140058bb4
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, str.C:WindowsTemp
lea rcx, [rbp - 1]
call fcn.140054310
nop
lea rcx, [rbp - 1]
call fcn.140058550
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140058c39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058c34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x13
lea rdx, str.C:WindowsPrefetch
lea rcx, [rbp - 1]
call fcn.140054310
nop
lea rcx, [rbp - 1]
call fcn.140058550
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140058cac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x13
lea rdx, str.C:WindowsPrefetch
lea rcx, [rbp - 1]
call fcn.140054310
nop
lea rcx, [rbp - 1]
call fcn.140058220
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140058d1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058d1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x32
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive
lea rcx, [rbp - 1]
call fcn.140054310
nop
lea rcx, [rbp - 1]
call fcn.140057d70
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140058d92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 0x23
lea rdx, str.C:Users_USERNAME_AppDataRoaming
lea rcx, [rbp - 1]
call fcn.140054310
nop
lea rcx, [rbp - 1]
call fcn.140058550
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140058e05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedPidlMRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerTypedPaths
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, str.SYSTEMControlSet001ControlCrashControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140058e97
lea rdx, str.CrashDumpEnabled
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.LogEvent
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.140058f10
nop
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x140058ede
mov rdx, qword [rbp + 0x47]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14007ec10
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