Function at 0x18004dab0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x180147368]
movss xmm0, dword [0x180005cc4]
mov rsi, rax
comiss xmm0, dword [rax + 0x1d30]
ja 0x18004dfcb
cmp qword [rax + 0x1d28], 0
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x18], r14
movabs r14, 0x47ae147ae147ae15
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
jne 0x18004db79
cmp byte [0x180005be3], 0
movups xmm0, xmmword [0x180005bd0]
mov eax, dword [0x180005be0]
mov dword [rbp - 0x2c], eax
movups xmmword [rbp - 0x3c], xmm0
je 0x18004db62
xor r8d, r8d
nop word [rax + rax]
mov rax, r14
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 - 0x3c], al
inc r8
cmp r8, 0x14
jb 0x18004db30
lea rcx, [rbp - 0x3c]
call fcn.1800478d0
mov qword [rsi + 0x1d28], rax
mov rax, qword [0x180147368]
movss xmm1, dword [rsi + 0x10]
lea rdx, [rbp - 0x58]
movss xmm2, dword [rsi + 0x14]
or dword [rax + 0x1b20], 0x10
mulss xmm1, dword [0x180004c40]
mov qword [rax + 0x1b70], 0
mulss xmm2, dword [0x180004c40]
mov qword [rax + 0x1b78], 0
mov dword [rbp - 0x44], 0x7f7fffff
mov dword [rbp - 0x40], 0x7f7fffff
movups xmm0, xmmword [rbp - 0x4c]
mov dword [rbp - 0x58], 1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movups xmmword [rax + 0x1b5c], xmm0
mov rax, qword [0x180147368]
movss xmm1, dword [rsi + 0x14]
movss xmm2, dword [rsi + 0x10]
mulss xmm1, dword [0x180004c48]
or dword [rax + 0x1b20], 1
mulss xmm2, dword [0x180004c48]
mov dword [rax + 0x1b38], 0x3f000000
movss dword [rax + 0x1b34], xmm1
mov dword [rax + 0x1b3c], 0x3f000000
movss dword [rax + 0x1b30], xmm2
mov dword [rax + 0x1b24], 1
mov rbx, qword [0x180147368]
movss xmm7, dword [rsi + 0x156c]
movss xmm6, dword [rsi + 0x1570]
addss xmm7, xmm7
movups xmmword [rbp - 0x4c], xmm0
lea rcx, [rbx + 0x1bb8]
movss xmm1, dword [rbx + 0x156c]
addss xmm6, xmm6
movss xmm0, dword [rbx + 0x1570]
movss dword [rbp - 0x54], xmm1
movss dword [rbp - 0x50], xmm0
call fcn.1800560f0
cmp byte [0x180005bfb], 0
movups xmm0, xmmword [0x180005be8]
mov eax, dword [0x180005bf8]
movss dword [rbx + 0x156c], xmm7
movaps xmm7, xmmword [rsp + 0x50]
movss dword [rbx + 0x1570], xmm6
movaps xmm6, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x2c], eax
je 0x18004dcf2
xor r8d, r8d
nop dword [rax]
mov rax, r14
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 - 0x3c], al
inc r8
cmp r8, 0x14
jb 0x18004dcc0
xor edx, edx
lea rcx, [rbp - 0x3c]
mov r8d, 0xc1347
call fcn.180041c10
mov eax, dword [rsi + 0x1a38]
sub eax, 1
movsxd rdi, eax
js 0x18004df33
nop word [rax + rax]
mov rax, qword [rsi + 0x1a40]
mov rbx, qword [rax + rdi*8]
cmp byte [rbx + 0x7e], 0
je 0x18004df29
cmp rbx, qword [rbx + 0x368]
jne 0x18004df29
mov edx, dword [rbx + 0xc]
bt edx, 0x13
jb 0x18004df29
mov r10, qword [rbx]
mov rax, r10
cmp r10, 0xffffffffffffffff
jae 0x18004dd83
nop dword [rax + rax]
movzx ecx, byte [rax]
test cl, cl
je 0x18004dd7a
cmp cl, 0x23
jne 0x18004dd71
cmp byte [rax + 1], cl
je 0x18004dd7a
inc rax
cmp rax, 0xffffffffffffffff
jb 0x18004dd60
cmp r10, rax
jne 0x18004df08
bt edx, 0x1a
jae 0x18004dddb
cmp byte [0x180005b9f], 0
mov rax, qword [0x180005b98]
mov qword [rbp + 0x18], rax
je 0x18004ddd2
xor r8d, r8d
mov rax, r14
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 + 0x18], al
inc r8
cmp r8, 8
jb 0x18004dda0
lea r10, [rbp + 0x18]
jmp 0x18004df08
bt edx, 0xa
jae 0x18004deb8
cmp byte [0x180005bad], 0
mov eax, dword [0x180005ba8]
movsd xmm0, qword [0x180005ba0]
mov dword [rbp - 0x44], eax
movzx eax, word [0x180005bac]
mov word [rbp - 0x40], ax
movsd qword [rbp - 0x4c], xmm0
je 0x18004de52
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov rax, r14
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 - 0x4c], al
inc r8
cmp r8, 0xe
jb 0x18004de20
lea rdx, [rbp - 0x4c]
mov rcx, r10
call fcn.18003e870
test eax, eax
jne 0x18004deb8
movups xmm0, xmmword [0x180005bb0]
movups xmmword [rbp - 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004deb2
xor r8d, r8d
nop dword [rax]
mov rax, r14
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 - 0x3c], al
inc r8
cmp r8, 0x10
jb 0x18004de80
lea r10, [rbp - 0x3c]
jmp 0x18004df08
movzx eax, word [0x180005bc8]
lea r10, [rbp - 0x58]
movsd xmm0, qword [0x180005bc0]
movsd qword [rbp - 0x58], xmm0
xor byte [rbp - 0x57], 0x32
xor byte [rbp - 0x56], 0x33
xor byte [rbp - 0x55], 0x34
xor byte [rbp - 0x54], 0x35
xor byte [rbp - 0x53], 0x36
xor byte [rbp - 0x52], 0x37
xor byte [rbp - 0x51], 0x38
mov word [rbp - 0x50], ax
movzx eax, byte [0x180005bca]
xor byte [rbp - 0x50], 0x39
xor byte [rbp - 0x4f], 0x3a
xor al, 0x3b
mov byte [rbp - 0x58], 0x28
mov byte [rbp - 0x4e], al
cmp qword [rsi + 0x1d18], rbx
lea r9, [rbp + 0x20]
mov rcx, r10
mov qword [rbp + 0x20], 0
sete dl
xor r8d, r8d
call fcn.1800689f0
sub rdi, 1
jns 0x18004dd20
call fcn.180046670
mov rcx, qword [0x180147368]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
movsxd rax, dword [rcx + 0x1bb8]
mov r8, qword [rcx + 0x1bc0]
lea rdx, [rax + rax*2]
movsxd rax, dword [r8 + rdx*4 - 0xc]
lea r10, [rax + rax*2]
lea rax, [0x180005950]
cmp dword [rax + r10*4], 8
mov r9d, dword [rax + r10*4 + 8]
jne 0x18004dfc5
mov eax, dword [rax + r10*4 + 4]
cmp eax, 1
jne 0x18004dfa6
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1568], eax
dec dword [rcx + 0x1bb8]
add rsp, 0x78
pop rsi
pop rbp
ret
cmp eax, 2
jne 0x18004dfc5
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1568], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [r9 + rcx + 0x156c], eax
dec dword [rcx + 0x1bb8]
add rsp, 0x78
pop rsi
pop rbp
ret