Function at 0x1400ed700
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1f8]
mov eax, 0x2f8
call fcn.1400a7e30
sub rsp, rax
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, qword [rbp + 0x258]
mov rsi, rcx
mov rdi, qword [rbp + 0x268]
mov rcx, r14
mov dword [rsp + 0x38], r9d
mov ebx, edx
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x34], 1
call fcn.1400f0ea0
movsxd r12, eax
test eax, eax
jns 0x1400ed76a
xor eax, eax
jmp 0x1400eda40
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x2f0], r13
call fcn.1400f2340
mov r13d, dword [rbp + 0x260]
test rsi, rsi
jne 0x1400ed78b
xor ebx, ebx
jmp 0x1400ed7b6
cmp ebx, 0xffffffff
jne 0x1400ed7b6
xor ebx, ebx
mov rax, rsi
cmp byte [rsi], bl
je 0x1400ed7b2
nop dword [rax]
cmp ebx, 0x80000000
jae 0x1400ed7b2
inc rax
inc ebx
cmp byte [rax], 0
jne 0x1400ed7a0
btr ebx, 0x1f
mov r9, r14
mov qword [rsp + 0x20], 0
mov r8d, ebx
lea rcx, [rbp + 0x70]
mov rdx, rsi
call fcn.1400f2480
test eax, eax
jne 0x1400ed7e5
lea rcx, [rbp + 0x70]
call fcn.1400f2200
xor eax, eax
jmp 0x1400eda38
mov qword [rsp + 0x2e8], r15
test r13d, r13d
je 0x1400eda22
mov r15d, dword [rbp + 0x250]
mov ecx, dword [rsp + 0x34]
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
mov byte [rsp + 0x33], cl
cmp r13d, r12d
lea rdx, [rbp + 0x70]
mov ebx, r13d
cmovg ebx, r12d
shr eax, 0x18
mov byte [rsp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x31], al
mov eax, ecx
shr eax, 8
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x32], al
call fcn.1400f2240
test eax, eax
je 0x1400eda76
movsxd r8, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
call fcn.1400f2700
test eax, eax
je 0x1400eda5f
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400f2700
test eax, eax
je 0x1400eda5f
xor r8d, r8d
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400f23d0
test eax, eax
je 0x1400eda5f
lea rcx, [rsp + 0x50]
call fcn.1400f2200
movsxd r14, ebx
lea rdx, [rbp + 0x190]
mov r8, r14
mov rcx, rdi
call fcn.1400c6560
mov esi, 1
cmp r15d, esi
jle 0x1400eda0c
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400f2240
test eax, eax
je 0x1400eda76
mov r8, r12
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400f2700
test eax, eax
je 0x1400eda5f
xor r8d, r8d
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.1400f23d0
test eax, eax
je 0x1400eda5f
lea rcx, [rsp + 0x50]
call fcn.1400f2200
xor r8d, r8d
test ebx, ebx
jle 0x1400ed9d5
cmp ebx, 0x20
jb 0x1400ed9d5
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rbp + 0x190]
add rax, rcx
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x1400ed962
lea rax, [rbp + 0x190]
cmp rdx, rax
jae 0x1400ed9d5
mov ecx, ebx
and ecx, 0x8000001f
jge 0x1400ed973
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebx
lea r9, [rbp + 0x190]
sub eax, ecx
lea r10, [rbp + 0x1a0]
movsxd rdx, eax
mov rcx, rdi
mov rax, rdi
neg rax
add r9, rax
add r10, rax
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r8, 0x20
movdqu xmm1, xmmword [r9 + rcx]
lea rcx, [rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r10 + rcx - 0x20]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp r8, rdx
jl 0x1400ed9a0
cmp r8, r14
jge 0x1400eda01
lea r9, [rbp + 0x190]
mov rdx, r14
sub r9, rdi
lea rax, [r8 + rdi]
sub rdx, r8
nop
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400ed9f0
inc esi
cmp esi, r15d
jl 0x1400ed8d1
mov ecx, dword [rsp + 0x34]
add rdi, r14
inc ecx
mov dword [rsp + 0x34], ecx
sub r13d, ebx
jne 0x1400ed810
lea rcx, [rbp + 0x70]
call fcn.1400f2200
mov eax, 1
mov r15, qword [rsp + 0x2e8]
mov r13, qword [rsp + 0x2f0]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a7ab0
add rsp, 0x2f8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x70]
call fcn.1400f2200
lea rcx, [rsp + 0x50]
call fcn.1400f2200
xor eax, eax
jmp 0x1400eda30
lea rcx, [rbp + 0x70]
call fcn.1400f2200
xor eax, eax
jmp 0x1400eda30