Function at 0x1002de80
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 0x100f3ef9
mov eax, dword fs:[0]
push eax
mov eax, 0x1c70
call fcn.100464c0
mov eax, dword [0x101341c4]
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.10070b50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1013a04c]
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.1002c6c0
mov esi, eax
cmp dword [esi], 0
jne 0x1002df85
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x1002e0f8
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 0x1002df85
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x1002e0f8
cmp dword [esi + 4], 0
je 0x1002e0f8
cmp dword [esi + 0xc], 0
je 0x1002e0f8
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10070b50
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x1013a04c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.1001d140
mov ecx, eax
test ecx, ecx
je 0x1002e86f
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.1001d140
mov ecx, eax
test ecx, ecx
je 0x1002e879
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.10006dd0
test al, al
jne 0x1002e062
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e040
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c58]
call fcn.10008970
lea eax, [ebp - 0x1c5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c58]
push eax
call fcn.10024300
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 0x1002e09e
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.10025250
push eax
mov ecx, esi
call fcn.100069c0
push ecx
lea eax, [ebp - 0x1c5c]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.100231a0
mov byte [ebp - 4], 0
call fcn.100c2700
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 0x1002e0f8
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], 0x1002d090
mov dword [ebp - 0x424], edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 4
push eax
call fcn.1001d440
push str.remove_registry
mov dword [ebp - 4], 0xffffffff
call fcn.10022d40
push 0x208
lea eax, [ebp - 0x658]
mov dword [ebp - 0x1c64], 1
push 0
push eax
mov dword [ebp - 0x1c60], 0x104
call fcn.10070b50
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 0x1002e1a3
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.1001d140
mov ecx, eax
test ecx, ecx
je 0x1002e883
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.10007280
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 0x1002e2a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.1002cf70
push str.start_call_program
call fcn.10022d40
add esp, 4
mov ecx, edi
push 4
call fcn.1002cf70
push str.start_close_all_processes
call fcn.10022d40
add esp, 4
lea esi, [edi + 8]
mov dword [ebp - 0x1c6c], esi
push esi
call fcn.1001da50
mov ecx, eax
call fcn.1001d950
push eax
call fcn.10033610
add esp, 8
mov ecx, edi
push 5
call fcn.1002cf70
cmp dword [0x101340c0], 0
je 0x1002e3de
push str.ntdll.dll
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 0x1002e3d4
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002e388
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 0x1002e3d4
mov eax, dword [ebp - 0x1c64]
cmp eax, 6
jne 0x1002e3b3
cmp dword [ebp - 0x1c60], 4
je 0x1002e3b8
jmp 0x1002e3d4
cmp eax, 0xa
jb 0x1002e3d4
mov eax, dword [0x1013cf24]
mov ecx, 1
cmp dword [ebp - 0x1c58], 0x55f0
cmovae eax, ecx
mov dword [0x1013cf24], eax
mov dword [0x101340c0], 0
cmp dword [0x1013cf24], 0
je 0x1002e4f4
push str.UninstallerExtInstaller
lea ecx, [ebp - 0x450]
call fcn.1001e6d0
push dword [esi]
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 6
call fcn.1001e6d0
push 0x208
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.10070b50
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.1001d140
mov ecx, eax
test ecx, ecx
je 0x1002e88d
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.10007280
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.10034730
mov byte [ebp - 4], 7
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002e4d5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x438]
call fcn.10017a60
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.10017a60
jmp 0x1002e4f9
call fcn.1002e900
push str.UnstSvc
call fcn.100361b0
push str.UnstSvc
call fcn.10035e00
push str.remove_desktop_shortcuts
call fcn.10022d40
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.10070b50
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.1002be60
push 0x800
lea eax, [ebp - 0x1450]
push 0
push eax
call fcn.10070b50
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.1002be60
push 6
mov ecx, edi
call fcn.1002cf70
push str.remove_start_menu_shortcuts
call fcn.10022d40
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.10070b50
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.10070b50
add esp, 0xc
lea eax, [ebp - 0xc50]
push 0x100fe38c
push eax
lea eax, [ebp - 0x1450]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1450]
push eax
call fcn.100308d0
push 0x800
lea eax, [ebp - 0x1c50]
push 0
push eax
call fcn.10070b50
add esp, 0x10
lea eax, [ebp - 0xc50]
push 0x100fe38c
push eax
lea eax, [ebp - 0x1c50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1c50]
push eax
call fcn.100308d0
add esp, 4
mov ecx, edi
push 7
call fcn.1002cf70
push str.remove_appdata
call fcn.10022d40
push 0x800
lea eax, [ebp - 0x1c50]
push 0
push eax
call fcn.10070b50
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.10070b50
add esp, 0xc
lea eax, [ebp - 0x1c50]
push 0x100fe38c
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 0x1002e6bb
lea eax, [ebp - 0x65c]
push eax
call fcn.100308d0
add esp, 4
push 8
mov ecx, edi
call fcn.1002cf70
push str.remove_autorun
call fcn.10022d40
add esp, 4
lea ecx, [ebp - 0x1c51]
call fcn.10035260
push dword [edi + 8]
lea ecx, [ebp - 0x1c51]
mov dword [ebp - 4], 9
call fcn.10035540
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.10022d40
mov eax, dword [ebp - 0x1c6c]
lea ecx, [ebp - 0x1c51]
add esp, 0xc
push dword [eax]
call fcn.10035450
mov esi, eax
call edi
push eax
push esi
push str.Delete_AutoRun:_d__err:_u
call fcn.10022d40
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 0x1002e763
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.10035270
mov esi, dword [ebp - 0x1c70]
mov ecx, esi
push 9
call fcn.1002cf70
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.10022d40
push dword [esi + 8]
push str.start_delete_all_files_in__s
call fcn.10022d40
add esp, 0xc
mov ecx, esi
push dword [esi + 8]
call fcn.1002d2c0
push dword [esi + 8]
push str.end_delete_all_files_in__s
call fcn.10022d40
push str..tmp
push dword [esi + 8]
call fcn.10030570
add esp, 0x10
mov ecx, esi
push 0x62
call fcn.1002cf70
push str.start_create_runonce_bat
call fcn.10022d40
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
call fcn.1001ff70
add esp, 0xc
mov ecx, esi
push 0x63
call fcn.1002cf70
mov ecx, esi
call fcn.1002d930
push 0x64
mov ecx, esi
call fcn.1002cf70
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], 0x1002d060
mov dword [ebp - 0x1c74], esi
lea eax, [ebp - 0x1c7c]
mov dword [ebp - 4], 0xa
push eax
call fcn.1001d440
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.100464aa
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10003ad0
push 0x80004005
call fcn.10003ad0
push 0x80004005
call fcn.10003ad0
push 0x80004005
call fcn.10003ad0
int3