Function at 0x411980
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.GlobalExit_5491c4d3_0a5f_4898_bec4_cd906998e306
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x4119d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.cannot_initialized_app_exit_event___d_
push str.uninstall_util
call fcn.0040bc30
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UWM_END_WINDOW_MSG_86A92825_6B57_423E_AAB1_13C85778886F
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0
push str.W64StubClss_27b3f5cc
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411a0b
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str.Waiting_for_process_to_die
push str.uninstall_util
call fcn.00402320
add esp, 8
xor esi, esi
push edi
push 0x422a18
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x411a6c
push str.The_process_is_still_running__continue_waiting
push str.uninstall_util
call fcn.00402320
add esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x3c
jl 0x411a20
jne 0x411b32
jmp 0x411a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_create_mutex._The_process_might_have_been_dead__Error__d._break
push str.uninstall_util
call fcn.0040bc30
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xffffffff
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push 0
push 0x10
push 0x422cb0
push str.SOFTWAREClassesCLSIDd07606c8_6532_4d75_a46d_f5f5ac6ef74aMiscStatus1
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [ebp - 0xc]
mov esi, eax
push esi
push str.Get_reg_value:__d__pid:__d
push str.uninstall_util
call fcn.00402320
add esp, 0x10
test esi, esi
jne 0x411b32
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411b32
push eax
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411b19
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.terminate_result:__d__err:__d
push str.uninstall_util
call fcn.00402320
add esp, 0x10
push dword [ebp - 0x14]
call edi
jmp 0x411b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_process_error:__d
push str.uninstall_util
call fcn.0040bc30
add esp, 0xc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x411bc0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x411ba7
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411bc0
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411b94
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.terminate_2_result:__d__err:__d
push str.uninstall_util
call fcn.00402320
mov eax, dword [ebp - 0x10]
add esp, 0x10
push eax
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.terminate_2__err:__d
push str.uninstall_util
call fcn.00402320
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419532
mov esp, ebp
pop ebp
ret