Function at 0x180001ef0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x12e8]
mov eax, 0x13e8
call fcn.180056600
sub rsp, rax
mov rbx, rcx
mov dword [rcx + 0x28], 0
xor ecx, ecx
call fcn.180066378
mov dword [rsp + 0x54], eax
mov edx, 1
mov dword [rbp + 0x12d4], 0xffffffff
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x54], ecx
mov eax, ecx
inc rdx
cmp rdx, 0x270
jb 0x180001f30
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x270
call fcn.18001a6b0
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x180001f85
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.18001a6b0
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x180001f70
shr rax, 0x20
lea rcx, [rsp + 0x30]
inc eax
mov dword [rsp + 0x48], 0x1e3
mov dword [rbx + 0x28], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add rax, 0x1e3
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18000bdc0
mov ecx, dword [rbx + 0x28]
mov qword [rbp + 0x1310], rax
sub ecx, 1
je 0x180002183
sub ecx, 1
je 0x1800020fc
sub ecx, 1
je 0x180002092
sub ecx, 1
je 0x18000200b
cmp ecx, 1
jne 0x1800021df
mov ecx, 0x1c58
call fcn.1800561b4
mov qword [rbx + 0x20], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
add rax, 0x266
mov dword [rsp + 0x38], 0x266
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x1318]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rdx, [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1300], 4
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
mov qword [rsp + 0x40], 0
call fcn.18000ca10
mov qword [rbx + 0x18], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov dword [rsp + 0x38], 0x221
lea r8, [rbp + 0x1300]
add rax, 0x221
mov qword [rbp + 0x1308], 0x1c58
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rbp + 0x1300], 8
call fcn.18000c3d0
mov qword [rbx + 0x10], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
add rax, 0x167
mov dword [rsp + 0x38], 0x167
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x1318]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rdx, [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1300], 4
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
mov qword [rsp + 0x40], 0
call fcn.18000ca10
mov qword [rbx + 8], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov dword [rsp + 0x38], 0x165
lea r8, [rbp + 0x1300]
add rax, 0x165
mov qword [rbp + 0x1308], 0x1c58
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rbp + 0x1300], 8
call fcn.18000c3d0
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret