Function at 0x140006da0
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14001e010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140006bf0
test al, al
je 0x140006e08
mov rax, 0xffffffffffffffff
jmp 0x14000726f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140020820], xmm0
movups xmmword [0x140020830], xmm0
movups xmmword [0x140020840], xmm0
movups xmmword [0x140020850], xmm0
movups xmmword [0x140020860], xmm0
movups xmmword [0x140020870], xmm0
mov dword [0x140020880], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.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 rdi, r8d
test r8d, r8d
jle 0x140006eb1
xor ebx, ebx
movabs r14, 0x4ec4ec4ec4ec4ec5
lea rsi, [0x140000000]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + rsi + 0x19598]
mov byte [rbx + rsi + 0x20820], al
inc rbx
cmp rbx, rdi
jl 0x140006e80
lea rcx, [rsp + 0x70]
call fcn.140006950
nop
cmp qword [rbp - 0x80], 0
je 0x140007221
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140009e70
nop
mov r8d, 0x8708
lea rdx, [0x140010e80]
lea rcx, [rbp - 0x70]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x68]
test al, al
je 0x140006f6c
call fcn.14000a2f0
test rax, rax
jne 0x140006f5e
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.140007580
jmp 0x140007221
call fcn.14000a2f0
test rax, rax
jne 0x140006f93
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.140007580
lea rcx, [rsp + 0x70]
call fcn.14000d0f0
test al, al
jne 0x140006fc5
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140007221
movups xmm3, xmmword [0x140019588]
movups xmmword [rsp + 0x40], xmm3
pextrw eax, xmm3, 7
test ax, ax
je 0x140007122
cmp dword [0x14001e018], 2
jl 0x1400070e0
movdqa xmm4, xmmword [0x1400197d0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140019740]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019770]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140019780]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140019750]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019770]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140019780]
movq xmm0, qword [rsp + 0x48]
xorps xmm2, xmm0
movq qword [rsp + 0x48], xmm2
jmp 0x140007122
lea r8, [rsp + 0x40]
xor ecx, ecx
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
sub ax, dx
add ax, 0x32
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 8
jl 0x1400070f0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140007219
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x68], 0xf
movsd xmm0, qword [0x140010c00]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x140010c08]
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x5c], 0
lea rcx, [rsp + 0x50]
call fcn.14000d6f0
mov qword [0x140020888], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400071f0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000debc
mov rax, qword [0x140020888]
mov rcx, rbx
test rax, rax
je 0x14000721c
call fcn.140008450
mov rcx, rbx
test al, al
je 0x14000721c
call fcn.140008c00
mov rcx, rbx
test al, al
je 0x14000721c
call fcn.140007c90
test al, al
jne 0x140007228
mov rcx, rbx
call fcn.1400072a0
mov rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000726c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000debc
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14000da20
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret