Function at 0x489b60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc275
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x51a3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00476c30
mov esi, eax
test esi, esi
je 0x489c1c
push 0
push 0x2410
push esi
call fcn.00482a40
add esp, 0xc
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x489c1c
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x489bf4
push str.killApp_host_wait_object
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
jmp 0x489c15
push str.killApp_host_TerminateProcess
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00477260
mov esi, eax
test esi, esi
je 0x489caf
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x489caf
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x489c87
push str.killApp_tray_wait_object
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
jmp 0x489ca8
push str.killApp_tray_TerminateProcess
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x489e50
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x4e098c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x489cea
movzx eax, ax
push eax
call fcn.0047df50
jmp 0x489cf6
push 0x14
push 0x4e098c
call fcn.00476770
mov ecx, 0x5223c8
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489d05
sub ecx, edx
sar ecx, 1
jne 0x489d1b
call fcn.00489190
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x489e5a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, 0x5223c8
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x489d53
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
call fcn.0047df50
jmp 0x489d7d
mov ecx, 0x5223c8
lea edx, [ecx + 2]
jmp 0x489d60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489d60
sub ecx, edx
sar ecx, 1
push ecx
push 0x5223c8
lea ecx, [ebp - 0x10]
call fcn.00476770
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00483650
add esp, 0xc
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x489db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x489dd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.004a4277
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00485e10
lea eax, [ebp - 0x24]
push eax
call fcn.00486130
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.0040b190
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x489e3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
int3