Function at 0x140002c80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rsp + 0xc8]
mov r15, rcx
mov r11, qword [rsp + 0xe8]
mov r12d, 1
movsxd rdx, dword [0x140beea60]
mov r13, r8
mov rbp, qword [rsp + 0xb8]
mov r10, r9
mov rax, qword [0x140beea90]
sub rbp, r12
mov rdi, qword [rsp + 0xd0]
movzx r14d, word [0x140beea24]
mov qword [rsp + 0x10], rbp
add r14d, 0x1a7f
movsxd rax, dword [rax + 0x5a2c]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140beea58]
sub rax, r12
mov qword [0x140beea58], rax
movzx esi, word [rbx + rax*2]
movzx eax, byte [r11 + 0xc68]
imul rsi, qword [0x140beeaa8]
mov qword [rsp], rax
mov rax, qword [0x140beeaa0]
movzx ecx, word [rax + rdx*2]
sub dword [0x140beea50], r12d
movsxd rax, dword [0x140beea64]
or rcx, rax
mov dword [rsp + 0xa0], eax
movzx eax, word [0x140beea00]
sub rax, rbp
mov qword [rsp + 0x20], rcx
movzx ecx, word [0x140beeab0]
mov qword [rsp + 0x40], rax
mov edx, ecx
movzx eax, word [0x140bee9ec]
add cx, r12w
xor rdx, rax
mov word [0x140beeab0], cx
movzx eax, byte [r9 + 0x31d]
add rax, qword [0x140beea70]
movzx r9d, word [rdi]
mov qword [rsp + 8], rax
movzx eax, word [0x140bee9f0]
mov word [rsp + 0xb8], ax
movzx r10d, byte [r9 + r10]
xor r10w, word [0x140beea08]
movzx eax, cx
add eax, 5
mov qword [rsp + 0x18], rdx
xor edx, edx
lea eax, [rax + rax*2]
movzx r8d, word [rbx + rax*2]
mov rax, rbp
div r8
mov rax, qword [r15 + r9*8]
movzx r8d, word [0x140beea40]
mov qword [rsp + 0x38], rax
mov eax, dword [0x140beea8c]
mov word [rsp + 0xe8], r8w
mov r8, qword [0x140bee9e0]
sub r8, r12
mov qword [rsp + 0x30], rdx
lea eax, [rax*2 + 0x26]
mov qword [0x140bee9e0], r8
movsxd rcx, eax
mov edx, 1
mov rax, qword [r15 + 0xa7d8]
sub rbp, rdx
mov qword [rsp + 0xd0], rax
movzx eax, word [0x140beea44]
movzx r12d, word [rbx + rcx*2]
add ax, dx
mov r9b, byte [r11 + rbp + 2]
sub r12, r8
mov word [0x140beea44], ax
xor r9b, 0xde
movzx eax, ax
and r8b, 0xbf
mov byte [rsp + 0xc8], r9b
add eax, 0x23
mov r15, qword [rsp + 0xe0]
movzx r11d, word [rsp + 0xe8]
mov byte [rax + r15], r8b
add qword [0x140bee9e0], rdx
xor edx, edx
mov r8, qword [rsp + 0xd0]
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
lea rcx, [rax + rax*2]
mov eax, dword [rsi*4 + 0x1a96]
add eax, 0x4ec
cdqe
imul rax, qword [0x140beea68]
div qword [r8 + rcx*8]
mov rdx, r8
mov qword [rdx + rcx*8], rax
lea rax, [r11 + r11*2]
mov eax, dword [rdx + rax*8]
xor edx, edx
movzx r8d, word [rdi]
movzx ecx, r10w
mov r10, qword [rsp + 0xd8]
and rax, rcx
and eax, 0x1084
or rax, qword [rsp]
movzx ecx, word [rbx + r8*4 + 0x48]
div rcx
mov word [rbx + r8*4 + 0x48], dx
mov r8, qword [rsp + 0xa8]
mov rax, qword [0x140beea68]
shl rax, 4
movzx ecx, byte [r8 + rsi*2 + 7]
cmp rcx, qword [rax + 0xcc2]
jb 0x140002f16
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rsp + 0xc0]
cmp word [rcx + r10*2], ax
jae 0x140002f31
movzx eax, word [0x140beea44]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx + rax*8]
cmp dword [0x140beea88], ecx
jl 0x140002fcd
movzx eax, word [0x140beea7c]
mov ecx, 0xb2c
sub ax, word [r14 + rsi*2 + 2]
add ax, word [rsp]
mov rdx, qword [rsp + 0x18]
add ax, cx
mov word [r14 + rsi*2 + 2], ax
mov esi, 1
add word [rdi], si
movzx r8d, word [rdi]
movsxd rax, dword [0x140beea98]
mov rcx, qword [0x140beea08]
add rcx, rcx
mov rdx, qword [rdx + rcx*8 + 8]
mov ecx, 0xffff
or rdx, rax
mov rax, qword [rsp + 0x90]
mov qword [rax + r8*8 + 0x108], rdx
xor edx, edx
movzx eax, word [0x140beea44]
add ax, cx
mov rcx, qword [rsp + 0x20]
mov word [0x140beea44], ax
movzx eax, ax
movzx r8d, word [rcx + rax*2 + 0x1c]
mov eax, 0xec
movzx ecx, word [0x140beea00]
div ecx
or r8d, eax
xor dword [0x140beea60], r8d
jmp 0x1400030c9
movzx eax, r11w
mov esi, 1
movzx r9d, r9b
lea edx, [rax*2 + 7]
add edx, eax
lea ecx, [r9 + r9*2]
mov rax, qword [rsp + 0xd0]
mov al, byte [rax + rcx*8]
mov ecx, 0x8b4
add byte [rdx + r8], al
xor edx, edx
mov rax, 0xfffffffffffffec3
lea r8d, [r9 + 0x11]
div qword [0x140bee9f0]
mov rax, qword [rsp + 8]
mov qword [0x140bee9f0], rdx
movzx eax, byte [rax]
xor word [rbx + rax*2 + 4], cx
mov eax, 0x67f1620f
mov ecx, dword [0x140beea7c]
add ecx, esi
imul ecx
mov dword [0x140beea7c], ecx
movzx ecx, word [r14 + r8*2]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax
mov word [r14 + r8*2], cx
mov eax, dword [0x140beea20]
mov rcx, qword [rsp + 0xb0]
add eax, 0x13
movsxd rdx, eax
mov rax, qword [0x140beea08]
movzx ecx, word [rcx + rax*2]
mov rax, qword [rsp + 0x90]
mov r8d, dword [rax + rdx*8]
movzx eax, word [rsp + 0xb8]
add r8d, ecx
sub r8d, eax
xor dword [0x140beea04], r8d
add word [rdi], si
movzx eax, word [0x140beea44]
movzx r8d, word [rdi]
lea eax, [rax*2 + 0x1c]
movzx edx, word [r14 + rax*2]
and edx, dword [0x140beea04]
movzx eax, byte [rsp + 0xc0]
or edx, r9d
imul edx, eax
mov rax, qword [rsp + 0x28]
mov dword [rax + r8*4], edx
movsxd r8, dword [0x140beea78]
mov edi, 0x553e
movzx eax, r11w
mov r14d, 0x2249
lea r11d, [rax + rax*2]
mov rax, qword [rsp + 0x30]
add rax, 0x10
lea r9, [rax + r8*8]
movsxd rax, dword [rdi]
sub rbp, rsi
movsxd rcx, dword [0x140beea8c]
xor edx, edx
or rcx, rax
add r8d, esi
mov qword [r9], rcx
lea r9, [r9 + 8]
or word [r12 + r11*2], r10w
add r10, rsi
movzx eax, word [r14]
xor rax, rbp
div r13
xor dword [0x140beea7c], eax
cmp r8d, dword [0x140beea78]
je 0x1400030f0
movzx r8d, byte [rsp + 0xc8]
mov rax, qword [rsp + 0x38]
movzx edx, word [rsp + 0xa0]
add edx, 4
lea ecx, [r8 + r8*2]
movzx eax, word [rax + rcx*4]
mov rcx, qword [rsp + 0x40]
add ax, word [rcx + 0x4638]
add ax, r13w
add word [rbx + rdx*2], ax
lea eax, [r8 + 0x19]
xor edx, edx
movzx r8d, byte [rax + r15]
mov eax, 0x1a4e
div r8d
movzx r8d, word [rsp + 0xe8]
and byte [r8 + r15], al
mov ecx, dword [0x140bee9e8]
movzx eax, word [0x140bee9ec]
sub ecx, esi
mov dword [0x140bee9e8], ecx
movzx eax, word [rbx + rax*2]
mov rbx, qword [rsp + 0x98]
add eax, ecx
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret