Function at 0x180151d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x1805ab5f0]
mov eax, 0x84210843
inc ecx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1f
sub ecx, eax
mov rax, qword [0x1805b1c58]
mov dword [0x1805ab5f0], ecx
call rax
xor esi, esi
test rax, rax
je 0x180151d66
mov rdx, qword [0x1805b1ac8]
mov rcx, rax
call rdx
mov ebx, eax
jmp 0x180151d68
mov ebx, esi
movabs rax, 0x7239b21a38f536ba
mov qword [rsp + 0x60], rsi
mov qword [0x1805dd278], rax
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x60]
mov qword [0x180587120], rax
mov dword [0x1805870f8], esi
mov dword [0x1805870e8], 1
call fcn.1801e4620
cmp dword [rax], esi
je 0x180151f94
movabs rax, 0x3fef770d40960d5a
mov qword [rsp + 0x60], rsi
mov qword [0x1805dd278], rax
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdi
mov qword [0x180587120], rax
movaps xmmword [rsp + 0x40], xmm6
mov dword [0x1805870f8], esi
mov qword [0x180587128], rsi
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov edi, esi
lea rbp, str.p_poly_bag_01_s
mov ebx, esi
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movsd qword [rsp + 0x30], xmm0
mov eax, edi
movsx ecx, byte [rax + rbp]
call fcn.180370a88
add eax, ebx
inc edi
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp edi, 0xf
jb 0x180151e15
mov rdi, qword [rsp + 0x70]
lea eax, [rbx + rbx*8]
mov rbp, qword [rsp + 0x68]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov qword [rsp + 0x60], rsi
imul ebx, ecx, 0x8001
movabs rax, 0x98a4eb5d89a0c952
mov qword [0x1805dd278], rax
mov dword [0x1805870f8], esi
mov dword [0x1805870e8], 1
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x60]
mov qword [0x180587120], rax
call fcn.1801e4620
cmp dword [rax], esi
jne 0x180151eca
movabs rax, 0x963d27a58df860ac
mov qword [rsp + 0x60], rsi
mov qword [0x1805dd278], rax
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x60]
mov qword [0x180587120], rax
mov dword [0x1805870f8], esi
mov dword [0x1805870e8], 1
call fcn.1801e4620
mov rax, qword [0x18058c9e8]
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [0x180504280]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x50]
movss dword [rax + 0xef638], xmm6
mov rax, qword [0x18058c9e8]
shufps xmm6, xmm6, 0xaa
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x50]
movss dword [rax + 0xef640], xmm6
mov rax, qword [0x18058c9e8]
movaps xmm6, xmmword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x50]
movss dword [rax + 0xef648], xmm0
mov rax, qword [0x18058c9e8]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x50]
mov dword [rax + 0xef628], 0x9c4
mov rax, qword [0x18058c9e8]
mov r8, qword [rax + 0x20]
mov rax, qword [r8 + 0x50]
movsxd rcx, dword [rax + 0xef620]
imul rdx, rcx, 0x55
add rdx, 0x4536d3
mov rax, rdx
shr rax, 0x12
and eax, 0x3f
and edx, 0x3ffff
mov rax, qword [r8 + rax*8]
mov dword [rax + rdx*8], 2
mov rax, qword [0x18058c9e8]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x50]
mov dword [rax + 0xe57e8], 2
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret