Function at 0x14002e3b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x78
mov rdi, qword [0x14011d300]
movss xmm0, dword [0x1400ba29c]
comiss xmm0, dword [rdi + 0x4238]
ja 0x14002e859
cmp qword [rdi + 0x4230], 0
mov qword [rax + 0x18], rbx
mov qword [rax - 0x18], r14
lea r14, [0x140000000]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
jne 0x14002e492
movdqa xmm0, xmmword [0x1400bb2b0]
xor edx, edx
movdqu xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x2c], 0xd3d5cc
nop dword [rax]
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx - 0x3c], al
cmp edx, 0x13
jb 0x14002e420
movzx r9d, byte [rbp - 0x3c]
lea r8, [rbp - 0x3b]
mov byte [rbp - 0x29], 0
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002e484
nop dword [rax]
cmp r9b, 0x23
jne 0x14002e463
cmp byte [r8], r9b
jne 0x14002e463
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r14 + rdx*4 + 0xb8170]
test r9b, r9b
jne 0x14002e450
not ecx
call fcn.140022820
mov qword [rdi + 0x4230], rax
mov rax, qword [rdi + 0x40b0]
lea rdx, [rbp - 0x58]
mov dword [rbp - 0x44], 0x7f7fffff
mov dword [rbp - 0x40], 0x7f7fffff
movups xmm0, xmmword [rbp - 0x4c]
mov rcx, qword [rax]
mov dword [rbp - 0x58], 2
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
or dword [rdi + 0x3fb0], 0x10
mulss xmm1, dword [0x1400ba2a4]
mov qword [rdi + 0x4000], 0
mulss xmm2, dword [0x1400ba2a4]
mov qword [rdi + 0x4008], 0
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x3fec], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x1400ba2c4]
mulss xmm2, dword [0x1400ba2c4]
addss xmm1, dword [rcx + 8]
movups xmmword [rbp - 0x4c], xmm0
addss xmm2, dword [rcx + 4]
or dword [rdi + 0x3fb0], 1
lea rcx, [rdi + 0x4030]
movss dword [rdi + 0x3fc4], xmm1
mov dword [rdi + 0x3fc8], 0x3f000000
mov dword [rdi + 0x3fcc], 0x3f000000
movss dword [rdi + 0x3fc0], xmm2
mov dword [rdi + 0x3fb4], 1
movss xmm7, dword [rdi + 0x3800]
movss xmm6, dword [rdi + 0x3804]
addss xmm7, xmm7
movss xmm1, dword [rdi + 0x3800]
addss xmm6, xmm6
movss xmm0, dword [rdi + 0x3804]
movss dword [rbp - 0x54], xmm1
movss dword [rbp - 0x50], xmm0
call fcn.140030050
movdqa xmm0, xmmword [0x1400bb2b0]
xor edx, edx
movss dword [rdi + 0x3800], xmm7
movaps xmm7, xmmword [rsp + 0x50]
movss dword [rdi + 0x3804], xmm6
movaps xmm6, xmmword [rsp + 0x60]
movdqu xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x2c], 0xd3d5cc
nop dword [rax]
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx - 0x3c], al
cmp edx, 0x13
jb 0x14002e5e0
xor edx, edx
mov byte [rbp - 0x29], 0
mov r8d, 0xc1347
lea rcx, [rbp - 0x3c]
call fcn.140025050
mov eax, dword [rdi + 0x3e58]
sub eax, 1
movsxd rbx, eax
js 0x14002e7c1
nop dword [rax + rax]
mov rax, qword [rdi + 0x3e60]
mov r9, qword [rax + rbx*8]
cmp byte [r9 + 0x97], 0
je 0x14002e7b7
cmp r9, qword [r9 + 0x360]
jne 0x14002e7b7
mov edx, dword [r9 + 0xc]
bt edx, 0x13
jb 0x14002e7b7
mov r8, qword [r9]
mov rax, r8
cmp r8, 0xffffffffffffffff
jae 0x14002e683
movzx ecx, byte [rax]
test cl, cl
je 0x14002e67a
cmp cl, 0x23
jne 0x14002e671
cmp byte [rax + 1], cl
je 0x14002e67a
inc rax
cmp rax, 0xffffffffffffffff
jb 0x14002e660
cmp r8, rax
jne 0x14002e799
bt edx, 0x1a
jae 0x14002e6be
mov dword [rbp + 0x18], 0xe8f8c6bd
xor edx, edx
mov dword [rbp + 0x1c], 0xb2eaec
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 7
jb 0x14002e6a0
mov byte [rbp + 0x1f], 0
lea r8, [rbp + 0x18]
jmp 0x14002e799
bt edx, 0xa
jae 0x14002e75b
mov dword [rbp - 0x4c], 0xf9dab5b6
xor edx, edx
mov dword [rbp - 0x48], 0xf9d6f4f0
mov dword [rbp - 0x44], 0xc1ddebf3
mov word [rbp - 0x40], 0xd3
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx - 0x4c], al
cmp edx, 0xd
jb 0x14002e6f0
lea rdx, [rbp - 0x4c]
mov byte [rbp - 0x3f], 0
sub rdx, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r8 + rdx]
sub ecx, eax
jne 0x14002e724
inc r8
test eax, eax
jne 0x14002e710
test ecx, ecx
jne 0x14002e75b
movdqa xmm0, xmmword [0x1400ba560]
xor edx, edx
movdqu xmmword [rbp - 0x3c], xmm0
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx - 0x3c], al
cmp edx, 0xf
jb 0x14002e740
mov byte [rbp - 0x2d], 0
lea r8, [rbp - 0x3c]
jmp 0x14002e799
xor eax, eax
mov dword [rbp - 0x58], 0xecf9c3bd
mov byte [rbp - 0x4e], al
xor edx, edx
mov dword [rbp - 0x54], 0xf9f7eef0
mov word [rbp - 0x50], 0xb7f9
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rbp + rcx - 0x58], al
cmp edx, 0xa
jb 0x14002e780
mov byte [rbp - 0x4e], 0
lea r8, [rbp - 0x58]
cmp qword [rdi + 0x4220], r9
mov rcx, r8
lea r9, [rbp + 0x20]
mov qword [rbp + 0x20], 0
sete dl
call fcn.140055190
sub rbx, 1
jns 0x14002e620
call fcn.1400273b0
mov rcx, qword [0x14011d300]
mov rbx, qword [rsp + 0xa0]
movsxd rax, dword [rcx + 0x4030]
mov r8, qword [rcx + 0x4038]
lea rdx, [rax + rax*2]
movsxd rax, dword [r8 + rdx*4 - 0xc]
lea r10, [rax + rax*2]
cmp dword [r14 + r10*4 + 0xb7fd0], 8
mov r9d, dword [r14 + r10*4 + 0xb7fd8]
jne 0x14002e84e
mov eax, dword [r14 + r10*4 + 0xb7fd4]
cmp eax, 1
jne 0x14002e82f
mov eax, dword [r8 + rdx*4 - 8]
mov r14, qword [rsp + 0x70]
mov dword [r9 + rcx + 0x37f8], eax
dec dword [rcx + 0x4030]
add rsp, 0x78
pop rdi
pop rbp
ret
cmp eax, 2
jne 0x14002e84e
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x37f8], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [r9 + rcx + 0x37fc], eax
dec dword [rcx + 0x4030]
mov r14, qword [rsp + 0x70]
add rsp, 0x78
pop rdi
pop rbp
ret