Function at 0x164c62720
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push r13
push r14
sub rsp, 0x68
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r10, qword [rsp + 0xa0]
lea rbx, [rsp + 0x20]
mov ebp, dword [rsp + 0xa8]
xor r13d, r13d
mov qword [r11 - 0x28], rsi
mov rax, 0xffffffffffffffff
mov qword [r11 - 0x30], rdi
mov r14, rcx
mov qword [r11 - 0x40], r15
mov r11, rdx
mov qword [rsp + 0x20], rax
lea r15, [rsp + 0x28]
test r10, r10
je 0x164c62864
mov r8d, dword [rsp + 0x20]
lea rdi, [r10 + 0x1004]
mov r9d, dword [rsp + 0x24]
mov esi, r13d
bswap r8d
bswap r9d
nop dword [rax]
xor r8d, dword [rdi - 4]
lea rdi, [rdi + 8]
mov eax, r8d
add rsi, 2
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
mov edx, dword [r10 + rcx*4 + 0x400]
add edx, dword [r10 + rax*4]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
xor edx, dword [r10 + rcx*4 + 0x800]
add edx, dword [r10 + rax*4 + 0xc00]
xor edx, dword [rdi - 8]
xor r9d, edx
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov edx, dword [r10 + rcx*4 + 0x400]
add edx, dword [r10 + rax*4]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r10 + rcx*4 + 0x800]
add edx, dword [r10 + rax*4 + 0xc00]
xor r8d, edx
cmp rsi, 0x10
jl 0x164c627b0
xor r9d, dword [r10 + 0x1044]
xor r8d, dword [r10 + 0x1040]
bswap r8d
bswap r9d
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x20], r9d
mov rax, qword [rsp + 0x20]
cmp ebp, 8
jb 0x164c629b2
mov qword [rsp + 0x50], r12
mov r12, rbp
shr r12, 3
nop dword [rax]
mov r9, qword [r14]
mov rax, r9
mov rcx, r9
xor rcx, qword [rbx]
shr rax, 0x20
mov qword [r15], rcx
test r11, r11
je 0x164c62970
test r10, r10
je 0x164c62970
bswap r9d
xor r9d, dword [r10 + 0x1044]
lea rdi, [r10 + 0x1038]
bswap eax
xor eax, dword [r10 + 0x1040]
mov esi, 0xf
nop dword [rax]
nop dword [rax + rax]
mov ecx, r9d
lea rdi, [rdi - 8]
shr ecx, 0x10
add rsi, 0xfffffffffffffffe
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor eax, r8d
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor eax, dword [rdi + 8]
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [rdi + 0xc]
xor r9d, r8d
test rsi, rsi
jg 0x164c628d0
bswap eax
bswap r9d
mov dword [r11], eax
mov dword [r11 + 4], r9d
nop dword [rax + rax]
mov rax, qword [rbx]
add r14, 8
xor qword [r11], rax
add ebp, 0xfffffff8
mov rax, rbx
add r11, 8
mov rbx, r15
mov r15, rax
sub r12, 1
jne 0x164c62880
mov r12, qword [rsp + 0x50]
lea rax, [rsp + 0x20]
cmp rbx, rax
je 0x164c629ad
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
jmp 0x164c629b2
mov rax, qword [rsp + 0x20]
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
test ebp, ebp
je 0x164c62aad
mov qword [rsp + 0x28], rax
test r10, r10
je 0x164c62a9a
mov r9d, dword [rsp + 0x20]
lea rbx, [r10 + 0x1004]
shr rax, 0x20
bswap r9d
bswap eax
nop dword [rax]
xor r9d, dword [rbx - 4]
lea rbx, [rbx + 8]
mov ecx, r9d
add r13, 2
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [rbx - 8]
xor eax, r8d
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r9d, r8d
cmp r13, 0x10
jl 0x164c629f0
xor eax, dword [r10 + 0x1044]
xor r9d, dword [r10 + 0x1040]
bswap r9d
bswap eax
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], eax
mov r8d, ebp
lea rcx, [rsp + 0x28]
mov r9, r11
mov rdx, r14
call fcn.164c61c60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0x68
pop r14
pop r13
pop rbp
pop rbx
ret