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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1358]
mov eax, 0x1458
call fcn.180052470
sub rsp, rax
mov rdi, rcx
xor esi, esi
mov dword [rcx + 0x28], esi
xor ecx, ecx
call fcn.180061c98
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
lea edx, [rsi + 1]
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x3c], ecx
mov eax, ecx
inc rdx
cmp rdx, 0x270
jb 0x180001f20
mov dword [rbp - 0x40], 0x270
lea rcx, [rbp - 0x40]
call fcn.180014690
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x180001f74
nop dword [rax + rax]
lea rcx, [rbp - 0x40]
call fcn.180014690
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x180001f60
shr rax, 0x20
inc eax
mov dword [rdi + 0x28], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add rax, 0x223
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], 0x223
mov eax, dword [rsp + 0x3c]
mov dword [rbp - 0x44], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov ecx, 0x10
call fcn.180051c58
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
mov word [rbp - 0x78], si
mov qword [rbp - 0x72], rsi
mov qword [rbp - 0x6a], rsi
xor eax, eax
mov word [rbp - 0x75], ax
mov byte [rbp - 0x73], al
mov word [rbp - 0x72], ax
mov byte [rbp - 0x70], al
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], al
mov word [rbp - 0x69], ax
mov byte [rbp - 0x67], al
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], al
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x7c], esi
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180010cc0
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180011450
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov edx, 0x10
call fcn.180051b6c
mov qword [rbp + 0x1390], rbx
mov ecx, dword [rdi + 0x28]
sub ecx, 1
je 0x18000242b
sub ecx, 1
je 0x1800022f6
sub ecx, 1
je 0x1800021d8
sub ecx, 1
je 0x1800020a3
cmp ecx, 1
jne 0x180002539
mov ecx, 0x1c58
call fcn.180052014
mov qword [rdi + 0x20], rax
mov rax, rdi
add rsp, 0x1458
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x1380], 4
mov dword [rbp + 0x1388], 0x3000
mov qword [rbp + 0x1398], 0x1c58
mov qword [rbp - 0x60], rsi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x298
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x298
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov ecx, 0x10
call fcn.180051c58
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
mov word [rbp - 0x78], 0
mov qword [rbp - 0x72], rsi
mov qword [rbp - 0x6a], rsi
xor eax, eax
mov word [rbp - 0x75], ax
mov byte [rbp - 0x73], al
mov word [rbp - 0x72], ax
mov byte [rbp - 0x70], al
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], al
mov word [rbp - 0x69], ax
mov byte [rbp - 0x67], al
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], al
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x7c], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1380]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1398]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1800108b0
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180011450
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov edx, 0x10
call fcn.180051b6c
mov qword [rdi + 0x18], rbx
mov rax, rdi
add rsp, 0x1458
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp + 0x1388], 0x1c58
mov dword [rbp + 0x1380], 8
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
add rax, 0x1a4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x1a4
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov ecx, 0x10
call fcn.180051c58
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
mov word [rbp - 0x78], 0
mov qword [rbp - 0x72], rsi
mov qword [rbp - 0x6a], rsi
xor eax, eax
mov word [rbp - 0x75], ax
mov byte [rbp - 0x73], al
mov word [rbp - 0x72], ax
mov byte [rbp - 0x70], al
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], al
mov word [rbp - 0x69], ax
mov byte [rbp - 0x67], al
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], al
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x7c], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1380]
lea r8, [rbp + 0x1390]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180010ac0
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180011450
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov edx, 0x10
call fcn.180051b6c
mov qword [rdi + 0x10], rbx
mov rax, rdi
add rsp, 0x1458
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x1380], 4
mov dword [rbp + 0x1388], 0x3000
mov qword [rbp + 0x1398], 0x1c58
mov qword [rbp - 0x60], rsi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x1d2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x1d2
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov ecx, 0x10
call fcn.180051c58
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
mov word [rbp - 0x78], 0
mov qword [rbp - 0x72], rsi
mov qword [rbp - 0x6a], rsi
xor eax, eax
mov word [rbp - 0x75], ax
mov byte [rbp - 0x73], al
mov word [rbp - 0x72], ax
mov byte [rbp - 0x70], al
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], al
mov word [rbp - 0x69], ax
mov byte [rbp - 0x67], al
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], al
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x7c], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1380]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1398]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1800108b0
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180011450
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov edx, 0x10
call fcn.180051b6c
mov qword [rdi + 8], rbx
mov rax, rdi
add rsp, 0x1458
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp + 0x1388], 0x1c58
mov dword [rbp + 0x1380], 8
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
add rax, 0x1a7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x1a7
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov ecx, 0x10
call fcn.180051c58
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
mov word [rbp - 0x78], 0
mov qword [rbp - 0x72], rsi
mov qword [rbp - 0x6a], rsi
xor eax, eax
mov word [rbp - 0x75], ax
mov byte [rbp - 0x73], al
mov word [rbp - 0x72], ax
mov byte [rbp - 0x70], al
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], al
mov word [rbp - 0x69], ax
mov byte [rbp - 0x67], al
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], al
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x7c], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1380]
lea r8, [rbp + 0x1390]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180010ac0
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180011450
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov edx, 0x10
call fcn.180051b6c
mov qword [rdi], rbx
mov rax, rdi
add rsp, 0x1458
pop rdi
pop rsi
pop rbx
pop rbp
ret