Function at 0x1005a3f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122310
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov edx, 1
mov ecx, str.msiexec.exe
call fcn.10043e80
add esp, 4
or ebx, 0xffffffff
test eax, eax
jne 0x1005a4a0
lea eax, [ebp - 0x10]
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 2
mov ecx, 0x10141420
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a566
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1005a566
mov edi, dword [ebp - 0x24]
mov esi, edi
cmp edi, dword [ebp - 0x20]
je 0x1005a569
mov edi, edi
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [esi]
mov edi, eax
test edi, edi
je 0x1005a518
lea eax, [ebp - 0x10]
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, 0x10141420
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a506
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1005a55a
lea eax, [ebp - 0x14]
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, 0x10141420
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a55a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebp - 0x20]
jne 0x1005a4b0
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 5
mov ecx, 0x10141420
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a5ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esp
push str.services.exe
call fcn.10023fc0
xor edx, edx
mov ecx, esi
call fcn.10059d50
mov edx, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.10049830
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x14]
push str.DoMsiTrackerStop:_uninject_services.exe_returned:__s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 7
mov ecx, 0x10141420
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a619
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005a639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x1005a646
push edi
call fcn.1010338d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1005a667
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret