Function at 0x7ff698f82d20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x7ff69902b080]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r15, rcx
mov qword [rbp + 0x50], rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x40], r13d
mov qword [rbp + 0x50], r13
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x7ff698ffd778]
call qword [0x7ff698fef7c8]
test eax, eax
jne 0x7ff698f82da4
mov r8d, 0x104
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x250]
call qword [0x7ff698fefbc0]
jmp 0x7ff698f82dbe
mov ecx, 2
call qword [0x7ff698fefdc0]
mov rcx, rax
lea rdx, [0x7ff699015018]
call fcn.7ff698f81ec0
movsd xmm0, qword [0x7ff6990150a0]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x7ff6990150a8]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x7ff6990150ac]
mov byte [rsp + 0x54], al
mov r8d, r13d
cmp dword [0x7ff69902b0d0], 2
jl 0x7ff698f82eed
movdqa xmm4, xmmword [0x7ff699015b20]
movdqa xmm2, xmmword [0x7ff6990158f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff699015960]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff699015a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff699015a20]
movd xmm0, dword [0x7ff6990150a0]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x7ff699015910]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff699015960]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff699015a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff699015a20]
movd xmm0, dword [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x7ff698f82f00
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp + 0x250]
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp byte [rax + r8], sil
jne 0x7ff698f82f50
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x60]
call fcn.7ff698f3fda0
nop
lea rax, [rsp + 0x48]
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x7ff698f82f72
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.7ff698f3d460
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 8
lea rcx, [rbp - 0x60]
call fcn.7ff698f3d390
mov rdi, qword [rbp + 0x90]
lea rbx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rbx, qword [rbp + 0x80]
call fcn.7ff698fe8efc
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.7ff698f4c3c0
or esi, 0x30
or esi, 1
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.7ff698f4f070
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
lea r14, [0x7ff699054d38]
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0xd0], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x7ff698f830e5
cmp eax, 1
je 0x7ff698f830ed
mov rdi, qword [rbp + 0x90]
lea rbx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rbx, qword [rbp + 0x80]
call fcn.7ff698fe8efc
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.7ff698f4c3c0
or esi, 0x300
or esi, 2
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.7ff698f4f070
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x7ff698f830dc
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x7ff698f838df
cmp ecx, 3
jne 0x7ff698f830ed
xor bl, bl
jmp 0x7ff698f830ef
test ecx, ecx
jne 0x7ff698f838f0
mov bl, 1
test sil, 2
je 0x7ff698f83106
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x40]
call fcn.7ff698f457e0
nop
test sil, 1
je 0x7ff698f83115
lea rcx, [rbp - 0x20]
call fcn.7ff698f457e0
test bl, bl
je 0x7ff698f83152
lea rdx, [0x7ff699015000]
mov rcx, qword [0x7ff698fef6a0]
call fcn.7ff698f49d30
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
xor r8d, r8d
lea rdx, [0x7ff698ffda5e]
mov rcx, r15
call fcn.7ff698f3fda0
jmp 0x7ff698f8386d
mov rbx, r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r13w
mov rsi, qword [rbp + 0x90]
lea rdi, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdi, qword [rbp + 0x80]
call fcn.7ff698fe8efc
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rsi
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp]
call fcn.7ff698f4c3c0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x70]
call fcn.7ff698f753f0
nop
lea rcx, [rbp]
call fcn.7ff698f457e0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rdi, qword [rbp + 0x78]
test rdi, rdi
je 0x7ff698f831ef
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x78]
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0xc0], xmm0
test rdi, rdi
je 0x7ff698f83208
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
test rdi, rdi
je 0x7ff698f83247
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x7ff698f83243
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x7ff698f83243
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rdi, qword [rbp + 0x78]
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x7ff698f83369
nop word [rax + rax]
lea rdi, [rax + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.7ff698f4f070
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x7ff698f83293
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x7ff698f83908
cmp ecx, 2
jne 0x7ff698f83342
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x7ff698f832a9
mov rcx, qword [rdi]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rbp + 0x230]
call fcn.7ff698fe92b8
test eax, eax
jne 0x7ff698f838b2
mov rax, qword [rbp + 0x230]
cmp rax, rbx
je 0x7ff698f83342
jl 0x7ff698f83342
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, rdi
je 0x7ff698f83342
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x7ff698f832f4
mov rdi, qword [rdi]
mov rax, qword [rbp + 0xb8]
cmp rdx, rax
ja 0x7ff698f83333
lea r14, [rbp + 0xa0]
cmp rax, 7
cmova r14, qword [rbp + 0xa0]
mov qword [rbp + 0xb0], rdx
lea rsi, [rdx + rdx]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.7ff698feaa9a
mov word [r14 + rsi], r13w
jmp 0x7ff698f83342
mov r9, rdi
lea rcx, [rbp + 0xa0]
call fcn.7ff698f60050
lea rcx, [rbp + 0xc0]
call fcn.7ff698f75520
mov rax, qword [rbp + 0xc0]
test rax, rax
jne 0x7ff698f83260
mov rdi, qword [rbp + 0x78]
lea r14, [0x7ff699054d38]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x7ff698f833af
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff698f833ab
mov rbx, qword [rbp + 0xc8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x7ff698f833ab
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x78]
test rdi, rdi
je 0x7ff698f833de
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x7ff698f833de
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r12d
cmp r12d, 1
jne 0x7ff698f833de
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x70]
call fcn.7ff698f4f070
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xf0], ecx
mov qword [rbp + 0xf8], r14
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xd0], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x7ff698f838ac
cmp eax, 1
je 0x7ff698f8383e
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x120]
call fcn.7ff698feaaa0
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 7
cmova rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0x120]
call fcn.7ff698f4bdb0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rsi, [0x7ff69900f3a0]
mov qword [rbp + rcx + 0x120], rsi
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
cmp qword [rbp + 0x1b0], 0
je 0x7ff698f837ed
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
mov qword [rbp + 0x68], r13
movups xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x7ff6990158b0]
movdqu xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], 0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [0x7ff698fef448]
movzx r8d, al
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x120]
call fcn.7ff698f73560
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [0x7ff698fef660]
test al, al
je 0x7ff698f8359b
nop dword [rax]
mov rax, qword [rbp + 0x60]
cmp rax, qword [rbp + 0x68]
je 0x7ff698f83540
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.7ff698f4b2b0
add qword [rbp + 0x60], 0x20
jmp 0x7ff698f83553
lea r8, [rbp + 0xf0]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.7ff698f899a0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [0x7ff698fef448]
movzx r8d, al
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x120]
call fcn.7ff698f73560
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [0x7ff698fef660]
test al, al
jne 0x7ff698f83520
lea rcx, [rbp + 0x130]
call fcn.7ff698f455e0
test rax, rax
jne 0x7ff698f835ce
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff698fef4d8]
mov rbx, qword [rbp + 0x60]
cmp rbx, qword [rbp + 0x58]
je 0x7ff698f83668
mov rdx, rbx
lea rdi, [0x7ff699054b60]
nop word [rax + rax]
add rbx, 0xffffffffffffffe0
add rdx, 0xffffffffffffffe0
lea rcx, [rbp + 0xd0]
call fcn.7ff698f4b2b0
mov rax, qword [0x7ff699054b70]
mov r9, rdi
cmp qword [0x7ff699054b78], 0xf
cmova r9, qword [0x7ff699054b60]
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rcx, qword [rbp + 0xd0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call fcn.7ff698f4e690
lea rcx, [rbp + 0xd0]
cmp rax, 0xffffffffffffffff
jne 0x7ff698f836e0
call fcn.7ff698f3d390
mov rdx, rbx
cmp rbx, qword [rbp + 0x58]
jne 0x7ff698f835f0
lea rcx, [rbp + 0xf0]
call fcn.7ff698f3d390
nop
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x7ff698f837ed
mov rdi, qword [rbp + 0x60]
cmp rbx, rdi
je 0x7ff698f836a5
nop dword [rax + rax]
mov rcx, rbx
call fcn.7ff698f3d390
add rbx, 0x20
cmp rbx, rdi
jne 0x7ff698f83690
mov rbx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x68]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x7ff698f837e4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff698f837e4
call qword [0x7ff698fefce8]
nop
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
call fcn.7ff698f3d390
nop
lea rcx, [rbp + 0xf0]
call fcn.7ff698f3d390
nop
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x7ff698f83791
mov rdi, qword [rbp + 0x60]
cmp rbx, rdi
je 0x7ff698f8374a
mov rcx, rbx
call fcn.7ff698f3d390
add rbx, 0x20
cmp rbx, rdi
jne 0x7ff698f83735
mov rbx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x68]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x7ff698f8377d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff698f8377d
call qword [0x7ff698fefce8]
int3
mov rcx, rbx
call fcn.7ff698fe9f20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x120], rsi
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x130]
call fcn.7ff698f45100
lea rcx, [rbp + 0x138]
call qword [0x7ff698fef5c0]
lea rcx, [rbp + 0x1d0]
call qword [0x7ff698fef518]
jmp 0x7ff698f83860
mov rcx, rbx
call fcn.7ff698fe9f20
nop
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x120], rsi
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x130]
call fcn.7ff698f45100
lea rcx, [rbp + 0x138]
call qword [0x7ff698fef5c0]
lea rcx, [rbp + 0x1d0]
call qword [0x7ff698fef518]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
xor r8d, r8d
lea rdx, [0x7ff698ffda5e]
mov rcx, r15
call fcn.7ff698f3fda0
nop
lea rcx, [rbp + 0xa0]
call fcn.7ff698f457e0
nop
lea rcx, [rbp + 0x80]
call fcn.7ff698f3d390
mov rax, r15
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.7ff698fe98c0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test ecx, ecx
jne 0x7ff698f838c4
jmp 0x7ff698f8383e
mov r8, rdi
mov edx, eax
lea rcx, [0x7ff699014fc8]
call fcn.7ff698f4ef70
nop
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xd0]
lea rcx, [0x7ff6990132b8]
call fcn.7ff698f4cb90
nop
lea r8, [rbp - 0x40]
lea rcx, [0x7ff6990149a8]
call fcn.7ff698f4ef70
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0xd0]
lea rcx, [0x7ff6990132b8]
call fcn.7ff698f4cb90
nop
mov r8, rdi
lea rcx, [0x7ff6990149a8]
call fcn.7ff698f4ef70
int3