Function at 0x10009780
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d284
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101f62b4]
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
push 0x2c
call fcn.1015c88b
mov esi, eax
add esp, 4
mov dword [ebp - 0x248], esi
push 0x2c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.10160450
add esp, 8
xor eax, eax
push 0xff
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.Global03DABCD3_FFF3_486c_A3D8_EE665F8B0316
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.10001d60
mov ecx, esi
call fcn.1004dfb0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x1000983b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_SemaphoreLock:_d
push 0x101aee58
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dbb0
add esp, 0x10
xor al, al
jmp 0x10009a76
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
test al, al
jne 0x10009877
call fcn.1004cb70
push str.Semaphore_is_not_locked
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
jmp 0x10009a62
mov ecx, str.Global2E7A045D_8E49_4C5A_9855_907DAF9B94BF
call fcn.10108740
mov dword [ebp - 0x248], eax
test eax, eax
jne 0x100098c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_AAMNotifier_Terminate_Notification_Event_:_d
push 0x101aee58
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dbb0
mov eax, dword [ebx]
add esp, 0x10
mov esi, dword [eax]
mov ecx, esi
push 1
call dword [0x1019a4f8]
mov ecx, ebx
call esi
xor al, al
jmp 0x10009a76
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx]
xor edi, edi
mov byte [ebp - 0x241], 0
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
test al, al
je 0x10009a4e
cmp edi, 0x3c
jle 0x100099b0
cmp byte [ebp - 0x241], 0
jne 0x10009a92
push str.Notifier_lock_locked_after_waiting_30_seconds._Killing_AAM_Updates_Notifier.exe
push 0x101aee58
call fcn.1004cb70
push eax
call fcn.1004db20
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000999d
nop word [eax + eax]
push str.AAM_Updates_Notifier.exe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1000998b
push dword [ebp - 0x238]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000998b
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10009950
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x241], 1
mov edi, 0x38
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
inc edi
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
push 0x2c
call fcn.1015c88b
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
push 0x2c
push 0
push esi
mov dword [ebp - 4], 1
call fcn.10160450
add esp, 8
xor eax, eax
push 0xff
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.Global03DABCD3_FFF3_486c_A3D8_EE665F8B0316
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.10001d60
mov ecx, esi
call fcn.1004dfb0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10009ad4
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
test al, al
jne 0x100098f0
mov esi, dword [ebp - 0x248]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
mov al, 1
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.1015c875
mov esp, ebp
pop ebp
ret
push str.Notifier_lock_still_locked_after_killing_AAM_Updates_Notifier.exe_and_waiting_2_more_seconds.
push 0x101aee58
call fcn.1004cb70
push eax
call fcn.1004db20
mov esi, dword [ebp - 0x248]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
xor al, al
jmp 0x10009a76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_re_create_SemaphoreLock:_d
push 0x101aee58
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dbb0
mov esi, dword [ebp - 0x248]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10009a76