Function at 0x140076e0c
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x318
mov rax, qword [0x1401006f0]
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 0x140076e32
lea r8, [0x14017cb00]
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 0x140076e6f
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140076eb7
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rsp + 0x1ff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x140076eb9
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 + 0x17cc20], dl
mov byte [r11 + r8*4 + 0x17bb01], dl
mov byte [r11 + r8*4 + 0x17bb00], dl
mov byte [r11 + r8*4 + 0x17bf03], dl
mov byte [r11 + r8*4 + 0x17bf00], dl
mov byte [r11 + r8*4 + 0x17c303], dl
mov byte [r11 + r8*4 + 0x17c302], dl
mov byte [r11 + r8*4 + 0x17c702], dl
mov byte [r11 + r8*4 + 0x17c701], dl
je 0x140076f2f
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x119]
jmp 0x140076f31
xor eax, eax
mov byte [r11 + r8*4 + 0x17bb03], al
mov byte [r11 + r8*4 + 0x17bf02], al
mov byte [r11 + r8*4 + 0x17c301], al
mov byte [r11 + r8*4 + 0x17c700], al
test dl, dl
je 0x140076f66
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x101]
jmp 0x140076f68
xor eax, eax
mov byte [r11 + r8*4 + 0x17bb02], al
mov byte [r11 + r8*4 + 0x17bf01], al
mov byte [r11 + r8*4 + 0x17c300], al
mov byte [r11 + r8*4 + 0x17c703], 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 0x140076fdf
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 0x140076fe1
xor dl, dl
mov byte [r8 + r11 + 0x17cb20], dl
test dl, dl
je 0x140076ffe
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x168]
jmp 0x140077000
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x17ab02], al
mov byte [r11 + r8*4 + 0x17af01], al
mov byte [r11 + r8*4 + 0x17b300], al
mov byte [r11 + r8*4 + 0x17b703], al
mov byte [r11 + rcx*4 + 0x179b02], al
mov byte [r11 + rcx*4 + 0x179f01], al
mov byte [r11 + rcx*4 + 0x17a300], al
mov byte [r11 + rcx*4 + 0x17a703], al
test dl, dl
je 0x140077056
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1c7]
jmp 0x140077059
xor r9d, r9d
mov byte [r11 + r8*4 + 0x17ab00], r9b
mov byte [r11 + r8*4 + 0x17af03], r9b
mov byte [r11 + r8*4 + 0x17b302], r9b
mov byte [r11 + r8*4 + 0x17b701], r9b
mov byte [r11 + rcx*4 + 0x179b00], r9b
mov byte [r11 + rcx*4 + 0x179f03], r9b
mov byte [r11 + rcx*4 + 0x17a302], r9b
mov byte [r11 + rcx*4 + 0x17a701], r9b
test dl, dl
je 0x1400770ac
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1ee]
jmp 0x1400770af
xor r9d, r9d
mov byte [r11 + r8*4 + 0x17ab01], r9b
mov byte [r11 + r8*4 + 0x17af00], r9b
mov byte [r11 + r8*4 + 0x17b303], r9b
mov byte [r11 + r8*4 + 0x17b702], r9b
mov byte [r11 + rcx*4 + 0x179b01], r9b
mov byte [r11 + rcx*4 + 0x179f00], r9b
mov byte [r11 + rcx*4 + 0x17a303], r9b
mov byte [r11 + rcx*4 + 0x17a702], r9b
test dl, dl
je 0x140077101
movzx eax, byte [rsp + rcx]
movzx edx, byte [rsp + rax + 0x1df]
jmp 0x140077103
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x17ab03], dl
mov byte [r11 + r8*4 + 0x17af02], dl
mov byte [r11 + r8*4 + 0x17b301], dl
mov byte [r11 + r8*4 + 0x17b700], dl
inc r8
cmp r10d, 0x100
mov byte [r11 + rcx*4 + 0x179b03], dl
mov byte [r11 + rcx*4 + 0x179f02], dl
mov byte [r11 + rcx*4 + 0x17a301], dl
mov byte [r11 + rcx*4 + 0x17a700], dl
jl 0x140076e9a
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x318
ret