Function at 0x1809359a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0xc], ecx
movzx ecx, byte [0x18101323]
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
push 7
pop edx
and ecx, 0x18101240
je 0x180935e2
xor eax, eax
mov dword [ebp - 0x20], ecx
inc eax
mov dword [ebp - 0x1c], edx
push eax
push edx
mov dword [ebp - 0x18], eax
call fcn.1800457f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._Waiting_for_other_instances_to_exit_
push eax
call fcn.18002ca6
pop ecx
pop ecx
xor ebx, ebx
mov eax, ebx
mov edi, ebx
mov dword [ebp - 8], eax
mov esi, ebx
mov dword [ebp - 0x14], eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 4], ebx
sar eax, 2
test eax, eax
je 0x18093827
push dword [ecx + edx*4]
push ebx
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x1809362d
call fcn.18015f1f
jmp 0x18093651
mov dword [ebp - 8], eax
cmp edi, esi
je 0x1809363e
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x18], edi
jmp 0x18093651
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1800a70c
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x18093613
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], edi
cmp esi, edi
je 0x18093827
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x18]
mov edx, esi
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, edi
sub eax, esi
mov dword [ebp - 0x14], ecx
sar eax, 2
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.18009680
pop ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
call fcn.18056f4a
push edx
push eax
mov ecx, 0x18101760
call fcn.1805610e
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x180936e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180936da
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18093827
jmp 0x180937db
test eax, eax
je 0x18093827
movzx ecx, byte [0x18101323]
neg ecx
sbb ecx, ecx
and ecx, 0x18101240
je 0x1809372e
push 7
pop edx
push 0xfffffffffffffffe
pop eax
push eax
push edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.1800457f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push str._Other_AsusUpdate.exe_instances_failed_to_shutdown_in_time___u_
push eax
call fcn.18002ca6
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], ebx
cmp dword [ebp + 8], ebx
jbe 0x180937d1
mov edi, ebx
push ebx
push dword [esi + edi*4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180937c4
mov ecx, dword [esi + edi*4]
call fcn.18013d10
test eax, eax
je 0x180937c4
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov ecx, eax
call fcn.18092922
test eax, eax
mov eax, dword [ebp + 0xc]
js 0x18093776
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
cmp eax, 0x20
ja case.0x18093782.1
movzx eax, byte [eax + 0x1809388a]
jmp dword [eax*4 + 0x18093866]
mov ecx, 0x180fe9d8
jmp 0x180937bf
mov ecx, 0x180feab8
jmp 0x180937bf
mov ecx, 0x180fea18
jmp 0x180937bf
mov ecx, 0x180fee78
jmp 0x180937bf
mov ecx, 0x180fed38
jmp 0x180937bf
mov ecx, 0x180febf8
jmp 0x180937bf
mov ecx, 0x180fe9f8
jmp 0x180937bf
mov ecx, 0x180fea98
call fcn.1801a740
inc edi
cmp edi, dword [ebp + 8]
jb 0x1809373f
mov edi, dword [ebp - 4]
mov ecx, 0x180feb98
call fcn.1801a740
mov eax, dword [ebp + 8]
test eax, eax
je 0x1809380e
mov edi, eax
push 0xffffffffffffffff
push dword [esi + ebx*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x18093801
mov ecx, dword [esi + ebx*4]
call fcn.18013d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc ebx
cmp ebx, edi
jb 0x180937e4
mov edi, dword [ebp - 4]
xor ebx, ebx
mov eax, dword [ebp + 8]
push 0x1f4
mov edx, esi
mov ecx, eax
call fcn.18009680
pop ecx
test eax, eax
je 0x18093827
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub edi, esi
sar edi, 2
test edi, edi
je 0x18093847
push dword [esi + ebx*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x18093842
call fcn.18015f1f
inc ebx
cmp ebx, edi
jb 0x18093830
test esi, esi
je 0x1809385c
mov eax, dword [ebp - 8]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
call fcn.180064b3
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8