Function at 0x14001045c
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
xor r8d, r8d
mov r10d, 0x11b
lea edx, [r8 + 1]
movsxd rax, r8d
mov byte [rbp + rax], dl
lea eax, [r8 + 0xff]
movsxd rcx, eax
movsxd rax, edx
mov byte [rbp + rcx], dl
mov byte [rsp + rax], r8b
mov eax, edx
and al, 0x80
inc r8d
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
and ecx, r10d
xor ecx, eax
xor edx, ecx
cmp edx, 1
jne 0x14001047a
xor r8d, r8d
lea r9, [0x14004df00]
mov eax, edx
mov byte [r9], dl
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
inc r8d
and ecx, r10d
inc r9
mov edx, ecx
xor edx, eax
cmp r8d, 0x1e
jb 0x1400104ba
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140010505
movzx eax, r10b
movzx ecx, byte [rsp + rax]
mov eax, 0xff
sub eax, ecx
cdqe
movzx ecx, byte [rbp + rax]
jmp 0x140010507
xor ecx, ecx
lea eax, [rcx + rcx]
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor ecx, eax
mov edx, ecx
xor edx, 0x6300
sar edx, 8
xor edx, ecx
mov byte [r8 + r11 + 0x4dd00], dl
mov byte [r11 + r8*4 + 0x4eb21], dl
mov byte [r11 + r8*4 + 0x4eb20], dl
mov byte [r11 + r8*4 + 0x4e723], dl
mov byte [r11 + r8*4 + 0x4e720], dl
mov byte [r11 + r8*4 + 0x4e323], dl
mov byte [r11 + r8*4 + 0x4e322], dl
mov byte [r11 + r8*4 + 0x4df22], dl
mov byte [r11 + r8*4 + 0x4df21], dl
test dl, dl
je 0x14001057f
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x19]
jmp 0x140010581
xor eax, eax
mov byte [r11 + r8*4 + 0x4eb23], al
mov byte [r11 + r8*4 + 0x4e722], al
mov byte [r11 + r8*4 + 0x4e321], al
mov byte [r11 + r8*4 + 0x4df20], al
test dl, dl
je 0x1400105b3
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 1]
jmp 0x1400105b5
xor eax, eax
mov byte [r11 + r8*4 + 0x4eb22], al
mov byte [r11 + r8*4 + 0x4e721], al
mov byte [r11 + r8*4 + 0x4e320], al
mov byte [r11 + r8*4 + 0x4df23], al
movzx r9d, r10b
mov eax, r9d
shl eax, 3
xor eax, r9d
shl eax, 2
xor eax, r9d
add eax, eax
mov ecx, eax
sar ecx, 8
xor cl, al
cmp cl, 5
je 0x14001062d
mov edx, r9d
shl edx, 3
xor edx, r9d
shl edx, 2
xor edx, r9d
add edx, edx
mov eax, edx
sar eax, 8
movzx ecx, al
movzx eax, dl
xor rcx, rax
xor rcx, 5
movzx eax, byte [rsp + rcx]
mov ecx, 0xff
sub ecx, eax
movsxd rax, ecx
mov dl, byte [rbp + rax]
jmp 0x14001062f
xor dl, dl
mov byte [r8 + r11 + 0x4de00], dl
test dl, dl
je 0x140010649
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x68]
jmp 0x14001064b
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x4fb22], al
mov byte [r11 + r8*4 + 0x4f721], al
mov byte [r11 + r8*4 + 0x4f320], al
mov byte [r11 + rcx*4 + 0x50b22], al
mov byte [r11 + rcx*4 + 0x50721], al
mov byte [r11 + rcx*4 + 0x50320], al
mov byte [r11 + rcx*4 + 0x4ff23], al
mov byte [r11 + r8*4 + 0x4ef23], al
test dl, dl
je 0x1400106a1
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xc7]
jmp 0x1400106a4
xor r9d, r9d
mov byte [r11 + r8*4 + 0x4fb20], r9b
mov byte [r11 + r8*4 + 0x4f723], r9b
mov byte [r11 + r8*4 + 0x4f322], r9b
mov byte [r11 + r8*4 + 0x4ef21], r9b
mov byte [r11 + rcx*4 + 0x50b20], r9b
mov byte [r11 + rcx*4 + 0x50723], r9b
mov byte [r11 + rcx*4 + 0x50322], r9b
mov byte [r11 + rcx*4 + 0x4ff21], r9b
test dl, dl
je 0x1400106f7
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xee]
jmp 0x1400106fa
xor r9d, r9d
mov byte [r11 + r8*4 + 0x4fb21], r9b
mov byte [r11 + r8*4 + 0x4f720], r9b
mov byte [r11 + r8*4 + 0x4f323], r9b
mov byte [r11 + r8*4 + 0x4ef22], r9b
mov byte [r11 + rcx*4 + 0x50b21], r9b
mov byte [r11 + rcx*4 + 0x50720], r9b
mov byte [r11 + rcx*4 + 0x50323], r9b
mov byte [r11 + rcx*4 + 0x4ff22], r9b
test dl, dl
je 0x14001074c
movzx eax, byte [rsp + rcx]
movzx edx, byte [rbp + rax + 0xdf]
jmp 0x14001074e
xor edx, edx
mov byte [r11 + r8*4 + 0x4fb23], dl
inc r10d
mov byte [r11 + r8*4 + 0x4f722], dl
mov byte [r11 + r8*4 + 0x4f321], dl
mov byte [r11 + r8*4 + 0x4ef20], dl
inc r8
mov byte [r11 + rcx*4 + 0x50b23], dl
mov byte [r11 + rcx*4 + 0x50722], dl
mov byte [r11 + rcx*4 + 0x50321], dl
mov byte [r11 + rcx*4 + 0x4ff20], dl
cmp r10d, 0x100
jl 0x1400104e8
add rsp, 0x300
pop rbp
ret