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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1348]
mov eax, 0x1448
call fcn.18004e5f0
sub rsp, rax
mov rdi, rcx
xor esi, esi
mov dword [rcx + 0x28], esi
xor ecx, ecx
call fcn.18005e368
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], 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 - 0x4c], ecx
mov eax, ecx
inc rdx
cmp rdx, 0x270
jb 0x180001f30
mov dword [rbp - 0x50], 0x270
lea rcx, [rbp - 0x50]
call fcn.180015260
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x180001f84
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.180015260
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x180001f70
shr rax, 0x20
inc eax
mov dword [rdi + 0x28], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add rax, 0x268
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x268
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov ecx, 0x10
call fcn.18004ddf8
mov qword [rax + 8], rsi
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
mov word [rbp - 0x68], si
mov qword [rbp - 0x62], rsi
mov qword [rbp - 0x5a], rsi
xor eax, eax
mov word [rbp - 0x65], ax
mov byte [rbp - 0x63], al
mov word [rbp - 0x62], ax
mov byte [rbp - 0x60], al
mov word [rbp - 0x5f], ax
mov byte [rbp - 0x5d], al
mov word [rbp - 0x5c], ax
mov byte [rbp - 0x5a], al
mov word [rbp - 0x59], ax
mov byte [rbp - 0x57], al
mov word [rbp - 0x56], ax
mov byte [rbp - 0x54], al
mov dword [rsp + 0x64], esi
mov dword [rbp - 0x6c], esi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1800111a0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.180011890
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov edx, 0x10
call fcn.18004dd0c
mov qword [rbp + 0x1380], rbx
mov ecx, dword [rdi + 0x28]
sub ecx, 1
je 0x1800022db
sub ecx, 1
je 0x180002256
sub ecx, 1
je 0x18000213a
sub ecx, 1
je 0x1800020b5
cmp ecx, 1
jne 0x1800023e7
mov ecx, 0x1c58
call fcn.18004e1a4
mov qword [rdi + 0x20], rax
mov rax, rdi
add rsp, 0x1448
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x1370], 4
mov dword [rbp + 0x1378], 0x3000
mov qword [rbp + 0x1388], 0x1c58
mov qword [rsp + 0x40], rsi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x1d4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x1d4
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1370]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1378]
lea r8, [rbp + 0x1388]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.18000c7d0
mov qword [rdi + 0x18], rax
mov rax, rdi
add rsp, 0x1448
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp + 0x1378], 0x1c58
mov dword [rbp + 0x1370], 8
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
add rax, 0x1e3
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x1e3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov ecx, 0x10
call fcn.18004ddf8
mov qword [rax + 8], rsi
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
mov word [rbp - 0x68], 0
mov qword [rbp - 0x62], rsi
mov qword [rbp - 0x5a], rsi
xor eax, eax
mov word [rbp - 0x65], ax
mov byte [rbp - 0x63], al
mov word [rbp - 0x62], ax
mov byte [rbp - 0x60], al
mov word [rbp - 0x5f], ax
mov byte [rbp - 0x5d], al
mov word [rbp - 0x5c], ax
mov byte [rbp - 0x5a], al
mov word [rbp - 0x59], ax
mov byte [rbp - 0x57], al
mov word [rbp - 0x56], ax
mov byte [rbp - 0x54], al
mov dword [rsp + 0x64], esi
mov dword [rbp - 0x6c], esi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1378]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1370]
lea r8, [rbp + 0x1380]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010fd0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.180011890
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov edx, 0x10
call fcn.18004dd0c
mov qword [rdi + 0x10], rbx
mov rax, rdi
add rsp, 0x1448
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x1370], 4
mov dword [rbp + 0x1378], 0x3000
mov qword [rbp + 0x1388], 0x1c58
mov qword [rsp + 0x40], rsi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x2a3
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x2a3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1370]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1378]
lea r8, [rbp + 0x1388]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.18000c7d0
mov qword [rdi + 8], rax
mov rax, rdi
add rsp, 0x1448
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbp + 0x1378], 0x1c58
mov dword [rbp + 0x1370], 8
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
add rax, 0x1a2
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x1a2
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov ecx, 0x10
call fcn.18004ddf8
mov qword [rax + 8], rsi
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
mov word [rbp - 0x68], 0
mov qword [rbp - 0x62], rsi
mov qword [rbp - 0x5a], rsi
xor eax, eax
mov word [rbp - 0x65], ax
mov byte [rbp - 0x63], al
mov word [rbp - 0x62], ax
mov byte [rbp - 0x60], al
mov word [rbp - 0x5f], ax
mov byte [rbp - 0x5d], al
mov word [rbp - 0x5c], ax
mov byte [rbp - 0x5a], al
mov word [rbp - 0x59], ax
mov byte [rbp - 0x57], al
mov word [rbp - 0x56], ax
mov byte [rbp - 0x54], al
mov dword [rsp + 0x64], esi
mov dword [rbp - 0x6c], esi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rbp + 0x1378]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1370]
lea r8, [rbp + 0x1380]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180010fd0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.180011890
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov edx, 0x10
call fcn.18004dd0c
mov qword [rdi], rbx
mov rax, rdi
add rsp, 0x1448
pop rdi
pop rsi
pop rbx
pop rbp
ret