Function at 0x164c78740
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov qword [rbp - 0x31], rcx
test rax, rax
je 0x164c7908e
test rcx, rcx
je 0x164c7908e
movups xmm0, xmmword [rax]
mov qword [r11 - 0x10], rbx
movsd xmm1, qword [rax + 0x10]
lea rax, [rbp - 0x19]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
lea r12, [rbp - 0x19]
mov qword [r11 - 0x30], r13
lea r13, [0x164cab590]
sub r13, rax
mov qword [r11 - 0x38], r14
mov qword [r11 - 0x40], r15
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
lea r15, [rbp - 0x29]
mov qword [rbp - 0x39], 3
movsd qword [rbp - 9], xmm1
nop dword [rax + rax]
mov r14, rax
mov rsi, r13
nop word [rax + rax]
xor bl, bl
mov r11, r12
mov edi, 8
nop word [rax + rax]
movzx edx, byte [rsi + r11]
mov r8d, 0x14d
movzx ecx, byte [r11]
call fcn.164c77ce0
xor bl, al
lea r11, [r11 + 1]
sub rdi, 1
jne 0x164c78800
mov byte [r14 + r15], bl
add rsi, 8
inc r14
cmp r14, 4
jl 0x164c787f0
add r12, 8
sub r13, 8
add r15, 4
mov rax, rdi
sub qword [rbp - 0x39], 1
jne 0x164c787e0
mov r13, qword [rbp - 0x31]
xor r15d, r15d
mov esi, r15d
lea r14, [r13 + 0x1004]
nop dword [rax + rax]
movzx ebx, sil
mov dword [rsp + 0x20], r15d
add bl, bl
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x39]
mov byte [rbp - 0x31], bl
lea rcx, [rbp - 0x31]
mov byte [rbp - 0x30], bl
mov byte [rbp - 0x2f], bl
mov byte [rbp - 0x2e], bl
call fcn.164c77ec0
mov edi, dword [rbp - 0x39]
lea r8, [rbp - 0x19]
inc bl
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x39]
mov byte [rbp - 0x31], bl
lea rcx, [rbp - 0x31]
mov byte [rbp - 0x30], bl
mov byte [rbp - 0x2f], bl
mov byte [rbp - 0x2e], bl
call fcn.164c77ec0
mov ecx, dword [rbp - 0x39]
lea r14, [r14 + 8]
rol ecx, 8
inc esi
lea eax, [rcx + rdi]
shr ecx, 1
add ecx, edi
mov dword [r14 - 0xc], eax
rol ecx, 9
mov dword [r14 - 8], ecx
cmp esi, 0x14
jl 0x164c78860
movzx r14d, byte [rbp - 0x1e]
lea rdi, [0x164cab510]
movzx r12d, byte [rbp - 0x1f]
add r13, 0x800
nop dword [rax]
mov edx, r15d
mov r10d, r15d
shr edx, 4
movzx eax, r15b
and al, 0xf
shl r10, 3
movzx ecx, al
mov r8d, edx
mov r11d, ecx
and r8d, 0xf
shr rcx, 1
xor r11, r8
or r10, rcx
mov eax, edx
shl rax, 3
xor r10, rax
movzx r9d, byte [r11 + rdi]
xor r10, r8
and r10d, 0xf
movzx edx, byte [r10 + rdi + 0x10]
movzx r8d, byte [r10 + rdi + 0x50]
movzx eax, dl
shl al, 3
lea r10, [0x164cab510]
mov ecx, edx
xor rdx, r9
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
mov eax, r9d
xor rcx, r9
movzx eax, r8b
and ecx, 0xf
shl al, 3
movzx esi, byte [rcx + rdi + 0x30]
mov ecx, r8d
shr rcx, 1
or rcx, rax
shl sil, 4
add sil, byte [rdx + rdi + 0x20]
movzx edx, byte [r11 + rdi + 0x40]
xor r8, rdx
movzx eax, dl
shl al, 3
xor rcx, rax
xor rcx, rdx
and ecx, 0xf
movzx edi, byte [rcx + rdi + 0x70]
shl dil, 4
add dil, byte [r8 + r10 + 0x60]
movzx ecx, dil
xor cl, byte [rbp - 0x29]
movzx eax, cl
and cl, 0xf
shr al, 4
movzx r8d, al
movzx edx, cl
mov eax, r8d
xor rax, rdx
mov ecx, edx
shr rcx, 1
movzx r9d, byte [rax + r10]
movzx eax, dl
shl al, 3
or rcx, rax
movzx eax, r8b
shl al, 3
xor rcx, rax
xor rcx, r8
and ecx, 0xf
movzx r8d, byte [rcx + r10 + 0x10]
movzx eax, r8b
mov ecx, r8d
shl al, 3
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
xor r8, r9
and ecx, 0xf
movzx edx, byte [rcx + r10 + 0x30]
shl dl, 4
add dl, byte [r8 + r10 + 0x20]
xor dl, byte [rbp - 0x25]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, ecx
mov edx, ecx
xor rax, r8
shr rdx, 1
movzx r9d, byte [rax + r10]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + r10 + 0x10]
movzx eax, r8b
mov ecx, r8d
shl al, 3
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
mov eax, r9d
xor rax, r8
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + r10 + 0x30]
shl dl, 4
add dl, byte [rax + r10 + 0x20]
xor dl, byte [rbp - 0x21]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, r8d
xor rax, rcx
mov edx, ecx
shr rdx, 1
movzx r9d, byte [rax + r10 + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + r10 + 0x50]
mov edx, 0xef
movzx eax, r8b
mov ecx, r8d
shr rcx, 1
shl al, 3
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
mov eax, r9d
xor rcx, r9
xor rax, r8
and ecx, 0xf
lea r8d, [rdx + 0x7a]
movzx ecx, byte [rcx + r10 + 0x70]
shl cl, 4
add cl, byte [rax + r10 + 0x60]
movzx ebx, cl
mov ecx, ebx
call fcn.164c77ce0
mov edx, 0x5b
mov r8d, 0x169
mov ecx, ebx
mov r11d, eax
call fcn.164c77ce0
xor dil, byte [rbp - 0x28]
mov ecx, r11d
shl ecx, 8
or ecx, r11d
shl ecx, 8
or eax, ecx
shl eax, 8
or eax, ebx
mov dword [r13 - 0x800], eax
movzx eax, dil
shr al, 4
and dil, 0xf
movzx r8d, al
movzx ecx, dil
mov eax, r8d
xor rax, rcx
lea rdi, [0x164cab510]
mov edx, ecx
shr rdx, 1
movzx r9d, byte [rax + rdi + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x50]
movzx eax, r8b
mov ecx, r8d
shl al, 3
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
mov eax, r9d
xor rax, r8
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + rdi + 0x70]
shl dl, 4
add dl, byte [rax + rdi + 0x60]
xor dl, byte [rbp - 0x24]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, ecx
mov edx, ecx
xor rax, r8
shr rdx, 1
movzx r9d, byte [rax + rdi]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x10]
movzx eax, r8b
mov ecx, r8d
shl al, 3
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
mov eax, r9d
xor rax, r8
movzx edx, byte [rcx + rdi + 0x30]
shl dl, 4
add dl, byte [rax + rdi + 0x20]
xor dl, byte [rbp - 0x20]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, r8d
xor rax, rcx
mov edx, ecx
shr rdx, 1
movzx r9d, byte [rax + rdi]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x10]
mov edx, 0xef
movzx eax, r8b
mov ecx, r8d
shr rcx, 1
xor r8, r9
shl al, 3
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx ecx, byte [rcx + rdi + 0x30]
shl cl, 4
add cl, byte [r8 + rdi + 0x20]
lea r8d, [rdx + 0x7a]
movzx r11d, cl
mov ecx, r11d
call fcn.164c77ce0
mov edx, 0x5b
mov r8d, 0x169
mov ecx, r11d
mov ebx, eax
call fcn.164c77ce0
shl r11d, 8
movzx ecx, sil
xor cl, byte [rbp - 0x27]
or eax, r11d
shl eax, 8
or eax, ebx
shl eax, 8
or eax, ebx
mov dword [r13 - 0x400], eax
movzx eax, cl
and cl, 0xf
shr al, 4
movzx edx, cl
movzx r8d, al
mov ecx, edx
shr rcx, 1
mov eax, edx
xor rax, r8
movzx r9d, byte [rax + rdi]
movzx eax, dl
shl al, 3
or rcx, rax
movzx eax, r8b
shl al, 3
xor rcx, rax
xor rcx, r8
and ecx, 0xf
movzx r8d, byte [rcx + rdi + 0x10]
mov ecx, r8d
shr rcx, 1
movzx eax, r8b
xor r8, r9
shl al, 3
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + rdi + 0x30]
shl dl, 4
add dl, byte [r8 + rdi + 0x20]
xor dl, byte [rbp - 0x23]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, ecx
mov edx, ecx
xor rax, r8
shr rdx, 1
movzx r9d, byte [rax + rdi + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x50]
movzx eax, r8b
mov ecx, r8d
shl al, 3
xor r8, r9
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + rdi + 0x70]
shl dl, 4
add dl, byte [r8 + rdi + 0x60]
xor dl, r12b
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, r8d
xor rax, rcx
mov edx, ecx
shr rdx, 1
movzx r9d, byte [rax + rdi + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x50]
movzx eax, r8b
mov ecx, r8d
shr rcx, 1
shl al, 3
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx ecx, byte [rcx + rdi + 0x70]
shl cl, 4
xor r8, r9
add cl, byte [r8 + rdi + 0x60]
mov edx, 0xef
movzx ebx, cl
mov ecx, ebx
lea r8d, [rdx + 0x7a]
call fcn.164c77ce0
mov edx, 0x5b
mov r8d, 0x169
mov ecx, ebx
mov r11d, eax
call fcn.164c77ce0
xor sil, byte [rbp - 0x26]
mov ecx, r11d
shl ecx, 8
or ecx, ebx
shl ecx, 8
or ecx, r11d
shl ecx, 8
or eax, ecx
mov dword [r13], eax
movzx eax, sil
shr al, 4
and sil, 0xf
movzx r8d, al
movzx ecx, sil
mov eax, ecx
mov edx, ecx
xor rax, r8
shr rdx, 1
movzx r9d, byte [rax + rdi + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x50]
movzx eax, r8b
mov ecx, r8d
shl al, 3
xor r8, r9
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + rdi + 0x70]
shl dl, 4
add dl, byte [r8 + rdi + 0x60]
xor dl, byte [rbp - 0x22]
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, r8d
xor rax, rcx
mov edx, ecx
shr rdx, 1
movzx r9d, byte [rax + rdi + 0x40]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x50]
movzx eax, r8b
mov ecx, r8d
shl al, 3
shr rcx, 1
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor r8, r9
xor rcx, r9
and ecx, 0xf
movzx edx, byte [rcx + rdi + 0x70]
shl dl, 4
add dl, byte [r8 + rdi + 0x60]
xor dl, r14b
movzx eax, dl
and dl, 0xf
shr al, 4
movzx r8d, al
movzx ecx, dl
mov eax, ecx
mov edx, ecx
xor rax, r8
shr rdx, 1
movzx r9d, byte [rax + rdi]
movzx eax, cl
shl al, 3
or rdx, rax
movzx eax, r8b
shl al, 3
xor rdx, rax
mov eax, r8d
xor rdx, r8
and edx, 0xf
movzx r8d, byte [rdx + rdi + 0x10]
mov edx, 0x5b
movzx eax, r8b
mov ecx, r8d
shr rcx, 1
xor r8, r9
shl al, 3
or rcx, rax
movzx eax, r9b
shl al, 3
xor rcx, rax
xor rcx, r9
and ecx, 0xf
movzx ecx, byte [rcx + rdi + 0x30]
shl cl, 4
add cl, byte [r8 + rdi + 0x20]
mov r8d, 0x169
movzx ebx, cl
mov ecx, ebx
call fcn.164c77ce0
mov edx, 0xef
mov ecx, ebx
mov r11d, eax
lea r8d, [rdx + 0x7a]
call fcn.164c77ce0
mov ecx, r11d
lea r13, [r13 + 4]
shl ecx, 8
inc r15d
or eax, ecx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, r11d
mov dword [r13 + 0x3fc], eax
cmp r15d, 0x100
jl 0x164c788f0
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0xc0
pop rbp
ret