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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016eaa7
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x101d7c7c]
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, 0x10186a64
cmovne eax, esi
push eax
push ebx
push str.OnInstallEnd_callback__success___d__errmsg___s
call fcn.1004d370
add esp, 0xc
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10053b95
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.1000b130
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.100349e0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.10030b90
call fcn.10044c90
mov ecx, eax
call fcn.1003e370
test eax, eax
je 0x100535c8
push 0x400
push ebx
push 0x8c8c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str._ProgressPage__try_to_remove_lsp
call fcn.1004d370
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
add esp, 0x10
call fcn.10071f70
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 0x1005363b
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist.
call fcn.1004d370
add esp, 8
jmp 0x100536ce
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10053b9f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa54], eax
mov eax, 0x10186308
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa54]
test eax, 0xffff0000
jne 0x10053679
movzx eax, ax
push eax
call fcn.1000d750
jmp 0x10053685
push 7
push 0x10186308
call fcn.1000d900
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.10037280
lea eax, [ebp - 0x218]
push eax
call fcn.10010080
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 0x100536ce
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.10038cd0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100536ff
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 0x1005373f
mov esi, dword [ebp - 0xa54]
mov dword [ebp - 0xa74], esi
mov dword [ebp - 0xa70], 0x100
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x1005377f
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10053775
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10053ba9
push edx
push ecx
call fcn.100acb1e
add esp, 8
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100537ab
push str.Delete_reg_LdsTray
call fcn.1004d370
add esp, 4
push str.LdsTray
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x100537ab
push esi
call ebx
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x100537b6
push esi
call ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10112750
add esp, 0xc
call fcn.10071f70
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
call fcn.1000d6a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x100538cb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10112750
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.10112750
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.100543a0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10112750
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.10112750
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.100543a0
add esp, 8
mov ebx, dword [ebp - 0xa64]
add ebx, 0xffffffb0
mov ecx, ebx
mov dword [ebp - 0xa68], ebx
call fcn.10052db0
cmp dword [0x101d7778], 0
je 0x1005399a
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 0x10053984
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10053958
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 0x10053984
cmp dword [ebp - 0xa5c], 6
jne 0x10053984
mov eax, dword [0x101dec70]
mov ecx, 1
cmp dword [ebp - 0xa60], ecx
cmove eax, ecx
mov dword [0x101dec70], eax
mov ebx, dword [ebp - 0xa68]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [0x101d7778], 0
cmp dword [0x101dec70], 0
jne 0x10053a9a
call fcn.1000d6a0
test eax, eax
jne 0x10053a9a
lea eax, [ebp - 0x420]
push eax
push str.UpdateProtectExToProtect_path:_s
call fcn.1004d370
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10112750
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.10112750
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.100543a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
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.10112750
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.100543a0
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
add esp, 0xc
call fcn.10071f70
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 0x10053b00
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.installbridge
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.10044c90
mov ecx, eax
call fcn.1003ff50
test eax, eax
jne 0x10053b19
call fcn.10039d80
test eax, eax
jne 0x10053b3f
call fcn.10044c90
cmp dword [eax + 0x18], 0
jne 0x10053b38
call fcn.10071f70
push 0
push str.UtilsLdsHelper.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x10053b3f
mov ecx, ebx
call fcn.10054020
mov eax, dword [ebp + 0xc]
mov dword [0x101debb8], 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 0x10053b77
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.100acb08
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000ae00
push 0x80004005
call fcn.1000ae00
call fcn.1012fb57
int3