Function at 0x1003ccd0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181664
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101e42fc]
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.1014d1eb
mov esi, eax
mov dword [ebp - 0x248], esi
push 0xff
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
xor eax, eax
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.10001c20
mov ecx, esi
call fcn.10002490
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x1003cd7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_SemaphoreLock:_d
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
add esp, 0x10
xor al, al
jmp 0x1003cfa6
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1018a4d4]
mov ecx, ebx
call esi
test al, al
jne 0x1003cdb7
call fcn.10002de0
push str.Semaphore_is_not_locked
push 0x101a53f8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
jmp 0x1003cf92
mov ecx, str.Global2E7A045D_8E49_4C5A_9855_907DAF9B94BF
call fcn.100f3ac0
mov dword [ebp - 0x248], eax
test eax, eax
jne 0x1003ce07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_AAMNotifier_Terminate_Notification_Event_:_d
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
mov eax, dword [ebx]
add esp, 0x10
mov esi, dword [eax]
mov ecx, esi
push 1
call dword [0x1018a4d4]
mov ecx, ebx
call esi
xor al, al
jmp 0x1003cfa6
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 [0x1018a4d4]
mov ecx, ebx
call esi
test al, al
je 0x1003cf7e
cmp edi, 0x3c
jle 0x1003cef0
cmp byte [ebp - 0x241], 0
jne 0x1003cfc2
push str.Notifier_lock_locked_after_waiting_30_seconds._Killing_AAM_Updates_Notifier.exe
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003d90
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 0x1003cedd
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 0x1003cecb
push dword [ebp - 0x238]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1003cecb
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 0x1003ce90
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 [0x1018a4d4]
mov ecx, ebx
call esi
push 0x2c
call fcn.1014d1eb
mov esi, eax
mov dword [ebp - 0x24c], esi
push 0xff
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
xor eax, eax
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.10001c20
mov ecx, esi
call fcn.10002490
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1003d004
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1018a4d4]
mov ecx, ebx
call esi
test al, al
jne 0x1003ce30
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 [0x1018a4d4]
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.1014d1d5
mov esp, ebp
pop ebp
ret
push str.Notifier_lock_still_locked_after_killing_AAM_Updates_Notifier.exe_and_waiting_2_more_seconds.
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003d90
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 [0x1018a4d4]
mov ecx, ebx
call esi
xor al, al
jmp 0x1003cfa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_re_create_SemaphoreLock:_d
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
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 0x1003cfa6