Function at 0x1008e640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10148038
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edx
push ecx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
call fcn.1008e190
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008e7fb
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1008e6e1
lea edi, [eax + 2]
jmp 0x1008e800
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1008e70e
mov eax, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0x1019ab88
mov dword [ebp - 0x14], eax
jmp 0x1008e724
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x1019abc0
mov dword [ebp - 0x14], 0
push str.show_upgrade_ui
mov edx, 0x10
lea ecx, [ebp - 0xd8]
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
mov al, byte [edi + 0x48]
test al, al
je 0x1008e789
mov edx, 0x1016ecf4
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x1008e789
push dword [ebp - 0x14]
mov ecx, edi
call fcn.100201d0
mov al, byte [edi + 0x48]
test al, al
je 0x1008e789
mov edx, str._error
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x1008e789
push dword [esi]
mov ecx, edi
call fcn.10026c90
lea ecx, [ebp - 0xd8]
call fcn.1000ad70
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x1008e7fb
cmp dword [esi], 0
jne 0x1008e7fb
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1008e7b2
xor edi, edi
jmp 0x1008e800
xor esi, esi
cmp eax, 0xffffffff
jne 0x1008e7be
lea edi, [esi + 2]
jmp 0x1008e802
mov ecx, dword [ebp + 8]
cmp ecx, 2
jne 0x1008e7d2
xor esi, esi
lea edi, [ecx - 1]
cmp eax, esi
cmovbe esi, eax
jmp 0x1008e802
cmp ecx, 1
jne 0x1008e7e5
mov esi, 0xf0
mov edi, ecx
cmp eax, esi
cmovbe esi, eax
jmp 0x1008e802
test ecx, ecx
mov edx, 0x5a0
mov edi, 1
cmove esi, edx
cmp eax, esi
cmovbe esi, eax
jmp 0x1008e802
mov edi, 3
xor esi, esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1008e882
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1008e82f
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 0x1019ab88
jmp 0x1008e83e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, 0x1019abc0
xor eax, eax
mov ecx, dword [ecx + 4]
cmp ecx, dword [0x1019ab8c]
jne 0x1008e882
test edx, edx
jne 0x1008e882
cmp eax, 0x103
jne 0x1008e882
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1008e8cb
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.1002e6b0
mov ecx, dword [ebp - 0x30]
mov edx, 0x2710
call fcn.1006a800
test eax, eax
je 0x1008e882
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1008e890
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1008e89e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1008e8ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1008e890