Function at 0x140090d34
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140191630]
xor rax, rsp
mov qword [rbp + 0x200], rax
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 0x140090d63
xor r8d, r8d
lea r9, [0x1401d8e10]
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 0x140090da3
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140090dee
movzx eax, r10b
movzx ecx, byte [rsp + rax]
mov eax, 0xff
sub eax, ecx
cdqe
movzx ecx, byte [rbp + rax]
jmp 0x140090df0
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 + 0x1d8c10], dl
mov byte [r11 + r8*4 + 0x1d9a31], dl
mov byte [r11 + r8*4 + 0x1d9a30], dl
mov byte [r11 + r8*4 + 0x1d9633], dl
mov byte [r11 + r8*4 + 0x1d9630], dl
mov byte [r11 + r8*4 + 0x1d9233], dl
mov byte [r11 + r8*4 + 0x1d9232], dl
mov byte [r11 + r8*4 + 0x1d8e32], dl
mov byte [r11 + r8*4 + 0x1d8e31], dl
test dl, dl
je 0x140090e68
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x19]
jmp 0x140090e6a
xor eax, eax
mov byte [r11 + r8*4 + 0x1d9a33], al
mov byte [r11 + r8*4 + 0x1d9632], al
mov byte [r11 + r8*4 + 0x1d9231], al
mov byte [r11 + r8*4 + 0x1d8e30], al
test dl, dl
je 0x140090e9c
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 1]
jmp 0x140090e9e
xor eax, eax
mov byte [r11 + r8*4 + 0x1d9a32], al
mov byte [r11 + r8*4 + 0x1d9631], al
mov byte [r11 + r8*4 + 0x1d9230], al
mov byte [r11 + r8*4 + 0x1d8e33], 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 0x140090f16
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 0x140090f18
xor dl, dl
mov byte [r8 + r11 + 0x1d8d10], dl
test dl, dl
je 0x140090f32
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x68]
jmp 0x140090f34
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x1daa32], al
mov byte [r11 + r8*4 + 0x1da631], al
mov byte [r11 + r8*4 + 0x1da230], al
mov byte [r11 + rcx*4 + 0x1dba32], al
mov byte [r11 + rcx*4 + 0x1db631], al
mov byte [r11 + rcx*4 + 0x1db230], al
mov byte [r11 + rcx*4 + 0x1dae33], al
mov byte [r11 + r8*4 + 0x1d9e33], al
test dl, dl
je 0x140090f8a
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xc7]
jmp 0x140090f8d
xor r9d, r9d
mov byte [r11 + r8*4 + 0x1daa30], r9b
mov byte [r11 + r8*4 + 0x1da633], r9b
mov byte [r11 + r8*4 + 0x1da232], r9b
mov byte [r11 + r8*4 + 0x1d9e31], r9b
mov byte [r11 + rcx*4 + 0x1dba30], r9b
mov byte [r11 + rcx*4 + 0x1db633], r9b
mov byte [r11 + rcx*4 + 0x1db232], r9b
mov byte [r11 + rcx*4 + 0x1dae31], r9b
test dl, dl
je 0x140090fe0
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xee]
jmp 0x140090fe3
xor r9d, r9d
mov byte [r11 + r8*4 + 0x1daa31], r9b
mov byte [r11 + r8*4 + 0x1da630], r9b
mov byte [r11 + r8*4 + 0x1da233], r9b
mov byte [r11 + r8*4 + 0x1d9e32], r9b
mov byte [r11 + rcx*4 + 0x1dba31], r9b
mov byte [r11 + rcx*4 + 0x1db630], r9b
mov byte [r11 + rcx*4 + 0x1db233], r9b
mov byte [r11 + rcx*4 + 0x1dae32], r9b
test dl, dl
je 0x140091035
movzx eax, byte [rsp + rcx]
movzx edx, byte [rbp + rax + 0xdf]
jmp 0x140091037
xor edx, edx
mov byte [r11 + r8*4 + 0x1daa33], dl
inc r10d
mov byte [r11 + r8*4 + 0x1da632], dl
mov byte [r11 + r8*4 + 0x1da231], dl
mov byte [r11 + r8*4 + 0x1d9e30], dl
inc r8
mov byte [r11 + rcx*4 + 0x1dba33], dl
mov byte [r11 + rcx*4 + 0x1db632], dl
mov byte [r11 + rcx*4 + 0x1db231], dl
mov byte [r11 + rcx*4 + 0x1dae30], dl
cmp r10d, 0x100
jl 0x140090dd1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140100ed0
add rsp, 0x310
pop rbp
ret