Function at 0x140032f4c
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x318
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x300], rax
xor r8d, r8d
mov r10d, 0x11b
lea edx, [r8 + 1]
movsxd rax, r8d
mov byte [rsp + rax + 0x100], dl
mov byte [rsp + rax + 0x1ff], dl
movsxd rax, edx
mov byte [rsp + rax], r8b
mov eax, edx
inc r8d
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
and ecx, r10d
xor ecx, eax
xor edx, ecx
cmp edx, 1
jne 0x140032f72
lea r8, [0x14006bd20]
lea r9d, [rdx + 0x1d]
mov eax, edx
mov byte [r8], dl
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
inc r8
and ecx, r10d
mov edx, ecx
xor edx, eax
sub r9, 1
jne 0x140032faf
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140032ff7
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rsp + 0x1ff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x140032ff9
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
sar edx, 8
xor dl, cl
xor dl, 0x63
mov byte [r8 + r11 + 0x6be40], dl
mov byte [r11 + r8*4 + 0x6ad21], dl
mov byte [r11 + r8*4 + 0x6ad20], dl
mov byte [r11 + r8*4 + 0x6b123], dl
mov byte [r11 + r8*4 + 0x6b120], dl
mov byte [r11 + r8*4 + 0x6b523], dl
mov byte [r11 + r8*4 + 0x6b522], dl
mov byte [r11 + r8*4 + 0x6b922], dl
mov byte [r11 + r8*4 + 0x6b921], dl
je 0x14003306f
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x119]
jmp 0x140033071
xor eax, eax
mov byte [r11 + r8*4 + 0x6ad23], al
mov byte [r11 + r8*4 + 0x6b122], al
mov byte [r11 + r8*4 + 0x6b521], al
mov byte [r11 + r8*4 + 0x6b920], al
test dl, dl
je 0x1400330a6
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x101]
jmp 0x1400330a8
xor eax, eax
mov byte [r11 + r8*4 + 0x6ad22], al
mov byte [r11 + r8*4 + 0x6b121], al
mov byte [r11 + r8*4 + 0x6b520], al
mov byte [r11 + r8*4 + 0x6b923], 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
xor cl, 5
je 0x14003311f
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]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
mov dl, byte [rcx]
jmp 0x140033121
xor dl, dl
mov byte [r8 + r11 + 0x6bd40], dl
test dl, dl
je 0x14003313e
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x168]
jmp 0x140033140
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x69d22], al
mov byte [r11 + r8*4 + 0x6a121], al
mov byte [r11 + r8*4 + 0x6a520], al
mov byte [r11 + r8*4 + 0x6a923], al
mov byte [r11 + rcx*4 + 0x68d22], al
mov byte [r11 + rcx*4 + 0x69121], al
mov byte [r11 + rcx*4 + 0x69520], al
mov byte [r11 + rcx*4 + 0x69923], al
test dl, dl
je 0x140033196
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1c7]
jmp 0x140033199
xor r9d, r9d
mov byte [r11 + r8*4 + 0x69d20], r9b
mov byte [r11 + r8*4 + 0x6a123], r9b
mov byte [r11 + r8*4 + 0x6a522], r9b
mov byte [r11 + r8*4 + 0x6a921], r9b
mov byte [r11 + rcx*4 + 0x68d20], r9b
mov byte [r11 + rcx*4 + 0x69123], r9b
mov byte [r11 + rcx*4 + 0x69522], r9b
mov byte [r11 + rcx*4 + 0x69921], r9b
test dl, dl
je 0x1400331ec
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1ee]
jmp 0x1400331ef
xor r9d, r9d
mov byte [r11 + r8*4 + 0x69d21], r9b
mov byte [r11 + r8*4 + 0x6a120], r9b
mov byte [r11 + r8*4 + 0x6a523], r9b
mov byte [r11 + r8*4 + 0x6a922], r9b
mov byte [r11 + rcx*4 + 0x68d21], r9b
mov byte [r11 + rcx*4 + 0x69120], r9b
mov byte [r11 + rcx*4 + 0x69523], r9b
mov byte [r11 + rcx*4 + 0x69922], r9b
test dl, dl
je 0x140033241
movzx eax, byte [rsp + rcx]
movzx edx, byte [rsp + rax + 0x1df]
jmp 0x140033243
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x69d23], dl
mov byte [r11 + r8*4 + 0x6a122], dl
mov byte [r11 + r8*4 + 0x6a521], dl
mov byte [r11 + r8*4 + 0x6a920], dl
inc r8
cmp r10d, 0x100
mov byte [r11 + rcx*4 + 0x68d23], dl
mov byte [r11 + rcx*4 + 0x69122], dl
mov byte [r11 + rcx*4 + 0x69521], dl
mov byte [r11 + rcx*4 + 0x69920], dl
jl 0x140032fda
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400407f0
add rsp, 0x318
ret