Function at 0x140085480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rdi, r8
mov r14, rdx
xor r15d, r15d
mov dword [rbp - 0x40], 4
lea edx, [r15 + 1]
lea rcx, [rbp - 0x30]
call fcn.14007fbb0
mov qword [rbp - 0x30], rax
lea rbx, [rax + 4]
mov qword [rbp - 0x20], rbx
mov dword [rax], 4
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x38], 4
lea edx, [r15 + 1]
lea rcx, [rbp - 0x18]
call fcn.14007fbb0
mov qword [rbp - 0x18], rax
lea rsi, [rax + 4]
mov qword [rbp - 8], rsi
mov dword [rax], 4
mov qword [rbp - 0x10], rsi
mov dword [rbp - 0x40], r15d
lea r8, [rbp - 0x40]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14007d620
mov dword [rbp - 0x40], r15d
mov rdx, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x20]
cmp rdx, rbx
je 0x14008552f
mov dword [rdx], r15d
add rdx, 4
mov qword [rbp - 0x28], rdx
jmp 0x140085544
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14007d620
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov dword [rbp - 0x40], r15d
cmp rdx, rbx
je 0x14008555a
mov dword [rdx], r15d
add rdx, 4
mov qword [rbp - 0x28], rdx
jmp 0x14008556f
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14007d620
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov dword [rbp - 0x40], r15d
cmp rdx, rbx
je 0x140085585
mov dword [rdx], r15d
add rdx, 4
mov qword [rbp - 0x28], rdx
jmp 0x140085596
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14007d620
mov rbx, qword [rbp - 0x20]
mov eax, r15d
mov dword [rbp - 0x40], eax
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.14007d620
mov dword [rbp - 0x40], r15d
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 8]
cmp rdx, r8
je 0x1400855ca
mov dword [rdx], r15d
add rdx, 4
mov qword [rbp - 0x10], rdx
jmp 0x1400855df
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call fcn.14007d620
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
mov dword [rbp - 0x40], r15d
cmp rdx, r8
je 0x1400855f5
mov dword [rdx], r15d
add rdx, 4
mov qword [rbp - 0x10], rdx
jmp 0x14008560a
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call fcn.14007d620
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
mov dword [rbp - 0x40], r15d
cmp rdx, r8
je 0x140085618
mov dword [rdx], r15d
jmp 0x140085629
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call fcn.14007d620
mov r8, qword [rbp - 8]
mov r9, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x30]
mov r10, r15
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi]
mov rcx, qword [rax]
mov eax, dword [r10 + rcx]
mov dword [rsi], eax
mov rax, qword [rdi]
mov rcx, qword [rax]
mov edx, dword [r10 + rcx]
lea ecx, [rdx + rdx]
mov eax, ecx
xor eax, 0x11b
test dl, 0x80
cmove eax, ecx
mov dword [r9], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
mov eax, dword [r10 + rcx]
mov dword [rsi + 4], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
mov edx, dword [r10 + rcx]
lea ecx, [rdx + rdx]
mov eax, ecx
xor eax, 0x11b
test dl, 0x80
cmove eax, ecx
mov dword [r9 + 4], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x30]
mov eax, dword [r10 + rcx]
mov dword [rsi + 8], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x30]
mov edx, dword [r10 + rcx]
lea ecx, [rdx + rdx]
mov eax, ecx
xor eax, 0x11b
test dl, 0x80
cmove eax, ecx
mov dword [r9 + 8], eax
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov ecx, dword [r10 + rax]
mov dword [rsi + 0xc], ecx
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov ecx, dword [r10 + rax]
lea edx, [rcx + rcx]
mov eax, edx
xor eax, 0x11b
test cl, 0x80
cmove eax, edx
mov dword [r9 + 0xc], eax
mov edx, dword [rsi + 4]
xor edx, dword [r9]
xor edx, dword [rsi + 0xc]
xor edx, dword [rsi + 8]
xor edx, dword [r9 + 4]
mov rax, qword [rdi]
mov rcx, qword [rax]
mov dword [r10 + rcx], edx
mov ecx, dword [rsi + 0xc]
xor ecx, dword [r9 + 8]
xor ecx, dword [r9 + 4]
xor ecx, dword [rsi]
xor ecx, dword [rsi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov dword [r10 + rax], ecx
mov ecx, dword [rsi + 4]
xor ecx, dword [rsi + 0xc]
xor ecx, dword [r9 + 8]
xor ecx, dword [r9 + 0xc]
xor ecx, dword [rsi]
mov rax, qword [rdi]
mov rax, qword [rax + 0x30]
mov dword [r10 + rax], ecx
mov ecx, dword [r9]
xor ecx, dword [r9 + 0xc]
xor ecx, dword [rsi]
xor ecx, dword [rsi + 8]
xor ecx, dword [rsi + 4]
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov dword [r10 + rax], ecx
add r10, 4
cmp r10, 0x10
jl 0x140085640
mov rdx, qword [rdi + 0x10]
mov qword [rdi + 0x10], r15
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov rax, qword [rdi]
mov qword [rdi], r15
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
sub r8, r9
sar r8, 2
lea rdx, [r8*4]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400857bd
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858f3
mov rcx, r9
call fcn.1400c4ba0
nop
sub rbx, rsi
sar rbx, 2
lea rdx, [rbx*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400857fa
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858e7
mov rcx, rsi
call fcn.1400c4ba0
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400858ca
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140085869
mov rcx, qword [rbx]
test rcx, rcx
je 0x140085860
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140085850
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400858ed
mov rcx, r8
call fcn.1400c4ba0
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
add rbx, 0x18
cmp rbx, rsi
jne 0x140085818
mov r8, qword [rdi]
mov rcx, qword [rdi + 0x10]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
cmp rdx, 0x1000
jb 0x1400858b7
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x1400858ed
mov r8, rcx
mov rcx, r8
call fcn.1400c4ba0
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rax, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400cbc18
nop
call fcn.1400cbc18
nop
call fcn.1400cbc18
int3