Function at 0x45ca90
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 0x45cdbd
cmp edx, 0xc
jle 0x45cbb4
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 0x45cad2
nop
cmp edx, 6
jg 0x45cc10
cmp edx, 6
je 0x45cccf
cmp edx, 3
jg 0x45cbf5
cmp edx, 3
je 0x45cc8f
sub edx, 1
cmp edx, 0xffffffff
je 0x45cc5f
test edx, edx
je 0x45cc67
sub edx, 1
test edx, edx
jne 0x45d05f
jmp 0x45cc7b
sub edx, 4
test edx, edx
je 0x45cca3
sub edx, 1
test edx, edx
jne 0x45d05f
jmp 0x45ccb1
cmp edx, 0xa
jg 0x45cc44
cmp edx, 0xa
je 0x45cd4b
sub edx, 7
test edx, edx
je 0x45cced
sub edx, 1
test edx, edx
je 0x45cd0b
sub edx, 1
test edx, edx
jne 0x45d05f
jmp 0x45cd23
sub edx, 0xb
test edx, edx
je 0x45cd73
sub edx, 1
test edx, edx
jne 0x45d05f
jmp 0x45cd9b
mov eax, dword [rbp + 0xc]
jmp 0x45d10a
mov rax, qword [rbp + 0x18]
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffff
add dword [rbp + 0x14], eax
jmp 0x45d05f
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
and eax, 0xffffff
add dword [rbp + 0x14], eax
jmp 0x45d05f
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
add dword [rbp + 0x14], eax
jmp 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
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 0x45d05f
cmp edx, 0xc
jle 0x45cf2c
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 0x45cdc6
nop
cmp edx, 6
jg 0x45cf7c
cmp edx, 6
je 0x45d00c
cmp edx, 3
jg 0x45cf65
cmp edx, 3
je 0x45d036
sub edx, 1
cmp edx, 0xffffffff
je 0x45cfad
test edx, edx
je 0x45d054
sub edx, 1
test edx, edx
jne 0x45cfb5
jmp 0x45d045
sub edx, 4
test edx, edx
je 0x45d027
sub edx, 1
test edx, edx
jne 0x45cfb5
jmp 0x45d01b
cmp edx, 0xa
jg 0x45cf9d
cmp edx, 0xa
je 0x45cfd3
sub edx, 7
test edx, edx
je 0x45cffd
sub edx, 1
test edx, edx
je 0x45cfee
sub edx, 1
test edx, edx
jne 0x45cfb5
jmp 0x45cfe2
sub edx, 0xb
test edx, edx
je 0x45cfc4
sub edx, 1
test edx, edx
jne 0x45cfb5
jmp 0x45cfb5
mov eax, dword [rbp + 0xc]
jmp 0x45d10a
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