Function at 0x18002ced0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
nop dword [rax + rax]
mov r9, qword [rdi + 0x30]
xor esi, esi
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180013828
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180013828
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x22b5ea30
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x180013823
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x180013800
cmp edx, 0xf64c75e2
je 0x180013a8b
test r8d, r8d
jne 0x1800137e0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x18001383d
cmp qword [rax + 0x30], rsi
jne 0x1800137b0
mov r10, rsi
cmp dword [0x18010b090], 2
mov r8d, esi
movzx eax, word [0x1800e5100]
movups xmm0, xmmword [str.s_vytqmws]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1800e5102]
mov byte [rsp + 0x42], al
movups xmmword [rsp + 0x30], xmm0
jl 0x18001399e
movdqa xmm0, xmmword [0x1800f7c70]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1800f7ad0]
movdqa xmm3, xmmword [0x1800f7f70]
movdqa xmm5, xmmword [0x1800f7b20]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1800f7c10]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800138b0
movaps xmm6, xmmword [rsp + 0x50]
cmp r8d, 0x13
jge 0x1800139e1
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x1800139b0
lea rcx, [rsp + 0x30]
call r10
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180013a74
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180013a74
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xa05a1abb
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x180013a6f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x180013a50
cmp edx, 0x59f850c7
je 0x180013aa8
test r8d, r8d
jne 0x180013a30
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x180013abf
cmp qword [rax + 0x30], rsi
jne 0x180013a00
jmp 0x180013abf
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x180013840
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov esi, dword [rcx + rdx*4]
add rsi, r9
mov edx, 0x1f4
mov ecx, edx
call rsi
call fcn.180033b70
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x18002ced0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
call fcn.18005fd70
xor edi, edi
mov rbx, 0xffffffffffffffff
mov r14d, dword [0x18010b090]
movdqa xmm6, xmmword [0x1800f7c10]
test eax, eax
je 0x18002d0c7
cmp eax, 1
je 0x18002d0c7
movups xmm0, xmmword [0x1800e63f8]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800e6408]
movsd qword [rbp + 0x17], xmm0
cmp r14d, 2
jl 0x18002d052
movdqa xmm5, xmmword [0x1800f7ad0]
mov edx, edi
movdqa xmm4, xmmword [0x1800f7f70]
movdqa xmm7, xmmword [0x1800f7b20]
movdqa xmm0, xmmword [0x1800f7c70]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp + 7]
mov r8d, dword [rbp - 0x19]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x18002cf71
jmp 0x18002d090
lea r9, [rbp + 7]
mov r8d, edi
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x18002d060
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 7]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x18002d0a6
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180012e90
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.180027080
cmp qword [0x18020abb8], rdi
je 0x18002d163
call fcn.180029dd0
mov rsi, rax
mov rcx, rax
call fcn.18004a7a0
test al, al
je 0x18002d0fa
mov rcx, qword [0x18010bd38]
cmp rcx, rbx
je 0x18002d0fa
mov rcx, qword [rcx + rsi]
jmp 0x18002d0fd
mov rcx, rdi
call fcn.18004a7a0
test al, al
je 0x18002d163
mov ecx, 0x18
call fcn.1800b0bd0
mov rbx, rax
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov r14, qword [0x18020abb8]
call fcn.180029dd0
mov rsi, rax
mov rcx, rax
call fcn.18004a7a0
test al, al
je 0x18002d14f
mov rcx, qword [0x18010bd38]
cmp rcx, 0xffffffffffffffff
je 0x18002d14f
mov rdi, qword [rsi + rcx]
mov r8, r14
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.18002d940
nop
jmp 0x18002d324
movups xmm0, xmmword [0x1800e6410]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800e6420]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x1800e6428]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800e642c]
mov word [rbp + 0x23], ax
movzx eax, byte [0x1800e642e]
mov byte [rbp + 0x25], al
mov ecx, edi
cmp r14d, 2
jl 0x18002d2b6
movdqa xmm5, xmmword [0x1800f7ad0]
movdqa xmm4, xmmword [0x1800f7f70]
movdqa xmm7, xmmword [0x1800f7b20]
movdqa xmm0, xmmword [0x1800f7c70]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp + 7]
mov r8d, dword [rbp - 0x19]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm3, xmm0
movd dword [rdx + 4], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x18002d1d2
cmp ecx, 0x1f
jge 0x18002d2ec
movsxd rax, ecx
lea r8, [rbp + 7]
add r8, rax
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1f
jl 0x18002d2c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 7]
nop
inc rbx
cmp byte [rax + rbx], dil
jne 0x18002d300
mov r8, rbx
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180012e90
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.180027080
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret