Function at 0x140004ba0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140165020]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov eax, dword [rcx + 4]
xor r8d, r8d
movsd xmm0, qword [0x1401600a0]
mov r9d, r8d
mov dword [0x140167938], eax
mov eax, dword [rcx + 8]
mov qword [r11 + 0x10], rbx
lea ebx, [r8 + 4]
mov dword [0x14016793c], eax
mov eax, dword [rcx + 0xc]
mov qword [r11 + 0x18], rdi
lea edi, [rbx + 0x1b]
mov r11d, dword [0x140165030]
mov dword [0x140167940], eax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x60], rax
mov eax, dword [0x1401600a8]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1401600ac]
movaps xmmword [rsp + 0x60], xmm6
mov byte [rbp - 0x64], al
movaps xmmword [rsp + 0x50], xmm7
mov byte [0x140167944], 0
movsd qword [rbp - 0x70], xmm0
cmp r11d, 2
jl 0x140004d30
movdqa xmm2, xmmword [0x1401600e0]
mov r9d, 8
movdqa xmm4, xmmword [0x140160140]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1401600a0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140160130]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x70], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x6c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140160130]
xorps xmm2, xmm0
movd dword [rbp - 0x6c], xmm2
movsxd rax, r9d
lea r10, [rbp - 0x70]
add r10, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r9d, 0xd
jl 0x140004d40
movsd xmm0, qword [0x1401600d0]
lea rax, [rbp - 0x70]
mov qword [rbp - 0x58], rax
mov r9d, r8d
mov eax, dword [0x1401600d8]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1401600dc]
mov byte [rbp - 0x64], al
movsd qword [rbp - 0x70], xmm0
cmp r11d, 2
jl 0x140004ea9
movdqa xmm2, xmmword [0x1401600e0]
mov r9d, 8
movdqa xmm4, xmmword [0x140160140]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm0, xmm2
mov eax, dword [0x140160130]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401600d0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
movd xmm1, dword [rbp - 0x6c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
movsxd rax, r9d
lea r10, [rbp - 0x70]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r9d, 0xd
jl 0x140004ec0
movsd xmm0, qword [0x140160090]
lea rax, [rbp - 0x70]
mov qword [rbp - 0x50], rax
mov r9d, r8d
mov eax, dword [0x140160098]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x14016009c]
mov byte [rbp - 0x64], al
movsd qword [rbp - 0x70], xmm0
cmp r11d, 2
jl 0x140005029
movdqa xmm2, xmmword [0x1401600e0]
mov r9d, 8
movdqa xmm4, xmmword [0x140160140]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm0, xmm2
mov eax, dword [0x140160130]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140160090]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
movd xmm1, dword [rbp - 0x6c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
movsxd rax, r9d
lea r10, [rbp - 0x70]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r9d, 0xd
jl 0x140005040
movsd xmm0, qword [0x1401600c0]
lea rax, [rbp - 0x70]
mov qword [rbp - 0x48], rax
mov r9d, r8d
mov eax, dword [0x1401600c8]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1401600cc]
mov byte [rbp - 0x64], al
movsd qword [rbp - 0x70], xmm0
cmp r11d, 2
jl 0x1400051a9
movdqa xmm2, xmmword [0x1401600e0]
mov r9d, 8
movdqa xmm4, xmmword [0x140160140]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm0, xmm2
mov eax, dword [0x140160130]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401600c0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
movd xmm1, dword [rbp - 0x6c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
movsxd rax, r9d
lea r10, [rbp - 0x70]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r9d, 0xd
jl 0x1400051c0
movsd xmm0, qword [0x1401600b0]
lea rax, [rbp - 0x70]
mov qword [rbp - 0x40], rax
mov eax, dword [0x1401600b8]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1401600bc]
mov byte [rbp - 0x64], al
movsd qword [rbp - 0x70], xmm0
cmp r11d, 2
jl 0x140005326
movdqa xmm2, xmmword [0x1401600e0]
mov r8d, 8
movdqa xmm4, xmmword [0x140160140]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm0, xmm2
mov eax, dword [0x140160130]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401600b0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160100]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
movd xmm1, dword [rbp - 0x6c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
movaps xmm7, xmmword [rsp + 0x50]
lea r9, [rbp - 0x70]
movaps xmm6, xmmword [rsp + 0x60]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
movsxd rax, r8d
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140005350
lea rax, [rbp - 0x70]
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x60]
lea r10, [0x140167938]
mov rax, qword [r9]
mov r8, r10
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400053b3
inc rax
test ecx, ecx
jne 0x1400053a0
test edx, edx
je 0x1400053d8
add r9, 8
lea rax, [rbp - 0x30]
cmp r9, rax
jne 0x140005394
xor al, al
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140008230
add rsp, 0x70
pop rbp
ret
mov al, 1
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140008230
add rsp, 0x70
pop rbp
ret