Function at 0x1400ab840
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x128], 0xfffffffffffffffe
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400ab860
test al, 1
je 0x1400abb32
test al, 2
jne 0x1400abb4c
test al, 8
mov qword [rbp + 0x108], rcx
jne 0x1400ab94d
mov byte [rbp + 0x18], 4
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 0x1400ab90a
test eax, eax
jne 0x1400ab97b
mov byte [rbp + 0x127], 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 + 0x108]
mov eax, dword [0x14026d30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0xd0]
mov qword [rbp + 0x118], rdx
mov rdx, qword [rax + 0xd8]
mov qword [rbp + 0x100], rdx
mov qword [rax + 0xd0], 1
mov qword [rax + 0xd8], rsi
jmp 0x1400ab984
test al, 0x10
je 0x1400abadd
mov rcx, qword [rbp + 0x108]
mov rax, qword [rcx + 0xc0]
test rax, rax
je 0x1400abbcf
mov rcx, qword [rcx + 0xc8]
call qword [rax + 0x10]
jmp 0x1400abadd
xor eax, eax
mov qword [rbp + 0x118], rax
add rcx, 0x30
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0xd0], xmm0
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xb0], xmm0
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
movups xmm2, xmmword [rbp - 0x40]
movups xmm3, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xa0], xmm3
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x110], rcx
call fcn.1400a8440
movaps xmm0, xmmword [rbp + 0xe0]
mov rax, qword [rbp + 0x110]
movups xmmword [rax + 0x70], xmm0
movaps xmm0, xmmword [rbp + 0xd0]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0xc0]
movups xmmword [rax + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0xb0]
movups xmmword [rax + 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x80]
movaps xmm2, xmmword [rbp + 0x90]
movaps xmm3, xmmword [rbp + 0xa0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
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 + 0x100]
je 0x1400abab5
test eax, eax
jne 0x1400abadd
mov byte [rbp + 0x127], 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 + 0x118]
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rsi
mov rsi, qword [rbp + 0x108]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14017e230
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rbp + 0xf8], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp + 0xf8]
jb 0x1400abb66
jne 0x1400abb27
mov rcx, rsi
call fcn.1400ab050
nop
add rsp, 0x1b8
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 + 0xf0], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x50], rax
lea rax, [fcn.140011310]
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0xf8]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rax
lea rax, [0x1401f5bb0]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 0
lea rax, [rbp + 0x50]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 2
lea rdx, [0x1401f5bd0]
lea rcx, [rbp + 0x20]
call fcn.140194800
ud2
lea rax, [0x1401f5770]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 1
lea rax, [0x1402199d8]
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
lea rdx, [0x1401f5780]
lea rcx, [rbp + 0x70]
call fcn.140194800
ud2