Function at 0x14007fca0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x440
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3b8], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rcx + 0x888]
mov edx, dword [rsi + 0x880]
mov ebx, 0xebf2
mov eax, dword [0x140419a70]
add eax, ebx
cdqe
add rax, qword [0x140419ad0]
xor r8d, r8d
mov r9d, 0xbd20c0b9
call qword [case.0x1401085ed.0]
test rax, rax
je 0x14007ff2c
mov rdi, rax
add ebx, dword [0x140419aa4]
movsxd rax, ebx
add rax, qword [0x140419ac8]
mov rcx, rdi
mov edx, 0x45004728
call qword [case.0x1401085ed.0]
test al, al
jne 0x14007ff2c
mov ecx, dword [rdi + 8]
mov eax, ecx
xor eax, 0xffffff00
mov edx, ecx
and edx, 0x7fffff00
lea eax, [rax + rdx*2]
shrd eax, ecx, 8
je 0x14007febf
cmp eax, 3
je 0x14007fd54
cmp eax, 1
jne 0x14007ff2c
mov eax, dword [rsi + 0x87c]
not eax
test al, 0x90
jne 0x14007fe4f
mov rax, rdi
add rax, 0xb0
mov rbx, qword [rdi + 0xb8]
test rbx, rbx
cmovne rbx, rax
cmp dword [rdi + 0xb8], 0
cmovne rbx, rax
lea rcx, [rbp - 0x50]
mov r8d, 0x400
xor edx, edx
call fcn.1403364d0
cmp qword [0x14047a100], 0
jne 0x14007fe03
mov eax, 0xebf2
add eax, dword [0x140419a8c]
cdqe
add rax, qword [0x140419ac0]
mov ecx, 0xb0
mov edx, 0x4890791d
call qword [case.0x1401085ed.0]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x80], xmm0
movups xmmword [rax + 0x90], xmm0
movups xmmword [rax + 0x9d], xmm0
mov qword [0x14047a100], rax
mov rcx, qword [0x14047a100]
mov r8d, dword [rbx + 0x18]
mov eax, 0xebf2
add eax, dword [0x140419a88]
mov rdx, qword [rbx + 8]
cdqe
add rax, qword [0x140419af0]
mov dword [rsp + 0x20], 0xdc7b3abe
lea r9, [rbp - 0x50]
call qword [case.0x1401085ed.0]
test eax, eax
jne 0x14007ff2c
mov eax, dword [rbp - 0x48]
dec eax
cmp ax, 0xfffd
ja 0x14007ff2c
mov eax, dword [rdi + 8]
cmp eax, 0x400
sete cl
cmp eax, 0x200
sete dl
xor eax, eax
cmp cl, dl
je 0x14007fe8d
cmp dword [rdi + 0x2c], 0x10d
ja 0x14007fe8d
cmp dword [rdi + 0xc4], 0x10e
setb cl
cmp dword [rdi + 0xc8], 0x400
setb al
or al, cl
mov r8d, 0x400000
test al, al
jne 0x14007fec5
mov eax, dword [rsi + 0x87c]
and eax, 0x110
cmp eax, 0x110
je 0x14007fec5
mov rax, qword [rsi + 0x888]
or dword [rax + 0x98], 0x80000000
xor r8d, r8d
jmp 0x14007fec5
mov r8d, 1
mov rax, qword [rsi + 0x888]
mov byte [rax + 0x6ed], 1
mov rcx, qword [rsi + 0x888]
mov edx, dword [rsi + 0x880]
mov ebx, 0xebf2
mov eax, dword [0x140419a74]
add eax, ebx
cdqe
add rax, qword [0x140419b18]
mov r9d, 0x6645562e
call qword [case.0x1401085ed.0]
mov rax, qword [rsi + 0x888]
mov byte [rax + 0x6ed], 0
add ebx, dword [0x140419a94]
movsxd rax, ebx
add rax, qword [0x140419af8]
mov rcx, rsi
mov rdx, rdi
call qword [case.0x1401085ed.0]
mov rcx, qword [0x140477af8]
test rcx, rcx
je 0x14007ff54
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401085ed.0]
mov qword [0x140477af8], 0
mov byte [0x1404779e0], 1
cmp qword [0x140477808], 0
jne 0x14007ffa8
mov ecx, 0xebf2
mov eax, dword [0x140419a8c]
add eax, ecx
cdqe
add rax, qword [0x140419ac0]
mov ecx, 0x700
mov edx, 0x4890791d
call qword [case.0x1401085ed.0]
mov qword [rbp + 0x3b0], rax
mov rcx, rax
call fcn.140098860
mov rax, qword [rbp + 0x3b0]
mov qword [0x140477808], rax
mov rsi, qword [0x140477808]
lea rdi, [rsi + 0x558]
mov rcx, qword [rsi + 0x558]
test rcx, rcx
je 0x140080068
cmp dword [rsi + 0x574], 1
jne 0x14007ffdd
mov r8, qword [rsi + 0x560]
xor edx, edx
call fcn.1403364d0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140080004
mov eax, 0xebf2
add eax, dword [0x140419aa0]
cdqe
add rax, qword [0x140419ab8]
mov edx, 0x1e8cbcff
call qword [case.0x1401085ed.0]
cmp qword [0x140477808], 0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsi + 0x570], 1
jne 0x14008007d
mov ecx, 0xebf2
mov eax, dword [0x140419a8c]
add eax, ecx
cdqe
add rax, qword [0x140419ac0]
mov ecx, 0x700
mov edx, 0x4890791d
call qword [case.0x1401085ed.0]
mov qword [rbp + 0x3b0], rax
mov rcx, rax
call fcn.140098860
mov rax, qword [rbp + 0x3b0]
mov qword [0x140477808], rax
jmp 0x14008007d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsi + 0x570], 1
mov rsi, qword [0x140477808]
mov r8, qword [rsi + 0x370]
mov rax, qword [rsi + 0x378]
sub rax, r8
shr rax, 5
imul eax, eax, 0xcccccccd
test eax, eax
jle 0x14008012d
mov edi, 0x80
xor ebx, ebx
mov r14d, 0xebf2
jmp 0x14008011b
mov edx, dword [0x1404773a0]
add edx, dword [r8 + rdi - 0x5c]
add r8, rdi
mov eax, dword [0x140419a90]
add eax, r14d
cdqe
add rax, qword [0x140419b10]
mov rcx, rsi
mov r9d, 0xf4d8ef9c
call qword [case.0x1401085ed.0]
inc rbx
mov r8, qword [rsi + 0x370]
mov rax, qword [rsi + 0x378]
sub rax, r8
shr rax, 5
imul eax, eax, 0xcccccccd
cdqe
add rdi, 0xa0
cmp rbx, rax
jge 0x14008012d
cmp dword [r8 + rdi + 8], 0
jne 0x1400800c0
cmp qword [r8 + rdi + 8], 0
je 0x1400800ef
jmp 0x1400800c0
mov rax, qword [rsi + 0x398]
sub rax, qword [rsi + 0x390]
shr rax, 2
test eax, eax
jle 0x14008019f
xor edi, edi
mov ebx, 0xebf2
nop word [rax + rax]
mov eax, dword [0x140419a90]
add eax, ebx
cdqe
add rax, qword [0x140419b10]
mov rcx, rsi
mov edx, edi
xor r8d, r8d
mov r9d, 0xf4d8ef9c
call qword [case.0x1401085ed.0]
inc edi
mov rax, qword [rsi + 0x398]
mov rcx, qword [rsi + 0x390]
xor edx, edx
sub rdx, rcx
mov rcx, rax
xor rcx, rdx
and rdx, rax
lea rax, [rcx + rdx*2]
shr rax, 2
cmp edi, eax
jl 0x140080150
mov rsi, qword [0x1404776b0]
test rsi, rsi
je 0x140080225
lea rcx, [rsi + 0x20]
mov rdi, qword [rsi + 0x20]
mov r8, qword [rdi + 8]
mov ebx, 0xebf2
mov eax, dword [0x140419a78]
add eax, ebx
cdqe
add rax, qword [0x140419b00]
mov rdx, rcx
call qword [case.0x1401085ed.0]
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x30]
mov rdi, qword [rsi + 0x30]
add ebx, dword [0x140419a9c]
mov r8, qword [rdi + 8]
movsxd rax, ebx
add rax, qword [0x140419ae0]
mov rdx, rcx
call qword [case.0x1401085ed.0]
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x38], 0
mov byte [rsi + 0x11], 0
movaps xmm0, xmmword [0x14034f880]
movups xmmword [0x14046ad2f], xmm0
movups xmmword [0x14046ad1f], xmm0
movups xmmword [0x14046ad0f], xmm0
movups xmmword [0x14046acff], xmm0
cmp qword [0x140477808], 0
jne 0x140080295
mov ecx, 0xebf2
mov eax, dword [0x140419a8c]
add eax, ecx
cdqe
add rax, qword [0x140419ac0]
mov ecx, 0x700
mov edx, 0x4890791d
call qword [case.0x1401085ed.0]
mov qword [rbp + 0x3b0], rax
mov rcx, rax
call fcn.140098860
mov rax, qword [rbp + 0x3b0]
mov qword [0x140477808], rax
mov rdi, qword [0x140477808]
mov rsi, qword [rdi + 0x3b0]
test rsi, rsi
je 0x1400802e0
mov ebx, 0xebf2
mov eax, dword [0x140419a84]
add eax, ebx
cdqe
add rax, qword [0x140419ad8]
mov rcx, rsi
call qword [case.0x1401085ed.0]
add ebx, dword [0x140419a80]
movsxd rax, ebx
add rax, qword [0x140419ae8]
mov rcx, rsi
call qword [case.0x1401085ed.0]
mov qword [rdi + 0x3b0], 0
mov esi, 0xebf2
mov eax, dword [0x140419a7c]
add eax, esi
cdqe
add rax, qword [0x140419ab0]
call qword [case.0x1401085ed.0]
add esi, dword [0x140419a98]
movsxd r8, esi
add r8, qword [0x140419b08]
mov rcx, rax
mov edx, 0x3826efb1
mov rax, r8
call qword [case.0x1401085ed.0]
nop
add rsp, 0x440
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret