Function at 0x4024e0
Capabilities:
Enumerate processes
Read file via mapping
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f864
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x417014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x310], ecx
mov edi, dword [ebp + 8]
push 0
push 0xf
mov dword [ebp - 0x314], edi
mov dword [ebp - 0x308], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x2fc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0x22c
lea ecx, [ebp - 0x20]
push 0x411b50
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
push str.G_Game.exe
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
lea eax, [ebp - 0x300]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4028c7
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x402607
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [ebp - 0x310]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push 0x411b8c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
add esp, 0xc
push dword [ebp - 0x14]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
jne 0x402885
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x40282d
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push dword [ebp - 0x2f8]
push 0x411b5c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
add esp, 0xc
push dword [ebp - 0x18]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x304], esi
test esi, esi
je 0x40280d
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x402800
mov edx, dword [ebp - 0x310]
cmp dword [ebx], edx
jne 0x4027f9
mov eax, dword [ebp - 0x2f8]
lea esi, [ebx + 0x60]
mov ecx, 0x2f
mov dword [ebp - 0x308], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x314]
movups xmm0, xmmword [ebx + 0x10]
cmp dword [edi + 8], 0
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x40], xmm0
movq xmm0, qword [ebx + 0x30]
movq qword [edi + 0x50], xmm0
mov dword [edi + 4], edx
jne 0x4026d4
cmp dword [edi + 0x14], 0
je 0x4026e8
cmp byte [edi + 0x30], 0x65
jne 0x4027f3
cmp byte [edi + 0x33], 0x72
jne 0x4027f3
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x318], eax
test eax, eax
je 0x4027f3
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x402743
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x28], eax
movzx eax, word [ebp - 0x3a]
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov dword [ebp - 0x24], edx
lea ecx, [eax + eax*2]
movzx eax, word [ebp - 0x38]
lea eax, [eax + ecx*8]
imul ecx, eax, 0xe10
movzx eax, word [ebp - 0x34]
add ecx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x31c], ecx
push eax
call esi
xor edi, edi
test eax, eax
lea eax, [ebp - 0x28]
cmove edi, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0xb0]
push eax
call esi
or esi, 0xffffffff
test eax, eax
lea eax, [ebp - 0x28]
cmove esi, dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
lea eax, [edi + edi*2]
lea eax, [esi + eax*8]
cmove ecx, dword [ebp - 0xd4]
imul eax, eax, 0xe10
add eax, ecx
sub eax, dword [ebp - 0x31c]
cmp eax, 0xf0
ja 0x40289d
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x314]
mov esi, dword [ebp - 0x304]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x308], 0
jne 0x4028c7
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
call ebx
test eax, eax
je 0x402868
nop
cmp dword [ebp - 0x58], 0x12
je 0x402868
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
call ebx
test eax, eax
jne 0x402840
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4025a5
jmp 0x4028c7
mov ecx, dword [ebp - 0x2f8]
push eax
mov dword [ebp - 0x308], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
jmp 0x4028c1
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x304]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e8e5
mov esp, ebp
pop ebp
ret