Function at 0x41bcf0
Capabilities:
Terminate process

Disassembly:
push 0xf8
mov eax, 0x47d8f0
call fcn.00478470
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, ebx
jne 0x41bd18
xor al, al
jmp 0x41bdf1
push ebx
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0041bc92
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x41bde1
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 0x41bdf9
xor ebx, ebx
lea ecx, [ebp - 0x104]
inc ebx
push ebx
push 3
call fcn.00403264
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.004028fc
pop ecx
pop ecx
push eax
call fcn.00405a41
pop ecx
pop ecx
push eax
call fcn.004028fc
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.004048e7
mov ecx, eax
call fcn.0040be44
lea ecx, [ebp - 0x9c]
call fcn.004033bd
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 0x41bdef
call fcn.00403d1b
mov al, bl
call fcn.0047842b
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 0x41be97
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41bf66
push ebx
push 3
lea ecx, [ebp - 0x104]
call fcn.00403264
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.004028fc
pop ecx
pop ecx
push eax
call fcn.00405a41
pop ecx
pop ecx
push eax
call fcn.004028fc
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 0x41bef5
push ebx
push 3
lea ecx, [ebp - 0x104]
call fcn.00403264
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.004028fc
pop ecx
pop ecx
push eax
call fcn.00405a41
pop ecx
pop ecx
push eax
call fcn.004028fc
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.004048e7
mov ecx, eax
call fcn.0040be44
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004033bd
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.0040df89
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push str.taskkill__f__t__pid
push eax
call fcn.0040e89b
push 0
push ebx
push 0
push eax
mov byte [ebp - 4], 6
call fcn.004052cd
add esp, 0x24
lea ecx, [ebp - 0x28]
call fcn.00401ef9
lea ecx, [ebp - 0x40]
call fcn.00401ef9
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bde3