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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14009d700]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
mov qword [rbp - 9], rcx
movups xmm0, xmmword [0x140089490]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x1400894a0]
movsd qword [rbp - 0x19], xmm0
movdqa xmm6, xmmword [0x14008a450]
mov esi, dword [0x14009d6c8]
cmp byte [str.JP__P_], 0
je 0x140013540
cmp esi, 2
jl 0x140013501
movdqa xmm4, xmmword [0x14008a3f0]
xor edx, edx
movdqa xmm3, xmmword [0x14008a4d0]
movdqa xmm5, xmmword [0x14008a420]
movdqa xmm0, xmmword [0x14008a470]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x25]
mov r8d, dword [rbp - 0x39]
nop
movd xmm2, edx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x140013420
jmp 0x140013540
lea r9, [rbp - 0x29]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x140013510
lea rax, [rbp - 0x29]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140013550
mov rdx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x140013931
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140013580
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x29]
mov r8, rbx
movzx edx, byte [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.1400045f0
nop
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rax, qword [rbp - 1]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140001960
nop
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x1f]
call fcn.140082bac
mov r8d, eax
test eax, eax
jne 0x14001364c
mov edx, dword [rbp + 0x2f]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x35], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x140013641
mov eax, dword [rbp + 0x33]
cmp eax, 0xa000000c
jne 0x140013633
mov edx, 4
jmp 0x140013670
cmp eax, 0xa0000003
jne 0x140013641
mov edx, 0xa
jmp 0x140013670
shr edx, 4
and edx, 1
or edx, 2
jmp 0x140013670
mov dword [rbp - 0x35], 0xffff
sub eax, 2
je 0x14001366b
sub eax, 1
je 0x14001366b
sub eax, 0x32
je 0x14001366b
cmp eax, 0x46
je 0x14001366b
xor edx, edx
jmp 0x140013670
mov edx, 1
mov dword [rbp - 0x39], r8d
lea rax, str.8_b_
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
test edx, edx
je 0x14001388d
cmp edx, 1
sete dil
lea rcx, [rbp - 0x29]
call fcn.140008a30
test dil, dil
je 0x14001383f
mov byte [rbp - 0x49], 0
movups xmm0, xmmword [0x1400894a8]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1400894b8]
mov dword [rbp - 0x19], eax
movzx eax, word [0x1400894bc]
mov word [rbp - 0x15], ax
movzx eax, byte [0x1400894be]
mov byte [rbp - 0x13], al
xor ecx, ecx
cmp esi, 2
jl 0x1400137f4
movdqa xmm4, xmmword [0x14008a3f0]
movdqa xmm3, xmmword [0x14008a4d0]
movdqa xmm5, xmmword [0x14008a420]
movdqa xmm0, xmmword [0x14008a470]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x25]
mov r8d, dword [rbp - 0x39]
nop
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140013710
cmp ecx, 0x17
jge 0x14001382c
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x140013800
xor r9d, r9d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400138a3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001389e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001389e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test r8d, r8d
jne 0x140013937
jmp 0x140013697
call fcn.140082fa4
mov qword [rbp + 0xf], 0
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400138ed
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400138e8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001392a
mov rcx, r8
call fcn.140082fa4
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140083480
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140008ac0
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, str.exists
call fcn.1400087c0
int3