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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.140039080
sub rsp, rax
mov rax, qword [0x14014ba40]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
lea rcx, [rsp + 0x20]
call fcn.14001afa0
mov dword [rsp + 0x13b4], 0xffffffff
mov ecx, 1
mov edx, dword [rax]
mov dword [rsp + 0x34], edx
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x14001bbe0
mov dword [rsp + 0x30], 0x270
mov ebp, 0x3e8
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rbx, rcx, 0x3e8
cmp ebx, 0x127
ja 0x14001bc4b
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rbx, rcx, 0x3e8
cmp ebx, 0x128
jb 0x14001bc30
shr rbx, 0x20
mov eax, 0x66666667
add ebx, 0x80000001
btc ebx, 0x1f
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
cmp ebx, ecx
jne 0x14001bd5f
xor edi, edi
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rax, rcx, 0x3e8
cmp eax, 0x127
ja 0x14001bcaa
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rax, rcx, 0x3e8
cmp eax, 0x128
jb 0x14001bc90
shr rax, 0x20
lea esi, [rax - 0x7fffffff]
mov eax, 0x92492493
xor esi, 0x80000000
imul esi, edi
add esi, ebx
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul ecx, edx, 7
cmp esi, ecx
jne 0x14001bd34
lea rdx, str.Hook_inside_trash_code_executed_for_VirtualAlloc_
lea rcx, [0x14014e0f0]
call fcn.1400073a0
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140007140
movzx edx, al
mov rcx, rbx
call fcn.14001adf0
mov rcx, rbx
call fcn.140006cf0
mov edx, 0x1000
xor ecx, ecx
mov r8d, edx
mov r9d, 4
call qword [0x14014e8a0]
test rax, rax
lea ebx, [rsi + 0x64]
cmovne ebx, esi
jmp 0x14001bd4f
mov ebx, edi
mov eax, 0x4ec4ec4f
imul ebx, esi
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xd
sub ebx, eax
inc edi
cmp edi, 0x64
jl 0x14001bc76
jmp 0x14001bdfe
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
cmp ebx, eax
jne 0x14001bdb7
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rax, rcx, 0x3e8
cmp eax, 0x127
ja 0x14001bdaa
lea rcx, [rsp + 0x30]
call fcn.14001c090
mov ecx, eax
imul rax, rcx, 0x3e8
cmp eax, 0x128
jb 0x14001bd90
add ebx, 3
cmp ebx, 0x96
jl 0x14001bd76
jmp 0x14001bdfe
mov ebx, 0xc8
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14001c090
imul ecx, eax, 0x3e8
cmp ecx, 0x127
ja 0x14001bdf8
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001c090
imul ecx, eax, 0x3e8
cmp ecx, 0x128
jb 0x14001bde0
sub rbx, 1
jne 0x14001bdc0
sub rbp, 1
jne 0x14001bc10
lea rdx, str.Complex_trash_code_with_hook_executed_
lea rcx, [0x14014e0f0]
call fcn.1400073a0
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140007140
movzx edx, al
mov rcx, rbx
call fcn.14001adf0
mov rcx, rbx
call fcn.140006cf0
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400385b0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret