Function at 0x18002d750
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 0x180014af8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180014af8
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x1978a8a
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x180014af3
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 0x180014ad0
cmp edx, 0x53ccf70c
je 0x180014d8b
test r8d, r8d
jne 0x180014ab0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x180014b0d
cmp qword [rax + 0x30], rsi
jne 0x180014a80
mov r10, rsi
cmp dword [0x18010a088], 2
mov r8d, esi
movzx eax, word [0x1800e65f0]
movups xmm0, xmmword [0x1800e65e0]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1800e65f2]
mov byte [rsp + 0x42], al
movups xmmword [rsp + 0x30], xmm0
jl 0x180014c94
movdqa xmm0, xmmword [0x1800f8e30]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800f8c90]
movdqa xmm4, xmmword [0x1800f8f50]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1800f8d50]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180014b80
movaps xmm6, xmmword [rsp + 0x50]
cmp r8d, 0x13
jge 0x180014cd4
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x180014ca0
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
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180014d74
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180014d74
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xe86f05f1
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x180014d6f
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 0x180014d50
cmp edx, 0xea10b1b9
je 0x180014da8
test r8d, r8d
jne 0x180014d30
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x180014dbf
cmp qword [rax + 0x30], rsi
jne 0x180014d00
jmp 0x180014dbf
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 0x180014b10
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.180034100
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp 0x18002d750
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
call fcn.180061220
mov r14d, dword [0x18010a088]
xor edi, edi
lea rbx, [rdi - 1]
test eax, eax
je 0x18002d968
cmp eax, 1
je 0x18002d968
cmp byte [0x1800e73af], dil
movups xmm0, xmmword [0x1800e7398]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1800e73a8]
movsd qword [rbp - 0x20], xmm0
je 0x18002d931
cmp r14d, 2
jl 0x18002d8f1
movdqa xmm0, xmmword [0x1800f8e40]
lea rcx, [rbp - 0x30]
movdqa xmm5, xmmword [0x1800f8c90]
mov edx, edi
movdqa xmm4, xmmword [0x1800f8f20]
movdqa xmm6, xmmword [0x1800f8ce0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp edx, 0x18
jl 0x18002d7f0
jmp 0x18002d931
lea r9, [rbp - 0x30]
mov r8d, edi
nop dword [rax + 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, 0x18
jl 0x18002d900
xorps xmm0, xmm0
mov qword [rbp - 0x40], rdi
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x18002d947
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180013f10
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.1800279c0
cmp qword [0x180209ae8], rdi
mov qword [rsp + 0x90], rsi
je 0x18002d9f7
call fcn.18002a540
mov rcx, rax
mov rsi, rax
call fcn.18004b6f0
test al, al
je 0x18002d99f
mov rcx, qword [0x18010ac98]
cmp rcx, rbx
je 0x18002d99f
mov rcx, qword [rcx + rsi]
jmp 0x18002d9a2
mov rcx, rdi
call fcn.18004b6f0
test al, al
je 0x18002d9f7
mov ecx, 0x18
call fcn.1800b2a54
mov r14, qword [0x180209ae8]
mov rsi, rax
call fcn.18002a540
mov rcx, rax
mov rbx, rax
call fcn.18004b6f0
test al, al
je 0x18002d9e4
mov rcx, qword [0x18010ac98]
cmp rcx, 0xffffffffffffffff
je 0x18002d9e4
mov rdi, qword [rcx + rbx]
mov rdx, qword [rdi]
mov r8, r14
mov rcx, rsi
call fcn.18002e1e0
jmp 0x18002dbe4
mov eax, dword [0x1800e73c8]
mov ecx, edi
mov dword [rbp - 0x18], eax
movzx eax, word [0x1800e73cc]
mov word [rbp - 0x14], ax
movzx eax, byte [0x1800e73ce]
mov byte [rbp - 0x12], al
movups xmm0, xmmword [0x1800e73b0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1800e73c0]
movsd qword [rbp - 0x20], xmm0
cmp r14d, 2
jl 0x18002db74
movdqa xmm0, xmmword [0x1800f8e40]
lea rdx, [rbp - 0x30]
movdqa xmm5, xmmword [0x1800f8c90]
movdqa xmm4, xmmword [0x1800f8f20]
movdqa xmm6, xmmword [0x1800f8ce0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x18
jl 0x18002da70
cmp ecx, 0x1f
jge 0x18002dbad
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x1f
jl 0x18002db80
xorps xmm0, xmm0
mov qword [rbp - 0x40], rdi
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], dil
jne 0x18002dbc0
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180013f10
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.1800279c0
mov rsi, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret