Function at 0x42e040
Capabilities:
Check if file exists
Delete registry key
Delete registry value
Get common file path
Get startup folder
Link many functions at runtime
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f41d9
mov eax, dword fs:[0]
push eax
mov eax, 0x1c70
call fcn.00446680
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x1c70], edi
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x53a04c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.netul.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0042c880
mov esi, eax
cmp dword [esi], 0
jne 0x42e145
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x42e2b8
push str.HttpInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpUninit
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_uncompress
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_compress
push dword [esi]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.zlib_compressBound
push dword [esi]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42e145
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x42e2b8
cmp dword [esi + 4], 0
je 0x42e2b8
cmp dword [esi + 0xc], 0
je 0x42e2b8
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x53a04c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42ea2f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c5c], eax
mov dword [ebp - 4], 0
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42ea39
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c58], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c58]
call fcn.00406e30
test al, al
jne 0x42e222
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e200
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c58]
call fcn.004089d0
lea eax, [ebp - 0x1c5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c58]
push eax
call fcn.004244c0
mov edx, dword [ebp - 0x1c58]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e25e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x1c6c], esp
call fcn.00425410
push eax
mov ecx, esi
call fcn.00406a20
push ecx
lea eax, [ebp - 0x1c5c]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00423360
mov byte [ebp - 4], 0
call fcn.004c29d0
mov edx, dword [ebp - 0x1c5c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.virtual_0], vtable.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.0
mov dword [ebp - 0x428], 0x42d250
mov dword [ebp - 0x424], edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 4
push eax
call fcn.0041d600
push 0x503560
mov dword [ebp - 4], 0xffffffff
call fcn.00422f00
push 0x208
lea eax, [ebp - 0x658]
mov dword [ebp - 0x1c64], 1
push 0
push eax
mov dword [ebp - 0x1c60], 0x104
call fcn.00470cd0
add esp, 0x14
lea eax, [ebp - 0x1c60]
push eax
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x1c64]
push eax
push str.InstallDate
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0x658]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e363
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x658]
push eax
push 1
push str.InstallDate
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x430], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42ea43
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c5c], eax
movzx eax, word [ebp - 0x424]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x428]
push eax
movzx eax, word [ebp - 0x42a]
push eax
movzx eax, word [ebp - 0x42e]
push eax
movzx eax, word [ebp - 0x430]
push eax
lea eax, [ebp - 0x1c5c]
mov dword [ebp - 4], 5
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.004072e0
mov esi, dword [ebp - 0x1c5c]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.LastUninstallDate
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREUltra_Uninstaller
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e468
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.0042d130
push str.start_call_program
call fcn.00422f00
add esp, 4
mov ecx, edi
push 4
call fcn.0042d130
push str.start_close_all_processes
call fcn.00422f00
add esp, 4
lea esi, [edi + 8]
mov dword [ebp - 0x1c6c], esi
push esi
call fcn.0041dc10
mov ecx, eax
call fcn.0041db10
push eax
call fcn.004337d0
add esp, 8
mov ecx, edi
push 5
call fcn.0042d130
cmp dword [0x5340c0], 0
je 0x42e59e
push 0x4fd9e4
mov dword [ebp - 0x1c64], 0
mov dword [ebp - 0x1c60], 0
mov dword [ebp - 0x1c58], 0
mov dword [ebp - 0x1c5c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c68], eax
test eax, eax
je 0x42e594
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e548
lea ecx, [ebp - 0x1c58]
push ecx
lea ecx, [ebp - 0x1c60]
push ecx
lea ecx, [ebp - 0x1c64]
push ecx
call eax
movzx eax, word [ebp - 0x1c58]
mov dword [ebp - 0x1c58], eax
mov dword [ebp - 0x1c5c], 1
push dword [ebp - 0x1c68]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x1c5c], 0
je 0x42e594
mov eax, dword [ebp - 0x1c64]
cmp eax, 6
jne 0x42e573
cmp dword [ebp - 0x1c60], 4
je 0x42e578
jmp 0x42e594
cmp eax, 0xa
jb 0x42e594
mov eax, dword [0x53cf24]
mov ecx, 1
cmp dword [ebp - 0x1c58], 0x55f0
cmovae eax, ecx
mov dword [0x53cf24], eax
mov dword [0x5340c0], 0
cmp dword [0x53cf24], 0
je 0x42e6b4
push str.UninstallerExtInstaller
lea ecx, [ebp - 0x450]
call fcn.0041e890
push dword [esi]
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 6
call fcn.0041e890
push 0x208
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push str.RegSparsePkg.exe
push eax
lea eax, [ebp - 0x658]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42ea4d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c60], eax
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x1c60]
push str._u___msix_name_s
push eax
call fcn.004072e0
mov esi, dword [ebp - 0x1c60]
lea eax, [ebp - 0x658]
add esp, 0xc
push 0xffffffffffffffff
push 0
push 1
push 0
push 0
push esi
push eax
call fcn.004348f0
mov byte [ebp - 4], 7
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e695
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x438]
call fcn.00417aa0
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.00417aa0
jmp 0x42e6b9
call fcn.0042eac0
push str.UnstSvc
call fcn.00436370
push str.UnstSvc
call fcn.00435fc0
push str.remove_desktop_shortcuts
call fcn.00422f00
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.00470cd0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0xc50]
add esp, 0x18
push 1
push 0x19
push eax
push 0
call esi
lea eax, [ebp - 0xc50]
mov ecx, edi
push eax
call fcn.0042c020
push 0x800
lea eax, [ebp - 0x1450]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x1450]
push 1
push 0x10
push eax
push 0
call esi
lea eax, [ebp - 0x1450]
mov ecx, edi
push eax
call fcn.0042c020
push 6
mov ecx, edi
call fcn.0042d130
push str.remove_start_menu_shortcuts
call fcn.00422f00
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.00470cd0
add esp, 0x10
lea eax, [ebp - 0xc50]
push 1
push 0x17
push eax
push 0
call esi
push 0x800
lea eax, [ebp - 0x1450]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0xc50]
push 0x4fe39c
push eax
lea eax, [ebp - 0x1450]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1450]
push eax
call fcn.00430a80
push 0x800
lea eax, [ebp - 0x1c50]
push 0
push eax
call fcn.00470cd0
add esp, 0x10
lea eax, [ebp - 0xc50]
push 0x4fe39c
push eax
lea eax, [ebp - 0x1c50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1c50]
push eax
call fcn.00430a80
add esp, 4
mov ecx, edi
push 7
call fcn.0042d130
push str.remove_appdata
call fcn.00422f00
push 0x800
lea eax, [ebp - 0x1c50]
push 0
push eax
call fcn.00470cd0
add esp, 0x10
lea eax, [ebp - 0x1c50]
push 1
push 0x1a
push eax
push 0
call esi
push 0x20a
lea eax, [ebp - 0x65c]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x1c50]
push str.Ultra_Uninstaller
push eax
lea eax, [ebp - 0x65c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x65c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e87b
lea eax, [ebp - 0x65c]
push eax
call fcn.00430a80
add esp, 4
push 8
mov ecx, edi
call fcn.0042d130
push str.remove_autorun
call fcn.00422f00
add esp, 4
lea ecx, [ebp - 0x1c51]
call fcn.00435420
push dword [edi + 8]
lea ecx, [ebp - 0x1c51]
mov dword [ebp - 4], 9
call fcn.00435700
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
push eax
push esi
push str.Delete_IsAutoRun:_d__err:_u
call fcn.00422f00
mov eax, dword [ebp - 0x1c6c]
lea ecx, [ebp - 0x1c51]
add esp, 0xc
push dword [eax]
call fcn.00435610
mov esi, eax
call edi
push eax
push esi
push str.Delete_AutoRun:_d__err:_u
call fcn.00422f00
add esp, 0xc
lea eax, [ebp - 0x1c68]
push eax
push 0x20106
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e923
push str.Ultra_Uninstaller_Tray
push dword [ebp - 0x1c68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x1c51]
mov dword [ebp - 4], 0xffffffff
call fcn.00435430
mov esi, dword [ebp - 0x1c70]
mov ecx, esi
push 9
call fcn.0042d130
cmp byte [esi + 0x98], 0
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallUltraUninstallerLenovo
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallUltra_Uninstaller
cmovne eax, ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.Delete_uninstall_registry
call fcn.00422f00
push dword [esi + 8]
push str.start_delete_all_files_in__s
call fcn.00422f00
add esp, 0xc
mov ecx, esi
push dword [esi + 8]
call fcn.0042d480
push dword [esi + 8]
push str.end_delete_all_files_in__s
call fcn.00422f00
push 0x502f68
push dword [esi + 8]
call fcn.00430720
add esp, 0x10
mov ecx, esi
push 0x62
call fcn.0042d130
push str.start_create_runonce_bat
call fcn.00422f00
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
call fcn.00420130
add esp, 0xc
mov ecx, esi
push 0x63
call fcn.0042d130
mov ecx, esi
call fcn.0042daf0
push 0x64
mov ecx, esi
call fcn.0042d130
mov dword [ebp - method.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.virtual_0], vtable.mf_bind_t_class_CUninstaller__class_CUninstaller___void_.0
mov dword [ebp - 0x1c78], 0x42d220
mov dword [ebp - 0x1c74], esi
lea eax, [ebp - 0x1c7c]
mov dword [ebp - 4], 0xa
push eax
call fcn.0041d600
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
int3