Function at 0x451300
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
mov eax, edx
add eax, eax
add eax, eax
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 0x45162d
cmp edx, 0xc
jle 0x451424
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
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]
mov ecx, eax
shl ecx, 4
shr eax, 0x1c
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 6
shr eax, 0x1a
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 8
shr eax, 0x18
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 0x13
shr eax, 0xd
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 4
shr eax, 0x1c
or ecx, eax
mov 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 0x451342
nop
cmp edx, 6
jg 0x451480
cmp edx, 6
je 0x45153f
cmp edx, 3
jg 0x451465
cmp edx, 3
je 0x4514ff
sub edx, 1
cmp edx, 0xffffffff
je 0x4514cf
test edx, edx
je 0x4514d7
sub edx, 1
test edx, edx
jne 0x4518cf
jmp 0x4514eb
sub edx, 4
test edx, edx
je 0x451513
sub edx, 1
test edx, edx
jne 0x4518cf
jmp 0x451521
cmp edx, 0xa
jg 0x4514b4
cmp edx, 0xa
je 0x4515bb
sub edx, 7
test edx, edx
je 0x45155d
sub edx, 1
test edx, edx
je 0x45157b
sub edx, 1
test edx, edx
jne 0x4518cf
jmp 0x451593
sub edx, 0xb
test edx, edx
je 0x4515e3
sub edx, 1
test edx, edx
jne 0x4518cf
jmp 0x45160b
mov eax, dword [rbp + 0xc]
jmp 0x45197a
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xff
add dword [rbp + 0x14], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffff
add dword [rbp + 0x14], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffffff
add dword [rbp + 0x14], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
and eax, 0xff
add dword [rbp + 0x10], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
and eax, 0xffff
add dword [rbp + 0x10], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
and eax, 0xffffff
add dword [rbp + 0x10], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
and eax, 0xff
add dword [rbp + 0xc], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
and eax, 0xffff
add dword [rbp + 0xc], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
and eax, 0xffffff
add dword [rbp + 0xc], eax
jmp 0x4518cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
add dword [rbp + 0xc], eax
jmp 0x4518cf
cmp edx, 0xc
jle 0x45179c
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]
mov ecx, eax
shl ecx, 4
shr eax, 0x1c
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 6
shr eax, 0x1a
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 8
shr eax, 0x18
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 0x13
shr eax, 0xd
or ecx, eax
mov 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]
mov ecx, eax
shl ecx, 4
shr eax, 0x1c
or ecx, eax
mov 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 0x451636
nop
cmp edx, 6
jg 0x4517ec
cmp edx, 6
je 0x45187c
cmp edx, 3
jg 0x4517d5
cmp edx, 3
je 0x4518a6
sub edx, 1
cmp edx, 0xffffffff
je 0x45181d
test edx, edx
je 0x4518c4
sub edx, 1
test edx, edx
jne 0x451825
jmp 0x4518b5
sub edx, 4
test edx, edx
je 0x451897
sub edx, 1
test edx, edx
jne 0x451825
jmp 0x45188b
cmp edx, 0xa
jg 0x45180d
cmp edx, 0xa
je 0x451843
sub edx, 7
test edx, edx
je 0x45186d
sub edx, 1
test edx, edx
je 0x45185e
sub edx, 1
test edx, edx
jne 0x451825
jmp 0x451852
sub edx, 0xb
test edx, edx
je 0x451834
sub edx, 1
test edx, edx
jne 0x451825
jmp 0x451825
mov eax, dword [rbp + 0xc]
jmp 0x45197a
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 0xb]
shl eax, 0x18
add dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 0xa]
shl eax, 0x10
add dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 9]
shl eax, 8
add dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 8]
add dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 7]
shl eax, 0x18
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 6]
shl eax, 0x10
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 5]
shl eax, 8
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 4]
add dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 3]
shl eax, 0x18
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 2]
shl eax, 0x10
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax + 1]
shl eax, 8
add dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x18]
movzx rax, byte [rax]
add dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x10]
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
mov ecx, eax
shl ecx, 0xe
shr eax, 0x12
or ecx, eax
mov eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
mov ecx, eax
shl ecx, 0xb
shr eax, 0x15
or ecx, eax
mov eax, ecx
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
mov ecx, eax
shl ecx, 0x19
shr eax, 7
or ecx, eax
mov eax, ecx
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
mov ecx, eax
shl ecx, 4
shr eax, 0x1c
or ecx, eax
mov eax, ecx
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
mov ecx, eax
shl ecx, 0xe
shr eax, 0x12
or ecx, eax
mov eax, ecx
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
mov ecx, eax
shl ecx, 0x18
shr eax, 8
or ecx, eax
mov eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
lea rsp, [rbp + 0x20]
pop rbp
ret