Function at 0x4cf410
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
mov eax, edx
add eax, r8d
add eax, 0xdeadbeef
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0xc], eax
mov qword [rbp + 0x18], rcx
mov eax, dword [rbp + 0x18]
test eax, 3
jne 0x4cf6fb
cmp edx, 0xc
jle 0x4cf522
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov ecx, dword [rax + 4]
add dword [rbp + 0x10], ecx
mov eax, dword [rax + 8]
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 4
mov ecx, dword [rbp + 0xc]
shr ecx, 0x1c
or eax, ecx
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 6
mov ecx, dword [rbp + 0x14]
shr ecx, 0x1a
or eax, ecx
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
add dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 8
mov ecx, dword [rbp + 0x10]
shr ecx, 0x18
or eax, ecx
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
add dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 0x10
mov ecx, dword [rbp + 0xc]
shr ecx, 0x10
or eax, ecx
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 0x13
mov ecx, dword [rbp + 0x14]
shr ecx, 0xd
or eax, ecx
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
add dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 4
mov ecx, dword [rbp + 0x10]
shr ecx, 0x1c
or eax, ecx
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
add dword [rbp + 0x10], eax
sub edx, 0xc
add qword [rbp + 0x18], 0xc
cmp edx, 0xc
jg 0x4cf44e
nop
cmp edx, 6
jg 0x4cf57e
cmp edx, 6
je 0x4cf639
cmp edx, 3
jg 0x4cf563
cmp edx, 3
je 0x4cf5fd
sub edx, 1
cmp edx, 0xffffffff
je 0x4cf5cd
test edx, edx
je 0x4cf5d5
sub edx, 1
test edx, edx
jne 0x4cf997
jmp 0x4cf5e9
sub edx, 4
test edx, edx
je 0x4cf611
sub edx, 1
test edx, edx
jne 0x4cf997
jmp 0x4cf61f
cmp edx, 0xa
jg 0x4cf5b2
cmp edx, 0xa
je 0x4cf6a1
sub edx, 7
test edx, edx
je 0x4cf653
sub edx, 1
test edx, edx
je 0x4cf66d
sub edx, 1
test edx, edx
jne 0x4cf997
jmp 0x4cf681
sub edx, 0xb
test edx, edx
je 0x4cf6c1
sub edx, 1
test edx, edx
jne 0x4cf997
jmp 0x4cf6e1
mov eax, dword [rbp + 0xc]
jmp 0x4cfa3b
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xff
add dword [rbp + 0x14], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffff
add dword [rbp + 0x14], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffffff
add dword [rbp + 0x14], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov eax, dword [rax + 4]
and eax, 0xff
add dword [rbp + 0x10], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov eax, dword [rax + 4]
and eax, 0xffff
add dword [rbp + 0x10], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov eax, dword [rax + 4]
and eax, 0xffffff
add dword [rbp + 0x10], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov ecx, dword [rax + 4]
add dword [rbp + 0x10], ecx
mov eax, dword [rax + 8]
and eax, 0xff
add dword [rbp + 0xc], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov ecx, dword [rax + 4]
add dword [rbp + 0x10], ecx
mov eax, dword [rax + 8]
and eax, 0xffff
add dword [rbp + 0xc], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov ecx, dword [rax + 4]
add dword [rbp + 0x10], ecx
mov eax, dword [rax + 8]
and eax, 0xffffff
add dword [rbp + 0xc], eax
jmp 0x4cf997
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
add dword [rbp + 0x14], ecx
mov ecx, dword [rax + 4]
add dword [rbp + 0x10], ecx
mov eax, dword [rax + 8]
add dword [rbp + 0xc], eax
jmp 0x4cf997
cmp edx, 0xc
jle 0x4cf864
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax]
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 1]
shl ecx, 8
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 2]
shl ecx, 0x10
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 3]
shl ecx, 0x18
add eax, ecx
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 4]
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 5]
shl ecx, 8
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 6]
shl ecx, 0x10
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 7]
shl ecx, 0x18
add eax, ecx
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 8]
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 9]
shl ecx, 8
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 0xa]
shl ecx, 0x10
add eax, ecx
mov rcx, qword [rbp + 0x18]
movzx rcx, byte [rcx + 0xb]
shl ecx, 0x18
add eax, ecx
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 4
mov ecx, dword [rbp + 0xc]
shr ecx, 0x1c
or eax, ecx
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 6
mov ecx, dword [rbp + 0x14]
shr ecx, 0x1a
or eax, ecx
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
add dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 8
mov ecx, dword [rbp + 0x10]
shr ecx, 0x18
or eax, ecx
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
add dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 0x10
mov ecx, dword [rbp + 0xc]
shr ecx, 0x10
or eax, ecx
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
add dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 0x13
mov ecx, dword [rbp + 0x14]
shr ecx, 0xd
or eax, ecx
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc]
add dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 4
mov ecx, dword [rbp + 0x10]
shr ecx, 0x1c
or eax, ecx
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x14]
add dword [rbp + 0x10], eax
sub edx, 0xc
add qword [rbp + 0x18], 0xc
cmp edx, 0xc
jg 0x4cf704
nop
cmp edx, 6
jg 0x4cf8b4
cmp edx, 6
je 0x4cf944
cmp edx, 3
jg 0x4cf89d
cmp edx, 3
je 0x4cf96e
sub edx, 1
cmp edx, 0xffffffff
je 0x4cf8e5
test edx, edx
je 0x4cf98c
sub edx, 1
test edx, edx
jne 0x4cf8ed
jmp 0x4cf97d
sub edx, 4
test edx, edx
je 0x4cf95f
sub edx, 1
test edx, edx
jne 0x4cf8ed
jmp 0x4cf953
cmp edx, 0xa
jg 0x4cf8d5
cmp edx, 0xa
je 0x4cf90b
sub edx, 7
test edx, edx
je 0x4cf935
sub edx, 1
test edx, edx
je 0x4cf926
sub edx, 1
test edx, edx
sub edx, 0xb
test edx, edx
je 0x4cf8fc
sub edx, 1
test edx, edx
jne 0x4cf8ed
jmp 0x4cf8ed
mov eax, dword [rbp + 0xc]
jmp 0x4cfa3b