Function at 0x407100
Capabilities:
Enumerate processes
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x40964b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0x124], 0
test ebx, ebx
jne 0x40715a
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x40737a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x407188
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], eax
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
jmp 0x40737a
push 0x128
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
push ebp
push esi
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40734d
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x24]
push eax
lea eax, [esp + 0x14]
push 0x40d050
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x18]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40722c
test cl, cl
je 0x407228
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40722c
add eax, 2
add esi, 2
test cl, cl
jne 0x407204
xor eax, eax
jmp 0x407231
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x407287
mov eax, dword [ebp + 8]
push eax
push 1
push 0x1f0fff
call ebx
mov esi, eax
test esi, esi
je 0x407287
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40d544
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
test ebp, ebp
je 0x4073c1
jmp 0x4073b8
mov edx, dword [esp + 0x14]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
push ebp
push edx
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x407349
lea eax, [ebp + 0x24]
push eax
lea eax, [esp + 0x14]
push 0x40d050
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x12c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40731a
test cl, cl
je 0x407316
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40731a
add eax, 2
add esi, 2
test cl, cl
jne 0x4072f6
xor eax, eax
jmp 0x40731f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407336
mov eax, dword [ebp + 8]
push eax
push 1
push 0x1f0fff
call ebx
mov esi, eax
test esi, esi
jne 0x407393
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4072a7
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x407361
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
test ebp, ebp
je 0x4073c1
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40737a