Function at 0x4351e2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b1e
mov eax, dword fs:[0]
push eax
mov eax, 0x4a8c
call fcn.004b2070
mov eax, dword [0x504c94]
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.00482b50
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 0x435262
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.00466a00
add esp, 0xc
call fcn.00425da4
pop ecx
pop ecx
push edi
call fcn.00422d95
pop ecx
test eax, eax
je 0x435289
push ecx
mov eax, esp
mov dword [ebp - 0x4a54], esp
push str.ScmDirectStopServices_Stop__failed
push eax
call fcn.00466a00
pop ecx
pop ecx
call fcn.00432c71
pop ecx
mov dword [ebp - 0x4a5c], edi
jmp 0x435442
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.00466a00
add esp, 0x10
call fcn.00432c71
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.004ab635
pop ecx
pop ecx
test eax, eax
jne 0x435442
mov dword [ebp - 0x4a4c], edi
cmp dword [ebp - 0x4214], edi
jbe 0x435442
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 0x43542a
mov eax, dword [ebp - 0x4a4c]
test byte [ebp + eax*8 - 0x420c], 3
je 0x435365
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4a5c], esp
mov ecx, esp
push eax
call fcn.00423aca
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x4a60], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00423aca
mov ebx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.004350a4
pop ecx
pop ecx
mov dword [ebp - 0x4a5c], 1
cmp eax, edi
je 0x43542a
mov dword [ebp - 0x4a50], eax
jmp 0x43542a
push esi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x435382
mov dword [ebp - 0x4a50], 1
push 0x4d9c38
lea ecx, [ebp - 0x4a64]
call fcn.0042341f
mov byte [ebp - 4], 6
push dword [ebx]
lea esi, [ebp - 0x4a64]
call fcn.00464d20
pop ecx
push 0x5c
push ecx
mov eax, esi
mov dword [ebp - 0x4a60], esp
mov ecx, esp
push eax
call fcn.00423aca
lea eax, [ebp - 0x4a54]
push eax
call fcn.00466f10
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.00466a00
add esp, 0x10
call fcn.00432c71
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 0x43540f
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 0x4352e6
lea eax, [ebp - 0x4a48]
push eax
lea esi, [ebp - 0x4a68]
lea ebx, [ebp - 0x4a94]
call fcn.00482610
test eax, eax
jne 0x435294
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], edi
je 0x4355a4
lea eax, [ebp - 0x4a84]
push eax
call fcn.004237b9
mov byte [ebp - 4], 8
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x4a84]
call fcn.00464890
pop ecx
pop ecx
test eax, eax
je 0x435594
mov esi, dword [ebp - 0x4a78]
cmp esi, dword [ebp - 0x4a74]
jbe 0x4354aa
call fcn.004aba61
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 0x4354cf
call fcn.004aba61
mov eax, dword [ebp - 0x4a58]
cmp eax, edi
je 0x4354e1
cmp eax, dword [ebp - 0x4a84]
je 0x4354e6
call fcn.004aba61
cmp dword [ebp - 0x4a54], esi
je 0x435594
lea esi, [ebp - 0x4a58]
call fcn.0043eaf7
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x43557c
lea esi, [ebp - 0x4a58]
call fcn.0043eaf7
push dword [eax]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x435532
mov dword [ebp - 0x4a50], 1
lea esi, [ebp - 0x4a58]
call fcn.0043eaf7
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.00466a00
add esp, 0x10
call fcn.00432c71
pop ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x435575
mov dword [ebp - 0x4a50], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0x4a6c]
lea esi, [ebp - 0x4a58]
call fcn.00425687
xor edi, edi
jmp 0x4354bc
lea eax, [ebp - 0x4a84]
push eax
mov byte [ebp - 4], 4
call fcn.0043ea93
cmp dword [ebp - 0x4a5c], edi
je 0x4355ba
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0x4a94]
call fcn.00482b70
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.004aaf83
leave
ret