Function at 0x1800402c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rax, [rcx + 0x3cc]
mov dword [rcx + 0x3bc], edi
mov rbx, rcx
mov ecx, 5
mov edx, ecx
mov qword [rax], rdi
lea rax, [rax + 8]
sub rdx, 1
jne 0x1800402e3
lea rax, [rbx + 0x464]
nop word [rax + rax]
mov qword [rax], rdi
lea rax, [rax + 8]
sub rcx, 1
jne 0x180040300
xor eax, eax
mov qword [rbx + 0x1558], rdi
mov dword [rbx + 0x94], eax
lea rcx, [rbx + 0x12c]
mov word [rbx + 0xad], ax
xor edx, edx
mov byte [rbx + 0xaf], al
mov r8d, 0x298
mov dword [rbx + 0xbc], eax
mov word [rbx + 0xc5], ax
mov byte [rbx + 0xc7], al
mov dword [rbx + 0xcc], eax
call fcn.18007fee0
xorps xmm0, xmm0
lea rcx, [rbx + 0x464]
movups xmmword [rbx + 0x3c8], xmm0
xor eax, eax
xor edx, edx
movups xmmword [rbx + 0x3d8], xmm0
mov r8d, 0x103c
movups xmmword [rbx + 0x3e8], xmm0
movups xmmword [rbx + 0x3f8], xmm0
movups xmmword [rbx + 0x408], xmm0
movups xmmword [rbx + 0x418], xmm0
movups xmmword [rbx + 0x428], xmm0
mov dword [rbx + 0x438], eax
call fcn.18007fee0
xorps xmm0, xmm0
xor eax, eax
cmp byte [0x180005a91], dil
movabs r9, 0x47ae147ae147ae15
movups xmmword [rbx + 0x14f4], xmm0
movups xmmword [rbx + 0x1504], xmm0
movups xmmword [rbx + 0x1514], xmm0
movups xmmword [rbx + 0x1524], xmm0
movups xmmword [rbx + 0x1534], xmm0
movups xmmword [rbx + 0x1544], xmm0
mov qword [rbx + 0x1554], rax
movsd xmm0, qword [0x180005a88]
mov dword [rbx + 0x155c], eax
movzx eax, word [0x180005a90]
mov word [rsp + 0x28], ax
mov qword [rbx], rdi
mov dword [rbx + 8], 0xbf800000
mov dword [rbx + 0xc], 0xbf800000
mov dword [rbx + 0x10], 0x3c888889
mov dword [rbx + 0x14], 0x40a00000
movsd qword [rsp + 0x20], xmm0
je 0x180040463
mov r8, rdi
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 [rsp + r8 + 0x20], al
inc r8
cmp r8, 0xa
jb 0x180040431
cmp byte [0x180005aa5], dil
lea rax, [rsp + 0x20]
movsd xmm0, qword [0x180005a98]
mov qword [rbx + 0x18], rax
mov eax, dword [0x180005aa0]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180005aa4]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x1800404d2
mov r8, rdi
nop dword [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 [rsp + r8 + 0x20], al
inc r8
cmp r8, 0xe
jb 0x1800404a0
mov dword [rbx + 0x28], 0x3e99999a
lea rax, [rsp + 0x20]
mov qword [rbx + 0x20], rax
mov ecx, 0x200
mov dword [rbx + 0x2c], 0x40c00000
lea rax, [0x180047fc0]
mov qword [rbx + 0x34], 0xffffffffffffffff
mov qword [rbx + 0x3c], 0xffffffffffffffff
mov qword [rbx + 0x44], 0xffffffffffffffff
mov qword [rbx + 0x4c], 0xffffffffffffffff
mov qword [rbx + 0x54], 0xffffffffffffffff
mov qword [rbx + 0x5c], 0xffffffffffffffff
mov qword [rbx + 0x64], 0xffffffffffffffff
mov qword [rbx + 0x6c], 0xffffffffffffffff
mov qword [rbx + 0x74], 0xffffffffffffffff
mov qword [rbx + 0x7c], 0xffffffffffffffff
mov qword [rbx + 0x84], 0xffffffffffffffff
mov qword [rbx + 0xf8], rax
lea rax, [0x180052b50]
mov qword [rbx + 0x100], rax
lea rax, [fcn.18003df00]
mov qword [rbx + 0x110], rax
lea rax, [rbx + 0x4a0]
mov dword [rbx + 0x8c], 0x3e8ccccd
mov dword [rbx + 0x90], 0x3d4ccccd
mov qword [rbx + 0x98], rdi
mov qword [rbx + 0xa0], rdi
mov dword [rbx + 0xa8], 0x3f800000
mov qword [rbx + 0xb0], rdi
mov byte [rbx + 0xac], dil
mov dword [rbx + 0xb8], 0x3f800000
mov dword [rbx + 0xbc], 0x3f800000
mov dword [rbx + 0xc0], 0x1010000
mov byte [rbx + 0xc4], dil
mov dword [rbx + 0xc8], 0x42700000
mov qword [rbx + 0xd8], rdi
mov qword [rbx + 0xd0], rdi
mov qword [rbx + 0xf0], rdi
mov qword [rbx + 0xe8], rdi
mov qword [rbx + 0xe0], rdi
mov qword [rbx + 0x108], rdi
mov qword [rbx + 0x118], rdi
mov qword [rbx + 0x120], rdi
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
mov dword [rbx + 0x3c4], 0xff7fffff
mov dword [rbx + 0x3c8], 0xff7fffff
mov dword [rbx + 0x30], 0x40c00000
mov dword [rbx + 0x450], 0xbf800000
mov dword [rbx + 0x43c], 0xbf800000
mov dword [rbx + 0x454], 0xbf800000
mov dword [rbx + 0x440], 0xbf800000
mov dword [rbx + 0x458], 0xbf800000
mov dword [rbx + 0x444], 0xbf800000
mov dword [rbx + 0x45c], 0xbf800000
mov dword [rbx + 0x448], 0xbf800000
mov dword [rbx + 0x460], 0xbf800000
mov dword [rbx + 0x44c], 0xbf800000
nop
mov dword [rax + 0x800], 0xbf800000
mov dword [rax], 0xbf800000
lea rax, [rax + 4]
sub rcx, 1
jne 0x1800406b0
mov dword [rbx + 0x14a0], 0xbf800000
mov rax, rbx
mov dword [rbx + 0x14a4], 0xbf800000
mov dword [rbx + 0x14a8], 0xbf800000
mov dword [rbx + 0x14ac], 0xbf800000
mov dword [rbx + 0x14b0], 0xbf800000
mov dword [rbx + 0x14b4], 0xbf800000
mov dword [rbx + 0x14b8], 0xbf800000
mov dword [rbx + 0x14bc], 0xbf800000
mov dword [rbx + 0x14c0], 0xbf800000
mov dword [rbx + 0x14c4], 0xbf800000
mov dword [rbx + 0x14c8], 0xbf800000
mov dword [rbx + 0x14cc], 0xbf800000
mov dword [rbx + 0x14d0], 0xbf800000
mov dword [rbx + 0x14d4], 0xbf800000
mov dword [rbx + 0x14d8], 0xbf800000
mov dword [rbx + 0x14dc], 0xbf800000
mov dword [rbx + 0x14e0], 0xbf800000
mov dword [rbx + 0x14e4], 0xbf800000
mov dword [rbx + 0x14e8], 0xbf800000
mov dword [rbx + 0x14ec], 0xbf800000
mov dword [rbx + 0x14f0], 0xbf800000
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret