Function at 0x14001e5c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov r14, rdx
mov edi, 7
lea rdx, [rcx + 0x20]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
mov rbx, rcx
movdqa xmmword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x100], xmm0
cmp qword [rdx + 0x18], rdi
jbe 0x14001e619
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.140007c88
lea rdx, [rbx + 0x40]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
movups xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x130], xmm1
cmp qword [rdx + 0x18], rdi
jbe 0x14001e64b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.140007c88
lea rdx, [rbx + 0x60]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
movups xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x150], xmm1
cmp qword [rdx + 0x18], rdi
jbe 0x14001e67d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x140]
call fcn.140007c88
lea rdx, [rbx + 0x80]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
movups xmmword [rbp + 0x160], xmm0
movdqa xmmword [rbp + 0x170], xmm1
cmp qword [rdx + 0x18], rdi
jbe 0x14001e6b2
mov rdx, qword [rdx]
lea rcx, [rbp + 0x160]
call fcn.140007c88
mov edx, dword [rbx + 0xa4]
lea rcx, [rbp + 0xe0]
call fcn.1400204c8
mov edx, dword [rbx + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400204c8
lea r8, [0x14008c9c0]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x240]
call fcn.14002053c
lea r8, [rbp + 0xe0]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.1400205b4
mov edx, dword [rbx + 0xc8]
lea rcx, [rbp + 0x1a0]
call fcn.1400204c8
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rdx, rbx
movdqa xmmword [rbp + 0x1d0], xmm1
movups xmmword [rbp + 0x1c0], xmm0
cmp qword [rbx + 0x18], rdi
jbe 0x14001e745
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x1c0]
call fcn.140007c88
mov edx, dword [rbx + 0xcc]
lea rcx, [rbp + 0x1e0]
call fcn.1400204c8
lea rdx, [rbx + 0xd0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
movups xmmword [rbp + 0x200], xmm0
movdqa xmmword [rbp + 0x210], xmm1
cmp qword [rdx + 0x18], rdi
jbe 0x14001e790
mov rdx, qword [rdx]
lea rcx, [rbp + 0x200]
call fcn.140007c88
lea rdx, [rbx + 0xa8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, qword [rdx + 0x10]
movups xmmword [rbp + 0x220], xmm0
movdqa xmmword [rbp + 0x230], xmm1
cmp qword [rdx + 0x18], rdi
jbe 0x14001e7c5
mov rdx, qword [rdx]
lea rcx, [rbp + 0x220]
call fcn.140007c88
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x240]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rax
call fcn.140020380
mov eax, dword [0x14009af08]
mov ecx, 0x67
mov dword [rsp + 0x20], 0x60012
mov dword [rsp + 0x24], 0x7d001a
mov dword [rsp + 0x28], 0xc00085
lea r12d, [rcx - 0x66]
mov dword [rsp + 0x2c], 0x7c006c
test r12b, al
jne 0x14001e85b
movups xmm0, xmmword [rsp + 0x20]
or eax, r12d
mov word [0x14009aee0], cx
lea rcx, [0x14007e5c4]
mov dword [0x14009af08], eax
movups xmmword [0x14009aed0], xmm0
mov byte [0x14009aee2], r12b
call fcn.140054418
xor r15d, r15d
lea r9, [0x14009aed0]
cmp byte [0x14009aee2], r15b
mov esi, 0xff
movabs r13, 0x1901a1eb0f7f7567
mov r10d, 9
je 0x14001e8ac
mov r8d, r15d
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, si
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, r10
jb 0x14001e886
mov byte [0x14009aee2], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
or rbx, 0xffffffffffffffff
movdqa xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x80], xmm0
mov r8, rbx
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001e8c2
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.140007b80
mov eax, dword [0x14009ae84]
mov dword [rsp + 0x20], 0x1c0013
mov dword [rsp + 0x24], 0x6a0012
mov dword [rsp + 0x28], 0xce0091
mov dword [rsp + 0x2c], 0x7c006f
test r12b, al
jne 0x14001e937
movups xmm0, xmmword [rsp + 0x20]
or eax, r12d
mov byte [0x14009adc2], r12b
mov dword [0x14009ae84], eax
lea rcx, [0x14007e5a4]
mov eax, 0x67
mov word [0x14009adc0], ax
movups xmmword [0x14009adb0], xmm0
call fcn.140054418
cmp byte [0x14009adc2], r15b
lea r9, [0x14009adb0]
je 0x14001e971
mov r8, r15
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, si
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, 9
jb 0x14001e94a
mov byte [0x14009adc2], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm0
mov r8, rbx
movdqa xmmword [rbp - 0x50], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001e983
mov rdx, r9
lea rcx, [rbp - 0x60]
call fcn.140007b80
mov eax, dword [0x14009aee4]
mov r11d, 4
mov dword [rbp + 0x2a0], 0x50004
mov dword [rbp + 0x2a4], 0xf000a
lea esi, [r11 + 6]
test r12b, al
jne 0x14001e9f0
or eax, r12d
mov byte [0x14009add0], r12b
mov dword [0x14009aee4], eax
lea rcx, [0x14007e598]
mov rax, qword [rbp + 0x2a0]
mov qword [0x14009adc8], rax
call fcn.140054418
lea r11d, [rsi - 6]
cmp byte [0x14009add0], r15b
lea r9, [0x14009adc8]
je 0x14001ea30
mov r8, r15
mov r10d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r10w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, r11
jb 0x14001ea09
mov byte [0x14009add0], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm0
mov r8, rbx
movdqa xmmword [rbp - 0x30], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ea42
mov rdx, r9
lea rcx, [rbp - 0x40]
call fcn.140007b80
mov eax, dword [0x14009ae10]
mov r13d, 0x7f
mov dword [rbp + 0x2a0], 0x60008
test r12b, al
jne 0x14001eaa3
or eax, r12d
mov byte [0x14009ae0e], r12b
mov dword [0x14009ae10], eax
lea rcx, [0x14007e588]
mov eax, dword [rbp + 0x2a0]
mov dword [0x14009ae08], eax
mov word [0x14009ae0c], r13w
call fcn.140054418
cmp byte [0x14009ae0e], r15b
lea r9, [0x14009ae08]
mov r11d, 3
je 0x14001eaf3
mov r8, r15
movabs r10, 0x1901a1eb0f7f7567
mov r13d, 0xff
mov cl, r8b
mov rdx, r10
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r13w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, r11
jb 0x14001eacc
mov byte [0x14009ae0e], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x20], xmm0
mov r8, rbx
movdqa xmmword [rbp - 0x10], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001eb05
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140007b80
mov eax, dword [0x14009add8]
mov ecx, 0xeb
mov dword [rsp + 0x40], 0x1c0003
mov dword [rsp + 0x44], 0x7f000c
mov dword [rsp + 0x48], 0xc00087
mov dword [rsp + 0x4c], 0x460078
mov dword [rsp + 0x50], 0x1c0014
mov dword [rsp + 0x54], 0x6a0005
test r12b, al
jne 0x14001eb98
movups xmm0, xmmword [rsp + 0x40]
or eax, r12d
mov word [0x14009af38], cx
movsd xmm1, qword [rsp + 0x50]
lea rcx, [0x14007e568]
movaps xmmword [0x14009af20], xmm0
mov dword [0x14009add8], eax
mov byte [0x14009af3a], r12b
movsd qword [0x14009af30], xmm1
call fcn.140054418
cmp byte [0x14009af3a], r15b
lea r9, [0x14009af20]
movabs r13, 0x1901a1eb0f7f7567
je 0x14001ebe6
mov r8, r15
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, 0xd
jb 0x14001ebbb
xor r15d, r15d
mov byte [0x14009af3a], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm0
mov r8, rbx
movdqa xmmword [rbp + 0x10], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ebf8
mov rdx, r9
lea rcx, [rbp]
call fcn.140007b80
mov eax, dword [0x14009aef0]
mov dword [rbp + 0x2a0], 0x140015
mov dword [rbp + 0x2a4], 0xf0012
test r12b, al
jne 0x14001ec57
or eax, r12d
mov byte [0x14009ae20], r12b
mov dword [0x14009aef0], eax
lea rcx, [0x14007e55c]
mov rax, qword [rbp + 0x2a0]
mov qword [0x14009ae18], rax
call fcn.140054418
cmp byte [0x14009ae20], r15b
lea r9, [0x14009ae18]
je 0x14001ec9b
mov r8, r15
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, 4
jb 0x14001ec70
xor r15d, r15d
mov byte [0x14009ae20], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x20], xmm0
mov r8, rbx
movdqa xmmword [rbp + 0x30], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ecad
mov rdx, r9
lea rcx, [rbp + 0x20]
call fcn.140007b80
mov eax, dword [0x14009aeec]
mov dword [rsp + 0x20], 0x70006
mov dword [rsp + 0x24], 0x67001c
test r12b, al
jne 0x14001ed12
or eax, r12d
mov byte [0x14009ae32], r12b
mov dword [0x14009aeec], eax
lea rcx, [0x14007e53c]
mov rax, qword [rsp + 0x20]
mov qword [0x14009ae28], rax
mov eax, 0xeb
mov word [0x14009ae30], ax
call fcn.140054418
cmp byte [0x14009ae32], r15b
lea r9, [0x14009ae28]
je 0x14001ed62
mov r8, r15
mov r14d, 5
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, r14
jb 0x14001ed31
mov r14, qword [rbp + 0x2a8]
xor r15d, r15d
mov byte [0x14009ae32], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x40], xmm0
mov r8, rbx
movdqa xmmword [rbp + 0x50], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ed74
mov rdx, r9
lea rcx, [rbp + 0x40]
call fcn.140007b80
mov eax, dword [0x14009ad84]
mov dword [rsp + 0x20], 0x1a000b
mov dword [rsp + 0x24], 0x6e001c
mov dword [rsp + 0x28], 0xc40087
test r12b, al
jne 0x14001ede7
or eax, r12d
mov byte [0x14009af1e], r12b
mov dword [0x14009ad84], eax
lea rcx, [0x14007e51c]
mov rax, qword [rsp + 0x20]
mov qword [0x14009af10], rax
mov eax, dword [rsp + 0x28]
mov dword [0x14009af18], eax
mov word [0x14009af1c], r12w
call fcn.140054418
cmp byte [0x14009af1e], r15b
lea r9, [0x14009af10]
je 0x14001ee2a
mov r8, r15
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, rdi
jb 0x14001ee00
xor r15d, r15d
mov byte [0x14009af1e], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x60], xmm0
mov r8, rbx
movdqa xmmword [rbp + 0x70], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ee3c
mov rdx, r9
lea rcx, [rbp + 0x60]
call fcn.140007b80
mov eax, dword [0x14009addc]
mov r10d, 5
mov dword [rsp + 0x20], 0x50006
mov dword [rsp + 0x24], 0x7c000f
test r12b, al
jne 0x14001eead
or eax, r12d
mov byte [0x14009ae42], r12b
mov dword [0x14009addc], eax
lea rcx, [0x14007e4fc]
mov rax, qword [rsp + 0x20]
mov qword [0x14009ae38], rax
mov eax, 0xeb
mov word [0x14009ae40], ax
call fcn.140054418
mov r10d, 5
cmp byte [0x14009ae42], r15b
lea r9, [0x14009ae38]
je 0x14001eef0
mov r8, r15
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, r10
jb 0x14001eec6
xor r15d, r15d
mov byte [0x14009ae42], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x80], xmm0
mov r8, rbx
movdqa xmmword [rbp + 0x90], xmm1
inc r8
cmp word [r9 + r8*2], r15w
jne 0x14001ef08
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.140007b80
mov eax, dword [0x14009ae44]
mov dword [rsp + 0x20], 0x100003
mov dword [rsp + 0x24], 0x660009
mov dword [rsp + 0x28], 0xc40088
mov dword [rsp + 0x2c], 0x190072
test r12b, al
jne 0x14001ef75
movups xmm0, xmmword [rsp + 0x20]
or eax, r12d
mov byte [0x14009af50], r12b
lea rcx, [0x14007e4dc]
mov dword [0x14009ae44], eax
movdqu xmmword [0x14009af40], xmm0
call fcn.140054418
cmp byte [0x14009af50], r15b
lea r9, [0x14009af40]
je 0x14001efb9
mov r8, r15
mov r15d, 0xff
mov cl, r8b
mov rdx, r13
and cl, dil
shl cl, 3
shr rdx, cl
and dx, r15w
xor word [r9 + r8*2], dx
add r8, r12
cmp r8, 8
jb 0x14001ef8e
xor r15d, r15d
mov byte [0x14009af50], r15b
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0xa0], xmm0
movdqa xmmword [rbp + 0xb0], xmm1
inc rbx
cmp word [r9 + rbx*2], r15w
jne 0x14001efce
mov r8, rbx
lea rcx, [rbp + 0xa0]
mov rdx, r9
call fcn.140007b80
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0xc0]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.140020380
lea r9, [rsp + 0x60]
mov rdx, r14
lea r8, [rsp + 0x40]
call fcn.14001e400
lea rcx, [rsp + 0x40]
call fcn.1400079e0
mov rbx, rsi
lea rdi, [rbp + 0xc0]
sub rdi, 0x20
mov rcx, rdi
call fcn.140007a6c
sub rbx, r12
jne 0x14001f034
lea rcx, [rsp + 0x60]
call fcn.1400079e0
lea rbx, [rbp + 0x240]
sub rbx, 0x20
mov rcx, rbx
call fcn.140007a6c
sub rsi, r12
jne 0x14001f056
lea rcx, [rbp + 0x240]
call fcn.140007a6c
lea rcx, [rbp + 0xc0]
call fcn.140007a6c
lea rcx, [rbp + 0xe0]
call fcn.140007a6c
mov rbx, qword [rsp + 0x3b0]
mov rax, r14
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret