Function at 0x140015ba0
Capabilities:
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14008c090]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
mov rsi, 0xffffffffffffffff
mov rbx, rsi
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], r15b
jne 0x140015c00
call fcn.14002341c
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.14000df00
mov ebx, 3
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400c7e60], eax
jle 0x140015d9d
lea rcx, [0x1400c7e60]
call fcn.1400243b0
cmp dword [0x1400c7e60], 0xffffffff
jne 0x140015d9d
lea rcx, [rbp - 0x50]
call fcn.14000f9e0
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14000e500
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14000e500
nop
lea rdx, [0x1400c7e68]
mov rcx, rax
call fcn.14000e500
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140015cda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015cd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001674c
call fcn.140024220
movdqa xmm0, xmmword [0x140082b60]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140015d30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016752
call fcn.140024220
movdqa xmm0, xmmword [0x140082b60]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140015d84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016758
call fcn.140024220
lea rcx, [0x1400505e0]
call fcn.140024a04
nop
lea rcx, [0x1400c7e60]
call fcn.140024350
mov rax, qword [str.dXYTSU_T_M_]
mov qword [rbp - 0x60], rax
mov r12d, 4
lea r13d, [r12 + 0x1b]
mov r14d, dword [0x14008c098]
cmp byte [0x1400717d7], 0
je 0x140015f12
cmp r14d, 2
jl 0x140015ecd
movdqa xmm4, xmmword [0x140082c10]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140082b80]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140082bb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140082bf0]
movd xmm0, dword [rbp - 0x60]
pxor xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm3, xmmword [0x140082b90]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140082bb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140082bf0]
movd xmm0, dword [rbp - 0x5c]
pxor xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
jmp 0x140015f12
lea r9, [rbp - 0x60]
mov r8d, r15d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140015ee0
mov eax, dword [rdi]
cmp dword [0x1400c7ea8], eax
jle 0x140015fe7
lea rcx, [0x1400c7ea8]
call fcn.1400243b0
cmp dword [0x1400c7ea8], 0xffffffff
jne 0x140015fe7
call fcn.14002341c
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x50], rcx
lea r8, [rbp - 0x60]
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x140015f50
mov qword [rbp - 0x48], rcx
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14000df00
mov ebx, 0x1b
lea r8, [rsp + 0x38]
lea rdx, [0x1400c7e68]
lea rcx, [0x1400c7e88]
call fcn.14000e5d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140015fce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001675e
call fcn.140024220
lea rcx, [0x140050570]
call fcn.140024a04
nop
lea rcx, [0x1400c7ea8]
call fcn.140024350
lea r8, [rbp - 0x30]
lea rdx, [0x1400c7e88]
lea rcx, [rbp - 0x10]
call fcn.14000e5d0
nop
lea rcx, [rbp - 0x10]
call fcn.14000f6c0
test al, al
je 0x140016383
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call fcn.140023b90
movzx edx, al
mov qword [rbp - 0x60], rdx
shr rax, 0x20
mov dword [rbp - 0x50], eax
lea rcx, [0x140091608]
mov qword [rbp - 0x48], rcx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
cmp eax, 0x91
jne 0x14001605e
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.14000f7d0
mov rdx, qword [rbp - 0x60]
mov eax, dword [rbp - 0x50]
test eax, eax
setne cl
test eax, eax
cmovne rdx, rsi
mov qword [rbp - 0x60], rdx
test cl, cl
jne 0x140016764
lea rsi, [rbp - 0x30]
mov rdi, qword [rbp - 0x20]
cmp rdx, 0xffffffffffffffff
jne 0x14001645b
cmp qword [rbp - 0x18], 8
cmovae rsi, qword [rbp - 0x30]
mov qword [rsp + 0x38], r15
movdqa xmm4, xmmword [0x140082b70]
movdqu xmmword [rsp + 0x48], xmm4
mov byte [rsp + 0x38], cl
bts ebx, 9
mov dword [rbp - 0x60], ebx
test rdi, rdi
je 0x140016132
cmp rdi, 0x7fffffff
ja 0x140016779
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, 0xfde9
call fcn.14002348c
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14001677f
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14001b950
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, 0xfde9
call fcn.14002348c
shr rax, 0x20
test eax, eax
jne 0x140016787
movdqu xmm4, xmmword [rsp + 0x48]
movups xmm0, xmmword [0x1400714f8]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [0x140071508]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14007150c]
mov word [rsp + 0x6c], ax
cmp byte [0x14007150d], 0
je 0x140016302
mov r8d, r15d
cmp r14d, 2
jl 0x1400162b9
movdqa xmm6, xmmword [0x140082b80]
movdqa xmm5, xmmword [0x140082c10]
movd xmm7, r12d
movdqa xmm8, xmmword [0x140082bb0]
movd xmm9, r13d
movdqa xmm0, xmmword [0x140082bf0]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x50]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
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, xmm6
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
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, 0x10
jl 0x1400161b0
cmp r8d, 0x16
jge 0x140016302
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x1400162d0
movzx eax, word [0x140071188]
mov word [rsp + 0x30], ax
cmp byte [0x140071189], 0
je 0x140016321
mov byte [rsp + 0x30], 0x2d
xor byte [rsp + 0x31], 0x37
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm4
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov ecx, 0xc
call fcn.140001270
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140016383
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001637e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001678f
call fcn.140024220
xor bl, bl
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400163c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400163c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016795
call fcn.140024220
movdqa xmm0, xmmword [0x140082b60]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r15w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140016417
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016746
call fcn.140024220
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140024200
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp qword [rbp - 0x18], 8
cmovae rsi, qword [rbp - 0x30]
mov qword [rsp + 0x38], r15
movdqa xmm4, xmmword [0x140082b70]
movdqu xmmword [rsp + 0x48], xmm4
mov byte [rsp + 0x38], 0
bts ebx, 7
mov dword [rbp - 0x60], ebx
test rdi, rdi
je 0x140016504
cmp rdi, 0x7fffffff
ja 0x14001679b
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, 0xfde9
call fcn.14002348c
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x1400167a1
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14001b950
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, 0xfde9
call fcn.14002348c
shr rax, 0x20
test eax, eax
jne 0x1400167a9
movdqu xmm4, xmmword [rsp + 0x48]
movups xmm0, xmmword [0x1400714e0]
movups xmmword [rsp + 0x58], xmm0
movzx eax, word [0x1400714f0]
mov word [rsp + 0x68], ax
cmp byte [0x1400714f1], 0
je 0x1400166c2
mov r8d, r15d
cmp r14d, 2
jl 0x140016679
movdqa xmm6, xmmword [0x140082b80]
movdqa xmm5, xmmword [0x140082c10]
movd xmm7, r12d
movdqa xmm8, xmmword [0x140082bb0]
movd xmm9, r13d
movdqa xmm0, xmmword [0x140082bf0]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x50]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
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, xmm6
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140082bd0]
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, 0x10
jl 0x140016570
cmp r8d, 0x12
jge 0x1400166c2
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140016690
movzx eax, word [0x1400711dc]
mov word [rsp + 0x30], ax
cmp byte [0x1400711dd], 0
je 0x1400166e1
mov byte [rsp + 0x30], 0x2b
xor byte [rsp + 0x31], 0x37
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm4
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov ecx, 0xa
call fcn.140001270
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14001673f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001673a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400167b1
call fcn.140024220
mov bl, 1
jmp 0x140016385
call fcn.14002fc9c
nop
call fcn.14002fc9c
nop
call fcn.14002fc9c
nop
call fcn.14002fc9c
nop
call fcn.14002fc9c
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
lea rcx, str.remove_all
call fcn.14000f050
nop
call fcn.14000dcb0
int3
mov ecx, eax
call fcn.14000dec0
int3
mov ecx, eax
call fcn.14000dec0
nop
call fcn.14002fc9c
nop
call fcn.14002fc9c
nop
call fcn.14000dcb0
int3
mov ecx, eax
call fcn.14000dec0
int3
mov ecx, eax
call fcn.14000dec0
nop
call fcn.14002fc9c
int3