Function at 0x14014f330
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x298
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x200], xmm6
mov qword [rbp + 0x1f8], 0xfffffffffffffffe
mov rax, qword [rdx + 0x128]
mov r13, qword [rax]
cmp r13, rax
je 0x14014f394
mov rsi, rdx
lea r14, [rcx + 0x78]
mov qword [rbp + 0x1d8], rcx
lea rax, [rcx + 0x60]
mov qword [rbp + 0x1e0], rax
xorps xmm6, xmm6
mov dword [rbp + 0x1d4], 0
jmp 0x14014f3b0
mov r8b, 1
jmp 0x14014ff39
mov rax, r13
nop
mov r13, rax
cmp rax, qword [rsi + 0x128]
je 0x14014ff57
lea rbx, [r13 + 0x20]
mov rcx, r14
mov rdx, rbx
call fcn.14015a6e0
cmp rax, qword [r14]
je 0x14014f470
mov qword [rbp + 0x1f0], rax
movsxd rdi, dword [rax + 0x48]
mov rax, qword [rbp + 0x1e0]
mov r15, qword [rax]
lea rcx, [rbp - 0x50]
call fcn.14014f0c0
lea rcx, [rbp + 0xd8]
lea rdx, [rbp + 0x1a0]
mov qword [rbp + 0x198], rbx
mov r8, rbx
call fcn.140134430
imul r12, rdi, 0x1e8
lea rbx, [r15 + r12]
mov eax, dword [rbx + 4]
mov ecx, eax
not ecx
xor eax, 5
and ecx, 0xfffffffa
or ecx, eax
not ecx
mov eax, dword [rsi + 4]
and eax, 5
cmp ecx, eax
setb byte [rbp + 0x1e8]
cmova eax, ecx
mov dword [rbp - 0x4c], eax
mov eax, dword [rsi + 8]
mov ecx, dword [rbx + 8]
cmp eax, ecx
jbe 0x14014f480
mov dword [rbp - 0x48], eax
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x40], eax
mov byte [rbp + 0x1e8], 1
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14014f4aa
mov r8, qword [rsi + 0x178]
mov rdx, qword [r8]
lea rcx, [rbp + 0x128]
call fcn.14015a340
jmp 0x14014f4aa
inc dword [rbp + 0x1d4]
jmp 0x14014fae6
mov dword [rbp - 0x48], ecx
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x40], eax
lea rax, [r15 + r12]
add rax, 0x178
lea rcx, [rbp + 0x128]
cmp rcx, rax
je 0x14014f4aa
mov r8, qword [rax]
mov rdx, qword [r8]
call fcn.14015a340
mov eax, dword [rsi + 0xc]
cmp byte [0x14051d324], 0
jne 0x14014f5d0
mov ecx, dword [rbx + 0xc]
cmp eax, ecx
ja 0x14014f5d0
mov dword [rbp - 0x44], ecx
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0x3c], eax
lea rax, [r15 + r12]
add rax, 0x188
lea rcx, [rbp + 0x138]
cmp rcx, rax
je 0x14014f4ef
mov r8, qword [rax]
mov rdx, qword [r8]
call fcn.14015a340
mov eax, dword [rbx + 0x1c]
mov dword [rbp - 0x34], eax
mov eax, dword [rbx + 0x20]
mov dword [rbp - 0x30], eax
lea rax, [r15 + r12]
add rax, 0x138
lea rcx, [rbp + 0xe8]
cmp rax, rcx
je 0x14014f6e0
mov rdi, qword [rax + 0x10]
mov qword [rbp + 0x1c8], rdi
test rdi, rdi
je 0x14014f530
mov rax, qword [rax + 8]
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14014f56f
cmp dword [rbp + 0x10c], 1
jne 0x14014f55f
mov r8, qword [rbp + 0xf8]
xor edx, edx
call fcn.1403d1170
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14014f56f
mov edx, 0x51054655
mov r8d, 0xa33ad124
call fcn.1400a8a50
lea rax, [rbp + 0xf0]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov byte [rbp + 0x108], 1
test rdi, rdi
je 0x14014f8f3
mov rcx, rdi
call fcn.1403a8a78
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0xf8], rdi
mov rdx, qword [rbp + 0x1c8]
test rdx, rdx
je 0x14014f8dd
mov rcx, rax
mov r8, rdi
call fcn.1403d0ac0
jmp 0x14014f8f3
mov dword [rbp - 0x44], eax
mov eax, dword [rsi + 0x14]
mov dword [rbp - 0x3c], eax
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14014f5f8
mov r8, qword [rsi + 0x188]
mov rdx, qword [r8]
lea rcx, [rbp + 0x138]
call fcn.14015a340
mov rax, qword [rsi + 0x1c]
mov qword [rbp - 0x34], rax
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14014f6cf
mov byte [rbp + 0x1e8], 1
mov rdi, qword [rsi + 0x148]
mov rax, rdi
test rdi, rdi
je 0x14014f62a
mov rax, qword [rsi + 0x140]
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14014f670
cmp dword [rbp + 0x10c], 1
jne 0x14014f660
mov r8, qword [rbp + 0xf8]
xor edx, edx
call fcn.1403d1170
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14014f670
mov edx, 0x51054655
mov r8d, 0xa33ad124
call fcn.1400a8a50
lea rax, [rbp + 0xf0]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov byte [rbp + 0x108], 1
test rdi, rdi
je 0x14014f89b
mov rcx, rdi
call fcn.1403a8a78
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0xf8], rdi
mov rdx, qword [rbp + 0x1c8]
test rdx, rdx
je 0x14014f885
mov rcx, rax
mov r8, rdi
call fcn.1403d0ac0
jmp 0x14014f89b
mov byte [rbp + 0x1e8], 1
nop word cs:[rax + rax]
mov eax, dword [0x14051d1c8]
add eax, dword [rbx + 0x18]
mov dword [rbp - 0x38], eax
lea rax, [r15 + r12]
add rax, 0x198
lea rcx, [rbp + 0x148]
cmp rcx, rax
je 0x14014f714
mov r8, qword [rax]
mov rdx, qword [0x14051d328]
add rdx, qword [r8]
call fcn.14015a340
cmp qword [rbp + 0x150], 0
je 0x14014f790
mov rdi, qword [rbp + 0x148]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14014f77e
mov rax, qword [rsi + 0x198]
mov rcx, qword [rax]
mov rdx, rbx
cmp rcx, rax
je 0x14014fb46
mov r8d, dword [rdx + 0x10]
mov r9, rcx
jmp 0x14014f75c
mov r9, qword [r9]
cmp r9, rax
je 0x14014fb56
cmp r8d, dword [r9 + 0x10]
jne 0x14014f750
mov r10d, dword [rdx + 0x14]
cmp r10d, dword [r9 + 0x14]
jne 0x14014f750
mov r10d, dword [rdx + 0x18]
cmp r10d, dword [r9 + 0x18]
jne 0x14014f750
mov rdx, qword [rdx]
cmp rdx, rdi
jne 0x14014f73a
cmp byte [rbp + 0x1e8], 0
jne 0x14014f7b5
jmp 0x14014fadd
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14014f7b5
mov r8, qword [rsi + 0x198]
mov rdx, qword [r8]
lea rcx, [rbp + 0x148]
call fcn.14015a340
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14014f990
mov rdi, qword [rsi + 0x1b8]
mov rbx, rdi
test rdi, rdi
je 0x14014f7d8
mov rbx, qword [rsi + 0x1b0]
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x14014f823
mov eax, dword [0x1404cb3e8]
mov edx, 0x3b07a401
add eax, edx
cmp dword [rbp + 0x17c], eax
jne 0x14014f813
mov r8, qword [rbp + 0x168]
xor edx, edx
call fcn.1403d1170
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x14014f823
mov edx, 0x51054655
mov r8d, 0xa33ad124
call fcn.1400a8a50
lea rax, [rbp + 0xd8]
movups xmmword [rax + 0x88], xmm6
mov qword [rax + 0x98], 0
mov byte [rbp + 0x178], 1
test rdi, rdi
je 0x14014f94b
mov rcx, rdi
call fcn.1403a8a78
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x170], rdi
mov qword [rbp + 0x168], rdi
test rbx, rbx
je 0x14014f92d
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.1403d0ac0
jmp 0x14014f94b
cmp dword [rbp + 0x10c], 1
jne 0x14014f89b
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.1403d1170
mov rdi, qword [rbp + 0x110]
jmp 0x14014f8b4
add rdi, 8
cmp rdi, qword [rbp + 0x118]
je 0x14014f6e0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014f8b0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, 1
call qword [case.0x1400f5c95.0]
jmp 0x14014f8b0
cmp dword [rbp + 0x10c], 1
jne 0x14014f8f3
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.1403d1170
mov rdi, qword [rbp + 0x110]
jmp 0x14014f904
add rdi, 8
cmp rdi, qword [rbp + 0x118]
je 0x14014f6e0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014f900
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, 1
call qword [case.0x1400f5c95.0]
jmp 0x14014f900
mov ecx, dword [0x14051d320]
add ecx, dword [rbp + 0x17c]
cmp ecx, 1
jne 0x14014f94b
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.1403d1170
mov rdi, qword [rbp + 0x180]
jmp 0x14014f964
add rdi, 8
cmp rdi, qword [rbp + 0x188]
je 0x14014f990
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014f960
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, 1
call qword [case.0x1400f5c95.0]
jmp 0x14014f960
mov rax, qword [rbp + 0x1f0]
movsxd rax, dword [rax + 0x48]
mov rcx, qword [rbp + 0x1e0]
mov rcx, qword [rcx]
imul rax, rax, 0x1e8
add rcx, rax
add rcx, 0x128
lea rdx, [rbp + 0xd8]
call fcn.1401549f0
test al, al
je 0x14014fa11
mov rax, qword [rbp + 0x1f0]
movsxd rax, dword [rax + 0x48]
imul rcx, rax, 0x1e8
mov rax, qword [rbp + 0x1e0]
add rcx, qword [rax]
call fcn.140155190
mov rax, qword [rbp + 0x1f0]
movsxd rax, dword [rax + 0x48]
imul rcx, rax, 0x1e8
mov rax, qword [rbp + 0x1e0]
add rcx, qword [rax]
lea rdx, [rbp - 0x50]
call fcn.140155470
jmp 0x14014fadd
mov rax, qword [rbp + 0x1d8]
mov rdx, qword [rax + 0x68]
cmp rdx, qword [rax + 0x70]
je 0x14014fa3f
mov rcx, rdx
lea rdx, [rbp - 0x50]
call fcn.14015b710
mov rax, qword [rbp + 0x1d8]
add qword [rax + 0x68], 0x1e8
jmp 0x14014fa4f
mov rcx, qword [rbp + 0x1e0]
lea r8, [rbp - 0x50]
call fcn.14015af60
mov r8, qword [rbp + 0x1f0]
movsxd rax, dword [r8 + 0x48]
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rdx + 0x60]
mov rdx, qword [rdx + 0x68]
sub rdx, rcx
shr rdx, 3
imul edx, edx, 0xc10c9715
dec edx
mov dword [r8 + 0x48], edx
imul rax, rax, 0x1e8
lea rdi, [rcx + rax]
add rdi, 0x128
mov rcx, rdi
mov rdx, qword [rbp + 0x198]
call fcn.1400d6ea0
cmp rax, qword [rdi]
je 0x14014fadd
mov rcx, rdi
mov rdx, rax
call fcn.14015bc30
mov rdi, rax
lea rcx, [rax + 0x20]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov edx, dword [0x1404cb3e8]
mov r8d, 0x3b07a400
add edx, r8d
call qword [case.0x1400f5c95.0]
mov edx, 0x48
mov rcx, rdi
call fcn.1400a8a50
lea rcx, [rbp - 0x50]
call fcn.1401467e0
mov rcx, qword [r13 + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14014fb20
mov rax, qword [r13 + 8]
movzx ecx, byte [0x1404cb3f8]
add cl, 0x7a
cmp byte [rax + 0x19], cl
jne 0x14014f3a0
mov rcx, r13
mov r13, rax
cmp rcx, qword [rax + 0x10]
je 0x14014faf0
jmp 0x14014f39c
mov rax, rcx
mov rcx, qword [rcx]
movzx edx, byte [0x1404cb3f8]
mov r8d, edx
xor r8b, 0x7a
and dl, 0x7a
add dl, dl
add dl, r8b
cmp byte [rcx + 0x19], dl
je 0x14014fb20
jmp 0x14014f3a0
lea rcx, [rbp - 0x50]
call fcn.1401467e0
cmp rbx, rdi
je 0x14014fae6
jmp 0x14014fb5f
lea rcx, [rbp - 0x50]
call fcn.1401467e0
xor r8d, r8d
test r8b, r8b
je 0x14014ff39
cmp dword [rbp + 0x1d4], 0
jle 0x14014ff39
mov rcx, qword [rbp + 0x1d8]
mov rax, qword [rcx + 0x68]
sub rax, qword [rcx + 0x60]
movabs rcx, 0x60691faff8fbcfa2
add rcx, qword [0x1404cb3f0]
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
mov dword [rbp + 0x1f0], r8d
je 0x14014fbb2
cqo
idiv rcx
jmp 0x14014fbb6
xor edx, edx
div ecx
mov qword [rbp + 0x1e8], rax
mov rax, qword [rsi + 0x128]
mov rax, qword [rax]
lea rbx, [rbp + 0x1a8]
xor edi, edi
xorps xmm6, xmm6
jmp 0x14014fbe0
mov rax, r12
nop dword [rax + rax]
cmp rax, qword [rsi + 0x128]
je 0x14014fef7
mov r12, rax
lea rdx, [rax + 0x20]
mov rcx, r14
call fcn.14015a6e0
cmp rax, qword [r14]
jne 0x14014fe80
movups xmmword [rbx + 0x10], xmm6
cmp qword [r12 + 0x40], 0x10
jb 0x14014fc18
mov r13, qword [r12 + 0x28]
jmp 0x14014fc1d
lea r13, [r12 + 0x28]
mov r15, qword [r12 + 0x38]
cmp r15, 0xf
ja 0x14014fc3a
movups xmm0, xmmword [r13]
movups xmmword [rbx], xmm0
mov edi, 0xf
jmp 0x14014fcc6
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x14014fc9c
lea rcx, [rdi + 0x28]
mov edx, 0xcd8093fe
mov r8d, 0xf3abf994
call fcn.1400a90f0
mov rcx, rax
xor rcx, 0x27
mov edx, eax
and edx, 0x27
lea rdx, [rcx + rdx*2]
mov rcx, qword [0x1404cb3f0]
movabs r8, 0x60691faff8fbcd9a
add rcx, r8
and rcx, rdx
mov qword [rcx - 8], rax
jmp 0x14014fcb3
lea rcx, [rdi + 1]
mov edx, 0xcd8093fe
mov r8d, 0xf3abf994
call fcn.1400a90f0
mov rcx, rax
mov qword [rbp + 0x1a8], rcx
lea r8, [r15 + 1]
mov rdx, r13
call fcn.1403d0ac0
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1c0], rdi
lea rax, [0x1403eb8c8]
mov qword [rbp + 0x1a0], rax
mov eax, dword [0x1404cb3e8]
mov ecx, 0x3b07a400
add eax, ecx
cmp r15d, eax
je 0x14014fd13
mov rcx, rbx
cmp rdi, 0x10
jb 0x14014fd04
mov rcx, qword [rbp + 0x1a8]
mov edx, r15d
call fcn.1400d6e20
mov r15, qword [rbp + 0x1b8]
lea rax, [rbp - 0x48]
movups xmmword [rax + 0x10], xmm6
cmp qword [rbp + 0x1c0], 0x10
mov r13, rbx
jb 0x14014fd2f
mov r13, qword [rbp + 0x1a8]
cmp r15, 0xf
ja 0x14014fd44
movups xmm0, xmmword [r13]
movups xmmword [rax], xmm0
mov edi, 0xf
jmp 0x14014fd9b
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x14014fd7f
lea rcx, [rdi + 0x28]
call fcn.1403a8a84
mov rcx, rax
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14014fd88
lea rcx, [rdi + 1]
call fcn.1403a8a84
mov qword [rbp - 0x48], rax
lea r8, [r15 + 1]
mov rcx, rax
mov rdx, r13
call fcn.1403d0ac0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rdi
lea rax, [0x1403eb8c8]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x1e8]
mov dword [rbp - 0x28], eax
mov rcx, r14
lea rdx, [rbp - 0x60]
lea r8, [rbp - 0x50]
call fcn.14015c180
movzx edi, byte [rbp - 0x58]
mov rax, qword [rbp - 0x30]
cmp byte [0x14051cf70], 0
jne 0x14014fddf
cmp rax, 0x10
jb 0x14014fe14
mov rcx, qword [rbp - 0x48]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14014fe0f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14014ff65
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400a8a50
mov rax, qword [rbp + 0x1c0]
mov rcx, qword [0x1404cb3f0]
movabs rdx, 0x60691faff8fbcdc9
add rcx, rdx
cmp rax, rcx
jbe 0x14014fe80
mov rcx, qword [rbp + 0x1a8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14014fe6e
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14014ff6a
mov rcx, rax
xor rcx, 0x28
and eax, 0x28
lea rdx, [rcx + rax*2]
mov rcx, r8
call fcn.1400a8a50
nop word cs:[rax + rax]
mov rcx, qword [r12 + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14014fee0
mov rax, qword [r12 + 8]
cmp byte [rax + 0x19], 0
jne 0x14014fbe0
nop word [rax + rax]
mov rcx, r12
mov r12, rax
cmp rcx, qword [rax + 0x10]
jne 0x14014fbd5
mov rax, qword [r12 + 8]
movzx ecx, byte [0x1404cb3f8]
mov edx, ecx
xor dl, 0x7a
and cl, 0x7a
add cl, cl
add cl, dl
cmp byte [rax + 0x19], cl
je 0x14014fea0
jmp 0x14014fbe0
mov rax, rcx
mov rcx, qword [rcx]
movzx edx, byte [0x14051d180]
add dl, byte [rcx + 0x19]
je 0x14014fee0
jmp 0x14014fbe0
test dil, 1
je 0x14014ff32
mov rdi, qword [rbp + 0x1d8]
mov rdx, qword [rdi + 0x68]
cmp rdx, qword [rdi + 0x70]
je 0x14014ff23
mov rcx, rdx
mov rdx, rsi
call fcn.14015b710
add qword [rdi + 0x68], 0x1e8
jmp 0x14014ff32
mov rcx, qword [rbp + 0x1e0]
mov r8, rsi
call fcn.14015af60
mov r8d, dword [rbp + 0x1f0]
mov eax, r8d
movaps xmm6, xmmword [rbp + 0x200]
add rsp, 0x298
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r8b, 1
test r8b, r8b
jne 0x14014fb6b
jmp 0x14014ff39
call fcn.140388c3c
call fcn.140388c3c
int3