Function at 0x180003058
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Print debug messages
Spawn thread to rwx shellcode

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2e0
mov rdi, rcx
movzx r12d, r9b
lea rcx, [0x18000aa08]
mov r15d, 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x250
lea rcx, [rbp - 0x70]
mov rbx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlZeroMemory]
lea rdx, str.LdrLoadDll
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18000a260]
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r13d, r13d
mov ecx, r12d
test r12b, r12b
je 0x1800031fa
sub ecx, 4
je 0x1800031a3
cmp ecx, r15d
je 0x180003103
lea rsi, [0x18000d0b0]
lea r14d, [r15 + 0x5a]
jmp 0x18000321b
cmp qword [0x18000d618], r13
lea rsi, [0x18000d190]
mov r14d, 0x47
jne 0x18000321b
lea rdx, [rbp + 0x228]
call fcn.180005964
test eax, eax
js 0x180003179
mov rcx, qword [rbp + 0x228]
lea rdx, [0x18000aa08]
xor r8d, r8d
call fcn.18000601c
test rax, rax
je 0x18000316c
mov rcx, qword [rbp + 0x228]
lea rdx, [0x18000aa48]
call fcn.1800060d4
mov eax, eax
test rax, rax
je 0x18000316c
add rax, rbx
mov qword [0x18000d618], rax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [0x18000d618], r13
jne 0x18000321b
xor eax, eax
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9d, 0x30
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x180003186
mov rdx, qword [rsp + 0x68]
lea rax, [rbp + 0x238]
mov r14d, 0x44
mov qword [rsp + 0x20], rax
add rdx, 0x230
lea r8, [rbp - 0x68]
mov rcx, rdi
lea rsi, [0x18000d140]
lea r9d, [r14 - 0x3c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x18000321b
lea rdx, str.NtTerminateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x68], rax
lea rsi, [0x18000d070]
mov r14d, 0x35
mov ebx, r14d
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rdi
lea r8, [rbx + 0x250]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x230], rax
mov r9, rax
test rax, rax
je 0x180003186
lea r13, [rbx + rax]
cmp r12b, 4
mov rax, qword [rbp + 0x1d0]
cmove rax, r13
mov qword [rbp + 0x1d0], rax
cmp r12b, 5
jne 0x1800032b2
mov r8, qword [0x18000d618]
lea rax, [0x18000aa74]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 8
call fcn.180001dc0
xor ecx, ecx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x180003186
mov qword [rbp + 0x1d0], r13
jmp 0x1800032b4
xor ecx, ecx
lea rdx, [rbp - 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x1800032bc
add ax, ax
mov qword [rsp + 0x20], rcx
mov word [rbp - 0x60], ax
lea r8, [rbp - 0x70]
mov eax, 0x208
mov r9d, 0x250
mov word [rbp - 0x5e], ax
mov rdx, r13
lea rax, [r13 + 0x20]
mov rcx, rdi
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003186
mov rdx, qword [rbp + 0x230]
mov r9, rbx
and qword [rsp + 0x20], 0
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor ecx, ecx
test eax, eax
je 0x180003186
test r12b, r12b
je 0x1800033e2
lea eax, [r12 - 4]
cmp al, r15b
ja 0x1800033da
mov ebx, ecx
test r14d, r14d
je 0x18000339c
movabs rax, 0x8000000000000000
cmp qword [rsi], rax
je 0x180003360
add ebx, r15d
add rsi, r15
cmp ebx, r14d
jb 0x180003344
jmp 0x18000339c
lea rax, [r13 + 0x240]
mov qword [rsp + 0x20], rcx
mov edx, ebx
lea r8, [rbp + 0x228]
add rdx, qword [rbp + 0x230]
mov r9d, 8
mov rcx, rdi
mov qword [rbp + 0x228], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor ecx, ecx
test eax, eax
je 0x180003186
cmp ebx, r14d
je 0x180003186
cmp r12b, 4
jne 0x1800033da
mov rdx, qword [rsp + 0x68]
lea r8, [rbp + 0x230]
mov qword [rsp + 0x20], rcx
add rdx, 0x230
mov r9d, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003186
mov eax, r15d
jmp 0x180003188
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0x228]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x230]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
xor esi, esi
lea r14, [0x1800106d0]
mov ecx, esi
test eax, eax
mov ebx, eax
setns cl
mov r15d, ecx
test ecx, ecx
je 0x180003488
mov r10, qword [0x180014958]
test r10, r10
je 0x18000346b
mov r9, qword [rsp + 0x58]
lea rdx, str.Created_injection_thread_h_08x__tid_d_n
mov r8, qword [rbp + 0x228]
mov rcx, r14
call r10
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x228]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x180014958]
test rax, rax
je 0x1800034ac
mov r8d, ebx
lea rdx, str.RtlCreateUserThread_Status___08X_n
mov rcx, r14
call rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 0x8000
xor r8d, r8d
mov r9d, ebx
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rbp + 0x230]
mov r9d, ebx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800033da