Function at 0x452240
Capabilities:
Check if file exists
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563cd7
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x5cac4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xa64], eax
mov eax, 0x57ba4c
cmovne eax, esi
push eax
push ebx
push str.OnInstallEnd_callback__success___d__errmsg___s
call fcn.0044ca10
add esp, 0xc
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x4528f5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa58], eax
push esi
push ebx
lea eax, [ebp - 0xa58]
mov dword [ebp - 4], 0
push str.ex3_dinfo_s
push eax
call fcn.0040b090
add esp, 0x10
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa68], esp
mov dword [eax + 0x24], 0
mov edi, dword [ebp - 0xa58]
push 0
push edi
push str.inst_end_progress
mov byte [ebp - 4], 1
call fcn.004345f0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004307a0
call fcn.00444480
mov ecx, eax
call fcn.0043db60
test eax, eax
je 0x452328
push 0x400
push ebx
push 0x8c8c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str._ProgressPage__try_to_remove_lsp
call fcn.0044ca10
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0x10
call fcn.0046f720
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
push str._net_netload.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45239b
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist.
call fcn.0044ca10
add esp, 8
jmp 0x45242e
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x4528ff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa54], eax
mov eax, 0x57b2f8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa54]
test eax, 0xffff0000
jne 0x4523d9
movzx eax, ax
push eax
call fcn.0040d6b0
jmp 0x4523e5
push 7
push 0x57b2f8
call fcn.0040d860
mov esi, dword [ebp - 0xa54]
lea eax, [ebp - 0x218]
push 1
push esi
push str.RemoveProvider
push eax
mov byte [ebp - 4], 3
call fcn.00436e90
lea eax, [ebp - 0x218]
push eax
call fcn.00410080
add esp, 0x14
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45242e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0xa74], esi
mov dword [ebp - 0xa70], esi
mov dword [ebp - 0xa6c], esi
lea eax, [ebp - 0xa50]
mov byte [ebp - 4], 4
push 0x1c
push eax
call fcn.004385e0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x45245f
mov eax, dword [eax]
lea ecx, [ebp - 0xa54]
mov dword [ebp - 0xa54], 0
push ecx
push 0xf013f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x45249f
mov esi, dword [ebp - 0xa54]
mov dword [ebp - 0xa74], esi
mov dword [ebp - 0xa70], 0x100
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x4524df
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4524d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452909
push edx
push ecx
call fcn.004aa2ce
add esp, 8
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x45250b
push str.Delete_reg_LdsTray
call fcn.0044ca10
add esp, 4
push str.LdsTray
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x45250b
push esi
call ebx
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x452516
push esi
call ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00507970
add esp, 0xc
call fcn.0046f720
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
call fcn.0040d600
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x45262b
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x420]
push str.HardwareProtectSlim.sys
push eax
lea eax, [ebp - 0x628]
push eax
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x420]
push str.HardwareProtect.sys
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00453070
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00507970
add esp, 0x14
lea eax, [ebp - 0x420]
push str.HardwareProtectSlim_x64.sys
push eax
lea eax, [ebp - 0xa38]
push eax
call esi
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x420]
push str.HardwareProtect_x64.sys
push eax
lea eax, [ebp - 0x830]
push eax
call esi
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.00453070
add esp, 8
mov ebx, dword [ebp - 0xa64]
add ebx, 0xffffffb0
mov ecx, ebx
mov dword [ebp - 0xa68], ebx
call fcn.00451b10
cmp dword [0x5ca750], 0
je 0x4526fa
push str.ntdll.dll
mov dword [ebp - 0xa5c], 0
xor ebx, ebx
mov dword [ebp - 0xa60], 0
mov dword [ebp - 0xa54], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4526e4
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4526b8
lea ecx, [ebp - 0xa54]
push ecx
lea ecx, [ebp - 0xa60]
push ecx
lea ecx, [ebp - 0xa5c]
push ecx
call eax
movzx eax, word [ebp - 0xa54]
mov ebx, 1
mov dword [ebp - 0xa54], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x4526e4
cmp dword [ebp - 0xa5c], 6
jne 0x4526e4
mov eax, dword [0x5d1c30]
mov ecx, 1
cmp dword [ebp - 0xa60], ecx
cmove eax, ecx
mov dword [0x5d1c30], eax
mov ebx, dword [ebp - 0xa68]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [0x5ca750], 0
cmp dword [0x5d1c30], 0
jne 0x4527fa
call fcn.0040d600
test eax, eax
jne 0x4527fa
lea eax, [ebp - 0x420]
push eax
push str.UpdateProtectExToProtect_path:_s
call fcn.0044ca10
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00507970
add esp, 0x14
lea eax, [ebp - 0x420]
push str.HardwareProtectEx.sys
push eax
lea eax, [ebp - 0x830]
push eax
call esi
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x420]
push str.HardwareProtect.sys
push eax
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00453070
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0x14
lea eax, [ebp - 0x420]
push str.HardwareProtectEx_x64.sys
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x420]
push str.HardwareProtect_x64.sys
push eax
lea eax, [ebp - 0x628]
push eax
call esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00453070
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0xc
call fcn.0046f720
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452860
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.installbridge
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.00444480
mov ecx, eax
call fcn.0043f740
test eax, eax
jne 0x452879
call fcn.004395d0
test eax, eax
jne 0x45289f
call fcn.00444480
cmp dword [eax + 0x18], 0
jne 0x452898
call fcn.0046f720
push 0
push str.UtilsLdsHelper.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x45289f
mov ecx, ebx
call fcn.00452cf0
mov eax, dword [ebp + 0xc]
mov dword [0x5d1b78], eax
mov eax, dword [ebp - 0xa64]
push 3
mov eax, dword [eax - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4528d7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa2b8
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040ad60
push 0x80004005
call fcn.0040ad60
call fcn.00524d73
int3