Function at 0x180062620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov r15d, edx
mov r13d, edx
and r15d, 0x6000000
and r13d, 0x10002
mov dword [rbp + 0x6f], r15d
mov r12d, edx
mov dword [rbp + 0x77], r13d
test r15d, r15d
je 0x180062665
test r13d, r13d
jne 0x180062a17
mov rax, qword [0x180006208]
mov qword [rsp + 0x90], rbx
movabs rbx, 0x29e4129e4129e413
mov qword [rsp + 0x80], rdi
xor edi, edi
cmp byte [0x18000620f], dil
mov qword [rbp + 0x7f], rax
je 0x1800626d2
mov r8d, edi
nop dword [rax + rax]
mov rax, rbx
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 + 0x7f], al
inc r8
cmp r8, 8
jb 0x1800626a0
xor edx, edx
lea rcx, [rbp + 0x7f]
call fcn.180044670
test al, al
je 0x180062a07
mov rax, qword [0x180147368]
mov qword [rsp + 0x78], r14
mov r14, rax
test r15d, r15d
jne 0x18006293b
mov qword [rsp + 0x88], rsi
movaps xmmword [rsp + 0x60], xmm7
movss xmm7, dword [rax + 0x1928]
mulss xmm7, dword [0x180004dbc]
call fcn.180048150
addss xmm0, dword [r14 + 0x15b8]
subss xmm7, xmm0
movss xmm0, dword [r14 + 0x1928]
mulss xmm0, dword [0x180004dbc]
maxss xmm7, dword [0x180004c54]
movss dword [rbp + 0x7f], xmm0
movss dword [rbp + 0x83], xmm7
call fcn.18004f980
movaps xmm7, xmmword [rsp + 0x60]
and r12d, 2
mov esi, edi
mov r15d, 0x1a8
test esi, esi
je 0x180062795
mov rax, qword [0x180147368]
mov rcx, qword [rax + 0x1a80]
cmp byte [rcx + 0x83], dil
jne 0x180062795
mov eax, dword [rcx + 0x1a8]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180068ea0
mov ecx, esi
call fcn.18004f760
test esi, esi
mov ebx, 0x20001a8
cmovne ebx, r15d
or ebx, r12d
cmp esi, 1
jne 0x1800627b3
bts ebx, 0x1a
lea rcx, [rbp - 0x39]
call fcn.1800480f0
mov eax, dword [0x180006218]
mov r8, rdi
movsd xmm0, qword [0x180006210]
movabs r13, 0x29e4129e4129e413
mov dword [rbp - 0x21], eax
movzx eax, byte [0x18000621c]
mov byte [rbp - 0x1d], al
movsd qword [rbp - 0x29], xmm0
nop dword [rax]
mov rax, r13
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 - 0x29], al
inc r8
cmp r8, 0xd
jb 0x1800627f0
lea r9, [rbp + 0x7f]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.1800689f0
mov r13, qword [rbp + 0x67]
test al, al
je 0x180062855
and dword [r14 + 0x2f24], 0xf9ffffff
mov eax, ebx
and eax, 0x6000000
or dword [r14 + 0x2f24], eax
lea rcx, [rbp - 0x39]
call fcn.180052d60
mov eax, 0xc
mov qword [rbp - 1], rdi
test bl, 2
mov qword [rbp - 9], rdi
mov r8d, 0x10
lea rcx, [rbp - 9]
cmovne r8d, eax
mov rdx, r13
call fcn.18007feb0
cmp byte [0x18000622d], dil
mov eax, dword [0x180006228]
movsd xmm0, qword [0x180006220]
mov dword [rbp - 0x14], eax
movzx eax, word [0x18000622c]
mov word [rbp - 0x10], ax
movsd qword [rbp - 0x1c], xmm0
je 0x1800628f2
mov r9, rdi
movabs r13, 0x29e4129e4129e413
nop dword [rax + rax]
mov rax, r13
mul r9
mov rax, r9
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r9b
sub al, cl
add al, 0x31
xor byte [rbp + r9 - 0x1c], al
inc r9
cmp r9, 0xe
jb 0x1800628c0
xor r9d, r9d
lea rdx, [rbp - 9]
mov r8d, ebx
lea rcx, [rbp - 0x1c]
call fcn.180060740
call fcn.18004f200
inc esi
cmp esi, 2
jl 0x180062768
call fcn.18004f270
mov rax, qword [0x180147368]
movabs rbx, 0x29e4129e4129e413
mov r15d, dword [rbp + 0x6f]
mov r13d, dword [rbp + 0x77]
mov rsi, qword [rsp + 0x88]
test r13d, r13d
jne 0x1800629fd
test r15d, r15d
jne 0x18006296b
mov rcx, qword [rax + 0x1a80]
cmp byte [rcx + 0x83], dil
jne 0x18006296b
mov eax, dword [rcx + 0x1a8]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.180068ea0
cmp byte [0x180006239], dil
movsd xmm0, qword [0x180006230]
movzx eax, word [0x180006238]
movsd qword [rbp - 0x39], xmm0
mov word [rbp - 0x31], ax
je 0x1800629c1
nop dword [rax]
mov rax, rbx
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x31
xor byte [rbp + rdi - 0x39], al
inc rdi
cmp rdi, 0xa
jb 0x180062990
movzx eax, byte [r14 + 0x2f26]
lea rdx, [rbp + 0x6f]
and al, 1
lea rcx, [rbp - 0x39]
mov byte [rbp + 0x6f], al
call fcn.18005d010
test al, al
je 0x1800629fd
cmp byte [rbp + 0x6f], 0
mov eax, dword [r14 + 0x2f24]
je 0x1800629f2
bts eax, 0x10
jmp 0x1800629f6
btr eax, 0x10
mov dword [r14 + 0x2f24], eax
call fcn.1800471a0
mov r14, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r13
pop r12
pop rbp
ret