Function at 0x401220
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute shellcode via indirect call
Get common file path
Inject thread
Spawn thread to rwx shellcode
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41647d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x670
push ebx
push esi
push edi
lea eax, [ebp - 0x248]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x248]
push eax
push str._sCheat.dll
push eax
call fcn.00401500
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], vtable.std::_Func_impl_no_alloc_class__lambda_8a5eb047e1920eeab108deb203a6dee0___int__struct_tagPROCESSENTRY32W__.0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], eax
push 0x228
lea eax, [ebp - 0x470]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x474], 0x22c
call fcn.00402e60
add esp, 0x18
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x40130e
cmp esi, 0xffffffff
je 0x40130e
lea eax, [ebp - 0x474]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40130b
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4014dc
mov eax, dword [ecx]
lea edx, [ebp - 0x474]
push edx
call dword [eax + 8]
test eax, eax
je 0x40130b
lea eax, [ebp - 0x474]
push eax
push esi
call edi
test eax, eax
jne 0x4012e2
push esi
call ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x401326
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0
push 0
push 2
push 0
push 0
push 0x10000000
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4014b2
cmp esi, 0xffffffff
je 0x4014b2
push 0
lea eax, [ebp - 0x18]
push eax
push 0x7f600
push 0x41f8c0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4014b0
call ebx
push 0x41ca78
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4014a9
push 0x41ca94
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4014a9
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4014a9
cmp word [ebp - 0x248], bx
je 0x4014a9
push ecx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4014a5
cmp esi, 0xffffffff
je 0x4014a5
lea ecx, [ebp - 0x248]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4013e4
sub ecx, edx
sar ecx, 1
push 0x40
push 0x1000
lea eax, [ecx*2 + 2]
push eax
push 0
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x40149c
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0x248]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push 0
push edi
push dword [ebp - 0x14]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov edi, eax
test edi, edi
je 0x401483
cmp edi, 0xffffffff
je 0x401483
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x100000
jbe 0x401489
cmp eax, 0xffffffff
mov ecx, 1
cmovne ebx, ecx
jmp 0x401489
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x4014a2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
test ebx, ebx
jne 0x4014c9
push str.Inject_Failed__n
jmp 0x4014b7
call ebx
push str.WriteOut_Data_Failed__n
call fcn.00401140
push str.pause
call fcn.004079b5
add esp, 8
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401941
int3