Function at 0x46c080
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x78
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x48], rax
nop
cmp qword [rbp + 0x98], 0
jne 0x46c0d6
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0046c2f1]
call fcn.00408f00
jmp 0x46c2f1
mov rcx, qword [rbp + 0x98]
call fcn.0046bfc0
call fcn.0046bec0
mov qword [rbp + 0x50], 0
jmp 0x46c250
mov rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0x5c]
mov r8d, 0x10
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax + 0x18]
mov rax, qword [0x00493f00]
mov eax, dword [rax + 0xac]
sub dword [rbp + 0x64], eax
mov rax, qword [0x00493f00]
mov eax, dword [rax + 0xa8]
sub dword [rbp + 0x5c], eax
mov dword [rbp + 0x40], 0x14
mov eax, dword [rbp + 0x68]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x68]
add eax, eax
add eax, 1
mov ecx, dword [rbp + 0x68]
imul ecx, eax
mov edx, 5
call fcn.0046bd10
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x60]
add eax, eax
add eax, 1
mov ecx, dword [rbp + 0x60]
imul ecx, eax
mov edx, 5
call fcn.0046bd10
mov dword [rbp + 0x3c], eax
mov rax, qword [0x00493f00]
mov ecx, dword [rbp + 0x40]
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbp + 0x64]
sub edx, dword [rax + rcx*4 + 4]
mov ecx, edx
mov edx, dword [rbp + 0x3c]
call fcn.0046bd30
xor eax, dword [rbp + 0x38]
mov dword [rbp + 0x64], eax
mov rax, qword [0x00493f00]
mov ecx, dword [rbp + 0x40]
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbp + 0x5c]
sub edx, dword [rax + rcx*4]
mov ecx, edx
mov edx, dword [rbp + 0x38]
call fcn.0046bd30
xor eax, dword [rbp + 0x3c]
mov dword [rbp + 0x5c], eax
sub dword [rbp + 0x40], 1
cmp dword [rbp + 0x40], 0
jne 0x46c13a
nop
lea rax, [rbp + 0x68]
mov rcx, qword [0x00493f00]
mov ecx, dword [rcx + 4]
sub dword [rax], ecx
lea rax, [rbp + 0x60]
mov rcx, qword [0x00493f00]
mov ecx, dword [rcx]
sub dword [rax], ecx
mov byte [rbp + 0x46], 1
mov rcx, qword [rbp + 0x90]
mov edx, 0xfffffff0
mov r8w, 1
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0x5c]
mov r8d, 0x10
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax + 0x20]
add qword [rbp + 0x50], 0x10
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
neg rcx
lea rax, [rax + rcx]
cmp rax, 0x10
jge 0x46c0f4
call fcn.0046c010
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x90]
lea rdx, [rax - 1]
call fcn.00453a10
mov rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0x47]
mov r8d, 1
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x90]
movzx rdx, byte [rbp + 0x47]
sub eax, edx
sub eax, 1
mov edx, eax
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 8]
jmp 0x46c2f1
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x78]
pop rbx
pop rbp
ret