Function at 0x140004920
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Resolve function by parsing pe exports
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400bc080]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
call qword [fcn.14004b260]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x198]
mov edx, 0x2712
mov rcx, qword [rsp + 0x78]
call qword [fcn.14004da60]
lea r8, [0x140004350]
mov edx, 0x4e2b
mov rcx, qword [rsp + 0x78]
call qword [fcn.14004da60]
lea r8, [rsp + 0xc8]
mov edx, 0x2711
mov rcx, qword [rsp + 0x78]
call qword [fcn.14004da60]
mov rcx, qword [rsp + 0x78]
call qword [fcn.14004b320]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0x78]
call qword [fcn.14004b240]
cmp dword [rsp + 0x90], 0
je 0x140004a13
lea rdx, str.____Injection_Error____Cant_get_cheat_DLL_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013b30
mov qword [rsp + 0xb8], rax
lea rdx, [0x140014000]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140005261
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140004a66
xor al, al
jmp 0x140005261
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140004ae7
xor al, al
jmp 0x140005261
mov dword [rsp + 0x164], 0
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x38]
lea rcx, [rsp + 0x164]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xe0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x108], 1
mov qword [rsp + 0x110], 0
mov dword [rsp + 0x118], 1
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004be7
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], 0
jmp 0x140004c21
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x68], eax
je 0x140004cbc
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x10], 0
je 0x140004cb7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x40]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004cb7
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
jmp 0x140004c09
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x40
xor edx, edx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140004d10
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004d7d
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140004ded
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [0x1400043d0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004e75
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140004f16
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xa0], 0
cmp qword [rsp + 0xa0], 0
jne 0x14000503b
mov dword [rsp + 0x160], 0
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x160], 0x103
je 0x140004f74
xor al, al
jmp 0x140005261
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x120]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0x404040
jne 0x14000502b
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140005261
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004f30
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140005060
xor al, al
jmp 0x140005261
mov rdi, qword [rsp + 0x88]
xor eax, eax
mov ecx, 0x1400000
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x6c], 0
jmp 0x1400050d5
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x6c], eax
je 0x140005187
mov rax, qword [rsp + 0x48]
cmp dword [rax + 8], 0
je 0x140005182
mov dword [rsp + 0x168], 0
mov dword [rsp + 0x70], 2
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jbe 0x140005128
mov dword [rsp + 0x70], 4
jmp 0x140005141
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
jbe 0x140005141
mov dword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0x70]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x1400050bd
mov dword [rsp + 0x16c], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x24]
lea rcx, [rsp + 0x16c]
mov qword [rsp + 0x20], rcx
mov r9d, 2
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rdx, str.___Injection___Ok
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013b30
mov qword [rsp + 0xc0], rax
lea rdx, [0x140014000]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov al, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140099350
add rsp, 0x180
pop rdi
ret