Function at 0x140002f1c
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 [0x14005b260]
mov r13, r8
mov rbp, qword [rsp + 0xb8]
mov r10, r9
mov rax, qword [0x14005b290]
sub rbp, r12
mov rdi, qword [rsp + 0xd0]
movzx r14d, word [0x14005b224]
mov qword [rsp + 0x10], rbp
add r14d, 0x1a7f
movsxd rax, dword [rax + 0x5a2c]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14005b258]
sub rax, r12
mov qword [0x14005b258], rax
movzx esi, word [rbx + rax*2]
movzx eax, byte [r11 + 0xf14]
imul rsi, qword [0x14005b2a8]
mov qword [rsp], rax
mov rax, qword [0x14005b2a0]
movzx ecx, word [rax + rdx*2]
sub dword [0x14005b250], r12d
movsxd rax, dword [0x14005b264]
or rcx, rax
mov dword [rsp + 0xa0], eax
movzx eax, word [0x14005b200]
sub rax, rbp
mov qword [rsp + 0x20], rcx
movzx ecx, word [0x14005b2b0]
mov qword [rsp + 0x40], rax
mov edx, ecx
movzx eax, word [0x14005b1ec]
add cx, r12w
xor rdx, rax
mov word [0x14005b2b0], cx
movzx eax, byte [r9 + 0x31d]
add rax, qword [0x14005b270]
movzx r9d, word [rdi]
mov qword [rsp + 8], rax
movzx eax, word [0x14005b1f0]
mov word [rsp + 0xb8], ax
movzx r10d, byte [r9 + r10]
xor r10w, word [0x14005b208]
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 [0x14005b240]
mov qword [rsp + 0x38], rax
mov eax, dword [0x14005b28c]
mov word [rsp + 0xe8], r8w
mov r8, qword [0x14005b1e0]
sub r8, r12
mov qword [rsp + 0x30], rdx
lea eax, [rax*2 + 0x26]
mov qword [0x14005b1e0], r8
movsxd rcx, eax
mov edx, 1
mov rax, qword [r15 + 0xa7d8]
sub rbp, rdx
mov qword [rsp + 0xd0], rax
movzx eax, word [0x14005b244]
movzx r12d, word [rbx + rcx*2]
add ax, dx
mov r9b, byte [r11 + rbp + 2]
sub r12, r8
mov word [0x14005b244], ax
xor r9b, 0xde
movzx eax, ax
and r8b, 0xbf
mov byte [rsp + 0xc8], r9b
add eax, 0xf
mov r15, qword [rsp + 0xe0]
movzx r11d, word [rsp + 0xe8]
mov byte [rax + r15], r8b
add qword [0x14005b1e0], 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 [0x14005b268]
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 + 0x42]
div rcx
mov word [rbx + r8*4 + 0x42], dx
mov r8, qword [rsp + 0xa8]
mov rax, qword [0x14005b268]
shl rax, 4
movzx ecx, byte [r8 + rsi*2 + 7]
cmp rcx, qword [rax + 0xcc2]
jb 0x1400031b2
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rsp + 0xc0]
cmp word [rcx + r10*2], ax
jae 0x1400031cd
movzx eax, word [0x14005b244]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx + rax*8]
cmp dword [0x14005b288], ecx
jl 0x140003269
movzx eax, word [0x14005b27c]
mov ecx, 0x446
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 [0x14005b298]
mov rcx, qword [0x14005b208]
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 [0x14005b244]
add ax, cx
mov rcx, qword [rsp + 0x20]
mov word [0x14005b244], ax
movzx eax, ax
movzx r8d, word [rcx + rax*2 + 0x1c]
mov eax, 0xec
movzx ecx, word [0x14005b200]
div ecx
or r8d, eax
xor dword [0x14005b260], r8d
jmp 0x140003365
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, 0x1aae
add byte [rdx + r8], al
xor edx, edx
mov rax, 0xfffffffffffffec3
lea r8d, [r9 + 0x1a]
div qword [0x14005b1f0]
mov rax, qword [rsp + 8]
mov qword [0x14005b1f0], rdx
movzx eax, byte [rax]
xor word [rbx + rax*2 + 0x10], cx
mov eax, 0x67f1620f
mov ecx, dword [0x14005b27c]
add ecx, esi
imul ecx
mov dword [0x14005b27c], 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 [0x14005b220]
mov rcx, qword [rsp + 0xb0]
add eax, 0x13
movsxd rdx, eax
mov rax, qword [0x14005b208]
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 [0x14005b204], r8d
add word [rdi], si
movzx eax, word [0x14005b244]
movzx r8d, word [rdi]
lea eax, [rax*2 + 0x1c]
movzx edx, word [r14 + rax*2]
and edx, dword [0x14005b204]
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 [0x14005b278]
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 rcx, dword [rdi]
sub rbp, rsi
movsxd rax, dword [0x14005b28c]
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 [0x14005b27c], eax
cmp r8d, dword [0x14005b278]
je 0x14000338c
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 + 0x2c90]
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 [0x14005b1e8]
movzx eax, word [0x14005b1ec]
sub ecx, esi
mov dword [0x14005b1e8], 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