Function at 0x1405aafcb
Capabilities:
Encode data using xor

Disassembly:
push rax
pushf
mov eax, 0x98b1f5cc
pushf
not eax
add eax, 0xb056c040
xor eax, 0xe7eb2c6f
rol eax, 0xf0
popf
pushf
not eax
add eax, 0xb7d464e6
xor eax, 0x9fd5fd96
rol eax, 0xcb
popf
pushf
not eax
add eax, 0xc8729237
xor eax, 0xb42a8fc3
rol eax, 0xe4
popf
cmp eax, 4
jne 0x1405ab01b
popf
pop rax
jmp 0x1405ab5fa
cmp eax, 0
jne 0x1405ab02a
popf
pop rax
jmp 0x1405ab057
cmp eax, 3
jne 0x1405ab039
popf
pop rax
jmp 0x1405ab58f
cmp eax, 1
jne 0x1405ab048
popf
pop rax
jmp 0x1405ab0e1
cmp eax, 2
jne 0x1405ab057
popf
pop rax
jmp 0x1405ab159
sub rsp, 8
cmp byte [rcx + 0x64], 0
mov rax, rcx
je 0x1405ab09b
push rax
pushf
mov eax, 0x4061f47f
pushf
not eax
add eax, 0xc14f7490
xor eax, 0xe5acf6a0
rol eax, 0x1f
popf
pushf
not eax
add eax, 0xcf1601db
xor eax, 0x9c554682
rol eax, 0xeb
popf
jmp 0x1405ab00c
push rax
pushf
mov eax, 0x4f8eeebe
pushf
not eax
add eax, 0x8d688c8e
xor eax, 0xff595c39
rol eax, 0xec
popf
pushf
not eax
add eax, 0xf70b22ab
xor eax, 0xef125d4a
rol eax, 0xd7
popf
pushf
not eax
add eax, 0xddec765e
xor eax, 0xe9e97968
rol eax, 0x86
popf
jmp 0x1405ab00c
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
push rax
pushf
mov eax, 0xd36a12b6
pushf
not eax
add eax, 0xb084d1de
xor eax, 0xfd209c25
rol eax, 0x20
popf
pushf
not eax
add eax, 0x820abd18
xor eax, 0x930b618f
rol eax, 0x80
popf
pushf
not eax
add eax, 0x82e52639
xor eax, 0xbe032ac9
rol eax, 0x69
popf
pushf
not eax
add eax, 0xdf875793
xor eax, 0xcb86b936
rol eax, 0xf5
popf
jmp 0x1405ab00c
lea rbx, [rsi + rdi]
mov r10d, 0xf4e20b78
pushf
not r10d
add r10d, 0x94a16ff7
xor r10d, 0x9f80ee72
rol r10d, 0xcb
popf
pushf
not r10d
add r10d, 0xc9ebc2b4
xor r10d, 0xc336db87
rol r10d, 0x82
popf
pushf
not r10d
add r10d, 0xf13e872a
xor r10d, 0xb687a2d5
rol r10d, 0x9c
popf
lea r8d, [rbx - 0x22]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
sub r10d, r11d
mov ecx, r10d
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 0xa27adf3
pushf
not ecx
add ecx, 0xba61a596
xor ecx, 0xada3f549
rol ecx, 0x8c
popf
pushf
not ecx
add ecx, 0x87bedccb
xor ecx, 0xe7922af1
rol ecx, 0x12
popf
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx - 0x21]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx - 0x20]
xor r8b, byte [rdi]
mov ecx, 0x5cc88650
pushf
not ecx
add ecx, 0xbb56b685
xor ecx, 0xf98a2768
rol ecx, 0x5a
popf
pushf
not ecx
add ecx, 0xefddb594
xor ecx, 0xe2f4c986
rol ecx, 0x86
popf
pushf
not ecx
add ecx, 0x852f7c4c
xor ecx, 0xb7d45024
rol ecx, 0xa6
popf
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx - 0x1f]
xor r8b, byte [rdi + 1]
mov ecx, 0x1527a67
pushf
not ecx
add ecx, 0xc8441472
xor ecx, 0xf6431c9e
rol ecx, 0x50
popf
pushf
not ecx
add ecx, 0x8beadfc2
xor ecx, 0xe93afc12
rol ecx, 0x18
popf
pushf
not ecx
add ecx, 0xbac81c82
xor ecx, 0xe05c1c3c
rol ecx, 0xb
popf
pushf
not ecx
add ecx, 0xfa382e75
xor ecx, 0xbcd79290
rol ecx, 0x98
popf
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx - 0x1e]
xor r8b, byte [rdi + 2]
mov ecx, 0xca7bb0a4
pushf
not ecx
add ecx, 0xf0c59e6f
xor ecx, 0xcaf662a1
rol ecx, 0xed
popf
pushf
not ecx
add ecx, 0x901fccf3
xor ecx, 0xc0367fdf
rol ecx, 0x1d
popf
pushf
not ecx
add ecx, 0xb9965a97
xor ecx, 0xc239e022
rol ecx, 0x74
popf
pushf
not ecx
add ecx, 0xe39c7a0c
xor ecx, 0x994d7a48
rol ecx, 0xdb
popf
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx - 0x1d]
xor r8b, byte [rdi + 3]
mov ecx, 0xd2d2f165
pushf
not ecx
add ecx, 0xe9326092
xor ecx, 0x8fe79ea8
rol ecx, 0x20
popf
pushf
not ecx
add ecx, 0xc94129cc
xor ecx, 0xe4025e08
rol ecx, 0xfe
popf
pushf
not ecx
add ecx, 0xdf3067f2
xor ecx, 0xec4dde5e
rol ecx, 0x57
popf
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx - 0x1c]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 0xd5b32b8c
pushf
not ecx
add ecx, 0xdf951223
xor ecx, 0xe7e2b1ba
rol ecx, 0
popf
pushf
not ecx
add ecx, 0xdd5f2031
xor ecx, 0xef5b4904
rol ecx, 0x34
popf
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 0xb]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 0x6b3fab8d
pushf
not ecx
add ecx, 0xc654b5d4
xor ecx, 0xa8976742
rol ecx, 0xd9
popf
pushf
not ecx
add ecx, 0xaf04a8d0
xor ecx, 0xdd40a997
rol ecx, 0x51
popf
pushf
not ecx
add ecx, 0xad391bd6
xor ecx, 0x99742b1b
rol ecx, 0xb
popf
sub ecx, r9d
mov byte [rdi - 7], dl
lea r8d, [rbx - 0x1b]
xor r8b, byte [rdi - 6]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 1]
or dl, r8b
mov ecx, r10d
mov byte [rdi - 6], dl
lea r8d, [rbx - 0x1a]
xor r8b, byte [rdi - 5]
and r9d, 7
movzx edx, r8b
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 0xb18ff360
pushf
not ecx
add ecx, 0xf20a69ca
xor ecx, 0x8701ceaf
rol ecx, 0x89
popf
pushf
not ecx
add ecx, 0xcacba148
xor ecx, 0xd3da13b9
rol ecx, 0x6c
popf
or dl, r8b
sub ecx, r9d
mov byte [rdi - 5], dl
lea r8d, [rbx - 0x19]
xor r8b, byte [rdi - 4]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 0xc4f70b4c
pushf
not ecx
add ecx, 0xbdadd759
xor ecx, 0x88920f21
rol ecx, 0x72
popf
pushf
not ecx
add ecx, 0xd2a24a8a
xor ecx, 0xc5ec89f4
rol ecx, 0xa2
popf
or dl, r8b
lea r8d, [rbx + 2]
mov byte [rdi - 4], dl
sub bl, 0x18
xor bl, byte [rdi - 3]
and r8d, 7
sub ecx, r8d
movzx edx, bl
shl dl, cl
movzx ecx, r8b
shr bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x63
jb 0x1405ab159
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x64], 0
push rax
pushf
mov eax, 0x608d011
pushf
not eax
add eax, 0xf643f913
xor eax, 0x8fb4ff10
rol eax, 0xb8
popf
pushf
not eax
add eax, 0x924fda80
xor eax, 0xa9c04dc5
rol eax, 0xa7
popf
pushf
not eax
add eax, 0x9852ce1d
xor eax, 0xe790f770
rol eax, 0xaf
popf
pushf
not eax
add eax, 0x84f4128a
xor eax, 0x8d37169a
rol eax, 0x13
popf
jmp 0x1405ab00c
add rsp, 8
ret