Function at 0x440722
Capabilities:
Terminate process

Disassembly:
push 0xa7c
mov eax, 0x4e21a6
call fcn.004c1fb1
lea esi, [ebp - 0xa88]
mov dword [ebp - 4], 3
call fcn.0048bb50
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0xa5c], edi
mov dword [ebp - 0xa44], edi
cmp dword [eax - 0xc], edi
je 0x44077f
push edi
push ecx
mov eax, esp
mov dword [ebp - 0xa48], esp
push dword [ebp + 8]
push str.StoppingApp:AppID_s
push eax
call fcn.0046d760
add esp, 0xc
call fcn.0042760d
pop ecx
pop ecx
push edi
mov ecx, 0x52df50
call fcn.00423ead
pop ecx
cmp eax, edi
je 0x4407b0
cmp eax, 5
je 0x4407b0
push ecx
mov eax, esp
mov dword [ebp - 0xa48], esp
push str.ScmDirectStopServices_Stop__failed
push eax
call fcn.0046d760
pop ecx
pop ecx
call fcn.0043d9d6
pop ecx
mov dword [ebp - 0xa50], edi
jmp 0x440969
push ecx
mov eax, esp
mov dword [ebp - 0xa40], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
push ecx
push str.ActiveApp.AppID_x__AppID_x
push eax
call fcn.0046d760
add esp, 0x10
call fcn.0043d9d6
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.004bb834
pop ecx
pop ecx
test eax, eax
jne 0x440969
mov dword [ebp - 0xa40], edi
cmp dword [ebp - 0x618], edi
jbe 0x440969
mov ebx, dword [ebp - 0xa40]
lea ebx, [ebp + ebx*8 - 0x614]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x440951
mov eax, dword [ebp - 0xa40]
test byte [ebp + eax*8 - 0x610], 3
je 0x44088c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa50], esp
mov ecx, esp
push eax
call fcn.00424ec9
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0xa54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00424ec9
mov ebx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.004405e4
pop ecx
pop ecx
mov dword [ebp - 0xa50], 1
cmp eax, edi
je 0x440951
mov dword [ebp - 0xa44], eax
jmp 0x440951
push esi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4408a9
mov dword [ebp - 0xa44], 1
push 0x4eea54
lea ecx, [ebp - 0xa58]
call fcn.004247f7
mov byte [ebp - 4], 6
push dword [ebx]
lea esi, [ebp - 0xa58]
call fcn.0046bfe0
pop ecx
push 0x5c
push ecx
mov eax, esi
mov dword [ebp - 0xa54], esp
mov ecx, esp
push eax
call fcn.00424ec9
lea eax, [ebp - 0xa48]
push eax
call fcn.0046da90
add esp, 8
mov ecx, esp
mov dword [ebp - 0xa54], esp
mov byte [ebp - 4], 7
push dword [eax]
push dword [ebx]
push str.__Terminating_PID__d:__s
push ecx
call fcn.0046d760
add esp, 0x10
call fcn.0043d9d6
pop ecx
mov ecx, dword [ebp - 0xa48]
add ecx, 0xfffffff0
call fcn.0042201a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x440936
mov dword [ebp - 0xa44], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa58]
add ecx, 0xfffffff0
call fcn.0042201a
xor edi, edi
inc dword [ebp - 0xa40]
mov eax, dword [ebp - 0xa40]
cmp eax, dword [ebp - 0x618]
jb 0x44080d
push 1
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0xa5c]
call fcn.0048b870
test eax, eax
jne 0x4407bb
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], edi
je 0x440ace
lea eax, [ebp - 0xa78]
push eax
call fcn.00443229
mov byte [ebp - 4], 8
push edi
push dword [ebp + 0x10]
lea ebx, [ebp - 0xa78]
call fcn.0046bc90
pop ecx
pop ecx
test eax, eax
je 0x440abe
mov esi, dword [ebp - 0xa6c]
cmp esi, dword [ebp - 0xa68]
jbe 0x4409d4
call fcn.004bbc61
mov eax, dword [ebp - 0xa78]
mov dword [ebp - 0xa4c], eax
mov dword [ebp - 0xa48], esi
mov esi, dword [ebp - 0xa68]
cmp dword [ebp - 0xa6c], esi
jbe 0x4409f9
call fcn.004bbc61
mov eax, dword [ebp - 0xa4c]
cmp eax, edi
je 0x440a0b
cmp eax, dword [ebp - 0xa78]
je 0x440a10
call fcn.004bbc61
cmp dword [ebp - 0xa48], esi
je 0x440abe
lea esi, [ebp - 0xa4c]
call fcn.0044ea8a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x440aa6
lea esi, [ebp - 0xa4c]
call fcn.0044ea8a
push dword [eax]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x440a5c
mov dword [ebp - 0xa44], 1
lea esi, [ebp - 0xa4c]
call fcn.0044ea8a
push ecx
mov ecx, esp
mov dword [ebp - 0xa54], esp
push dword [ebp + 0x10]
push dword [eax]
push str.__Terminating_PID__d:__s
push ecx
call fcn.0046d760
add esp, 0x10
call fcn.0043d9d6
pop ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x440a9f
mov dword [ebp - 0xa44], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0xa60]
lea esi, [ebp - 0xa4c]
call fcn.00426f26
xor edi, edi
jmp 0x4409e6
lea eax, [ebp - 0xa78]
push eax
mov byte [ebp - 4], 4
call fcn.00426ee5
cmp dword [ebp - 0xa50], edi
je 0x440ae4
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0xa88]
call fcn.0048bb70
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, dword [ebp - 0xa44]
call fcn.004c2034
ret