Function at 0x1400409c0
Capabilities:
Encode data using xor
Execute command
Self delete

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
movaps xmmword [rax - 0x18], xmm6
xor edi, edi
movups xmm0, xmmword [0x1400fdce0]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [0x1400fdcf0]
movups xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [0x1400fdd00]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [0x1400fdd10]
movups xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [0x1400fdd20]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [0x1400fdd30]
movups xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [0x1400fdd40]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [str.WLNKII]
movups xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [0x1400fdd60]
movups xmmword [rbp + 0x120], xmm0
movsd xmm0, qword [0x1400fdd70]
movsd qword [rbp + 0x130], xmm0
mov eax, dword [0x1400fdd78]
mov dword [rbp + 0x138], eax
movzx eax, word [0x1400fdd7c]
mov word [rbp + 0x13c], ax
movzx eax, byte [0x1400fdd7e]
mov byte [rbp + 0x13e], al
mov r8d, edi
cmp dword [0x1401120a0], 2
jl 0x140040bcd
movdqa xmm4, xmmword [0x1400fe330]
movdqa xmm3, xmmword [0x1400fe710]
movdqa xmm5, xmmword [str.6666]
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp + 0xa4]
mov edx, dword [rsp + 0x20]
movdqa xmm6, xmmword [0x1400fe360]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x98
jl 0x140040ae0
cmp r8d, 0x9f
jge 0x140040c13
movsxd rax, r8d
lea r9, [rbp + 0xa0]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x9f
jl 0x140040be0
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rcx, [rbp - 0x80]
call fcn.140040440
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140040440
nop
mov r8d, 1
lea rdx, [0x1400f9c70]
mov rcx, rax
call fcn.14004c9f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x20]
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x80]
call fcn.14004dde0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140040cd9
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040cd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040cd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140040d19
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040d14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqa xmm6, xmmword [0x1400fe1c0]
movdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140040d6a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040d65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040d65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp - 0x70], xmm6
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x40]
call fcn.140040440
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140040440
nop
mov r8d, 1
lea rdx, [0x1400f9c70]
mov rcx, rax
call fcn.14004c9f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x20]
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x60]
call fcn.14004dde0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140040e18
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040e12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140040e56
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040e51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040e51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp - 0x50], xmm6
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140040e9d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040e98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040e98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp - 0x30], xmm6
mov byte [rbp - 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.140040440
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140040440
nop
mov r8d, 1
lea rdx, [0x1400f9c70]
mov rcx, rax
call fcn.14004c9f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x20]
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x40]
call fcn.14004dde0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140040f4c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040f46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040f46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140040f8a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040f85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp - 0x10], xmm6
mov byte [rbp - 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140040fd3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040fce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rsp + 0x50], xmm6
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0x20]
call fcn.140040440
mov rbx, rax
lea rcx, [rbp]
call fcn.140040440
nop
mov r8d, 1
lea rdx, [0x1400f9c70]
mov rcx, rax
call fcn.14004c9f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x20]
movzx edx, byte [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.14004dde0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140041084
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004107e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004107e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400410c2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400410bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400410bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp + 0x10], xmm6
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140041109
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041104
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041104
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqu xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x1400fe1d0]
movdqu xmmword [rsp + 0x30], xmm6
mov eax, 0x3a43
mov word [rsp + 0x20], ax
mov byte [rsp + 0x22], 0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.140040750
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004118e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400412cd
call fcn.1400ccee8
movdqa xmm6, xmmword [0x1400fe1d0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm6
mov eax, 0x3a44
mov word [rsp + 0x20], ax
mov byte [rsp + 0x22], 0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140040750
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400411f7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400411f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400412cd
call fcn.1400ccee8
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400fe1d0]
movdqu xmmword [rsp + 0x30], xmm1
mov eax, 0x3a45
mov word [rsp + 0x20], ax
mov byte [rsp + 0x22], 0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140040750
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140041264
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004125f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400412cd
call fcn.1400ccee8
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400fe1d0]
movdqu xmmword [rsp + 0x30], xmm1
mov eax, 0x3a46
mov word [rsp + 0x20], ax
mov byte [rsp + 0x22], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140040750
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400412d9
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400412d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
lea rdx, str.Volume_ID_commands_executed_with_random_serials.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004d660
lea rdx, [0x14004d8a0]
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]
lea rcx, str.cd_C:WindowsSystem32__del__f__q_Volumeid64.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14004134b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041345
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041345
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14004138a
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400413c9
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400413c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400413c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14004140d
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041408
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041408
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret