Function at 0x4545a6
Capabilities:
Terminate process

Disassembly:
push 0xf8
mov eax, 0x4e4e2f
call fcn.004d631c
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, ebx
jne 0x4545ce
xor al, al
jmp 0x4546a7
push ebx
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00454548
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x454697
push dword [edi]
cmp byte [esi], 0
mov ecx, 0x1001
mov eax, 0x401
push 0
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4546af
xor ebx, ebx
lea ecx, [ebp - 0x104]
inc ebx
push ebx
push 3
call fcn.004038fa
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__error
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0xf4]
push str.OpenProcess:
push eax
call fcn.00402f9e
pop ecx
pop ecx
push eax
call fcn.004081a3
pop ecx
pop ecx
push eax
call fcn.00402f9e
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0x104]
push eax
push str.ProcessList::stop
push 0x10d
push str.C:workprojects_rubilnik_src_systemProcess.cpp
push esi
call fcn.00405a66
mov ecx, eax
call fcn.0040f202
lea ecx, [ebp - 0x9c]
call fcn.00403ad6
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor bl, bl
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4546a5
call fcn.00404cae
mov al, bl
call fcn.004d62c6
ret 4
mov dword [ebp - 0x54], esi
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x44]
xor ebx, ebx
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x45474d
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45481c
push ebx
push 3
lea ecx, [ebp - 0x104]
call fcn.004038fa
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__error
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0xf4]
push str.TerminateProcess_wait_timeout:
push eax
call fcn.00402f9e
pop ecx
pop ecx
push eax
call fcn.004081a3
pop ecx
pop ecx
push eax
call fcn.00402f9e
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0x104]
push eax
push str.ProcessList::stop
push 0x11b
jmp 0x4547ab
push ebx
push 3
lea ecx, [ebp - 0x104]
call fcn.004038fa
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__error
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0xf4]
push str.TerminateProcess:
push eax
call fcn.00402f9e
pop ecx
pop ecx
push eax
call fcn.004081a3
pop ecx
pop ecx
push eax
call fcn.00402f9e
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0x104]
push eax
push str.ProcessList::stop
push 0x121
push str.C:workprojects_rubilnik_src_systemProcess.cpp
push 0
call fcn.00405a66
mov ecx, eax
call fcn.0040f202
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00403ad6
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
call fcn.0041a096
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push str.taskkill__f__t__pid
push eax
call fcn.0040f110
push 0
push ebx
push 0
push eax
mov byte [ebp - 4], 6
call fcn.0040662c
add esp, 0x24
lea ecx, [ebp - 0x28]
call fcn.00401f5a
lea ecx, [ebp - 0x40]
call fcn.00401f5a
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x454699