Function at 0x180da25a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x14], ecx
movzx ecx, byte [0x18217983]
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
push 7
pop edx
and ecx, 0x18217880
je 0x180da2a2
xor eax, eax
mov dword [ebp - 0x28], ecx
inc eax
mov dword [ebp - 0x24], edx
push eax
push edx
mov dword [ebp - 0x20], eax
call fcn.18008988
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push str._Waiting_for_other_instances_to_exit_
push eax
call fcn.18006aa4
pop ecx
pop ecx
xor ebx, ebx
mov eax, ebx
mov edi, ebx
mov dword [ebp - 8], eax
mov esi, ebx
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 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 0x180da507
push dword [ecx + edx*4]
push ebx
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x180da2ed
call fcn.18017850
jmp 0x180da311
mov dword [ebp - 0xc], eax
cmp edi, esi
je 0x180da2fe
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0x180da311
lea eax, [ebp - 0xc]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.1800e3cc
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
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 0x180da2d3
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], edi
cmp esi, edi
je 0x180da507
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
mov edx, esi
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, edi
sub eax, esi
sar eax, 2
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.1800d36d
pop ecx
lea ecx, [ebp - 0x20]
mov dword [ebp + 0xc], eax
call fcn.180632a3
push edx
push eax
mov ecx, 0x18218068
call fcn.1801e8f8
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x180da3a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180da39a
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x180da507
jmp 0x180da4bb
test eax, eax
je 0x180da507
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x180da3ee
push 7
pop edx
push 0xfffffffffffffffe
pop eax
push eax
push edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
call fcn.18008988
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push str._Other_Omaha_Update_instances_failed_to_shutdown_in_time___u_
push eax
call fcn.18006aa4
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], ebx
mov dword [eax + 0x10], ebx
mov eax, ebx
cmp dword [ebp + 8], eax
jbe 0x180da4b1
mov edi, dword [ebp + 8]
push ebx
push dword [esi + eax*4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180da49f
mov ecx, dword [ebp + 0xc]
mov ecx, dword [esi + ecx*4]
call fcn.18014f56
test eax, eax
je 0x180da49f
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov ecx, eax
call fcn.180d9456
test eax, eax
mov eax, dword [ebp - 0xc]
js 0x180da443
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
sub eax, ebx
je 0x180da495
push 2
pop ecx
sub eax, ecx
je 0x180da48e
sub eax, 6
je 0x180da487
sub eax, ecx
je 0x180da480
sub eax, ecx
je 0x180da479
sub eax, ecx
je 0x180da472
sub eax, 3
je 0x180da46b
mov ecx, 0x182116d0
jmp 0x180da49a
mov ecx, 0x18211650
jmp 0x180da49a
mov ecx, 0x18211830
jmp 0x180da49a
mov ecx, 0x18211950
jmp 0x180da49a
mov ecx, 0x18211b10
jmp 0x180da49a
mov ecx, 0x18211670
jmp 0x180da49a
mov ecx, 0x182116f0
jmp 0x180da49a
mov ecx, 0x18211630
call fcn.1801f0d2
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x180da405
mov edi, dword [ebp - 4]
mov ecx, 0x182117d0
call fcn.1801f0d2
mov eax, dword [ebp + 8]
test eax, eax
je 0x180da4ee
mov edi, eax
push 0xffffffffffffffff
push dword [esi + ebx*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x180da4e1
mov ecx, dword [esi + ebx*4]
call fcn.18014f56
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc ebx
cmp ebx, edi
jb 0x180da4c4
mov edi, dword [ebp - 4]
xor ebx, ebx
mov eax, dword [ebp + 8]
push 0x1f4
mov edx, esi
mov ecx, eax
call fcn.1800d36d
pop ecx
test eax, eax
je 0x180da507
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub edi, esi
sar edi, 2
test edi, edi
je 0x180da527
push dword [esi + ebx*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x180da522
call fcn.18017850
inc ebx
cmp ebx, edi
jb 0x180da510
test esi, esi
je 0x180da53c
mov eax, dword [ebp - 8]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
call fcn.1800a00f
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8