Function at 0x7ff7980c8da0
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rbx, rax
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.ucrtbase.dll_srand]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff798187808]
call qword [sym.imp.kernel32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x7ff7980c8e35
mov rcx, rax
call qword [sym.imp.kernel32.dll_CloseHandle]
lea rax, [rbx - 1]
jmp 0x7ff7980c963a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x7ff7981d4d20], xmm0
movups xmmword [0x7ff7981d4d30], xmm0
movups xmmword [0x7ff7981d4d40], xmm0
movups xmmword [0x7ff7981d4d50], xmm0
movups xmmword [0x7ff7981d4d60], xmm0
movups xmmword [0x7ff7981d4d70], xmm0
mov dword [0x7ff7981d4d80], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rsi, r8d
test r8d, r8d
jle 0x7ff7980c8ee3
mov rdi, rbx
movabs r15, 0x4ec4ec4ec4ec4ec5
lea r14, [0x7ff7980c0000]
nop
call qword [sym.imp.ucrtbase.dll_rand]
movsxd rcx, eax
mov rax, r15
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r14 + 0xc7818]
mov byte [rdi + r14 + 0x114d20], al
inc rdi
cmp rdi, rsi
jl 0x7ff7980c8eb0
lea rcx, [rbp + 0xf]
call fcn.7ff7980c87f0
nop
cmp qword [rbp + 0x1f], 0
je 0x7ff7980c95ed
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.ucrtbase.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x7ff79817f040]
lea rcx, [rbp + 0xf]
call fcn.7ff798114f30
test al, al
je 0x7ff7980c95ed
lea rcx, [rbp + 0xf]
call fcn.7ff798114a50
test al, al
jne 0x7ff7980c8f50
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.ucrtbase.dll__wremove]
jmp 0x7ff7980c95ed
mov rax, qword [0x7ff798187850]
mov qword [rbp - 0x49], rax
mov esi, dword [0x7ff7981d4360]
cmp byte [0x7ff798187857], 0
je 0x7ff7980c90b3
cmp esi, 2
jl 0x7ff7980c9071
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm2, xmmword [0x7ff798187ce0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff798187d00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff798187d20]
movd xmm0, dword [rbp - 0x49]
xorps xmm2, xmm0
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x7ff798187cf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff798187d00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff798187d20]
movd xmm0, dword [rbp - 0x45]
xorps xmm2, xmm0
movd dword [rbp - 0x45], xmm2
jmp 0x7ff7980c90b3
lea r9, [rbp - 0x49]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x7ff7980c9080
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp - 0x49]
call qword [sym.imp.kernel32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x7ff7980c933b
movsd xmm0, qword [0x7ff798187870]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x7ff798187878]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x7ff79818787c]
mov byte [rbp - 0x2d], al
cmp esi, 2
jl 0x7ff7980c921c
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm2, xmmword [0x7ff798187ce0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff798187d00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
mov eax, dword [0x7ff798187d20]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x7ff798187870]
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x7ff798187cf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff798187d00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x35]
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x7ff7980c9230
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7980c9280
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.7ff7980c4480
nop
lea rcx, [rbp - 0x29]
call fcn.7ff7981153c0
mov qword [0x7ff7981d4d88], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x7ff7980c92ed
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c92e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7980c92e1
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
mov rax, qword [0x7ff7981d4d88]
mov rcx, rdi
test rax, rax
je 0x7ff7980c95e8
call fcn.7ff7980c67f0
mov rcx, rdi
test al, al
je 0x7ff7980c95e8
call fcn.7ff7980c5860
mov rcx, rdi
test al, al
je 0x7ff7980c95e8
call fcn.7ff7980c6540
mov rcx, rdi
test al, al
je 0x7ff7980c95e8
call fcn.7ff7980c7310
test al, al
jne 0x7ff7980c95f4
jmp 0x7ff7980c95e5
movups xmm0, xmmword [0x7ff798187858]
movups xmmword [rbp - 9], xmm0
mov eax, dword [0x7ff798187868]
mov dword [rbp + 7], eax
movzx eax, word [0x7ff79818786c]
mov word [rbp + 0xb], ax
cmp byte [0x7ff79818786d], 0
je 0x7ff7980c94f3
mov r8d, ebx
cmp esi, 2
jl 0x7ff7980c94ad
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 5]
mov edx, dword [rbp - 0x39]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
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, 0x10
jl 0x7ff7980c93a0
cmp r8d, 0x16
jge 0x7ff7980c94f3
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x7ff7980c94c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 9]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7980c9510
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.7ff7980c4480
lea rax, [rbp - 0x29]
mov qword [rbp - 0x39], rax
mov eax, dword [0x7ff7981877f4]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x7ff7981877f8]
mov byte [rbp - 0x51], 0x5b
xor byte [rbp - 0x50], 0x32
xor byte [rbp - 0x4f], 0x33
xor byte [rbp - 0x4e], 0x34
xor al, 0x35
mov byte [rbp - 0x4d], al
lea rdx, [rbp - 0x51]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff7980c22d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
mov rcx, rax
call fcn.7ff7980c46c0
movzx ecx, word [0x7ff7981877fc]
mov word [rbp - 0x59], cx
cmp byte [0x7ff7981877fd], 0
je 0x7ff7980c959a
mov byte [rbp - 0x59], 0xa
xor byte [rbp - 0x58], 0x32
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.7ff7980c22d0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x7ff7980c95e5
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c95e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7980c95e0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
mov rcx, rdi
call fcn.7ff7980cbb80
mov rdi, 0xffffffffffffffff
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x7ff7980c9637
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c9632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7980c9632
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.7ff798179f10
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret