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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e785
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.GlobalExit_5491c4d3_0a5f_4898_bec4_cd906998e306
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.004020e0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.00417f00
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x418716
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41870c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41870c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041c16d
add esp, 8
test esi, esi
je 0x418732
push esi
push str.cannot_initialized_app_exit_event___d_
push str.uninstall_util
call fcn.00401ea0
add esp, 0xc
jmp 0x418976
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 - 0x38], eax
test eax, eax
je 0x41875f
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.00401ed0
add esp, 8
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push 0x2f
push str.GlobalAPP_5491c4d3_0a5f_4898_bec4_cd906998e306
call fcn.004020e0
mov dword [ebp - 4], 1
xor esi, esi
nop
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x4187f3
push str.The_process_is_still_running__continue_waiting
push str.uninstall_util
call fcn.00401ed0
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 0x4187a0
jne 0x4188b9
jmp 0x418812
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.00401ea0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0xffffffff
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 4
push eax
push 0
push 0x10
push 0x42a058
push str.SOFTWAREClassesCLSIDd07606c8_6532_4d75_a46d_f5f5ac6ef74aMiscStatus1
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [ebp - 0x34]
mov esi, eax
push esi
push str.Get_reg_value:__d__pid:__d
push str.uninstall_util
call fcn.00401ed0
add esp, 0x10
test esi, esi
jne 0x4188b9
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4188b9
push eax
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4188a0
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.00401ed0
add esp, 0x10
push dword [ebp - 0x3c]
call edi
jmp 0x4188b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_process_error:__d
push str.uninstall_util
call fcn.00401ea0
add esp, 0xc
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x418935
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x41891c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x418935
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x418917
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.00401ed0
mov eax, dword [ebp - 0x38]
add esp, 0x10
push eax
call edi
jmp 0x418935
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.terminate_2__err:__d
push str.uninstall_util
call fcn.00401ed0
add esp, 0xc
call fcn.004181c0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x418976
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41896c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41896c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041c16d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041bed2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret