Function at 0x18003d0b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
mov r13d, dword [rcx + 0xc]
mov rdi, r9
mov r14, qword [0x1800801d0]
mov r12, r8
movaps xmmword [rax - 0x58], xmm6
mov rsi, rdx
movaps xmmword [rax - 0x68], xmm7
mov rbx, rcx
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
test r13b, 0x20
jne 0x18003d136
cmp dword [r14 + 0x158c], 0xffffffff
je 0x18003d136
mov cl, 1
jmp 0x18003d138
xor cl, cl
mov r15d, dword [rbx + 0x1b8]
xorps xmm13, xmm13
mov dword [rbx + 0x13c], 1
mov eax, r15d
mov dword [rbx + 0x140], 2
or eax, 0x10
mov dword [rbx + 0x1b8], eax
movss xmm6, dword [r14 + 0x15a0]
movss xmm3, dword [r14 + 0x1928]
movaps xmm8, xmm6
movss xmm1, dword [rdx + 8]
movss xmm2, dword [rdx + 4]
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x70], 0
test rdi, rdi
je 0x18003d1c1
addss xmm8, xmm3
movaps xmm0, xmm1
subss xmm0, xmm8
subss xmm0, dword [r14 + 0x15a0]
movss dword [rbp + 0x8c], xmm2
movss dword [rbp + 0x88], xmm0
test cl, cl
je 0x18003d2df
mov eax, dword [r14 + 0x158c]
cmp eax, 1
jne 0x18003d1f9
addss xmm8, xmm3
subss xmm1, xmm8
subss xmm1, dword [r14 + 0x15a0]
movss dword [rbp + 0x74], xmm2
movss dword [rbp + 0x70], xmm1
mov eax, dword [r14 + 0x158c]
test eax, eax
jne 0x18003d21b
movaps xmm0, xmm6
addss xmm6, xmm3
addss xmm0, dword [rdx]
subss xmm0, dword [r14 + 0x15a0]
movss dword [rbp + 0x74], xmm2
movss dword [rbp + 0x70], xmm0
cmp byte [0x180071b21], 0
movsd xmm0, qword [0x180071b18]
movzx eax, word [0x180071b20]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
je 0x18003d286
xor r8d, r8d
movabs rsi, 0x47ae147ae147ae15
nop dword [rax + rax]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 0xa
jb 0x18003d250
mov rsi, qword [rbp + 0x78]
movsxd rcx, dword [rbx + 0xc0]
xor edx, edx
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x60]
call fcn.180034450
mov rcx, qword [0x1800801d0]
cmp dword [rcx + 0x1ac8], eax
jne 0x18003d2ba
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x18003d2c9
mov byte [rcx + 0x1b0c], 1
lea rdx, [rbp + 0x70]
mov ecx, eax
call fcn.1800579a0
test al, al
je 0x18003d2df
mov byte [rbx + 0x82], 1
test rdi, rdi
je 0x18003d377
mov eax, dword [0x180071b24]
xor edx, edx
movsxd rcx, dword [rbx + 0xc0]
mov dword [rbp + 0x78], eax
movzx eax, word [0x180071b28]
xor byte [rbp + 0x79], 0x32
xor byte [rbp + 0x7a], 0x33
xor byte [rbp + 0x7b], 0x34
mov word [rbp + 0x7c], ax
movzx eax, byte [0x180071b2a]
xor byte [rbp + 0x7c], 0x35
xor al, 0x37
xor byte [rbp + 0x7d], 0x36
mov byte [rbp + 0x7e], al
mov rax, qword [rbx + 0xc8]
mov byte [rbp + 0x78], 0x23
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp + 0x78]
call fcn.180034450
mov rcx, qword [0x1800801d0]
cmp dword [rcx + 0x1ac8], eax
jne 0x18003d353
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x18003d362
mov byte [rcx + 0x1b0c], 1
lea rdx, [rbp + 0x88]
mov ecx, eax
call fcn.180057750
test al, al
je 0x18003d377
mov byte [rdi], 0
movzx eax, word [0x180071b2c]
mov dword [rbx + 0x1b8], r15d
xor r15d, r15d
cmp byte [0x180071b2d], r15b
mov dword [rbx + 0x13c], 0
mov dword [rbx + 0x140], 1
mov word [rbp + 0x78], ax
je 0x18003d3f2
mov r8d, r15d
movabs r9, 0x47ae147ae147ae15
nop word [rax + rax]
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 + 0x78], al
inc r8
cmp r8, 2
jb 0x18003d3c0
movss xmm7, dword [0x180071428]
movss xmm9, dword [0x180071d08]
movss xmm10, dword [0x180071cd8]
and r13d, 0x100000
je 0x18003d470
mov rcx, qword [0x1800801d0]
lea rax, [rbp + 0x78]
mov qword [rsp + 0x38], r15
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x30], r15
movaps xmm3, xmm9
mov qword [rsp + 0x28], rax
movss xmm2, dword [rcx + 0x1928]
mov rcx, qword [rcx + 0x1920]
movss dword [rsp + 0x20], xmm7
call fcn.180044390
movss xmm0, dword [rbp + 0x80]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm14, eax
cvtdq2ps xmm14, xmm14
jmp 0x18003d474
movaps xmm14, xmm13
mov r8, qword [0x1800801d0]
mov rax, r12
cmp r12, 0xffffffffffffffff
jae 0x18003d49e
movzx ecx, byte [rax]
test cl, cl
je 0x18003d49e
cmp cl, 0x23
jne 0x18003d495
cmp byte [rax + 1], cl
je 0x18003d49e
inc rax
cmp rax, 0xffffffffffffffff
jb 0x18003d484
movss xmm11, dword [r8 + 0x1928]
cmp r12, rax
jne 0x18003d4b2
movaps xmm10, xmm13
jmp 0x18003d505
mov rcx, qword [r8 + 0x1920]
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x38], r15
movaps xmm3, xmm9
mov qword [rsp + 0x30], rax
movaps xmm2, xmm11
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm7
call fcn.180044390
movss xmm0, dword [rbp + 0x80]
movss xmm11, dword [rbp + 0x84]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
movss xmm1, dword [r14 + 0x15a0]
addss xmm10, xmm14
comiss xmm6, xmm1
movss xmm0, dword [r14 + 0x15b8]
addss xmm11, xmm13
jbe 0x18003d52a
addss xmm6, xmm0
comiss xmm8, xmm1
jbe 0x18003d535
addss xmm8, xmm0
movss xmm0, dword [r14 + 0x1584]
comiss xmm0, xmm13
movss xmm12, dword [0x1800713c8]
jbe 0x18003d5bc
movss xmm7, dword [0x1800713bc]
comiss xmm7, xmm0
jbe 0x18003d5bc
subss xmm0, dword [0x1800713b8]
call fcn.1800298b0
mulss xmm0, xmm12
movaps xmm1, xmm7
subss xmm1, xmm0
comiss xmm13, xmm1
jbe 0x18003d57f
movaps xmm7, xmm13
jmp 0x18003d583
minss xmm7, xmm1
movss xmm0, dword [rsi + 8]
movaps xmm1, xmm6
subss xmm0, dword [rsi]
maxss xmm1, xmm8
subss xmm0, xmm6
subss xmm0, xmm8
subss xmm0, xmm10
minss xmm1, xmm0
mulss xmm1, xmm7
comiss xmm6, xmm1
jae 0x18003d5b2
movaps xmm6, xmm1
comiss xmm8, xmm1
jae 0x18003d5bc
movaps xmm8, xmm1
movss xmm9, dword [rsi + 8]
mov rbx, r12
movss xmm7, dword [rsi + 4]
subss xmm9, xmm8
movss xmm8, dword [rsi + 0xc]
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x5c], xmm8
movss dword [rsp + 0x74], xmm7
movss dword [rsp + 0x58], xmm9
movaps xmm2, xmm9
movss dword [rsp + 0x7c], xmm8
addss xmm6, dword [rsi]
addss xmm2, dword [r14 + 0x15b8]
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x78], xmm2
movss dword [rsp + 0x70], xmm6
cmp r12, 0xffffffffffffffff
jae 0x18003d639
nop
movzx eax, byte [rbx]
test al, al
je 0x18003d639
cmp al, 0x23
jne 0x18003d630
cmp byte [rbx + 1], al
je 0x18003d639
inc rbx
cmp rbx, 0xffffffffffffffff
jb 0x18003d620
cmp ebx, r12d
je 0x18003d7ba
mov rdi, qword [0x1800801d0]
movaps xmm0, xmm6
addss xmm0, xmm10
movss dword [rbp + 0x80], xmm6
movss dword [rbp + 0x84], xmm7
mov rax, qword [rdi + 0x1a80]
comiss xmm0, xmm2
mov rsi, qword [rax + 0x2b0]
jae 0x18003d686
movaps xmm0, xmm11
addss xmm0, xmm7
comiss xmm0, xmm8
jae 0x18003d686
xor al, al
jmp 0x18003d688
mov al, 1
comiss xmm6, xmm6
ja 0x18003d696
comiss xmm7, xmm7
ja 0x18003d696
xor cl, cl
jmp 0x18003d698
mov cl, 1
movss xmm1, dword [r14 + 0x1584]
or al, cl
comiss xmm1, xmm13
jbe 0x18003d6cb
movaps xmm0, xmm9
subss xmm0, xmm6
subss xmm0, xmm10
mulss xmm0, xmm1
addss xmm0, xmm6
comiss xmm6, xmm0
jae 0x18003d6cb
movss dword [rbp + 0x80], xmm0
movss xmm1, dword [r14 + 0x1588]
comiss xmm1, xmm13
jbe 0x18003d6fc
movaps xmm0, xmm8
subss xmm0, xmm7
subss xmm0, xmm11
mulss xmm0, xmm1
addss xmm0, xmm7
comiss xmm7, xmm0
jae 0x18003d6fc
movss dword [rbp + 0x84], xmm0
test al, al
lea rcx, [rbp - 0x80]
mov rax, qword [0x1800801d0]
je 0x18003d751
movss dword [rsp + 0x68], xmm2
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x64], xmm7
movss dword [rsp + 0x6c], xmm8
movups xmm0, xmmword [rax + 0x161c]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1568]
movss dword [rbp - 0x74], xmm0
call fcn.180031520
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
jmp 0x18003d777
movups xmm0, xmmword [rax + 0x161c]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1568]
movss dword [rbp - 0x74], xmm0
call fcn.180031520
mov qword [rsp + 0x40], r15
movss dword [rsp + 0x38], xmm13
lea r9, [rbp + 0x80]
mov qword [rsp + 0x30], rbx
movaps xmm2, xmm13
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180043df0
cmp byte [rdi + 0x2fc8], 0
je 0x18003d7ba
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180035d50
test r13d, r13d
je 0x18003d8f5
movss xmm0, dword [r14 + 0x1928]
subss xmm12, xmm14
xorps xmm0, xmmword [0x180071470]
addss xmm7, xmm13
mulss xmm0, dword [0x180071cb0]
lea rdi, [rbp + 0x78]
mov dword [rsp + 0x50], 0
movaps xmm1, xmm9
xorps xmm2, xmm2
subss xmm9, xmm6
cvttss2si eax, xmm0
movss xmm0, dword [r14 + 0x1588]
addss xmm1, xmm13
subss xmm9, xmm10
movss dword [rsp + 0x54], xmm0
cvtsi2ss xmm2, eax
lea rax, [rbp + 0x78]
movss dword [rsp + 0x60], xmm1
mulss xmm9, dword [r14 + 0x1584]
addss xmm8, xmm2
addss xmm7, xmm2
addss xmm9, xmm6
movss dword [rsp + 0x64], xmm8
movss dword [rbp + 0x84], xmm7
maxss xmm6, xmm9
addss xmm6, xmm10
addss xmm6, xmm12
addss xmm6, xmm13
movss dword [rbp + 0x80], xmm6
cmp rax, 0xffffffffffffffff
jae 0x18003d889
movzx eax, byte [rdi]
test al, al
je 0x18003d889
cmp al, 0x23
jne 0x18003d880
cmp byte [rdi + 1], al
je 0x18003d889
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x18003d870
lea rcx, [rbp + 0x78]
cmp edi, ecx
je 0x18003d8f5
mov rbx, qword [0x1800801d0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x78]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
mov rcx, qword [rbx + 0x1a80]
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x2b0]
call fcn.18003bf90
cmp byte [rbx + 0x2fc8], 0
je 0x18003d8f5
mov r8, rdi
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.180035d50
lea r11, [rsp + 0x128]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret