Function at 0x164c5fe00
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rdi
push r13
push r15
sub rsp, 0x98
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
lea r13, [0x164c40000]
xor r8d, r8d
mov r15, rdx
mov rdi, rcx
mov eax, r8d
movzx edx, byte [rbx + 0x1e8]
test dl, dl
je 0x164c60345
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x164c60335
mov dword [rsp + 0x30], r8d
lea r9d, [r8 + 0x10]
mov byte [rsp + 0x28], 1
mov rdx, rdi
mov qword [rsp + 0x20], r8
mov r8, r15
call fcn.164c73600
cmp rax, 0x10
je 0x164c6031a
mov r11d, dword [rdi]
xor r11d, dword [rbx]
mov r8d, dword [rbx + 8]
xor r8d, dword [rdi + 8]
mov r10d, dword [rbx + 0xc]
mov eax, r8d
xor r10d, dword [rdi + 0xc]
mov r9d, dword [rbx + 4]
xor r9d, dword [rdi + 4]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0x90], rsi
mov edx, r10d
shr rdx, 0x18
mov qword [rsp + 0x88], r12
lea r12, [rbx + 0x20]
mov qword [rsp + 0x80], r14
mov edi, dword [r13 + rdx*4 + 0x573b0]
xor edi, dword [r13 + rcx*4 + 0x577b0]
movzx ecx, al
movzx eax, r11b
xor edi, dword [r13 + rcx*4 + 0x57bb0]
xor edi, dword [r13 + rax*4 + 0x587b0]
mov eax, r10d
xor edi, dword [rbx + 0x10]
shr eax, 0x10
movzx edx, al
mov eax, r8d
shr eax, 8
movzx ecx, al
mov eax, r11d
mov esi, dword [r13 + rdx*4 + 0x577b0]
shr rax, 0x18
xor esi, dword [r13 + rcx*4 + 0x57bb0]
xor esi, dword [r13 + rax*4 + 0x573b0]
movzx eax, r9b
xor esi, dword [r13 + rax*4 + 0x587b0]
mov eax, r10d
xor esi, dword [rbx + 0x14]
shr eax, 8
movzx ecx, al
mov eax, r9d
shr rax, 0x18
shr r9d, 0x10
mov ebp, dword [r13 + rcx*4 + 0x57bb0]
xor ebp, dword [r13 + rax*4 + 0x573b0]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r8b
shr r11d, 8
xor ebp, dword [r13 + rcx*4 + 0x577b0]
xor ebp, dword [r13 + rax*4 + 0x587b0]
xor ebp, dword [rbx + 0x18]
movzx eax, r9b
mov ecx, r8d
shr rcx, 0x18
mov r14d, dword [r13 + rcx*4 + 0x573b0]
xor r14d, dword [r13 + rax*4 + 0x577b0]
movzx eax, r11b
xor r14d, dword [r13 + rax*4 + 0x57bb0]
movzx eax, r10b
xor r14d, dword [r13 + rax*4 + 0x587b0]
xor r14d, dword [rbx + 0x1c]
mov ebx, dword [rbx + 0x1e0]
sar ebx, 1
sub ebx, 1
je 0x164c601ef
nop word [rax + rax]
mov eax, ebp
mov edx, r14d
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
shr rdx, 0x18
mov r11d, dword [r13 + rdx*4 + 0x573b0]
xor r11d, dword [r13 + rcx*4 + 0x577b0]
movzx ecx, al
movzx eax, dil
xor r11d, dword [r13 + rcx*4 + 0x57bb0]
xor r11d, dword [r13 + rax*4 + 0x587b0]
mov eax, r14d
xor r11d, dword [r12]
shr eax, 0x10
movzx edx, al
mov eax, ebp
shr eax, 8
movzx ecx, al
mov eax, edi
mov r10d, dword [r13 + rdx*4 + 0x577b0]
shr rax, 0x18
xor r10d, dword [r13 + rcx*4 + 0x57bb0]
xor r10d, dword [r13 + rax*4 + 0x573b0]
movzx eax, sil
xor r10d, dword [r13 + rax*4 + 0x587b0]
mov eax, r14d
xor r10d, dword [r12 + 4]
shr eax, 8
movzx ecx, al
mov eax, esi
shr rax, 0x18
shr esi, 0x10
mov r9d, dword [r13 + rcx*4 + 0x57bb0]
xor r9d, dword [r13 + rax*4 + 0x573b0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
shr edi, 8
movzx eax, bpl
xor r9d, dword [r13 + rcx*4 + 0x577b0]
mov ecx, ebp
xor r9d, dword [r13 + rax*4 + 0x587b0]
xor r9d, dword [r12 + 8]
movzx eax, sil
shr rcx, 0x18
mov r8d, dword [r13 + rcx*4 + 0x573b0]
xor r8d, dword [r13 + rax*4 + 0x577b0]
movzx eax, dil
xor r8d, dword [r13 + rax*4 + 0x57bb0]
movzx eax, r14b
xor r8d, dword [r13 + rax*4 + 0x587b0]
mov eax, r9d
xor r8d, dword [r12 + 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov edx, r8d
shr rdx, 0x18
mov edi, dword [r13 + rdx*4 + 0x573b0]
xor edi, dword [r13 + rcx*4 + 0x577b0]
movzx ecx, al
movzx eax, r11b
xor edi, dword [r13 + rcx*4 + 0x57bb0]
xor edi, dword [r13 + rax*4 + 0x587b0]
mov eax, r8d
xor edi, dword [r12 + 0x10]
shr eax, 0x10
movzx edx, al
mov eax, r9d
shr eax, 8
movzx ecx, al
mov eax, r11d
mov esi, dword [r13 + rdx*4 + 0x577b0]
shr rax, 0x18
xor esi, dword [r13 + rcx*4 + 0x57bb0]
xor esi, dword [r13 + rax*4 + 0x573b0]
movzx eax, r10b
xor esi, dword [r13 + rax*4 + 0x587b0]
xor esi, dword [r12 + 0x14]
mov eax, r8d
shr eax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x18
shr r10d, 0x10
mov ebp, dword [r13 + rcx*4 + 0x57bb0]
xor ebp, dword [r13 + rax*4 + 0x573b0]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
shr r11d, 8
xor ebp, dword [r13 + rcx*4 + 0x577b0]
xor ebp, dword [r13 + rax*4 + 0x587b0]
xor ebp, dword [r12 + 0x18]
movzx eax, r10b
mov ecx, r9d
shr rcx, 0x18
mov r14d, dword [r13 + rcx*4 + 0x573b0]
xor r14d, dword [r13 + rax*4 + 0x577b0]
movzx eax, r11b
xor r14d, dword [r13 + rax*4 + 0x57bb0]
movzx eax, r8b
xor r14d, dword [r13 + rax*4 + 0x587b0]
xor r14d, dword [r12 + 0x1c]
add r12, 0x20
sub ebx, 1
jne 0x164c5ffe0
mov eax, ebp
mov edx, r14d
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
shr rdx, 0x18
mov r8d, dword [r13 + rdx*4 + 0x56fb0]
xor r8d, dword [r13 + rcx*4 + 0x56bb0]
movzx ecx, al
movzx eax, dil
xor r8d, dword [r13 + rcx*4 + 0x567b0]
xor r8d, dword [r13 + rax*4 + 0x563b0]
mov eax, r14d
xor r8d, dword [r12]
shr eax, 0x10
movzx edx, al
mov eax, ebp
shr eax, 8
movzx ecx, al
mov dword [r15], r8d
mov r8d, dword [r13 + rdx*4 + 0x56bb0]
mov eax, edi
xor r8d, dword [r13 + rcx*4 + 0x567b0]
shr rax, 0x18
xor r8d, dword [r13 + rax*4 + 0x56fb0]
movzx eax, sil
xor r8d, dword [r13 + rax*4 + 0x563b0]
mov eax, r14d
xor r8d, dword [r12 + 4]
shr eax, 8
movzx ecx, al
mov eax, esi
shr rax, 0x18
shr esi, 0x10
mov edx, dword [r13 + rcx*4 + 0x567b0]
mov dword [r15 + 4], r8d
xor edx, dword [r13 + rax*4 + 0x56fb0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, bpl
shr edi, 8
xor edx, dword [r13 + rcx*4 + 0x56bb0]
xor edx, dword [r13 + rax*4 + 0x563b0]
xor edx, dword [r12 + 8]
mov dword [r15 + 8], edx
movzx eax, sil
mov rsi, qword [rsp + 0x90]
mov ecx, ebp
mov rbp, qword [rsp + 0xd8]
shr rcx, 0x18
mov edx, dword [r13 + rcx*4 + 0x56fb0]
xor edx, dword [r13 + rax*4 + 0x56bb0]
movzx eax, dil
xor edx, dword [r13 + rax*4 + 0x567b0]
movzx eax, r14b
mov r14, qword [rsp + 0x80]
xor edx, dword [r13 + rax*4 + 0x563b0]
xor edx, dword [r12 + 0xc]
mov r12, qword [rsp + 0x88]
mov dword [r15 + 0xc], edx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0x98
pop r15
pop r13
pop rdi
pop rbx
ret
test dl, 1
lea rax, [0x164c47320]
cmove rax, r8
jmp 0x164c60361
test qword [0x164cb3630], 0x100
je 0x164c60361
movsxd rax, dword [rbx + 0x1e4]
mov rax, qword [r13 + rax*8 + 0x58bb0]
test rax, rax
je 0x164c5fe88
mov ecx, dword [rbx + 0x1e0]
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], 1
call qword [0x164c92120]
jmp 0x164c6031a