Function at 0x446d96
Capabilities:
Terminate process

Disassembly:
push 0xa74
mov eax, 0x4f40f3
call fcn.004d382d
lea esi, [ebp - 0xa80]
mov dword [ebp - 4], 3
call fcn.00497390
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0xa58], ebx
mov dword [ebp - 0xa40], ebx
cmp dword [eax - 0xc], ebx
je 0x446df3
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0xa44], esp
push dword [ebp + 8]
push str.StoppingApp:AppID_s
push eax
call fcn.004777e0
add esp, 0xc
call fcn.004256e3
pop ecx
pop ecx
push ebx
mov ecx, 0x5472b8
call fcn.00421edd
pop ecx
cmp eax, ebx
je 0x446e24
cmp eax, 5
je 0x446e24
push ecx
mov eax, esp
mov dword [ebp - 0xa44], esp
push str.ScmDirectStopServices_Stop__failed
push eax
call fcn.004777e0
pop ecx
pop ecx
call fcn.00443fe5
pop ecx
xor edi, edi
mov dword [ebp - 0xa4c], ebx
inc edi
jmp 0x446fe0
push ecx
mov eax, esp
mov dword [ebp - 0xa3c], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x210]
push ecx
push str.ActiveApp.AppID_x__AppID_x
push eax
call fcn.004777e0
add esp, 0x10
call fcn.00443fe5
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.004cca64
pop ecx
pop ecx
test eax, eax
jne 0x446fe0
mov dword [ebp - 0xa3c], ebx
cmp dword [ebp - 0x614], ebx
jbe 0x446fe0
mov ebx, dword [ebp - 0xa3c]
lea ebx, [ebp + ebx*8 - 0x610]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x446fc6
mov eax, dword [ebp - 0xa3c]
test byte [ebp + eax*8 - 0x60c], 3
je 0x446eff
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa4c], esp
mov ecx, esp
push eax
call fcn.00422f20
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0xa50], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00422f20
mov ebx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.00446c58
pop ecx
pop ecx
mov dword [ebp - 0xa4c], edi
test eax, eax
je 0x446fc6
mov dword [ebp - 0xa40], eax
jmp 0x446fc6
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x446f1d
mov dword [ebp - 0xa40], 1
push 0x50206c
lea ecx, [ebp - 0xa54]
call fcn.00422827
mov byte [ebp - 4], 6
push dword [ebx]
lea esi, [ebp - 0xa54]
call fcn.00475f00
pop ecx
push 0x5c
push ecx
mov eax, esi
mov dword [ebp - 0xa50], esp
mov ecx, esp
push eax
call fcn.00422f20
lea eax, [ebp - 0xa44]
push eax
call fcn.00477b10
add esp, 8
mov ecx, esp
mov dword [ebp - 0xa50], esp
mov byte [ebp - 4], 7
push dword [eax]
push dword [ebx]
push str.__Terminating_PID__d:__s
push ecx
call fcn.004777e0
add esp, 0x10
call fcn.00443fe5
pop ecx
mov ecx, dword [ebp - 0xa44]
add ecx, 0xfffffff0
call fcn.0042001a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x446faa
mov dword [ebp - 0xa40], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa54]
add ecx, 0xfffffff0
call fcn.0042001a
xor edi, edi
inc edi
inc dword [ebp - 0xa3c]
mov eax, dword [ebp - 0xa3c]
cmp eax, dword [ebp - 0x614]
jb 0x446e84
xor ebx, ebx
push edi
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xa80]
push eax
lea eax, [ebp - 0xa58]
call fcn.004970b0
test eax, eax
jne 0x446e32
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x447137
lea eax, [ebp - 0xa70]
push eax
call fcn.00429c03
mov byte [ebp - 4], 8
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xa70]
call fcn.00475c10
pop ecx
pop ecx
test eax, eax
je 0x447127
mov esi, dword [ebp - 0xa64]
cmp esi, dword [ebp - 0xa60]
jbe 0x44704a
call fcn.004cce91
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], esi
mov esi, dword [ebp - 0xa60]
cmp dword [ebp - 0xa64], esi
jbe 0x44706f
call fcn.004cce91
mov eax, dword [ebp - 0xa48]
cmp eax, ebx
je 0x447081
cmp eax, dword [ebp - 0xa70]
je 0x447086
call fcn.004cce91
cmp dword [ebp - 0xa44], esi
je 0x447127
lea esi, [ebp - 0xa48]
call fcn.00422da5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x447117
lea esi, [ebp - 0xa48]
call fcn.00422da5
push dword [eax]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x4470ce
mov dword [ebp - 0xa40], edi
lea esi, [ebp - 0xa48]
call fcn.00422da5
push ecx
mov ecx, esp
mov dword [ebp - 0xa50], esp
push dword [ebp + 0x10]
push dword [eax]
push str.__Terminating_PID__d:__s
push ecx
call fcn.004777e0
add esp, 0x10
call fcn.00443fe5
pop ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x44710e
mov dword [ebp - 0xa40], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea esi, [ebp - 0xa48]
call fcn.00422dcd
jmp 0x44705c
lea eax, [ebp - 0xa70]
push eax
mov byte [ebp - 4], 4
call fcn.00424ff9
cmp dword [ebp - 0xa4c], ebx
je 0x44714d
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0xa80]
call fcn.004973b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
mov eax, dword [ebp - 0xa40]
call fcn.004d38b0
ret