Function at 0x164c603b0
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 rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x88
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x1e8]
lea r13, [0x164c40000]
xor esi, esi
mov rdi, rcx
mov r12, rdx
mov rbp, r8
mov ebx, esi
test al, al
je 0x164c6043e
mov rcx, qword [r8 + 0x1f0]
test rcx, rcx
je 0x164c60431
mov dword [rsp + 0x30], esi
lea r9d, [rsi + 0x10]
mov r8, rdx
mov byte [rsp + 0x28], bl
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call fcn.164c73600
cmp rax, 0x10
je 0x164c60971
jmp 0x164c6045a
test al, 1
je 0x164c6045a
lea rbx, [0x164c470e0]
jmp 0x164c6045a
test qword [0x164cb3630], 0x100
je 0x164c6045a
movsxd rax, dword [rbp + 0x1e4]
mov rbx, qword [r13 + rax*8 + 0x58bf0]
lea rcx, [rbp + 0xf0]
test rbx, rbx
je 0x164c604a0
mov qword [rsp + 0x50], rcx
mov rax, rbx
mov ecx, dword [rbp + 0x1e0]
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 1
call qword [0x164c92120]
jmp 0x164c60971
mov r11d, dword [rdi + 0xc]
xor r11d, dword [rcx + 0xc]
mov r9d, dword [rdi + 8]
mov eax, r11d
xor r9d, dword [rcx + 8]
mov r10d, dword [rdi + 4]
xor r10d, dword [rcx + 4]
mov ebx, dword [rdi]
xor ebx, dword [rcx]
mov ebp, dword [rbp + 0x1e0]
shr eax, 8
movzx r8d, al
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov qword [rsp + 0xd8], r14
mov r14d, dword [r13 + r8*4 + 0x55fb0]
mov qword [rsp + 0x80], r15
xor r14d, dword [r13 + rdx*4 + 0x55bb0]
mov eax, r10d
shr rax, 0x18
mov r8d, r11d
shr r8, 0x18
sar ebp, 1
xor r14d, dword [r13 + rax*4 + 0x557b0]
movzx eax, bl
mov esi, dword [r13 + r8*4 + 0x557b0]
xor r14d, dword [r13 + rax*4 + 0x583b0]
mov eax, r11d
xor r14d, dword [rcx + 0x10]
shr eax, 0x10
movzx edx, al
mov eax, r9d
shr rax, 0x18
mov edi, dword [r13 + rdx*4 + 0x55bb0]
xor edi, dword [r13 + rax*4 + 0x557b0]
mov eax, ebx
shr eax, 8
movzx edx, al
movzx eax, r10b
xor edi, dword [r13 + rdx*4 + 0x55fb0]
xor edi, dword [r13 + rax*4 + 0x583b0]
mov eax, r10d
xor edi, dword [rcx + 0x14]
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
shr r10d, 0x10
xor esi, dword [r13 + rdx*4 + 0x55fb0]
movzx edx, al
movzx eax, r9b
shr r9d, 8
xor esi, dword [r13 + rdx*4 + 0x55bb0]
xor esi, dword [r13 + rax*4 + 0x583b0]
xor esi, dword [rcx + 0x18]
movzx eax, r10b
movzx edx, r9b
mov r15d, dword [r13 + rdx*4 + 0x55fb0]
xor r15d, dword [r13 + rax*4 + 0x55bb0]
mov eax, ebx
shr rax, 0x18
xor r15d, dword [r13 + rax*4 + 0x557b0]
movzx eax, r11b
xor r15d, dword [r13 + rax*4 + 0x583b0]
xor r15d, dword [rcx + 0x1c]
add rcx, 0x20
sub ebp, 1
je 0x164c607e5
nop
mov eax, r15d
shr eax, 8
movzx r8d, al
mov eax, esi
shr eax, 0x10
movzx edx, al
mov eax, edi
mov ebx, dword [r13 + r8*4 + 0x55fb0]
shr rax, 0x18
xor ebx, dword [r13 + rdx*4 + 0x55bb0]
mov r8d, r15d
shr r8, 0x18
xor ebx, dword [r13 + rax*4 + 0x557b0]
movzx eax, r14b
mov r10d, dword [r13 + r8*4 + 0x557b0]
xor ebx, dword [r13 + rax*4 + 0x583b0]
mov eax, r15d
xor ebx, dword [rcx]
shr eax, 0x10
movzx edx, al
mov eax, esi
shr rax, 0x18
mov r11d, dword [r13 + rdx*4 + 0x55bb0]
xor r11d, dword [r13 + rax*4 + 0x557b0]
mov eax, r14d
shr eax, 8
movzx edx, al
movzx eax, dil
xor r11d, dword [r13 + rdx*4 + 0x55fb0]
xor r11d, dword [r13 + rax*4 + 0x583b0]
mov eax, edi
xor r11d, dword [rcx + 4]
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
shr edi, 0x10
xor r10d, dword [r13 + rdx*4 + 0x55fb0]
movzx edx, al
movzx eax, sil
shr esi, 8
xor r10d, dword [r13 + rdx*4 + 0x55bb0]
xor r10d, dword [r13 + rax*4 + 0x583b0]
xor r10d, dword [rcx + 8]
movzx eax, dil
movzx edx, sil
mov r9d, dword [r13 + rdx*4 + 0x55fb0]
xor r9d, dword [r13 + rax*4 + 0x55bb0]
mov eax, r14d
shr rax, 0x18
xor r9d, dword [r13 + rax*4 + 0x557b0]
movzx eax, r15b
xor r9d, dword [r13 + rax*4 + 0x583b0]
xor r9d, dword [rcx + 0xc]
mov eax, r9d
shr eax, 8
movzx r8d, al
mov eax, r10d
shr eax, 0x10
movzx edx, al
mov eax, r11d
mov r14d, dword [r13 + r8*4 + 0x55fb0]
shr rax, 0x18
xor r14d, dword [r13 + rdx*4 + 0x55bb0]
xor r14d, dword [r13 + rax*4 + 0x557b0]
movzx eax, bl
xor r14d, dword [r13 + rax*4 + 0x583b0]
mov eax, r9d
xor r14d, dword [rcx + 0x10]
shr eax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 0x18
mov edi, dword [r13 + rdx*4 + 0x55bb0]
xor edi, dword [r13 + rax*4 + 0x557b0]
mov eax, ebx
shr eax, 8
movzx edx, al
movzx eax, r11b
xor edi, dword [r13 + rdx*4 + 0x55fb0]
xor edi, dword [r13 + rax*4 + 0x583b0]
xor edi, dword [rcx + 0x14]
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
shr r11d, 0x10
mov r8d, r9d
shr r8, 0x18
mov esi, dword [r13 + r8*4 + 0x557b0]
xor esi, dword [r13 + rdx*4 + 0x55fb0]
movzx edx, al
movzx eax, r10b
shr r10d, 8
xor esi, dword [r13 + rdx*4 + 0x55bb0]
xor esi, dword [r13 + rax*4 + 0x583b0]
xor esi, dword [rcx + 0x18]
movzx eax, r11b
movzx edx, r10b
mov r15d, dword [r13 + rdx*4 + 0x55fb0]
xor r15d, dword [r13 + rax*4 + 0x55bb0]
mov eax, ebx
shr rax, 0x18
xor r15d, dword [r13 + rax*4 + 0x557b0]
movzx eax, r9b
xor r15d, dword [r13 + rax*4 + 0x583b0]
xor r15d, dword [rcx + 0x1c]
add rcx, 0x20
sub ebp, 1
jne 0x164c605e0
mov eax, esi
shr eax, 0x10
movzx edx, al
mov eax, r15d
shr eax, 8
mov r8d, dword [r13 + rdx*4 + 0x57fb0]
movzx edx, al
and r8d, 0xff0000
mov eax, dword [r13 + rdx*4 + 0x57fb0]
and eax, 0xff00
xor r8d, eax
mov eax, edi
shr rax, 0x18
mov edx, dword [r13 + rax*4 + 0x57fb0]
and edx, 0xff000000
movzx eax, r14b
xor r8d, edx
movzx eax, byte [r13 + rax*4 + 0x57fb0]
xor r8d, eax
mov eax, r15d
xor r8d, dword [rcx]
shr eax, 0x10
movzx edx, al
mov dword [r12], r8d
mov eax, esi
shr rax, 0x18
mov r8d, dword [r13 + rdx*4 + 0x57fb0]
and r8d, 0xff0000
mov eax, dword [r13 + rax*4 + 0x57fb0]
and eax, 0xff000000
xor r8d, eax
mov eax, r14d
shr eax, 8
movzx edx, al
mov eax, dword [r13 + rdx*4 + 0x57fb0]
and eax, 0xff00
xor r8d, eax
movzx eax, dil
movzx eax, byte [r13 + rax*4 + 0x57fb0]
xor r8d, eax
mov eax, r14d
xor r8d, dword [rcx + 4]
shr eax, 0x10
movzx edx, al
mov dword [r12 + 4], r8d
mov eax, r15d
shr rax, 0x18
mov r8d, dword [r13 + rdx*4 + 0x57fb0]
and r8d, 0xff0000
mov eax, dword [r13 + rax*4 + 0x57fb0]
and eax, 0xff000000
xor r8d, eax
mov eax, edi
shr eax, 8
movzx edx, al
shr edi, 0x10
mov eax, dword [r13 + rdx*4 + 0x57fb0]
and eax, 0xff00
xor r8d, eax
movzx eax, sil
shr esi, 8
movzx eax, byte [r13 + rax*4 + 0x57fb0]
xor r8d, eax
movzx eax, dil
xor r8d, dword [rcx + 8]
mov dword [r12 + 8], r8d
mov r8d, dword [r13 + rax*4 + 0x57fb0]
and r8d, 0xff0000
movzx eax, sil
mov edx, dword [r13 + rax*4 + 0x57fb0]
and edx, 0xff00
mov eax, r14d
shr rax, 0x18
xor r8d, edx
mov eax, dword [r13 + rax*4 + 0x57fb0]
and eax, 0xff000000
xor r8d, eax
movzx eax, r15b
movzx eax, byte [r13 + rax*4 + 0x57fb0]
xor r8d, eax
xor r8d, dword [rcx + 0xc]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0xd8]
mov dword [r12 + 0xc], r8d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0x88
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret