Function at 0x18002a010
Capabilities:
Delete file
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rcx, qword [0x1801712f8]
cmp rcx, 0xffffffffffffffff
je 0x18002a040
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmmword [rsp + 0x230], xmm6
lea rcx, [rbp - 0x10]
movaps xmmword [rsp + 0x220], xmm7
xor edx, edx
mov r8d, 0x104
movaps xmmword [rsp + 0x210], xmm8
call fcn.1800bcb60
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x180158268]
xor edi, edi
movups xmm0, xmmword [str.nWF_RJJfmRF27l06F]
mov ebx, dword [reloc.WS2_32.dll_accept]
mov r8d, edi
mov dword [rsp + 0x40], eax
movzx eax, byte [0x18015826c]
lea esi, [rdi + 5]
mov byte [rsp + 0x44], al
lea r14d, [rdi + 0x1f]
movups xmmword [rsp + 0x30], xmm0
cmp ebx, 2
jl 0x18002a1fd
movdqa xmm0, xmmword [0x18015beb0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bfd0]
movdqa xmm7, xmmword [0x18015bdf0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18002a0f0
cmp r8d, 0x15
jge 0x18002a244
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x18002a210
lea r8, [rsp + 0x30]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.1800cb5f4
cmp byte [0x1801583a7], dil
mov rax, qword [0x1801583a0]
mov qword [rbp + 0x160], rax
je 0x18002a3d4
cmp ebx, 2
jl 0x18002a38c
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm3, xmmword [0x18015bd70]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x18015bfd0]
movdqa xmm0, xmm2
mov eax, dword [0x18015beb0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
movd xmm1, dword [rbp + 0x160]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x160], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
movd xmm1, dword [rbp + 0x164]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x164], xmm2
jmp 0x18002a3d4
lea r10, [rbp + 0x160]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r10, [r10 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r10 - 1], al
cmp r8d, 8
jl 0x18002a3a0
movzx r9d, byte [0x180361be4]
lea rdx, [rbp - 0x10]
xor r8d, r8d
lea rcx, [rbp + 0x160]
call fcn.180027ed0
cmp byte [0x180361be4], dil
je 0x18002a404
mov cl, 1
call fcn.180027700
jmp 0x18002a646
movups xmm0, xmmword [str.n_f_viQ_W__WNRQK]
mov ecx, edi
movups xmm1, xmmword [0x180158320]
mov eax, dword [0x180158378]
mov dword [rbp - 0x20], eax
movzx eax, word [0x18015837c]
mov dword [rsp + 0x4c], edi
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rdi
mov word [rbp - 0x1c], ax
movups xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [0x180158330]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [0x180158350]
movups xmmword [rbp - 0x78], xmm1
movups xmm1, xmmword [0x180158340]
movups xmmword [rbp - 0x48], xmm0
movsd xmm0, qword [0x180158370]
movsd qword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x58], xmm1
movups xmm1, xmmword [0x180158360]
movups xmmword [rbp - 0x38], xmm1
cmp ebx, 2
jl 0x18002a5bd
movdqa xmm5, xmmword [0x18015bd60]
lea rdx, [rsp + 0x78]
movdqa xmm4, xmmword [0x18015bfd0]
movdqa xmm7, xmmword [0x18015bdf0]
movaps xmmword [rsp + 0x200], xmm9
movdqa xmm9, xmmword [str.222222223333333388888888]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x30
jl 0x18002a4c0
movaps xmm9, xmmword [rsp + 0x200]
cmp ecx, 0x37
jge 0x18002a603
movsxd rax, ecx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x32
xor word [r8 - 2], ax
cmp ecx, 0x37
jl 0x18002a5d0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x20]
mov dword [rsp + 0x48], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x50], rdi
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x60], 0x40
call qword [sym.imp.ntdll.dll_NtDeleteFile]
movaps xmm8, xmmword [rsp + 0x210]
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret