Function at 0x1800027bc
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.18003ad00
sub rsp, rax
mov rbx, rcx
xor ecx, ecx
call fcn.1800413c4
or dword [rbp + 0x12d4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x54], eax
mov r8d, 0x270
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, r8
jb 0x1800027f4
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r8d
lea rcx, [rbp + 0x1300]
mov qword [rbp + 0x1300], rax
call fcn.180014994
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x18000284f
lea rcx, [rbp + 0x1300]
call fcn.180014994
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x180002838
shr rax, 0x20
mov ecx, 0x24e
add eax, 0x80000001
mov dword [rsp + 0x48], ecx
xor eax, 0x80000000
mov dword [rbx + 0x28], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add rax, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180009250
mov ecx, dword [rbx + 0x28]
mov qword [rbp + 0x1310], rax
sub ecx, 1
je 0x180002a24
sub ecx, 1
je 0x1800029ad
sub ecx, 1
je 0x18000294d
sub ecx, 1
je 0x1800028d3
cmp ecx, 1
jne 0x180002a7e
mov ecx, 0x1c58
call fcn.18003a5ec
mov qword [rbx + 0x20], rax
jmp 0x180002a7e
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
and qword [rsp + 0x40], 0
lea r8, [rbp + 0x1318]
mov ecx, 0x1e4
mov dword [rbp + 0x1300], 4
add rax, rcx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
call fcn.180008e38
mov qword [rbx + 0x18], rax
jmp 0x180002a7e
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov ecx, 0x1ca
mov qword [rbp + 0x1308], 0x1c58
mov dword [rsp + 0x38], ecx
lea r8, [rbp + 0x1300]
add rax, rcx
mov dword [rbp + 0x1300], 8
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18000942c
mov qword [rbx + 0x10], rax
jmp 0x180002a7e
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
and qword [rsp + 0x40], 0
lea r8, [rbp + 0x1318]
mov ecx, 0x141
mov dword [rbp + 0x1300], 4
add rax, rcx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
call fcn.180008e38
mov qword [rbx + 8], rax
jmp 0x180002a7e
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov ecx, 0x1ce
mov qword [rbp + 0x1308], 0x1c58
mov dword [rsp + 0x38], ecx
lea r8, [rbp + 0x1300]
add rax, rcx
mov dword [rbp + 0x1300], 8
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18000942c
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret