Function at 0x140004c70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
mov rax, qword [0x140037038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
mov qword [r11 - 0x48], rax
movups xmm0, xmmword [str.i_bAa_v]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x140031c30]
mov dword [rsp + 0x40], eax
cmp byte [0x140031c33], 0
je 0x140004e6c
xor ecx, ecx
cmp dword [0x140037018], 2
jl 0x140004e30
movdqa xmm5, xmmword [0x140031c70]
movdqa xmm4, xmmword [0x140031cc0]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140031c90]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
nop dword [rax + 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, 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
andps xmm2, xmmword [0x140031ca0]
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, 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
andps xmm2, xmmword [0x140031ca0]
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 0x140004d30
cmp ecx, 0x14
jge 0x140004e6c
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x140004e40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400058e0
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140005ab0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140004eca
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ec5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f88
call fcn.14000e2e0
movdqa xmm0, xmmword [0x140031c60]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [0x1400397a8]
mov rdx, rcx
cmp qword [0x1400397c0], 0x10
cmovae rdx, qword [0x1400397a8]
add rdx, qword [0x1400397b8]
cmp qword [0x1400397c0], 0x10
cmovae rcx, qword [0x1400397a8]
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x80]
call fcn.140006020
movzx ebx, al
lea rcx, [rsp + 0x80]
call fcn.140005a30
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140004f59
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140004f59
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx eax, bl
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14000e2c0
lea r11, [rsp + 0xe0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbx
ret
call fcn.140014c50
nop
int3