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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572927
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x5dccb4]
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, 0x58ac10
cmovne eax, esi
push eax
push ebx
push str.OnInstallEnd_callback__success___d__errmsg___s
call fcn.0044ceb0
add esp, 0xc
call fcn.0040cf00
mov ecx, eax
test ecx, ecx
je 0x455075
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.0040b270
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.00434730
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00430190
call fcn.004443b0
mov ecx, eax
call fcn.0043d580
test eax, eax
je 0x454aa8
push 0x400
push ebx
push 0x8c8c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str._ProgressPage__try_to_remove_lsp
call fcn.0044ceb0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00516300
add esp, 0x10
call fcn.00472ff0
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
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 0x454b1b
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist.
call fcn.0044ceb0
add esp, 8
jmp 0x454bae
call fcn.0040cf00
mov ecx, eax
test ecx, ecx
je 0x45507f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa54], eax
mov eax, 0x58a318
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa54]
test eax, 0xffff0000
jne 0x454b59
movzx eax, ax
push eax
call fcn.0040d890
jmp 0x454b65
push 7
push 0x58a318
call fcn.0040da40
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.00436530
lea eax, [ebp - 0x218]
push eax
call fcn.004101c0
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 0x454bae
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.00438100
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x454bdf
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 0x454c1f
mov esi, dword [ebp - 0xa54]
mov dword [ebp - 0xa74], esi
mov dword [ebp - 0xa70], 0x100
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x454c5f
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454c55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455089
push edx
push ecx
call fcn.004b0a8e
add esp, 8
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x454c8b
push str.Delete_reg_LdsTray
call fcn.0044ceb0
add esp, 4
push str.LdsTray
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x454c8b
push esi
call ebx
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x454c96
push esi
call ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00516300
add esp, 0xc
call fcn.00472ff0
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
call fcn.0040d7e0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x454dab
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00516300
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.00516300
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.004557c0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00516300
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.00516300
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.004557c0
add esp, 8
mov ebx, dword [ebp - 0xa64]
add ebx, 0xffffffb0
mov ecx, ebx
mov dword [ebp - 0xa68], ebx
call fcn.00454050
cmp dword [0x5dc778], 0
je 0x454e7a
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 0x454e64
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x454e38
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 0x454e64
cmp dword [ebp - 0xa5c], 6
jne 0x454e64
mov eax, dword [0x5e3cb0]
mov ecx, 1
cmp dword [ebp - 0xa60], ecx
cmove eax, ecx
mov dword [0x5e3cb0], eax
mov ebx, dword [ebp - 0xa68]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [0x5dc778], 0
cmp dword [0x5e3cb0], 0
jne 0x454f7a
call fcn.0040d7e0
test eax, eax
jne 0x454f7a
lea eax, [ebp - 0x420]
push eax
push str.UpdateProtectExToProtect_path:_s
call fcn.0044ceb0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00516300
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.00516300
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.004557c0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00516300
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.00516300
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.004557c0
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00516300
add esp, 0xc
call fcn.00472ff0
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
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 0x454fe0
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.installbridge
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.004443b0
mov ecx, eax
call fcn.0043f160
test eax, eax
jne 0x454ff9
call fcn.00439090
test eax, eax
jne 0x45501f
call fcn.004443b0
cmp dword [eax + 0x18], 0
jne 0x455018
call fcn.00472ff0
push 0
push str.UtilsLdsHelper.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x45501f
mov ecx, ebx
call fcn.00455440
mov eax, dword [ebp + 0xc]
mov dword [0x5e3bf8], 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 0x455057
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.004b0a78
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
call fcn.00533703
int3