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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e3a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x1019bc84]
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, 0x101539d4
cmovne eax, esi
push eax
push ebx
push str.OnInstallEnd_callback__success___d__errmsg___s
call fcn.1004d170
add esp, 0xc
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x100537d5
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.1000ade0
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.100346a0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.10030840
call fcn.10044a80
mov ecx, eax
call fcn.1003dfa0
test eax, eax
je 0x10053208
push 0x400
push ebx
push 0x8c8c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str._ProgressPage__try_to_remove_lsp
call fcn.1004d170
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0x10
call fcn.10062810
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 0x1005327b
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist.
call fcn.1004d170
add esp, 8
jmp 0x1005330e
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x100537df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa54], eax
mov eax, 0x10153278
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa54]
test eax, 0xffff0000
jne 0x100532b9
movzx eax, ax
push eax
call fcn.1000d400
jmp 0x100532c5
push 7
push 0x10153278
call fcn.1000d5b0
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.10036f50
lea eax, [ebp - 0x218]
push eax
call fcn.1000fd30
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 0x1005330e
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.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1005333f
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 0x1005337f
mov esi, dword [ebp - 0xa54]
mov dword [ebp - 0xa74], esi
mov dword [ebp - 0xa70], 0x100
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x100533bf
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100533b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100537e9
push edx
push ecx
call fcn.1009de6e
add esp, 8
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100533eb
push str.Delete_reg_LdsTray
call fcn.1004d170
add esp, 4
push str.LdsTray
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x100533eb
push esi
call ebx
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x100533f6
push esi
call ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e3030
add esp, 0xc
call fcn.10062810
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
call fcn.1000d350
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test al, al
jne 0x1005350b
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100e3030
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.100e3030
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.10053fe0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100e3030
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.100e3030
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.10053fe0
add esp, 8
mov ebx, dword [ebp - 0xa64]
add ebx, 0xffffffb0
mov ecx, ebx
mov dword [ebp - 0xa68], ebx
call fcn.100529f0
cmp dword [0x1019b778], 0
je 0x100535da
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 0x100535c4
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10053598
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 0x100535c4
cmp dword [ebp - 0xa5c], 6
jne 0x100535c4
mov eax, dword [0x101a11c0]
mov ecx, 1
cmp dword [ebp - 0xa60], ecx
cmove eax, ecx
mov dword [0x101a11c0], eax
mov ebx, dword [ebp - 0xa68]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [0x1019b778], 0
cmp dword [0x101a11c0], 0
jne 0x100536da
call fcn.1000d350
test al, al
jne 0x100536da
lea eax, [ebp - 0x420]
push eax
push str.UpdateProtectExToProtect_path:_s
call fcn.1004d170
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100e3030
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.100e3030
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.10053fe0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
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.100e3030
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.10053fe0
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0xc
call fcn.10062810
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 0x10053740
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.installbridge
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.10044a80
mov ecx, eax
call fcn.1003fb80
test eax, eax
jne 0x10053759
call fcn.10039ab0
test eax, eax
jne 0x1005377f
call fcn.10044a80
cmp dword [eax + 0x18], 0
jne 0x10053778
call fcn.10062810
push 0
push str.UtilsLdsHelper.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x1005377f
mov ecx, ebx
call fcn.10053c60
mov eax, dword [ebp + 0xc]
mov dword [0x101a1108], 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 0x100537b7
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.1009de58
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000aab0
push 0x80004005
call fcn.1000aab0
call fcn.100ffdb3
int3