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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f812
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
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 - 0x2c0], edx
mov edi, dword [ebp + 8]
push 0
push 0xf
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2a8], 0x22c
lea ecx, [ebp - 0x18]
push 0x411b50
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4024a0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x40241f
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x2a0]
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 - 0x14]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x2ac], esi
test esi, esi
je 0x4023ff
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x4023f2
cmp dword [ebx + 0x10], 0
je 0x4023eb
mov edx, dword [ebp - 0x2c0]
cmp dword [ebx], edx
jne 0x4023eb
mov eax, dword [ebp - 0x2a0]
lea esi, [ebx + 0x60]
mov ecx, 0x2f
mov dword [ebp - 0x2b4], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2b8]
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 0x40230a
cmp dword [edi + 0x14], 0
je 0x40231e
cmp byte [edi + 0x30], 0x65
jne 0x4023e5
cmp byte [edi + 0x33], 0x79
jne 0x4023e5
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2bc], eax
test eax, eax
je 0x4023e5
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x402373
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
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 - 0x20], eax
add esp, 4
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0x1c], edx
lea ecx, [eax + eax*2]
movzx eax, word [ebp - 0x30]
lea eax, [eax + ecx*8]
imul edi, eax, 0xe10
lea ecx, [ebp - 0x20]
movzx eax, word [ebp - 0x2c]
add edi, eax
call fcn.0040c950
lea ecx, [ebp - 0x20]
lea esi, [eax + eax*2]
shl esi, 3
call fcn.0040c910
add eax, esi
lea ecx, [ebp - 0x20]
imul esi, eax, 0xe10
call fcn.0040c8d0
add eax, esi
sub eax, edi
cmp eax, 0xf0
ja 0x402476
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x2ac]
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 - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x2b4], 0
jne 0x4024a0
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x54]
push eax
call ebx
test eax, eax
je 0x402459
cmp dword [ebp - 0x50], 0x12
je 0x402459
lea eax, [ebp - 0x54]
push eax
call esi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x54]
push eax
call ebx
test eax, eax
jne 0x402431
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402233
jmp 0x4024a0
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x2b4]
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