Function at 0x14000ed90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, rcx
cmp dword [rsp + 0xc0], 0
je 0x14000edc5
mov rcx, rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140011810
mov r11, qword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov edi, 1
mov ecx, r10d
shl edi, cl
mov ebp, 1
lea ebx, [rdi - 1]
mov esi, r8d
inc esi
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], r10
mov qword [rsp + 0x18], r15
jne 0x14000ee1d
mov dword [rax], 1
mov dword [rax + 4], r10d
mov ecx, edi
shr ecx, 1
mov edx, edi
shr edx, 3
jmp 0x14000f0fd
mov qword [rsp], rdi
lea ecx, [r10 - 1]
mov r14d, 0x10000
shl r14d, cl
sar r14d, 0x10
mov r13d, esi
xor r12d, r12d
test r8d, r8d
mov qword [rsp + 0x10], r13
je 0x14000eef2
and r13d, 0xfffffffe
xor r15d, r15d
mov r8d, ebx
jmp 0x14000ee82
mov ecx, r8d
dec r8d
lea r9d, [r15 + 1]
mov dword [rax + rcx*8 + 0xc], r9d
mov cx, 1
mov word [r11 + r15*2 + 2], cx
add r15, 2
cmp r13, r15
je 0x14000eee5
movsx ecx, word [rdx + r15*2]
cmp ecx, 0xffffffff
je 0x14000eeb0
cmp r14d, ecx
cmovle ebp, r12d
mov word [r11 + r15*2], cx
movsx ecx, word [rdx + r15*2 + 2]
cmp ecx, 0xffffffff
jne 0x14000eecf
jmp 0x14000ee60
mov ecx, r8d
dec r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov cx, 1
mov word [r11 + r15*2], cx
movsx ecx, word [rdx + r15*2 + 2]
cmp ecx, 0xffffffff
je 0x14000ee60
cmp r14d, ecx
cmovle ebp, r12d
mov word [r11 + r15*2 + 2], cx
add r15, 2
cmp r13, r15
jne 0x14000ee82
mov r13, qword [rsp + 0x10]
test r13b, 1
jne 0x14000ef03
jmp 0x14000ef2d
xor r15d, r15d
mov r8d, ebx
mov r13, qword [rsp + 0x10]
test r13b, 1
je 0x14000ef2d
movsx ecx, word [rdx + r15*2]
cmp ecx, 0xffffffff
je 0x14000ef19
xor r9d, r9d
cmp r14d, ecx
cmovle ebp, r9d
jmp 0x14000ef28
mov ecx, r8d
dec r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov cx, 1
mov word [r11 + r15*2], cx
mov dword [rax], ebp
mov rcx, qword [rsp + 8]
mov dword [rax + 4], ecx
mov rcx, qword [rsp]
mov r9d, ecx
shr r9d, 3
cmp r8d, ebx
jne 0x14000f032
mov qword [rsp + 0x28], r9
lea r8, [r11 + 0x6a]
lea rcx, [r11 + 0x82]
mov qword [rsp + 0x30], rcx
xor r12d, r12d
movabs rdi, 0x101010101010101
xor ebp, ebp
xor r14d, r14d
jmp 0x14000ef96
movsx rcx, r15w
add rbp, rcx
inc r12
add r14, rdi
cmp r12, r13
je 0x14000f0f0
movzx r15d, word [rdx + r12*2]
mov qword [r8 + rbp], r14
cmp r15w, 9
jl 0x14000ef80
cmp r15, 0x11
mov esi, 0x10
cmovae rsi, r15
add rsi, 0xfffffffffffffff7
mov ecx, 8
cmp rsi, 0x18
jb 0x14000f014
shr rsi, 3
inc rsi
mov r13, rsi
and r13, 0xfffffffffffffffc
lea rcx, [r13*8 + 8]
movq xmm0, r14
pshufd xmm0, xmm0, 0x44
mov r9, qword [rsp + 0x30]
lea r10, [r9 + rbp]
xor r9d, r9d
nop
movdqu xmmword [r10 + r9*8 - 0x10], xmm0
movdqu xmmword [r10 + r9*8], xmm0
add r9, 4
cmp r13, r9
jne 0x14000eff0
cmp rsi, r13
mov r13, qword [rsp + 0x10]
je 0x14000ef80
lea r10, [r8 + rbp]
nop dword [rax + rax]
mov qword [r10 + rcx], r14
add rcx, 8
cmp rcx, r15
jb 0x14000f020
jmp 0x14000ef80
shr ecx, 1
lea ebp, [r9 + rcx]
add ebp, 3
xor r14d, r14d
xor r15d, r15d
jmp 0x14000f05c
inc r14
cmp r14, r13
je 0x14000f154
movsx r12d, word [rdx + r14*2]
test r12d, r12d
jle 0x14000f050
cmp r12w, 1
je 0x14000f0c3
mov r13d, r12d
and r13d, 0xfffffffe
xor ecx, ecx
nop word cs:[rax + rax]
mov r9d, r15d
mov dword [rax + r9*8 + 0xc], r14d
nop dword [rax + rax]
add r15d, ebp
and r15d, ebx
cmp r15d, r8d
ja 0x14000f090
mov r9d, r15d
mov dword [rax + r9*8 + 0xc], r14d
nop word cs:[rax + rax]
add r15d, ebp
and r15d, ebx
cmp r15d, r8d
ja 0x14000f0b0
add ecx, 2
cmp ecx, r13d
jne 0x14000f080
test r12b, 1
mov r13, qword [rsp + 0x10]
je 0x14000f050
mov ecx, r15d
mov dword [rax + rcx*8 + 0xc], r14d
nop word cs:[rax + rax]
add r15d, ebp
and r15d, ebx
cmp r15d, r8d
ja 0x14000f0e0
jmp 0x14000f050
mov rdi, qword [rsp]
mov ecx, edi
shr ecx, 1
mov rdx, qword [rsp + 0x28]
add edx, ecx
add edx, 3
mov ecx, ebx
mov r8d, edx
mov edx, edi
lea rbx, [r8 + r8]
xor r14d, r14d
xor r15d, r15d
nop word cs:[rax + rax]
mov r9d, r15d
and r9d, ecx
movzx r10d, byte [r11 + r14 + 0x6a]
mov dword [rax + r9*8 + 0xc], r10d
lea r9d, [r8 + r15]
and r9d, ecx
movzx r10d, byte [r11 + r14 + 0x6b]
mov dword [rax + r9*8 + 0xc], r10d
add r15d, ebx
and r15d, ecx
add r14, 2
cmp r14, rdx
jb 0x14000f120
jmp 0x14000f15a
mov rdi, qword [rsp]
mov edx, edi
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 8]
mov r14, qword [rsp + 0x18]
add ebx, 0xffffffe1
xor r8d, r8d
nop
mov r9d, dword [rax + r8*8 + 0xc]
movzx r10d, word [r11 + r9*2]
lea ecx, [r10 + 1]
mov word [r11 + r9*2], cx
bsr ecx, r10d
xor ecx, 0x1f
add ecx, ebx
mov byte [rax + r8*8 + 0xb], cl
shl r10d, cl
sub r10d, edi
mov word [rax + r8*8 + 8], r10w
movzx ecx, byte [r14 + r9*4]
mov byte [rax + r8*8 + 0xa], cl
mov ecx, dword [rsi + r9*4]
mov dword [rax + r8*8 + 0xc], ecx
inc r8
cmp rdx, r8
jne 0x14000f170
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rax, qword [rsp + 0x98]
mov r12d, dword [rsp + 0x90]
mov ebx, 1
shlx r11d, ebx, r12d
lea esi, [r11 - 1]
mov edi, r8d
inc edi
jne 0x140011868
mov dword [rcx], 1
mov dword [rcx + 4], r12d
mov edx, r11d
shr edx, 1
mov r8d, r11d
shr r8d, 3
lea r10d, [r8 + rdx]
add r10d, 3
jmp 0x140011b48
mov qword [rsp + 8], r9
lea r9d, [r12 - 1]
mov r10d, 0x10000
shlx ebp, r10d, r9d
sar ebp, 0x10
mov r12d, edi
xor r15d, r15d
test r8d, r8d
mov qword [rsp], r12
je 0x140011933
and r12d, 0xfffffffe
xor r14d, r14d
mov r8d, esi
jmp 0x1400118c3
mov r9d, r8d
dec r8d
lea r10d, [r14 + 1]
mov dword [rcx + r9*8 + 0xc], r10d
mov r13w, 1
mov word [rax + r14*2 + 2], r13w
add r14, 2
cmp r12, r14
je 0x140011927
movsx r13d, word [rdx + r14*2]
cmp r13d, 0xffffffff
je 0x1400118f0
cmp ebp, r13d
cmovle ebx, r15d
mov word [rax + r14*2], r13w
movsx r13d, word [rdx + r14*2 + 2]
cmp r13d, 0xffffffff
jne 0x140011911
jmp 0x1400118a0
mov r9d, r8d
dec r8d
mov dword [rcx + r9*8 + 0xc], r14d
mov r13w, 1
mov word [rax + r14*2], r13w
movsx r13d, word [rdx + r14*2 + 2]
cmp r13d, 0xffffffff
je 0x1400118a0
cmp ebp, r13d
cmovle ebx, r15d
mov word [rax + r14*2 + 2], r13w
add r14, 2
cmp r12, r14
jne 0x1400118c3
mov r12, qword [rsp]
test r12b, 1
jne 0x140011943
jmp 0x14001196f
xor r14d, r14d
mov r8d, esi
mov r12, qword [rsp]
test r12b, 1
je 0x14001196f
movsx r15d, word [rdx + r14*2]
cmp r15d, 0xffffffff
je 0x14001195a
xor r9d, r9d
cmp ebp, r15d
cmovle ebx, r9d
jmp 0x14001196a
mov r9d, r8d
dec r8d
mov dword [rcx + r9*8 + 0xc], r14d
mov r15w, 1
mov word [rax + r14*2], r15w
mov dword [rcx], ebx
mov r9d, dword [rsp + 0x90]
mov dword [rcx + 4], r9d
mov r10d, r11d
shr r10d, 3
cmp r8d, esi
jne 0x140011a72
lea r8, [rax + 0x6a]
add r10d, 3
mov qword [rsp + 0x10], r10
lea r9, [rax + 0x82]
mov qword [rsp + 0x18], r9
xor r15d, r15d
xor r13d, r13d
xor ebp, ebp
jmp 0x1400119d0
movsx r9, r14w
add r13, r9
inc r15
movabs r9, 0x101010101010101
add rbp, r9
cmp r15, r12
je 0x140011b2e
movzx r14d, word [rdx + r15*2]
mov qword [r8 + r13], rbp
cmp r14w, 9
jl 0x1400119b0
cmp r14, 0x11
mov edi, 0x10
cmovae rdi, r14
add rdi, 0xfffffffffffffff7
mov ebx, 8
cmp rdi, 0x18
jb 0x140011a53
shr rdi, 3
inc rdi
mov r12, rdi
and r12, 0xfffffffffffffffc
lea rbx, [r12*8 + 8]
movq xmm0, rbp
pshufd xmm0, xmm0, 0x44
mov r9, qword [rsp + 0x18]
lea r10, [r9 + r13]
xor r9d, r9d
nop dword [rax + rax]
movdqu xmmword [r10 + r9*8 - 0x10], xmm0
movdqu xmmword [r10 + r9*8], xmm0
add r9, 4
cmp r12, r9
jne 0x140011a30
cmp rdi, r12
mov r12, qword [rsp]
je 0x1400119b0
lea r10, [r8 + r13]
nop word [rax + rax]
mov qword [r10 + rbx], rbp
add rbx, 8
cmp rbx, r14
jb 0x140011a60
jmp 0x1400119b0
mov r9d, r11d
shr r9d, 1
lea ebx, [r10 + r9]
add ebx, 3
xor r14d, r14d
xor ebp, ebp
jmp 0x140011a9c
inc r14
cmp r14, r12
je 0x140011b94
movsx r15d, word [rdx + r14*2]
test r15d, r15d
jle 0x140011a90
cmp r15w, 1
je 0x140011b02
mov r12d, r15d
and r12d, 0xfffffffe
xor r13d, r13d
nop word [rax + rax]
mov r9d, ebp
mov dword [rcx + r9*8 + 0xc], r14d
nop dword [rax + rax]
add ebp, ebx
and ebp, esi
cmp ebp, r8d
ja 0x140011ad0
mov r9d, ebp
mov dword [rcx + r9*8 + 0xc], r14d
nop word cs:[rax + rax]
add ebp, ebx
and ebp, esi
cmp ebp, r8d
ja 0x140011af0
add r13d, 2
cmp r13d, r12d
jne 0x140011ac0
test r15b, 1
mov r12, qword [rsp]
je 0x140011a90
mov r9d, ebp
mov dword [rcx + r9*8 + 0xc], r14d
nop word cs:[rax + rax]
add ebp, ebx
and ebp, esi
cmp ebp, r8d
ja 0x140011b20
jmp 0x140011a90
mov edx, r11d
shr edx, 1
mov r10, qword [rsp + 0x10]
add r10d, edx
mov r9, qword [rsp + 8]
mov r12d, dword [rsp + 0x90]
mov r8d, esi
mov esi, r10d
mov edx, r11d
lea rdi, [rsi + rsi]
xor ebx, ebx
xor r14d, r14d
nop word [rax + rax]
mov r15d, r14d
and r15d, r8d
movzx r10d, byte [rax + rbx + 0x6a]
mov dword [rcx + r15*8 + 0xc], r10d
lea r15d, [rsi + r14]
and r15d, r8d
movzx r10d, byte [rax + rbx + 0x6b]
mov dword [rcx + r15*8 + 0xc], r10d
add r14d, edi
and r14d, r8d
add rbx, 2
cmp rbx, rdx
jb 0x140011b60
jmp 0x140011ba4
mov edx, r11d
mov r9, qword [rsp + 8]
mov r12d, dword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
add r12d, 0xffffffe1
xor esi, esi
nop word cs:[rax + rax]
mov ebx, dword [rcx + rsi*8 + 0xc]
movzx r10d, word [rax + rbx*2]
lea edi, [r10 + 1]
mov word [rax + rbx*2], di
bsr edi, r10d
xor edi, 0x1f
add edi, r12d
mov byte [rcx + rsi*8 + 0xb], dil
shlx r10d, r10d, edi
sub r10d, r11d
mov word [rcx + rsi*8 + 8], r10w
movzx r10d, byte [r8 + rbx*4]
mov byte [rcx + rsi*8 + 0xa], r10b
mov r10d, dword [r9 + rbx*4]
mov dword [rcx + rsi*8 + 0xc], r10d
inc rsi
cmp rdx, rsi
jne 0x140011bc0
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret