Function at 0x1400280b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x600d0
call fcn.140040840
sub rsp, rax
mov rax, qword [0x14006f5c0]
xor rax, rsp
mov qword [rsp + 0x600c0], rax
mov rdi, qword [r9]
lea r13, [rcx + rdx]
mov r14, rcx
mov qword [rsp + 0x58], rcx
lea rcx, [r13 - 2]
mov qword [rsp + 0x90], r8
mov rsi, r8
mov qword [rsp + 0x88], rcx
lea r15, [r8 + rdi]
mov qword [rsp + 0x68], r8
lea rax, [r15 - 1]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xc0]
xor eax, eax
mov qword [rsp + 0x78], r9
mov rbx, rdx
mov qword [rsp + 0x60], rax
mov r12, r8
mov qword [rsp + 0x70], r13
xor edx, edx
mov qword [rsp + 0x48], r15
mov r8d, 0x40000
mov qword [rsp + 0xa8], r14
xor ebp, ebp
mov qword [rsp + 0xb0], r13
call sub.msvcrt.dll_memset
test rbx, rbx
jne 0x140028190
cmp rdi, 4
jb 0x140028616
mov eax, 0xffffffff
mov dword [r12], eax
mov rax, qword [rsp + 0x78]
mov qword [rax], 4
xor eax, eax
jmp 0x14002861b
cmp rdi, 5
jb 0x140028616
movzx eax, byte [r14]
lea r11, [r14 + 1]
mov byte [rsi + 4], al
lea rcx, [r13 - 2]
add rsi, 5
mov dl, 1
mov byte [rsp + 0x20], dl
mov rax, r11
mov ebx, 0xffffffff
mov r8d, 1
cmp r11, rcx
jae 0x140028596
lea rax, [rsi + 4]
mov qword [rsp + 0x30], rax
lea r15, [rsi + 2]
lea rax, [rsi + 6]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x28], rax
mov rax, r11
nop dword [rax + rax]
cmp rsi, qword [rsp + 0x80]
jae 0x140028586
cmp r14, rax
ja 0x140028294
mov rcx, qword [rsp + 0xb8]
cmp r14, rcx
jb 0x14002821b
mov qword [rsp + 0x58], rcx
jmp 0x140028294
movzx r8d, byte [r14]
lea rax, [r14 + 0x2000]
mov r9d, r14d
mov r10, rcx
sub r9d, dword [rsp + 0xa8]
and r9d, 0x3fff
cmp rax, rcx
cmovb r10, rax
movzx eax, byte [r14 + 1]
shl r8d, 5
xor r8d, eax
cmp r14, r10
jae 0x14002828f
movzx eax, byte [r14 + 2]
lea rdx, [rsp + 0xc0]
shl r8d, 5
xor r8d, eax
mov ecx, r9d
and r8d, 0x7fff
mov rax, qword [rdx + r8*8]
lea rdx, [rdx + r8*8]
mov qword [rsp + r9*8 + 0x400c0], rax
inc r9d
mov qword [rdx], r14
inc r14
cmp r14, r10
jb 0x140028253
mov qword [rsp + 0x58], r10
mov rax, qword [rsp + 0xb0]
add ebp, ebp
add rbx, r11
mov dword [rsp + 0x40], ebp
cmp rbx, r11
jb 0x1400282af
cmp rbx, rax
jb 0x1400282b2
mov rbx, rax
mov r15, qword [rsp + 0xa8]
lea r12, [r11 - 0x2000]
movzx r13d, word [r11]
lea r10, [rbx - 4]
mov eax, r11d
mov edi, 2
sub eax, r15d
and eax, 0x3fff
lea ebp, [rdi + 9]
mov r9, qword [rsp + rax*8 + 0x400c0]
cmp r9, r12
jb 0x140028372
cmp word [r9], r13w
jne 0x140028352
mov rax, r11
mov rdx, r9
cmp r11, r10
jae 0x140028320
nop
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x140028320
add rdx, 4
add rax, 4
cmp rax, r10
jb 0x140028300
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
movzx r8d, byte [rax]
inc rax
cmp rax, rbx
jae 0x140028337
cmp cl, r8b
je 0x140028320
sub eax, r11d
dec eax
cmp eax, edi
jbe 0x140028352
mov r14d, r11d
mov edi, eax
sub r14d, r9d
mov dword [rsp + 0x50], r14d
cmp eax, 0x30
jae 0x140028372
mov eax, r9d
sub eax, r15d
and eax, 0x3fff
mov r9, qword [rsp + rax*8 + 0x400c0]
mov eax, 0xffffffff
add ebp, eax
jne 0x1400282e4
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x38]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
cmp edi, 3
jae 0x1400283bb
movzx eax, byte [r11]
inc r9
mov ebp, dword [rsp + 0x40]
inc r15
mov byte [rsi], al
mov r8d, 1
inc rsi
mov qword [rsp + 0x28], r9
inc r10
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r10
jmp 0x140028517
movzx eax, word [rsp + 0x50]
lea edx, [rdi - 3]
mov ecx, 7
mov r8d, edi
cmp edx, ecx
cmovb cx, dx
dec ax
shl ax, 3
add r9, 2
or cx, ax
mov qword [rsp + 0x28], r9
add r15, 2
mov word [rsi], cx
add r10, 2
mov qword [rsp + 0x38], r15
add rsi, 2
mov qword [rsp + 0x30], r10
cmp edx, 7
jb 0x140028510
mov rbx, qword [rsp + 0x60]
add edx, 0xfffffff9
test rbx, rbx
je 0x140028433
mov ecx, 0xf
movzx eax, dl
cmp edx, ecx
cmovb ecx, eax
shl cl, 4
or byte [rbx], cl
mov rbx, qword [rsp + 0x48]
xor edi, edi
mov qword [rsp + 0x60], rdi
jmp 0x140028472
mov rbx, qword [rsp + 0x48]
cmp rsi, rbx
jae 0x140028616
mov ecx, 0xf
movzx eax, dl
cmp edx, ecx
mov qword [rsp + 0x60], rsi
cmovb ecx, eax
inc r9
inc r15
mov byte [rsi], cl
inc r10
mov qword [rsp + 0x28], r9
inc rsi
mov qword [rsp + 0x38], r15
xor edi, edi
mov qword [rsp + 0x30], r10
cmp edx, 0xf
jb 0x140028510
add edx, 0xfffffff1
cmp rsi, rbx
jae 0x140028616
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovb ecx, eax
inc r9
inc r15
mov byte [rsi], cl
inc r10
mov qword [rsp + 0x28], r9
inc rsi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r10
cmp edx, 0xff
jb 0x140028510
add edx, 0x16
cmp edx, 0xffff
ja 0x1400284e2
cmp r15, rbx
ja 0x140028616
mov word [rsi], dx
add r9, 2
add rsi, 2
add r15, 2
add r10, 2
jmp 0x140028501
cmp r9, rbx
ja 0x140028616
mov word [rsi], di
add r9, 6
mov dword [r15], edx
add rsi, 6
add r15, 6
add r10, 6
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x28], r9
mov ebp, dword [rsp + 0x40]
or ebp, 1
movzx edx, byte [rsp + 0x20]
add r11, r8
inc dl
mov rax, r11
mov byte [rsp + 0x20], dl
cmp dl, 0x20
jne 0x14002856e
mov rcx, qword [rsp + 0x68]
xor dl, dl
mov byte [rsp + 0x20], dl
mov dword [rcx], ebp
cmp r10, qword [rsp + 0x48]
ja 0x140028616
add r9, 4
mov qword [rsp + 0x68], rsi
add r15, 4
mov qword [rsp + 0x28], r9
mov r12, rsi
mov qword [rsp + 0x38], r15
add rsi, 4
add r10, 4
mov qword [rsp + 0x30], r10
jmp 0x140028573
mov r12, qword [rsp + 0x68]
mov ebx, 0xffffffff
cmp r11, qword [rsp + 0x88]
jb 0x1400281f0
mov r13, qword [rsp + 0x70]
mov r8d, 1
mov r15, qword [rsp + 0x48]
cmp rax, r13
jae 0x1400285de
lea rcx, [rsi + 4]
nop
cmp rsi, r15
jae 0x1400285db
movzx eax, byte [r11]
inc rcx
mov byte [rsi], al
add ebp, ebp
inc rsi
inc dl
inc r11
mov rax, r11
cmp dl, 0x20
jne 0x1400285d6
xor dl, dl
mov dword [r12], ebp
cmp rcx, r15
ja 0x140028616
mov r12, rsi
add rsi, 4
add rcx, 4
cmp r11, r13
jb 0x1400285a0
cmp rax, r13
jne 0x140028616
test dl, dl
je 0x1400285fb
movzx eax, dl
mov ecx, 0x20
sub ecx, eax
shl r8d, cl
dec r8d
shl ebp, cl
or r8d, ebp
jmp 0x1400285fe
mov r8d, ebx
mov rax, qword [rsp + 0x78]
sub rsi, qword [rsp + 0x90]
mov dword [r12], r8d
mov qword [rax], rsi
xor eax, eax
jmp 0x14002861b
mov eax, 0xfffffffb
mov rcx, qword [rsp + 0x600c0]
xor rcx, rsp
call fcn.1400408d0
mov rbx, qword [rsp + 0x60118]
add rsp, 0x600d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret