Function at 0x140004a88
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 0x140004aa6
xor r8d, r8d
lea r9, [0x14003a020]
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 0x140004ae6
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140004b31
movzx eax, r10b
movzx ecx, byte [rsp + rax]
mov eax, 0xff
sub eax, ecx
cdqe
movzx ecx, byte [rbp + rax]
jmp 0x140004b33
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 + 0x39e20], dl
mov byte [r11 + r8*4 + 0x3ac41], dl
mov byte [r11 + r8*4 + 0x3ac40], dl
mov byte [r11 + r8*4 + 0x3a843], dl
mov byte [r11 + r8*4 + 0x3a840], dl
mov byte [r11 + r8*4 + 0x3a443], dl
mov byte [r11 + r8*4 + 0x3a442], dl
mov byte [r11 + r8*4 + 0x3a042], dl
mov byte [r11 + r8*4 + 0x3a041], dl
test dl, dl
je 0x140004bab
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x19]
jmp 0x140004bad
xor eax, eax
mov byte [r11 + r8*4 + 0x3ac43], al
mov byte [r11 + r8*4 + 0x3a842], al
mov byte [r11 + r8*4 + 0x3a441], al
mov byte [r11 + r8*4 + 0x3a040], al
test dl, dl
je 0x140004bdf
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 1]
jmp 0x140004be1
xor eax, eax
mov byte [r11 + r8*4 + 0x3ac42], al
mov byte [r11 + r8*4 + 0x3a841], al
mov byte [r11 + r8*4 + 0x3a440], al
mov byte [r11 + r8*4 + 0x3a043], 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 0x140004c59
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 0x140004c5b
xor dl, dl
mov byte [r8 + r11 + 0x39f20], dl
test dl, dl
je 0x140004c75
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x68]
jmp 0x140004c77
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x3bc42], al
mov byte [r11 + r8*4 + 0x3b841], al
mov byte [r11 + r8*4 + 0x3b440], al
mov byte [r11 + rcx*4 + 0x3cc42], al
mov byte [r11 + rcx*4 + 0x3c841], al
mov byte [r11 + rcx*4 + 0x3c440], al
mov byte [r11 + rcx*4 + 0x3c043], al
mov byte [r11 + r8*4 + 0x3b043], al
test dl, dl
je 0x140004ccd
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xc7]
jmp 0x140004cd0
xor r9d, r9d
mov byte [r11 + r8*4 + 0x3bc40], r9b
mov byte [r11 + r8*4 + 0x3b843], r9b
mov byte [r11 + r8*4 + 0x3b442], r9b
mov byte [r11 + r8*4 + 0x3b041], r9b
mov byte [r11 + rcx*4 + 0x3cc40], r9b
mov byte [r11 + rcx*4 + 0x3c843], r9b
mov byte [r11 + rcx*4 + 0x3c442], r9b
mov byte [r11 + rcx*4 + 0x3c041], r9b
test dl, dl
je 0x140004d23
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xee]
jmp 0x140004d26
xor r9d, r9d
mov byte [r11 + r8*4 + 0x3bc41], r9b
mov byte [r11 + r8*4 + 0x3b840], r9b
mov byte [r11 + r8*4 + 0x3b443], r9b
mov byte [r11 + r8*4 + 0x3b042], r9b
mov byte [r11 + rcx*4 + 0x3cc41], r9b
mov byte [r11 + rcx*4 + 0x3c840], r9b
mov byte [r11 + rcx*4 + 0x3c443], r9b
mov byte [r11 + rcx*4 + 0x3c042], r9b
test dl, dl
je 0x140004d78
movzx eax, byte [rsp + rcx]
movzx edx, byte [rbp + rax + 0xdf]
jmp 0x140004d7a
xor edx, edx
mov byte [r11 + r8*4 + 0x3bc43], dl
inc r10d
mov byte [r11 + r8*4 + 0x3b842], dl
mov byte [r11 + r8*4 + 0x3b441], dl
mov byte [r11 + r8*4 + 0x3b040], dl
inc r8
mov byte [r11 + rcx*4 + 0x3cc43], dl
mov byte [r11 + rcx*4 + 0x3c842], dl
mov byte [r11 + rcx*4 + 0x3c441], dl
mov byte [r11 + rcx*4 + 0x3c040], dl
cmp r10d, 0x100
jl 0x140004b14
add rsp, 0x300
pop rbp
ret