Function at 0x45b850
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 0x45bb77
cmp edx, 0xc
jle 0x45b96e
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]
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 0x45b892
nop
cmp edx, 6
jg 0x45b9ca
cmp edx, 6
je 0x45ba89
cmp edx, 3
jg 0x45b9af
cmp edx, 3
je 0x45ba49
sub edx, 1
cmp edx, 0xffffffff
je 0x45ba19
test edx, edx
je 0x45ba21
sub edx, 1
test edx, edx
jne 0x45be13
jmp 0x45ba35
sub edx, 4
test edx, edx
je 0x45ba5d
sub edx, 1
test edx, edx
jne 0x45be13
jmp 0x45ba6b
cmp edx, 0xa
jg 0x45b9fe
cmp edx, 0xa
je 0x45bb05
sub edx, 7
test edx, edx
je 0x45baa7
sub edx, 1
test edx, edx
je 0x45bac5
sub edx, 1
test edx, edx
jne 0x45be13
jmp 0x45badd
sub edx, 0xb
test edx, edx
je 0x45bb2d
sub edx, 1
test edx, edx
jne 0x45be13
jmp 0x45bb55
mov eax, dword [rbp + 0xc]
jmp 0x45beb7
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xff
add dword [rbp + 0x14], eax
jmp 0x45be13
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffff
add dword [rbp + 0x14], eax
jmp 0x45be13
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffffff
add dword [rbp + 0x14], eax
jmp 0x45be13
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
jmp 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
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 0x45be13
cmp edx, 0xc
jle 0x45bce0
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 0x45bb80
nop
cmp edx, 6
jg 0x45bd30
cmp edx, 6
je 0x45bdc0
cmp edx, 3
jg 0x45bd19
cmp edx, 3
je 0x45bdea
sub edx, 1
cmp edx, 0xffffffff
je 0x45bd61
test edx, edx
je 0x45be08
sub edx, 1
test edx, edx
jne 0x45bd69
jmp 0x45bdf9
sub edx, 4
test edx, edx
je 0x45bddb
sub edx, 1
test edx, edx
jne 0x45bd69
jmp 0x45bdcf
cmp edx, 0xa
jg 0x45bd51
cmp edx, 0xa
je 0x45bd87
sub edx, 7
test edx, edx
je 0x45bdb1
sub edx, 1
test edx, edx
je 0x45bda2
sub edx, 1
test edx, edx
jne 0x45bd69
jmp 0x45bd96
sub edx, 0xb
test edx, edx
je 0x45bd78
sub edx, 1
test edx, edx
jne 0x45bd69
jmp 0x45bd69
mov eax, dword [rbp + 0xc]
jmp 0x45beb7
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]
shl eax, 0xe
mov ecx, dword [rbp + 0x10]
shr ecx, 0x12
or eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 0xb
mov ecx, dword [rbp + 0xc]
shr ecx, 0x15
or eax, ecx
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 0x19
mov ecx, dword [rbp + 0x14]
shr ecx, 7
or eax, ecx
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 0x10
mov ecx, dword [rbp + 0x10]
shr ecx, 0x10
or eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
xor dword [rbp + 0x14], eax
mov eax, dword [rbp + 0xc]
shl eax, 4
mov ecx, dword [rbp + 0xc]
shr ecx, 0x1c
or eax, ecx
sub dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
xor dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x14]
shl eax, 0xe
mov ecx, dword [rbp + 0x14]
shr ecx, 0x12
or eax, ecx
sub dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
xor dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x10]
shl eax, 0x18
mov ecx, dword [rbp + 0x10]
shr ecx, 8
or eax, ecx
sub dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
lea rsp, [rbp + 0x20]
pop rbp
ret