Function at 0x1400add90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x428
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x398], 0xfffffffffffffffe
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400addb0
test al, 1
je 0x1400ae008
test al, 2
jne 0x1400ae022
test al, 8
mov qword [rbp + 0x378], rcx
jne 0x1400adea1
mov qword [rbp - 0x60], 0xc
mov rsi, qword [rcx + 0x28]
mov eax, dword [0x14026d30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
je 0x1400ade5e
test eax, eax
jne 0x1400adecf
mov byte [rbp + 0x397], 1
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140173de0]
call fcn.140157820
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov rcx, qword [rbp + 0x378]
mov eax, dword [0x14026d30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0xd0]
mov qword [rbp + 0x388], rdx
mov rdx, qword [rax + 0xd8]
mov qword [rbp + 0x370], rdx
mov qword [rax + 0xd0], 1
mov qword [rax + 0xd8], rsi
jmp 0x1400aded8
test al, 0x10
je 0x1400adfb3
mov rcx, qword [rbp + 0x378]
mov rax, qword [rcx + 0x1f8]
test rax, rax
je 0x1400ae0c6
mov rcx, qword [rcx + 0x200]
call qword [rax + 0x10]
jmp 0x1400adfb3
xor eax, eax
mov qword [rbp + 0x388], rax
lea rsi, [rcx + 0x30]
lea rcx, [rbp + 0x158]
lea rdx, [rbp - 0x60]
mov r8d, 0x1b8
call fcn.140194326
mov qword [rbp + 0x380], rsi
mov rcx, rsi
call fcn.1400ac6a0
lea rdx, [rbp + 0x158]
mov r8d, 0x1b8
mov rcx, qword [rbp + 0x380]
call fcn.140194326
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
mov rsi, qword [rbp + 0x370]
je 0x1400adf8b
test eax, eax
jne 0x1400adfb3
mov byte [rbp + 0x397], 0
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140173de0]
call fcn.140157820
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x388]
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rsi
mov rsi, qword [rbp + 0x378]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1401802e0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rbp + 0x368], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp + 0x368]
jb 0x1400ae03c
jne 0x1400adffd
mov rcx, rsi
call fcn.1400ad720
nop
add rsp, 0x428
pop rsi
pop rbp
ret
lea rcx, [0x1401f5b20]
lea r8, [0x1401f5b48]
mov edx, 0x23
call fcn.1401949c0
ud2
lea rcx, [0x1401f5b60]
lea r8, [0x1401f5b88]
mov edx, 0x25
call fcn.1401949c0
ud2
mov qword [rbp + 0x360], rax
lea rax, [rbp + 0x360]
mov qword [rbp + 0x340], rax
lea rax, [fcn.140011310]
mov qword [rbp + 0x348], rax
lea rcx, [rbp + 0x368]
mov qword [rbp + 0x350], rcx
mov qword [rbp + 0x358], rax
lea rax, [0x1401f5bb0]
mov qword [rbp + 0x310], rax
mov dword [rbp + 0x310], eax
mov qword [rbp + 0x318], 2
mov qword [rbp + 0x330], 0
lea rax, [rbp + 0x340]
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x328], 2
lea rdx, [0x1401f5bd0]
lea rcx, [rbp + 0x310]
call fcn.140194800
ud2
lea rax, [0x1401f5770]
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], 1
lea rax, [0x1402199d8]
mov qword [rbp + 0x168], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
lea rdx, [0x1401f5780]
lea rcx, [rbp + 0x158]
call fcn.140194800
ud2