Function at 0x1400f8e80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [0x1402b7818]
test rdi, rdi
je 0x1400f8f3a
mov ebp, dword [rdi + 0x50]
movabs r14, 0xaaaaaaaaaaaaaaaa
mov r15d, 0xaaaaaaab
mov qword [rsp + 0x48], r14
mov edx, dword [rdi + 0x6c]
mov eax, dword [rdi + 0x68]
mov rcx, qword [rdi + 0x60]
cmp eax, 0x30
je 0x1400f96ea
lea r10d, [rax + 0x10]
cmp r10d, 0x50
jb 0x1400f8f3a
mov r9d, eax
mov r8d, r9d
and r8d, 7
jne 0x1400f8f3a
mov r8d, dword [rcx + 0x14]
cmp r8d, r10d
jb 0x1400f8f3a
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + r9 + 4]
cmp r10d, 0xc8799269
jne 0x1400f8f3a
add rcx, r9
mov r9d, dword [rcx]
cmp r9d, 0x10
jb 0x1400f8f3a
mov r9d, dword [rcx]
add r9d, eax
jb 0x1400f8f3a
cmp r9d, r8d
ja 0x1400f8f3a
test rcx, rcx
je 0x1400f8f3a
mov r8d, dword [rcx + 0xc]
cmp r8d, 0x30
jne 0x1400f9030
mov rsi, qword [0x1402b77d8]
cmp rsi, 1
jbe 0x1400f9719
mov rax, qword [rsi]
test al, 0x1c
jne 0x1400f96f7
mov rcx, rax
or rcx, 1
add rcx, 0x100
lock cmpxchg qword [rsi], rcx
jne 0x1400f96f7
mov r8, qword [0x1402b77e8]
test r8, r8
je 0x1400f9711
mov rdi, qword [rbx]
mov rbx, qword [rbx + 8]
cmp rbx, 0x20
mov qword [rsp + 0x28], rsi
ja 0x1400f9188
cmp rbx, 0x10
jbe 0x1400f9138
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [rdi]
mov rdx, qword [rdi + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [rdi + rbx - 8]
movabs r9, 0xc3a5c85c97cb3127
imul r9, qword [rdi + rbx - 0x10]
movabs r10, 0xc949d7c7509e6557
xor r10, rdx
rol r10, 0x2c
add r10, rcx
add r10, rbx
sub rcx, rdx
rol rcx, 0x15
sub r10, rax
rol rax, 0x22
add rax, r9
add rax, rcx
xor rax, r10
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r10, rax
shr rax, 0x2f
xor rax, r10
imul rax, rcx
mov r14, rax
shr r14, 0x2f
xor r14, rax
jmp 0x1400f9252
mov rcx, qword [rdi + 0x60]
lea r9d, [r8 + 0x10]
cmp r9d, 0x50
jb 0x1400f96e0
mov r10d, r8d
and r10d, 7
jne 0x1400f96e0
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x1400f96e0
mov r9, qword [rcx + 8]
mov r11d, dword [r9 + r8 + 4]
cmp r11d, 0xc8799269
jne 0x1400f96e0
add r9, r8
mov r11d, dword [r9]
cmp r11d, 0x10
jb 0x1400f96e0
mov r11d, dword [r9]
add r11d, r8d
setb sil
test r9, r9
je 0x1400f96e0
test sil, sil
jne 0x1400f96e0
cmp r11d, r10d
ja 0x1400f96e0
lock cmpxchg dword [rdi + 0x68], r8d
jne 0x1400f8ed0
mov eax, dword [r9 + 8]
mov rcx, qword [rdi + 0x60]
mov r9, qword [rcx + 8]
mov r9d, dword [r9 + 0x28]
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
cmovb r9d, r10d
imul r9, r15
shr r9, 0x24
cmp edx, r9d
ja 0x1400f96e0
lock inc dword [rdi + 0x6c]
cmp eax, 0xf1645913
jne 0x1400f8eca
cmp r8d, ebp
je 0x1400f8eca
mov rcx, qword [rdi + 0x58]
lea rsi, [rsp + 0x48]
mov rdx, rsi
call fcn.1400fd300
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f8f3a
xor esi, esi
mov qword [rsp + 0x48], rsi
call fcn.1400f9770
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
test rcx, rcx
je 0x1400f8ec5
jmp 0x1400f9747
cmp rbx, 9
jb 0x1400f93b4
mov rax, qword [rdi + rbx - 8]
lea rdx, [rax + rbx]
mov ecx, ebx
ror rdx, cl
mov rcx, qword [rdi]
xor rcx, rdx
movabs r9, 0x9ddfea08eb382d69
imul rcx, r9
xor rdx, rcx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, r9
mov r14, rcx
shr r14, 0x2f
xor r14, rcx
imul r14, r9
xor r14, rax
jmp 0x1400f9256
cmp rbx, 0x40
ja 0x1400f9472
mov rcx, qword [rdi + 0x10]
mov r10, qword [rdi + 0x18]
mov rsi, qword [rdi + rbx - 0x10]
lea rdx, [rsi + rbx]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [rdi]
lea r9, [rdx + r10]
rol r9, 0xc
mov r15, rdx
rol r15, 0x1b
add rdx, qword [rdi + 8]
mov r11, rdx
rol r11, 0x39
add rdx, rcx
add rcx, qword [rdi + rbx - 0x20]
mov r14, qword [rdi + rbx - 8]
add r14, r10
lea r12, [r14 + rcx]
rol r12, 0xc
mov r13, rcx
rol r13, 0x1b
add rcx, qword [rdi + rbx - 0x18]
add r11, r15
mov r15, rcx
rol r15, 0x39
add rcx, rsi
add r14, rcx
rol rcx, 0x21
add r13, r10
add r13, r15
add r13, r12
add r13, rcx
add r13, rdx
rol rdx, 0x21
add r11, r9
add rdx, r11
movabs rcx, 0x9ae16a3b2f90404f
imul r13, rcx
add r14, rdx
imul r14, rax
add r14, r13
mov r9, r14
shr r9, 0x2f
xor r9, r14
imul r9, rax
add r9, rdx
mov r14, r9
shr r14, 0x2f
xor r14, r9
imul r14, rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x1400f93ac
mov rax, r13
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r13
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rbp, 0x101010101010101
imul rbp, rax
shr rbp, 0x38
cmp rbp, 1
jbe 0x1400f9466
mov r12, r14
cmp r14, r13
jb 0x1400f92dc
mov rax, r14
xor edx, edx
div r13
mov r12, rdx
mov rax, qword [r8]
mov rax, qword [rax + r12*8]
test rax, rax
je 0x1400f93ac
mov rsi, qword [rax]
test rsi, rsi
je 0x1400f93ac
xor r15d, r15d
mov rax, qword [rsi + 8]
cmp r14, rax
jne 0x1400f9380
cmp qword [rsi + 0x18], rbx
jne 0x1400f939b
mov rcx, qword [rsi + 0x10]
mov rdx, rdi
mov r8, rbx
call fcn.140189380
test eax, eax
jne 0x1400f939b
mov r15, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsi]
mov ecx, eax
and ecx, 0x15
cmp ecx, 1
jne 0x1400f96d1
mov rcx, 0xfffffffffffffeff
cmp rax, 0x200
jae 0x1400f944e
add rcx, rax
lock cmpxchg qword [rsi], rcx
jne 0x1400f96d1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401879f0
mov rax, r15
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 1
jbe 0x1400f945a
cmp rax, r13
jb 0x1400f9396
xor edx, edx
div r13
mov rax, rdx
cmp rax, r12
jne 0x1400f9325
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400f92fb
jmp 0x1400f9325
xor r15d, r15d
jmp 0x1400f9325
cmp rbx, 4
jb 0x1400f93f6
mov eax, dword [rdi]
mov ecx, dword [rdi + rbx - 4]
lea rax, [rbx + rax*8]
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
xor rcx, rax
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
mov r14, rax
shr r14, 0x2f
xor r14, rax
imul r14, rdx
jmp 0x1400f9256
movabs r14, 0x9ae16a3b2f90404f
test rbx, rbx
je 0x1400f9256
movzx eax, byte [rdi]
mov rcx, rbx
shr rcx, 1
movzx ecx, byte [rdi + rcx]
movzx edx, byte [rbx + rdi - 1]
shl rcx, 8
or rcx, rax
lea rax, [rbx + rdx*4]
imul rcx, r14
movabs rdx, 0xc949d7c7509e6557
imul rdx, rax
xor rdx, rcx
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul r14, rax
jmp 0x1400f9256
mov rcx, 0xffffffffffffff00
jmp 0x1400f934e
lea rcx, [r13 - 1]
and rax, rcx
jmp 0x1400f9396
lea r12, [r13 - 1]
and r12, r14
jmp 0x1400f92dc
movabs rbp, 0xb492b66fbe98f273
movabs r15, 0x9ddfea08eb382d69
mov r14, qword [rdi + rbx - 0x28]
mov rax, qword [rdi + rbx - 0x10]
mov rcx, qword [rdi + rbx - 0x38]
mov r9, qword [rdi + rbx - 0x30]
lea rdx, [rcx + rax]
mov r11, qword [rdi + rbx - 0x18]
lea rsi, [r9 + rbx]
xor rsi, r11
imul rsi, r15
mov r10, r11
xor r10, rsi
shr rsi, 0x2f
xor rsi, r10
imul rsi, r15
mov r10, rsi
shr r10, 0x2f
xor r10, rsi
imul r10, r15
mov rsi, qword [rdi + rbx - 0x40]
add rsi, rbx
lea r12, [rsi + r14]
mov qword [rsp + 0x30], r10
add r12, r10
rol r12, 0x2b
add r9, rcx
add r9, rsi
mov r15, r9
rol r15, 0x14
add r15, rsi
add r15, r12
add r9, r14
mov rcx, qword [rdi + rbx - 0x20]
add rcx, rdx
mov rsi, qword [rdi + rbx - 8]
add rcx, rbp
lea r13, [rsi + r14]
add r13, rcx
rol r13, 0x2b
add r11, rax
add r11, rcx
mov r12, r11
rol r12, 0x14
add r12, rcx
add r12, r13
imul r14, rbp
add r14, qword [rdi]
add r11, rsi
lea rax, [rbx - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rsi, qword [rsp + 0x30]
add r14, r9
add r14, rdx
mov rax, qword [rdi + rbp + 8]
mov rcx, qword [rdi + rbp + 0x10]
add r14, rax
rol r14, 0x1b
add rdx, r15
mov r10, qword [rdi + rbp + 0x30]
mov qword [rsp + 0x40], r10
add rdx, r10
rol rdx, 0x16
movabs r13, 0xb492b66fbe98f273
imul r14, r13
mov r10, rdx
imul r10, r13
xor r14, r12
mov r13, qword [rdi + rbp + 0x28]
add r9, r13
mov rdx, r9
add rdx, r10
add rsi, r11
movabs r9, 0xb492b66fbe98f273
imul r15, r9
mov r10, qword [rdi + rbp + 0x18]
add r15, qword [rdi + rbp]
add r11, r10
add r11, r15
mov qword [rsp + 0x30], r14
add r11, r14
rol r11, 0x2b
add rax, rcx
add rax, r15
mov r9, rax
rol r9, 0x14
add r15, r9
add r15, r11
rol rsi, 0x1f
mov r9, rax
mov r14, rsi
movabs rax, 0xb492b66fbe98f273
imul r14, rax
add r9, r10
add r12, r14
mov rax, qword [rdi + rbp + 0x38]
add r12, qword [rdi + rbp + 0x20]
add rcx, rax
add rcx, rdx
add rcx, r12
add r13, qword [rsp + 0x40]
add r13, r12
mov r10, r13
rol r10, 0x14
add r12, r10
rol rcx, 0x2b
add r12, rcx
mov r11, r13
add r11, rax
add rbp, 0x40
cmp qword [rsp + 0x38], rbp
jne 0x1400f9542
xor r15, r12
movabs r10, 0x9ddfea08eb382d69
imul r15, r10
xor r12, r15
shr r15, 0x2f
xor r15, r12
imul r15, r10
mov rax, r15
shr rax, 0x2f
xor rax, r15
imul rax, r10
add rax, r14
xor r9, r11
imul r9, r10
xor r11, r9
shr r9, 0x2f
xor r9, r11
imul r9, r10
mov rcx, r9
shr rcx, 0x2f
xor rcx, r9
imul rcx, r10
mov r9, rdx
shr r9, 0x2f
xor r9, rdx
movabs rdx, 0xb492b66fbe98f273
imul r9, rdx
add r9, qword [rsp + 0x30]
add r9, rcx
xor r9, rax
imul r9, r10
xor rax, r9
shr r9, 0x2f
xor r9, rax
imul r9, r10
mov r14, r9
shr r14, 0x2f
xor r14, r9
imul r14, r10
jmp 0x1400f9256
mov rcx, rsi
xor edx, edx
call fcn.1401c551a
jmp 0x1400f935c
call fcn.1401c2f40
jmp 0x1400f8f3a
mov rcx, qword [rcx + 8]
add rcx, 0x30
jmp 0x1400f8f27
lea rdx, [0x140274dd0]
mov rcx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.1401c5f74
jmp 0x1400f8f6f
xor r15d, r15d
jmp 0x1400f932a
lea rcx, [0x1402b77d8]
call fcn.14015c450
test al, al
je 0x1400f975d
mov qword [0x1402b77e0], 0
lea rsi, [0x1402b77e0]
mov qword [0x1402b77d8], rsi
jmp 0x1400f8f4b
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1402ca008]
jmp 0x1400f8ec5
mov rsi, qword [0x1402b77d8]
jmp 0x1400f8f4b