Function at 0x431986
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c18df
mov eax, dword fs:[0]
push eax
mov eax, 0x4a8c
call fcn.004a9ab0
mov eax, dword [0x4eec64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x4a94]
mov dword [ebp - 4], 3
call fcn.0047d190
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x4a68], edi
mov dword [ebp - 0x4a50], edi
cmp dword [eax - 0xc], edi
je 0x431a06
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x4a54], esp
push dword [ebp + 8]
push str.StoppingApp:AppID_s
push eax
call fcn.00461920
add esp, 0xc
call fcn.00425d70
pop ecx
pop ecx
push edi
call fcn.00422da4
pop ecx
test eax, eax
je 0x431a2d
push ecx
mov eax, esp
mov dword [ebp - 0x4a54], esp
push str.ScmDirectStopServices_Stop__failed
push eax
call fcn.00461920
pop ecx
pop ecx
call fcn.0042f28e
pop ecx
mov dword [ebp - 0x4a5c], edi
jmp 0x431be6
push ecx
mov eax, esp
mov dword [ebp - 0x4a4c], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x210]
push ecx
push str.ActiveApp.AppID_x__AppID_x
push eax
call fcn.00461920
add esp, 0x10
call fcn.0042f28e
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.004a4133
pop ecx
pop ecx
test eax, eax
jne 0x431be6
mov dword [ebp - 0x4a4c], edi
cmp dword [ebp - 0x4214], edi
jbe 0x431be6
mov ebx, dword [ebp - 0x4a4c]
lea ebx, [ebp + ebx*8 - 0x4210]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x431bce
mov eax, dword [ebp - 0x4a4c]
test byte [ebp + eax*8 - 0x420c], 3
je 0x431b09
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4a5c], esp
mov ecx, esp
push eax
call fcn.00423ac9
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x4a60], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00423ac9
mov ebx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.00431848
pop ecx
pop ecx
mov dword [ebp - 0x4a5c], 1
cmp eax, edi
je 0x431bce
mov dword [ebp - 0x4a50], eax
jmp 0x431bce
push esi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x431b26
mov dword [ebp - 0x4a50], 1
push 0x4cc11c
lea ecx, [ebp - 0x4a64]
call fcn.0042342e
mov byte [ebp - 4], 6
push dword [ebx]
lea esi, [ebp - 0x4a64]
call fcn.0045fcc0
pop ecx
push 0x5c
push ecx
mov eax, esi
mov dword [ebp - 0x4a60], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea eax, [ebp - 0x4a54]
push eax
call fcn.00461e30
add esp, 8
mov ecx, esp
mov dword [ebp - 0x4a60], esp
mov byte [ebp - 4], 7
push dword [eax]
push dword [ebx]
push str.__Terminating_PID__d:__s
push ecx
call fcn.00461920
add esp, 0x10
call fcn.0042f28e
pop ecx
mov ecx, dword [ebp - 0x4a54]
add ecx, 0xfffffff0
call fcn.0042101a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x431bb3
mov dword [ebp - 0x4a50], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4a64]
add ecx, 0xfffffff0
call fcn.0042101a
xor edi, edi
inc dword [ebp - 0x4a4c]
mov eax, dword [ebp - 0x4a4c]
cmp eax, dword [ebp - 0x4214]
jb 0x431a8a
lea eax, [ebp - 0x4a48]
push eax
lea esi, [ebp - 0x4a68]
lea ebx, [ebp - 0x4a94]
call fcn.0047cc50
test eax, eax
jne 0x431a38
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], edi
je 0x431d48
lea eax, [ebp - 0x4a84]
push eax
call fcn.00425651
mov byte [ebp - 4], 8
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x4a84]
call fcn.0045f840
pop ecx
pop ecx
test eax, eax
je 0x431d38
mov esi, dword [ebp - 0x4a78]
cmp esi, dword [ebp - 0x4a74]
jbe 0x431c4e
call fcn.004a44f1
mov eax, dword [ebp - 0x4a84]
mov dword [ebp - 0x4a58], eax
mov dword [ebp - 0x4a54], esi
mov esi, dword [ebp - 0x4a74]
cmp dword [ebp - 0x4a78], esi
jbe 0x431c73
call fcn.004a44f1
mov eax, dword [ebp - 0x4a58]
cmp eax, edi
je 0x431c85
cmp eax, dword [ebp - 0x4a84]
je 0x431c8a
call fcn.004a44f1
cmp dword [ebp - 0x4a54], esi
je 0x431d38
lea esi, [ebp - 0x4a58]
call fcn.0042394e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x431d20
lea esi, [ebp - 0x4a58]
call fcn.0042394e
push dword [eax]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x431cd6
mov dword [ebp - 0x4a50], 1
lea esi, [ebp - 0x4a58]
call fcn.0042394e
push ecx
mov ecx, esp
mov dword [ebp - 0x4a60], esp
push dword [ebp + 0x10]
push dword [eax]
push str.__Terminating_PID__d:__s
push ecx
call fcn.00461920
add esp, 0x10
call fcn.0042f28e
pop ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x431d19
mov dword [ebp - 0x4a50], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0x4a6c]
lea esi, [ebp - 0x4a58]
call fcn.00425689
xor edi, edi
jmp 0x431c60
lea eax, [ebp - 0x4a84]
push eax
mov byte [ebp - 4], 4
call fcn.00434870
cmp dword [ebp - 0x4a5c], edi
je 0x431d5e
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0x4a94]
call fcn.0047d1b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, dword [ebp - 0x4a50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a3a81
leave
ret