Function at 0x42c9e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ded7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push esi
push 0
push 2
mov dword [ebp - 0x10], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ca8b
mov dword [ebp - 0x1c], str.CreateToolhelp32Snapshot_failed
xor ecx, ecx
mov dword [ebp - 0x18], 0x1f
mov eax, ecx
inc ecx
cmp byte [eax + str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp], 0
jne 0x42ca26
test ecx, ecx
je 0x42ca49
mov al, byte [ecx + str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp]
cmp al, 0x5c
je 0x42ca83
cmp al, 0x2f
je 0x42ca83
sub ecx, 1
jne 0x42ca36
mov eax, str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp
lea ecx, [ebp - 0x1c]
push ecx
push 0x111
push eax
push 2
push 1
lea ecx, [ebp - 0x13c]
call fcn.0042aee0
lea ecx, [ebp - 0x13c]
call fcn.00419120
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 0x4a81e9]
jmp 0x42ca4e
push edi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
push esi
mov dword [ebp - 0x264], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x42caf7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.Process32First_failed
push eax
push 0x119
push str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp
mov dword [ebp - 0x10], 0x15
call fcn.00402620
add esp, 4
lea ecx, [ebp - 0x13c]
push eax
push 2
push 1
call fcn.0042aee0
lea ecx, [ebp - 0x13c]
call fcn.00419120
xor edi, edi
jmp 0x42cc94
mov edi, dword [ebp + 8]
push ebx
test edi, edi
je 0x42cb18
push 1
push 0
push 0
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov ebx, 1
mov dword [ebp - 0x10], ebx
jmp 0x42cb5a
push 0x11c
push str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp
call fcn.00402620
add esp, 4
lea ecx, [ebp - 0x13c]
push eax
push 4
push 1
call fcn.00418ef0
add eax, 0x30
mov dword [ebp - 4], 2
push str.Check_failed:_name___nullptr
mov ebx, 2
push eax
mov dword [ebp - 0x10], ebx
call fcn.00401900
add esp, 8
test bl, 2
je 0x42cb70
and ebx, 0xfffffffd
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x10], ebx
call fcn.00419120
mov dword [ebp - 4], 0
test bl, 1
je 0x42cb8b
and ebx, 0xfffffffe
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
cmp dword [ebp + 0xc], 0
je 0x42cba5
push 1
push 0
push 0
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
or ebx, 4
jmp 0x42cbe5
push 0x11d
push str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp
call fcn.00402620
add esp, 4
lea ecx, [ebp - 0x13c]
push eax
push 4
push 1
call fcn.00418ef0
add eax, 0x30
mov dword [ebp - 4], 4
push str.Check_failed:_id___nullptr
or ebx, 8
push eax
mov dword [ebp - 0x10], ebx
call fcn.00401900
add esp, 8
test bl, 8
je 0x42cbf8
lea ecx, [ebp - 0x13c]
and ebx, 0xfffffff7
call fcn.00419120
mov dword [ebp - 4], 0
test bl, 4
je 0x42cc0d
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea eax, [ebp - 0x240]
push edi
push eax
call ebx
add esp, 8
test eax, eax
je 0x42cc83
lea eax, [ebp - 0x264]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42cc13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x42cc7f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.Process32Next_failed
push eax
push 0x126
push str.C:ProjectsRA2YurisRevengeTrainer_srcwin32utils.cpp
mov dword [ebp - 0x10], 0x14
call fcn.00402620
add esp, 4
lea ecx, [ebp - 0x334]
push eax
push 2
push 1
call fcn.0042aee0
lea ecx, [ebp - 0x334]
call fcn.00419120
xor edi, edi
jmp 0x42cc93
mov ecx, dword [ebp + 0xc]
mov edi, 1
mov eax, dword [ebp - 0x25c]
mov dword [ecx], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret