Function at 0x4c1bff
Capabilities:
Terminate process

Disassembly:
push 0x254
mov eax, 0x6650dd
call fcn.005b47af
mov esi, ecx
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp eax, edi
jne 0x4c1c24
xor al, al
jmp 0x4c1cfc
push edi
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004c1151
and dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0047a1aa
pop ecx
pop ecx
test al, al
jne 0x4c1cec
mov ebx, dword [ebp - 0x4c]
mov ecx, 0x1001
cmp byte [esi], 0
mov eax, 0x401
cmove eax, ecx
push dword [ebx]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4c1d04
push 1
push 3
lea ecx, [ebp - 0x100]
call fcn.004078ff
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.__error
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xf0]
push str.OpenProcess:
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.004115a7
pop ecx
pop ecx
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0x100]
push eax
push str.ProcessList::stop
push 0x10d
push str.D:_build6c589d3ff8507062_src_systemProcess.cpp
push esi
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x100]
call fcn.0040843a
xor bl, bl
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4c1cfa
call fcn.00418cb4
mov al, bl
call fcn.005b4759
ret 4
mov dword [ebp - 0x50], 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]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x4c1dc1
push 0x2710
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c1e8e
push 1
push 3
lea ecx, [ebp - 0x1b0]
call fcn.004078ff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov eax, dword [ebp - 0x4c]
push str.__error
add eax, 4
push eax
lea eax, [ebp - 0x1a0]
push str.TerminateProcess_wait_timeout:
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.004115a7
pop ecx
pop ecx
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0x1b0]
push eax
push str.ProcessList::stop
push 0x11b
push str.D:_build6c589d3ff8507062_src_systemProcess.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x1b0]
jmp 0x4c1e3b
push 1
push 3
lea ecx, [ebp - 0x260]
call fcn.004078ff
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov eax, dword [ebp - 0x4c]
push str.__error
add eax, 4
push eax
lea eax, [ebp - 0x250]
push str.TerminateProcess:
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.004115a7
pop ecx
pop ecx
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0x260]
push eax
push str.ProcessList::stop
push 0x121
push str.D:_build6c589d3ff8507062_src_systemProcess.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.0040843a
lea eax, [ebp - 0x40]
xor bl, bl
push edi
push eax
call fcn.00425396
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push str.taskkill__f__t__pid
push eax
call fcn.00417d55
push 0
push 1
push 0
push eax
mov byte [ebp - 4], 6
call fcn.0059a4b2
add esp, 0x24
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409de7
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4c1cee