Function at 0x44bf60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x5fbea4]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
push 0
mov edi, ecx
push 2
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x44bfd0
push 0x4520d0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.CreateToolhelp32Snapshot_failed.
call fcn.00451e90
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0057a738
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x128
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x44c027
push 0x4520d0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Process32First_failed.
call fcn.00451e90
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0057a738
mov esp, ebp
pop ebp
ret
xor al, al
mov byte [esp + 0xf], al
nop dword [eax]
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x44c1d1
nop dword [eax]
cmp byte [esp + 0x54], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jne 0x44c060
xor eax, eax
jmp 0x44c070
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c067
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.0044fdd0
push esi
lea ecx, [esp + 0x1c]
call fcn.0044fca0
mov ecx, dword [esp + 0x2c]
mov ebx, eax
cmp ecx, 0x10
jb 0x44c0d4
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x44c0cb
test dl, 0x1f
jne 0x44c1f4
mov eax, dword [edx - 4]
cmp eax, edx
jae 0x44c1f4
sub edx, eax
cmp edx, 4
jb 0x44c1f4
cmp edx, 0x23
ja 0x44c1f4
mov edx, eax
push edx
call fcn.0057a868
add esp, 4
test ebx, ebx
jne 0x44c1be
push dword [esp + 0x38]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x44c194
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x4520d0
push ecx
test eax, eax
jne 0x44c138
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.TerminateProcess_failed_for_process
call fcn.00451e90
mov edx, esi
mov ecx, eax
call fcn.00452100
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x44c1c4
push dword [esp + 0x40]
mov edx, str.Process
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00451e90
mov edx, esi
mov ecx, eax
call fcn.00452100
mov edx, str.__PID:
mov ecx, eax
call fcn.00451e90
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, str.__terminated.
mov ecx, eax
call fcn.00451e90
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x13], 1
call ebx
jmp 0x44c1c4
push 0x4520d0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.OpenProcess_failed_for_process
call fcn.00451e90
mov edx, esi
mov ecx, eax
call fcn.00452100
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x18
cmp esi, edi
jne 0x44c040
jmp 0x44c1d7
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x44c1fa
mov edi, dword [esp + 0x14]
jmp 0x44c030
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
call ebx
mov ecx, dword [esp + 0x15c]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057a738
mov esp, ebp
pop ebp
ret