Function at 0x1400b51e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x14013cd28]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r13, qword [rcx + 8]
mov r11, rcx
mov eax, dword [rcx + 0x18]
mov rdi, rdx
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r14, qword [rcx + 0x38]
mov r8d, edx
mov r15d, dword [rcx + 0x34]
sub r8d, r13d
mov ecx, dword [rcx + 0x100]
mov r12d, 1
mov dword [rsp + 0x28], eax
mov ebp, 3
add rax, r13
mov qword [rsp + 0x78], r9
mov qword [rsp + 0xa0], rax
mov r9d, edx
sub r9d, r13d
mov qword [rsp + 0x70], rbx
mov edx, r12d
mov qword [rsp + 0x90], rsi
shl edx, cl
mov eax, r9d
mov ecx, dword [r11 + 0x1c]
mov r10d, r9d
sub eax, ecx
mov qword [rsp + 0x60], r14
sub r10d, edx
mov dword [rsp + 0x40], r15d
cmp eax, edx
mov qword [rsp + 0x38], r13
mov rax, qword [r11 + 0x60]
mov rdx, qword [r11 + 0xf8]
cmovbe r10d, ecx
cmp dword [r11 + 0x28], 0
mov qword [rsp + 0x50], rax
mov eax, r12d
cmovne r10d, ecx
mov dword [rsp + 0x2c], r8d
mov ecx, 6
mov dword [rsp + 0x6c], r10d
mov r10d, dword [r11 + 0x10c]
cmp r10d, ecx
mov dword [rsp + 0x30], r9d
cmovb ecx, r10d
mov qword [rsp + 0x88], rbp
shl eax, cl
mov ecx, 0x22
sub ecx, dword [rdx + 0x108]
mov dword [rsp + 0x44], eax
imul eax, dword [rdi], 0x9e3779b1
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x68], eax
shr rax, cl
lea rax, [rax*4]
lea rcx, [rax*4]
mov qword [rsp + 0x98], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x58], rcx
prefetcht0 byte [rcx + rax]
xor r12d, r12d
mov qword [rsp + 0x80], r12
cmp r10d, 6
jbe 0x1400b5339
lea ecx, [r10 - 6]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x24], eax
jmp 0x1400b533e
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x20], 0x3f
cmp dword [r11 + 0x12c], r12d
jne 0x1400b5624
mov r10d, dword [r11 + 0x2c]
mov eax, r8d
sub eax, r10d
mov rdx, r13
cmp eax, 0x180
jbe 0x1400b5500
lea r15d, [r10 + 0x60]
cmp r10d, r15d
jae 0x1400b5448
mov rbp, qword [rsp + 0x90]
lea r14, [r13 + 8]
mov r13, qword [rsp + 0x60]
mov ebx, 0x18
sub ebx, dword [rsp + 0x40]
mov esi, r10d
add r14, r10
nop dword [rax + rax]
mov eax, dword [r11 + 0x60]
mov rcx, rbx
imul edx, dword [r14], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rbp + rax*4]
prefetcht0 byte [rbp + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
prefetcht0 byte [rax + r13 + 0x20]
mov rax, rsi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x20]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbp + rax*4], r10d
inc r10d
cmp r10d, r15d
jb 0x1400b53a0
mov rdx, qword [r11 + 8]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
mov r13, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x2c]
mov rsi, qword [r11 + 0x70]
lea r10d, [r8 - 0x20]
mov r14, qword [r11 + 0x38]
lea rax, [rdi + 1]
mov r15d, dword [r11 + 0x34]
lea r9, [r10 + r13]
mov ecx, eax
mov r8d, r10d
sub ecx, r10d
sub ecx, r13d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r12d
cmp ecx, eax
cmova ecx, eax
lea eax, [r10 + rcx]
cmp r10d, eax
jae 0x1400b54fb
mov r13d, 0x18
sub r13d, r15d
mov r15d, ecx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r11 + 0x60]
mov rcx, r13
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
prefetcht0 byte [r14 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r15, 1
jne 0x1400b54a0
mov rsi, qword [r11 + 0x70]
mov r14, qword [r11 + 0x38]
mov r15d, dword [r11 + 0x34]
mov rdx, qword [r11 + 8]
mov r8d, dword [rsp + 0x2c]
cmp r10d, r8d
jae 0x1400b55be
mov ebp, dword [rsp + 0x2c]
lea r13, [r10 + 8]
mov ebx, 0x18
sub ebx, r15d
mov r15d, r10d
add r13, rdx
nop
mov eax, dword [r11 + 0x60]
mov rcx, rbx
imul edx, dword [r13], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [rax + r14]
prefetcht0 byte [rax + r14 + 0x20]
mov rax, r15
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + r14]
lea rdx, [r8 + r14]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x20]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r10d
inc r10d
cmp r10d, ebp
jb 0x1400b5520
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x2c]
mov rax, qword [rsp + 0x38]
mov ecx, 0x18
sub ecx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x90]
mov dword [r11 + 0x2c], r8d
mov r8d, dword [rsp + 0x30]
imul edx, dword [r8 + rax + 8], 0x9e3779b1
mov eax, dword [rsp + 0x50]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
mov r14, qword [rsp + 0x60]
prefetcht0 byte [rax + r14]
prefetcht0 byte [rax + r14 + 0x20]
and r8d, 7
mov r15d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1400b5640
mov r15d, dword [rsp + 0x50]
mov ecx, 0x18
mov eax, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x40]
xor r15, rax
shr r15, cl
mov dword [r11 + 0x2c], r9d
add dword [r11 + 0x68], r15d
mov eax, r15d
shr rax, 2
and eax, 0x3fffffc0
movdqu xmm0, xmmword [rax + r14]
movzx r13d, byte [rax + r14]
lea rcx, [rsi + rax*4]
mov rsi, r12
mov qword [rsp + 0x50], rcx
lea rcx, [rax + r14]
mov rdx, qword [rsp + 0x50]
mov r14, r12
movsx eax, r15b
mov qword [rsp + 0x60], rcx
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
pmovmskb r9d, xmm1
movdqu xmm1, xmmword [rcx + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb r8d, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [rcx + 0x30]
movzx ecx, r13b
pmovmskb eax, xmm1
and cl, 0x3f
pcmpeqb xmm0, xmm2
pmovmskb r10d, xmm0
shl r10, 0x10
or r10, rax
movsxd rax, r8d
shl r10, 0x10
or r10, rax
movsxd rax, r9d
shl r10, 0x10
or r10, rax
ror r10, cl
test r10, r10
je 0x1400b573e
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x6c]
nop dword [rax + rax]
test r8d, r8d
je 0x1400b5734
bsf rcx, r10
add ecx, r13d
and ecx, 0x3f
je 0x1400b572b
mov ecx, dword [rdx + rcx*4]
cmp ecx, ebx
jb 0x1400b5734
prefetcht0 byte [rcx + r9]
mov dword [rsp + r14*4 + 0xb0], ecx
inc r14
dec r8d
lea rax, [r10 - 1]
and r10, rax
ja 0x1400b5700
mov rbx, qword [rsp + 0x70]
mov dword [rsp + 0x44], r8d
lea ecx, [r13 - 1]
mov eax, r12d
and ecx, 0x3f
mov r8d, 0x3f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov byte [rcx + rax], r15b
mov eax, dword [r11 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r11 + 0x2c]
test r14, r14
je 0x1400b585b
mov r12, qword [rsp + 0x38]
mov r10, qword [rsp + 0x78]
nop dword [rax]
mov r9d, dword [rsp + rsi*4 + 0xb0]
mov eax, dword [rdi + rbp - 3]
lea rdx, [r12 + r9]
cmp dword [rdx + rbp - 3], eax
jne 0x1400b584c
lea r8, [rbx - 7]
mov rax, rdi
cmp rdi, r8
jae 0x1400b57e9
mov rcx, qword [rdx]
xor rcx, qword [rdi]
je 0x1400b57b8
bsf rcx, rcx
shr rcx, 3
jmp 0x1400b582e
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1400b57e9
nop word [rax + rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1400b59b7
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1400b57d0
lea rcx, [rbx - 3]
cmp rax, rcx
jae 0x1400b5800
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1400b5800
add rax, 4
add rdx, 4
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x1400b5819
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1400b5819
add rax, 2
add rdx, 2
cmp rax, rbx
jae 0x1400b5828
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1400b5828
inc rax
mov rcx, rax
sub rcx, rdi
cmp rcx, rbp
jbe 0x1400b584c
mov eax, dword [rsp + 0x30]
mov rbp, rcx
sub eax, r9d
add eax, 3
mov qword [r10], rax
lea rax, [rcx + rdi]
cmp rax, rbx
je 0x1400b5858
inc rsi
cmp rsi, r14
jb 0x1400b5780
xor r12d, r12d
mov r10, qword [rsp + 0x48]
mov r11d, 3
mov r13d, dword [rsp + 0x24]
mov r14d, r11d
add r13d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x58]
mov r8, qword [r10]
mov r15, qword [r10 + 8]
mov rdx, qword [r10 + 0x70]
mov eax, r15d
sub eax, r8d
mov qword [rsp + 0x38], r8
add eax, dword [rsp + 0x28]
cmp r13d, r11d
mov dword [rsp + 0x20], eax
lea rcx, [rdx + r9]
cmovb r14d, r13d
mov dword [rsp + 0x28], r14d
nop word [rax + rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r15]
lea rcx, [rcx + 4]
sub r11, 1
jne 0x1400b58b0
mov rax, qword [rsp + 0x98]
mov ecx, dword [rdx + rax*4 + 0xc]
mov rax, qword [r10 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov dword [rsp + 0x24], r12d
mov r11d, r12d
test r14d, r14d
je 0x1400b59d5
nop dword [rax]
mov rax, qword [r10 + 0x70]
mov r14d, dword [r9 + rax]
lea r11, [r15 + r14]
test r14d, r14d
je 0x1400b5aee
mov eax, dword [rdi]
cmp dword [r11], eax
jne 0x1400b5993
add r11, 4
lea r12, [rdi + 4]
mov rcx, r12
mov rdx, r11
sub rcx, r11
add rcx, r8
mov r8, rbx
cmp rcx, rbx
cmovb r8, rcx
mov rcx, r12
call fcn.1400a8910
mov r8, qword [rsp + 0x38]
mov rsi, rax
lea rcx, [rax + r11]
cmp rcx, r8
jne 0x1400b5963
mov rdx, qword [rsp + 0xa0]
lea rcx, [rax + r12]
mov r8, rbx
call fcn.1400a8910
mov r8, qword [rsp + 0x38]
add rsi, rax
add rsi, 4
cmp rsi, rbp
jbe 0x1400b598e
mov eax, dword [rsp + 0x30]
mov rbp, rsi
mov rcx, qword [rsp + 0x78]
sub eax, r14d
sub eax, dword [rsp + 0x20]
add eax, 3
mov qword [rcx], rax
lea rax, [rsi + rdi]
cmp rax, rbx
je 0x1400b59ca
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x24]
add qword [rsp + 0x58], 4
inc r11d
mov dword [rsp + 0x24], r11d
cmp r11d, dword [rsp + 0x28]
jae 0x1400b59d2
mov r9, qword [rsp + 0x58]
jmp 0x1400b58f0
bsf rcx, rcx
shr rcx, 3
sub rcx, rdi
add rcx, rax
jmp 0x1400b582e
mov rax, rsi
jmp 0x1400b5af1
xor r12d, r12d
mov rax, qword [r10 + 0x70]
sub r13d, r11d
mov rcx, qword [rsp + 0x98]
mov edx, r12d
mov ecx, dword [rax + rcx*4 + 0xc]
mov r14d, ecx
shr r14d, 8
movzx eax, cl
cmp r13d, eax
cmova r13d, eax
test r13d, r13d
je 0x1400b5aee
mov r9, qword [r10 + 0x80]
nop dword [rax]
lea eax, [rdx + r14]
mov eax, dword [r9 + rax*4]
prefetcht0 byte [rax + r15]
inc edx
cmp edx, r13d
jb 0x1400b5a10
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r10 + 0x80]
mov eax, dword [rax + r14*4]
lea r11, [r15 + rax]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
cmp dword [r11], eax
jne 0x1400b5ad2
add r11, 4
lea r12, [rdi + 4]
mov rcx, r12
mov rdx, r11
sub rcx, r11
add rcx, r8
mov r8, rbx
cmp rcx, rbx
cmovb r8, rcx
mov rcx, r12
call fcn.1400a8910
mov rsi, rax
lea rcx, [rax + r11]
cmp rcx, qword [rsp + 0x38]
jne 0x1400b5a99
mov rdx, qword [rsp + 0xa0]
lea rcx, [rax + r12]
mov r8, rbx
call fcn.1400a8910
add rsi, rax
add rsi, 4
cmp rsi, rbp
jbe 0x1400b5ac5
mov eax, dword [rsp + 0x30]
mov rbp, rsi
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add eax, 3
mov qword [rcx], rax
lea rcx, [rsi + rdi]
cmp rcx, rbx
je 0x1400b5aee
mov r10, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov r8, qword [rsp + 0x38]
inc r12d
inc r14d
mov qword [rsp + 0x80], r12
cmp r12d, r13d
jb 0x1400b5a30
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400e45e0
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret