Function at 0x14008f900
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x30]
call fcn.140149da4
mov dword [rbp - 0x58], 0x104
mov dword [rbp - 0x54], 1
movups xmm0, xmmword [0x1401723e8]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1401723f8]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x140172408]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140172410]
mov dword [rsp + 0x78], eax
xor edi, edi
mov ecx, edi
mov r14d, dword [0x14018e0d8]
cmp r14d, 2
jl 0x14008fad2
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x1401784e0]
movdqa xmm6, xmmword [0x140178240]
movdqa xmm0, xmmword [0x140178370]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
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 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
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, 0x28
jl 0x14008f9d0
cmp ecx, 0x2c
jge 0x14008fb0c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2c
jl 0x14008fae0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [0x140151018]
test eax, eax
jne 0x14009004b
movzx eax, word [0x1401721c8]
mov word [rsp + 0x30], ax
cmp byte [0x1401721c9], dil
je 0x14008fb57
mov byte [rsp + 0x30], 0x30
xor byte [rsp + 0x31], 0x32
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x60]
call qword [0x140151080]
test eax, eax
jne 0x140090041
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14008fba1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140059090
nop
mov eax, dword [0x1401722b8]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x1401722bc]
mov word [rsp + 0x34], cx
movzx eax, byte [0x1401722be]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor cl, 0x35
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x36
xor al, 0x37
mov byte [rsp + 0x36], al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.14005eed0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14008ed10
cmp qword [rax + 0x18], 0xf
jbe 0x14008fc1f
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140151a40]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14003d650
test rbx, rbx
je 0x14008fc53
test rsi, rsi
je 0x14009002b
mov dword [rsi], 1
jmp 0x14009002b
mov rax, qword [0x1401723d0]
mov qword [rsp + 0x30], rax
cmp byte [0x1401723d7], 0
je 0x14008fdb0
cmp r14d, 2
jl 0x14008fd72
movdqa xmm4, xmmword [0x1401784e0]
movdqa xmm2, xmmword [0x1401781d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178240]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
mov eax, dword [0x140178370]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401781f0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178240]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x14008fdb0
lea r9, [rsp + 0x30]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14008fd80
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005eed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008ed10
cmp qword [rax + 0x18], 0xf
jbe 0x14008fdd4
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140151a40]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d650
test rbx, rbx
je 0x14008fe07
test rsi, rsi
je 0x14009002b
mov dword [rsi], 2
jmp 0x14009002b
mov eax, dword [0x140172218]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14017221c]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005eed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008ed10
cmp qword [rax + 0x18], 0xf
jbe 0x14008fe56
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140151a40]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d650
test rbx, rbx
je 0x14008fe89
test rsi, rsi
je 0x14009002b
mov dword [rsi], 3
jmp 0x14009002b
mov eax, dword [0x1401723a0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401723a4]
mov byte [rsp + 0x30], 0x71
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005eed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008ed10
cmp qword [rax + 0x18], 0xf
jbe 0x14008fed8
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140151a40]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d650
test rbx, rbx
je 0x14008ff0b
test rsi, rsi
je 0x14009002b
mov dword [rsi], 4
jmp 0x14009002b
mov eax, dword [0x140172414]
mov dword [rsp + 0x30], eax
cmp byte [0x140172417], 0
je 0x14008ffdd
cmp r14d, 2
jl 0x14008ffa6
movdqa xmm3, xmmword [0x1401781d0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401784e0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401784e0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140178240]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178370]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x14008ffdd
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, dil
sub al, cl
add al, 0x31
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 4
jl 0x14008ffb0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005eed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008ed10
cmp qword [rax + 0x18], 0xf
jbe 0x140090001
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140151a40]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d650
test rbx, rbx
je 0x140090038
test rsi, rsi
je 0x14009002b
mov dword [rsi], 5
lea rcx, [rbp - 0x50]
call fcn.14003d650
xor al, al
jmp 0x14009004d
lea rcx, [rbp - 0x50]
call fcn.14003d650
mov rcx, qword [rbp - 0x60]
call qword [0x140151040]
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140148480
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret