Function at 0x18003e3b0
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 [0x1800821d8]
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 0x18003e436
cmp dword [r14 + 0x158c], 0xffffffff
je 0x18003e436
mov cl, 1
jmp 0x18003e438
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 0x18003e4c1
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 0x18003e5df
mov eax, dword [r14 + 0x158c]
cmp eax, 1
jne 0x18003e4f9
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 0x18003e51b
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 [0x180073b51], 0
movsd xmm0, qword [0x180073b48]
movzx eax, word [0x180073b50]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
je 0x18003e586
xor r8d, r8d
movabs rsi, 0x4e5e0a72f0539783
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, 0x31
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 0xa
jb 0x18003e550
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.180035750
mov rcx, qword [0x1800821d8]
cmp dword [rcx + 0x1ac8], eax
jne 0x18003e5ba
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x18003e5c9
mov byte [rcx + 0x1b0c], 1
lea rdx, [rbp + 0x70]
mov ecx, eax
call fcn.180058ca0
test al, al
je 0x18003e5df
mov byte [rbx + 0x82], 1
test rdi, rdi
je 0x18003e677
mov eax, dword [0x180073b54]
xor edx, edx
movsxd rcx, dword [rbx + 0xc0]
mov dword [rbp + 0x78], eax
movzx eax, word [0x180073b58]
xor byte [rbp + 0x79], 0x32
xor byte [rbp + 0x7a], 0x33
xor byte [rbp + 0x7b], 0x34
mov word [rbp + 0x7c], ax
movzx eax, byte [0x180073b5a]
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.180035750
mov rcx, qword [0x1800821d8]
cmp dword [rcx + 0x1ac8], eax
jne 0x18003e653
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x18003e662
mov byte [rcx + 0x1b0c], 1
lea rdx, [rbp + 0x88]
mov ecx, eax
call fcn.180058a50
test al, al
je 0x18003e677
mov byte [rdi], 0
movzx eax, word [0x180073b5c]
mov dword [rbx + 0x1b8], r15d
xor r15d, r15d
cmp byte [0x180073b5d], r15b
mov dword [rbx + 0x13c], 0
mov dword [rbx + 0x140], 1
mov word [rbp + 0x78], ax
je 0x18003e6f2
mov r8d, r15d
movabs r9, 0x4e5e0a72f0539783
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, 0x31
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 + 0x78], al
inc r8
cmp r8, 2
jb 0x18003e6c0
movss xmm7, dword [0x180073458]
movss xmm9, dword [0x180073d38]
movss xmm10, dword [0x180073d08]
and r13d, 0x100000
je 0x18003e770
mov rcx, qword [0x1800821d8]
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.180045690
movss xmm0, dword [rbp + 0x80]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm14, eax
cvtdq2ps xmm14, xmm14
jmp 0x18003e774
movaps xmm14, xmm13
mov r8, qword [0x1800821d8]
mov rax, r12
cmp r12, 0xffffffffffffffff
jae 0x18003e79e
movzx ecx, byte [rax]
test cl, cl
je 0x18003e79e
cmp cl, 0x23
jne 0x18003e795
cmp byte [rax + 1], cl
je 0x18003e79e
inc rax
cmp rax, 0xffffffffffffffff
jb 0x18003e784
movss xmm11, dword [r8 + 0x1928]
cmp r12, rax
jne 0x18003e7b2
movaps xmm10, xmm13
jmp 0x18003e805
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.180045690
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 0x18003e82a
addss xmm6, xmm0
comiss xmm8, xmm1
jbe 0x18003e835
addss xmm8, xmm0
movss xmm0, dword [r14 + 0x1584]
comiss xmm0, xmm13
movss xmm12, dword [0x1800733f8]
jbe 0x18003e8bc
movss xmm7, dword [0x1800733ec]
comiss xmm7, xmm0
jbe 0x18003e8bc
subss xmm0, dword [0x1800733e8]
call fcn.18002abb0
mulss xmm0, xmm12
movaps xmm1, xmm7
subss xmm1, xmm0
comiss xmm13, xmm1
jbe 0x18003e87f
movaps xmm7, xmm13
jmp 0x18003e883
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 0x18003e8b2
movaps xmm6, xmm1
comiss xmm8, xmm1
jae 0x18003e8bc
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 0x18003e939
nop
movzx eax, byte [rbx]
test al, al
je 0x18003e939
cmp al, 0x23
jne 0x18003e930
cmp byte [rbx + 1], al
je 0x18003e939
inc rbx
cmp rbx, 0xffffffffffffffff
jb 0x18003e920
cmp ebx, r12d
je 0x18003eaba
mov rdi, qword [0x1800821d8]
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 0x18003e986
movaps xmm0, xmm11
addss xmm0, xmm7
comiss xmm0, xmm8
jae 0x18003e986
xor al, al
jmp 0x18003e988
mov al, 1
comiss xmm6, xmm6
ja 0x18003e996
comiss xmm7, xmm7
ja 0x18003e996
xor cl, cl
jmp 0x18003e998
mov cl, 1
movss xmm1, dword [r14 + 0x1584]
or al, cl
comiss xmm1, xmm13
jbe 0x18003e9cb
movaps xmm0, xmm9
subss xmm0, xmm6
subss xmm0, xmm10
mulss xmm0, xmm1
addss xmm0, xmm6
comiss xmm6, xmm0
jae 0x18003e9cb
movss dword [rbp + 0x80], xmm0
movss xmm1, dword [r14 + 0x1588]
comiss xmm1, xmm13
jbe 0x18003e9fc
movaps xmm0, xmm8
subss xmm0, xmm7
subss xmm0, xmm11
mulss xmm0, xmm1
addss xmm0, xmm7
comiss xmm7, xmm0
jae 0x18003e9fc
movss dword [rbp + 0x84], xmm0
test al, al
lea rcx, [rbp - 0x80]
mov rax, qword [0x1800821d8]
je 0x18003ea51
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.180032820
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
jmp 0x18003ea77
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.180032820
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.1800450f0
cmp byte [rdi + 0x2fc8], 0
je 0x18003eaba
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180037050
test r13d, r13d
je 0x18003ebf5
movss xmm0, dword [r14 + 0x1928]
subss xmm12, xmm14
xorps xmm0, xmmword [0x1800734a0]
addss xmm7, xmm13
mulss xmm0, dword [0x180073ce0]
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 0x18003eb89
movzx eax, byte [rdi]
test al, al
je 0x18003eb89
cmp al, 0x23
jne 0x18003eb80
cmp byte [rdi + 1], al
je 0x18003eb89
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x18003eb70
lea rcx, [rbp + 0x78]
cmp edi, ecx
je 0x18003ebf5
mov rbx, qword [0x1800821d8]
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.18003d290
cmp byte [rbx + 0x2fc8], 0
je 0x18003ebf5
mov r8, rdi
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.180037050
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