Function at 0x1402ef0e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, rdx
mov eax, dword [0x1406951d4]
cmp eax, 0x14
jl 0x1402ef134
nop word cs:[rax + rax]
mov rax, qword [0x14063aa80]
mov eax, dword [rax]
mov eax, dword [0x1406951d4]
cmp eax, 0x58
jge 0x1402ef120
mov qword [rbp + 0x18], rcx
mov rax, qword [0x14063aa80]
movsxd r14, dword [rax]
neg rax
sub r14, rax
mov eax, 0xf128959c
lea rcx, [fcn.1402ef0e0]
add ecx, ecx
add ecx, 0xb00
nop dword [rax]
mov edx, dword [0x1406951d4]
mov r8d, dword [0x14063ae78]
mov r9d, r8d
xor r9d, 0xf12895c4
and r8d, 0x712895c4
lea r8d, [r9 + r8*2]
cmp edx, r8d
jge 0x1402ef19d
mov edx, dword [0x14063ae78]
add edx, eax
mov r8d, ecx
xor r8d, edx
not r8d
test r8d, edx
je 0x1402ef1aa
mov edx, dword [0x1406951d4]
cmp edx, 0x55
jge 0x1402ef160
jmp 0x1402ef187
mov r15d, dword [0x14053ebe0]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1402ef253
add rcx, rcx
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
add rbx, 2
je 0x1402ef29a
movabs rax, 0x9eb7b7544c012772
add rax, qword [0x14063ae68]
cmp rbx, rax
jl 0x1402ef2ef
cmp rbx, 0x1000
jb 0x1402ef264
add rcx, 0x29
mov r9d, dword [0x14063ae78]
lea edx, [r9 - 0x2d332240]
lea r8d, [r9 + 0x2898360b]
add r9d, 0x72068d3a
call fcn.1400a8810
mov rcx, qword [0x14063ae68]
add rcx, rax
movabs rdx, 0x9eb7b7544c012799
add rdx, rcx
mov ecx, edx
not ecx
xor rdx, 0xffffffffffffffe0
and ecx, 0x1f
or rcx, rdx
not rcx
mov qword [rcx - 8], rax
jmp 0x1402ef280
mov r15, qword [rbp + 0x18]
cmp qword [r15 + 0x20], 0x10
jb 0x1402ef2ba
mov rax, qword [r15 + 8]
jmp 0x1402ef2be
mov rcx, rbx
mov edx, 0xe1a44825
mov r8d, 0x376fa070
mov r9d, 0x80ddf79f
call fcn.1400a8810
mov rcx, rax
mov qword [rbp - 0x10], rcx
lea rsi, [rcx + rbx]
mov qword [rbp], rsi
xor edx, edx
mov r8, rbx
call fcn.140512320
mov qword [rbp - 8], rsi
lea r8, [rdi + 8]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x40], rax
mov eax, dword [rdi + 0x18]
mov dword [rbp + 0x14], eax
cmp dword [0x14063ae78], 0xed76a65
jne 0x1402ef320
jmp 0x1402ef2f4
lea rax, [r15 + 8]
mov rcx, qword [0x14063ae68]
movabs rdx, 0x9eb7b7544c012772
xor rdx, rcx
movabs r8, 0x1eb7b7544c012772
and r8, rcx
lea rcx, [rdx + r8*2]
mov qword [r15 + 0x18], rcx
mov byte [rax], 0
jmp 0x1402ef86c
call fcn.1402f1e30
mov ecx, dword [0x14063aa70]
lea r12d, [rcx + 1]
mov dword [0x14063aa70], r12d
mov edx, dword [0x1406951d0]
lea r10d, [rdx - 1]
imul r10d, edx
test r10b, 1
je 0x1402ef379
nop dword [rax]
mov eax, dword [0x14063aa70]
mov ecx, eax
neg ecx
lea edx, [rax + rax]
add edx, 0xa56a1656
mov r9d, edx
xor r9d, ecx
and ecx, edx
lea ecx, [r9 + rcx*2]
mov edx, ecx
xor edx, 0x5a95e9aa
and ecx, 0x5a95e9aa
lea ecx, [rdx + rcx*2]
add ecx, eax
mov dword [0x14063aa70], ecx
mov eax, dword [0x1406951d0]
mov ecx, eax
sub ecx, dword [0x14063ae78]
add ecx, 0x47f39ebc
imul ecx, eax
test cl, 1
jne 0x1402ef320
jmp 0x1402ef2f4
xor r12d, ecx
not r12d
and r12d, ecx
xor esi, esi
xor ecx, ecx
sub ecx, dword [0x14063ae78]
mov edx, ecx
xor edx, 0xed76a65
and ecx, 0xed76a65
lea r13d, [rdx + rcx*2]
neg r13d
cmp r12d, r13d
jne 0x1402ef3c0
xor ecx, ecx
mov esi, 0
test r15d, r15d
jg 0x1402ef513
nop word cs:[rax + rax]
mov eax, dword [0x1406951d0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402ef3c0
mov al, 1
test al, al
je 0x1402ef3c0
mov rax, qword [0x1406951e8]
add rax, qword [rdi + 0x20]
cmp rax, 8
mov r15, qword [rbp + 0x18]
jb 0x1402ef3f0
mov r8, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, 0x200
mov r9d, dword [rbp + 0x14]
call fcn.1402ab160
mov ecx, dword [0x14063ae78]
lea edx, [rcx + 0x5dfb7556]
mov r8d, edx
xor r8d, 0xedd2622a
and edx, 0x6dd2622a
lea edx, [r8 + rdx*2]
add edx, ecx
add edx, eax
mov eax, dword [0x140694008]
add eax, edx
add eax, 0x968353b7
cmp eax, 1
ja 0x1402ef497
mov rbx, qword [rdi + 0x18]
lea rdi, [rbp - 0x30]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
movzx eax, byte [0x14063ae70]
mov ecx, eax
xor cl, 0x77
and al, 0x77
add al, al
add al, cl
add al, 0x1f
mov byte [rbp - 0x30], al
cmp rbx, 0xf
jbe 0x1402ef5d4
mov rcx, rdi
mov rdx, rbx
mov r9b, 0x3f
call fcn.140162e70
jmp 0x1402ef5ea
mov rbx, qword [rbp - 0x10]
lea rdi, [r15 + 8]
mov r15, qword [r15 + 0x20]
test rbx, rbx
je 0x1402ef646
mov rcx, rbx
mov edx, 0x486192a8
mov r8d, 0x4deccc14
call fcn.1400a77c0
mov r14, rax
cmp r12d, r13d
setne al
movzx edx, byte [0x14053ebc0]
sub dl, sil
lea ecx, [rax - 1]
xor cl, dl
not dl
neg al
and al, dl
or cl, al
not cl
mov eax, dword [0x14063ae78]
mov edx, eax
xor edx, 0xf128959c
and eax, 0x7128959c
lea eax, [rdx + rax*2]
lea rdx, [fcn.1402ef0e0]
add edx, edx
add edx, 0x35e0
test eax, edx
jne 0x1402ef8a0
jmp 0x1402ef888
lea rdx, [fcn.1402ef0e0]
lea r10d, [rdx + rdx]
add r10d, 0x3880
mov edx, r10d
not edx
and edx, r10d
xor esi, esi
jmp 0x1402ef54e
xor sil, r11b
inc ecx
cmp ecx, r15d
jge 0x1402ef3c0
mov r10d, dword [0x1406951d4]
nop word cs:[rax + rax]
mov r10d, dword [0x1406951d4]
cmp r10d, 0x1f
jg 0x1402ef560
movsxd r10, ecx
mov r11d, dword [0x1406951d4]
mov eax, dword [0x14063ae78]
mov r9d, eax
xor r9d, 0xf12895f1
and eax, 0x712895f1
lea eax, [r9 + rax*2]
cmp r11d, eax
jge 0x1402ef5b0
nop word cs:[rax + rax]
movzx r11d, byte [r14 + r10]
mov eax, dword [0x1406951d4]
cmp eax, 0xe
jl 0x1402ef540
movzx eax, byte [r14 + r10]
mov eax, dword [0x14063ae78]
mov r9d, eax
xor r9d, 0xf128959b
and eax, 0x7128959b
lea eax, [r9 + rax*2]
cmp edx, eax
jne 0x1402ef5b0
jmp 0x1402ef5a0
mov qword [rbp - 0x20], rbx
mov rcx, rdi
mov dl, 0x3f
mov r8, rbx
call fcn.140512320
mov byte [rbp + rbx - 0x30], 0
lea rax, [0x14052ecd8]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x38]
cmp rax, r15
je 0x1402ef6b6
mov r14, qword [rbp - 0x20]
lea rbx, [r15 + 8]
test r14, r14
je 0x1402ef679
movabs rax, 0x9eb7b7544c012781
mov rcx, qword [0x14063ae68]
add rcx, rax
cmp qword [rbp - 0x18], rcx
jbe 0x1402ef62d
mov rdi, qword [rbp - 0x30]
mov rcx, qword [r15 + 0x20]
cmp rcx, r14
jae 0x1402ef68e
mov rcx, rbx
mov rdx, r14
mov r9, rdi
call fcn.140088ee0
jmp 0x1402ef6b6
cmp r15, 0x10
mov r15, qword [rbp + 0x18]
jb 0x1402ef654
mov rdi, qword [r15 + 8]
movabs rax, 0x9eb7b7544c012772
add rax, qword [0x14063ae68]
mov qword [r15 + 0x18], rax
movzx eax, byte [0x14063ae70]
add al, 0x96
mov byte [rdi], al
jmp 0x1402ef7bc
cmp qword [r15 + 0x20], 0x10
jb 0x1402ef684
mov rbx, qword [r15 + 8]
mov qword [r15 + 0x18], 0
jmp 0x1402ef6b3
add rax, qword [0x14063ae68]
cmp rcx, rax
jbe 0x1402ef69e
mov rbx, qword [r15 + 8]
mov qword [r15 + 0x18], r14
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.140511c70
add rbx, r14
mov byte [rbx], 0
mov rax, qword [rbp - 0x18]
mov rcx, qword [0x1406942a8]
mov rdx, rcx
xor rdx, rax
and rcx, rax
lea rax, [rdx + rcx*2]
cmp rax, 0x10
jb 0x1402ef7bc
mov r8, qword [rbp - 0x30]
mov rcx, rax
xor rcx, 1
mov rdx, rax
not rdx
movabs r9, 0x7ffffffffffffffe
and r9, rdx
or r9, rcx
not r9
lea r9, [rcx + r9*2]
cmp r9, 0x1000
jb 0x1402ef724
mov rcx, qword [r8 - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x20
jae 0x1402ef752
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, dword [0x14063ae78]
lea ecx, [rax - 0xed76a65]
lea edx, [rax - 0xed76a64]
lea r10d, [rax + 0x71831cec]
add eax, 0x75b948f3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140176280
jmp 0x1402ef7bc
call fcn.1404ca324
mov rax, qword [0x14063ae68]
movabs rcx, 0x9eb7b7544c012781
xor rcx, rax
movabs rdx, 0x1eb7b7544c012781
and rdx, rax
lea rax, [rcx + rdx*2]
cmp r15, rax
mov r15, qword [rbp + 0x18]
jbe 0x1402ef789
mov rdi, qword [r15 + 8]
mov qword [r15 + 0x18], r14
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140511c70
movzx eax, byte [0x14063ae70]
add al, 0x96
mov byte [rdi + r14], al
jmp 0x1402ef7bc
mov rcx, rdi
mov rdx, r14
mov r9, rbx
call fcn.140088ee0
mov r15, qword [rbp + 0x18]
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x1402ef86c
mov r9, qword [rbp]
sub r9, r8
cmp r9, 0x1000
jb 0x1402ef850
mov rax, qword [r8 - 8]
movabs rcx, 0x9eb7b7544c01276a
add rcx, qword [0x14063ae68]
mov rdx, r8
not rdx
movabs r10, 0x7ffffffffffffff8
and r10, rdx
xor rdx, r8
and rdx, rcx
xor rdx, r8
mov ecx, r8d
and ecx, 7
or rcx, r10
not r8d
and r8d, 7
or r8, rcx
not r8
add r8, r8
mov rcx, rdx
xor rcx, r8
and r8, rdx
lea rcx, [rcx + r8*2]
sub rcx, rax
cmp rcx, 0x20
jae 0x1402ef883
sub r9, qword [0x14063ae68]
movabs rcx, 0x614848abb3fed8b5
add r9, rcx
mov r8, rax
mov dword [rsp + 0x28], 0x8490b358
mov dword [rsp + 0x20], 0x805a8751
xor ecx, ecx
mov edx, 1
call fcn.140176280
mov rax, r15
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1404ca324
mov eax, dword [0x140694008]
mov edx, dword [0x1406951d4]
cmp edx, 0x29
jl 0x1402ef8ad
nop dword [rax]
mov eax, dword [0x1406951d4]
cmp eax, 0x2d
jge 0x1402ef8a0
jmp 0x1402ef888
movzx ecx, cl
mov edx, dword [0x1406951d4]
cmp edx, 0x44
jg 0x1402ef8d0
mov edx, dword [0x1406951d4]
cmp edx, 0x41
jl 0x1402ef8f6
nop word cs:[rax + rax]
mov edx, dword [0x1406951d0]
mov r8d, dword [0x14063ae78]
neg r8d
add r8d, edx
add r8d, 0xed76a64
imul r8d, edx
test r8b, 1
jne 0x1402ef8d0
jmp 0x1402ef8bb
add eax, ecx
lea rcx, [fcn.1402ef0e0]
add ecx, ecx
add ecx, 0x19a0
mov edx, ecx
not edx
nop dword [rax + rax]
mov r8d, dword [0x1406951d0]
mov r9d, dword [0x14063ae78]
neg r9d
add r9d, r8d
add r9d, 0xed76a64
imul r9d, r8d
test r9b, 1
jne 0x1402ef93f
mov dword [0x140694008], eax
test edx, ecx
je 0x1402ef961
mov dword [0x140694008], eax
mov r8d, dword [0x1406951d0]
mov r9d, 1
sub r9d, r8d
imul r9d, r8d
test r9b, 1
jne 0x1402ef910
jmp 0x1402ef935
cmp r15, r14
jb 0x1402ef7aa
jmp 0x1402ef757