Function at 0x42bc80
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 0x4f3b9f
mov eax, dword fs:[0]
push eax
mov eax, 0x164c
call fcn.004447f0
mov eax, dword [0x535224]
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 - 0x164c], edi
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x53a830]
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.0042aa70
mov edi, eax
or esi, 0xffffffff
cmp dword [edi], 0
jne 0x42bd7d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x42bee8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42bd7a
call eax
mov dword [edi + 0xc], eax
or esi, 0xffffffff
cmp dword [edi + 8], 0
je 0x42bee8
cmp dword [edi + 4], 0
je 0x42bee8
cmp dword [edi + 0xc], 0
je 0x42bee8
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x53a830]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c62b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1644], eax
mov dword [ebp - 4], 0
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c635
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1640], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1640]
call fcn.00405e70
test al, al
jne 0x42be53
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42be31
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1640]
call fcn.00407a00
lea eax, [ebp - 0x1644]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1640]
push eax
call fcn.00422970
mov edx, dword [ebp - 0x1640]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42be8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x1648], esp
call fcn.00423940
push eax
mov ecx, esi
call fcn.00405a40
push ecx
lea eax, [ebp - 0x1644]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00421840
mov byte [ebp - 4], 0
call fcn.004c2350
mov edx, dword [ebp - 0x1644]
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 0x42bee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x164c]
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 - 0x630], 0x42b1a0
mov dword [ebp - 0x62c], edi
lea eax, [ebp - 0x634]
mov dword [ebp - 4], 4
push eax
call fcn.0041c030
push 0x502eac
mov dword [ebp - 4], 0xffffffff
call fcn.004213e0
push 0x208
lea eax, [ebp - 0x840]
mov dword [ebp - 0x1648], 1
push 0
push eax
mov dword [ebp - 0x1640], 0x104
call fcn.004691d0
add esp, 0x14
lea eax, [ebp - 0x1640]
push eax
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x1648]
push eax
push str.InstallDate
push str.SOFTWAREAiShangWriter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.SOFTWAREAiShangWriter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0x840]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bfa0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x840]
push eax
push 1
push str.InstallDate
push str.SOFTWAREAiShangWriter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x638]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x638], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c63f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1644], eax
movzx eax, word [ebp - 0x62c]
push eax
movzx eax, word [ebp - 0x62e]
push eax
movzx eax, word [ebp - 0x630]
push eax
movzx eax, word [ebp - 0x632]
push eax
movzx eax, word [ebp - 0x636]
push eax
movzx eax, word [ebp - 0x638]
push eax
lea eax, [ebp - 0x1644]
mov dword [ebp - 4], 5
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00406350
mov esi, dword [ebp - 0x1644]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.LastUninstallDate
push str.SOFTWAREAiShangWriter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42c095
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.0042b080
push str.start_call_program
call fcn.004213e0
add esp, 4
mov ecx, edi
push 4
call fcn.0042b080
push str.start_close_all_processes
call fcn.004213e0
add esp, 4
lea esi, [edi + 8]
mov dword [ebp - 0x1644], esi
push esi
call fcn.0041c5c0
mov ecx, eax
call fcn.0041c4f0
push eax
call fcn.00431980
add esp, 8
mov ecx, edi
push 5
call fcn.0042b080
push 0x210
lea eax, [ebp - 0x848]
push 0
push eax
call fcn.004691d0
add esp, 0xc
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c649
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1648], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x1640], ecx
mov dword [ebp - 4], 6
call fcn.0042af20
test al, al
lea eax, [ebp - 0x848]
je 0x42c141
push str.UtilsSWriterSDrv_x64.sys
jmp 0x42c146
push str.UtilsSWriterSDrv.sys
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c181
push str.SWriterSDrvs
call fcn.00430ab0
push str.SWriterSDrvs
call fcn.004335c0
push str.SWriterSDrvs
call fcn.00433210
add esp, 8
push str.AiShangWriterSvc
call fcn.004335c0
push str.AiShangWriterSvc
call fcn.00433210
mov edx, dword [ebp - 0x1648]
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c1ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.remove_desktop_shortcuts
call fcn.004213e0
push 0x800
lea eax, [ebp - 0xe38]
push 0
push eax
call fcn.004691d0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0xe38]
add esp, 0x10
push 1
push 0x19
push eax
push 0
call esi
lea eax, [ebp - 0xe38]
mov ecx, edi
push eax
call fcn.0042a430
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x1638]
push 1
push 0x10
push eax
push 0
call esi
lea eax, [ebp - 0x1638]
mov ecx, edi
push eax
call fcn.0042a430
push 6
mov ecx, edi
call fcn.0042b080
push str.remove_start_menu_shortcuts
call fcn.004213e0
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004691d0
add esp, 0x10
lea eax, [ebp - 0x1638]
push 1
push 0x17
push eax
push 0
call esi
push 0x800
lea eax, [ebp - 0xe38]
push 0
push eax
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x1638]
push 0x503158
push eax
lea eax, [ebp - 0xe38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xe38]
push eax
call fcn.0042d3d0
add esp, 4
mov ecx, edi
push 7
call fcn.0042b080
push str.remove_appdata
call fcn.004213e0
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004691d0
add esp, 0x10
push 1
push 0x1a
lea eax, [ebp - 0x1638]
push eax
push 0
call esi
push 0x20a
lea eax, [ebp - 0x844]
push 0
push eax
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x1638]
push 0x502d64
push eax
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c32d
lea eax, [ebp - 0x844]
push eax
call fcn.0042d3d0
add esp, 4
push 8
mov ecx, edi
call fcn.0042b080
push str.remove_autorun
call fcn.004213e0
add esp, 4
lea ecx, [ebp - 0x1639]
call fcn.00432620
push dword [edi + 8]
lea ecx, [ebp - 0x1639]
mov dword [ebp - 4], 7
call fcn.00432930
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.004213e0
mov eax, dword [ebp - 0x1644]
lea ecx, [ebp - 0x1639]
add esp, 0xc
push dword [eax]
call fcn.00432840
mov esi, eax
call edi
push eax
push esi
push str.Delete_AutoRun:_d__err:_u
call fcn.004213e0
add esp, 0xc
lea eax, [ebp - 0x1648]
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 0x42c3d5
push str.AiShangWriterTray
push dword [ebp - 0x1648]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x1639]
mov dword [ebp - 4], 0xffffffff
call fcn.00432630
mov edi, dword [ebp - 0x164c]
mov ecx, edi
push 9
call fcn.0042b080
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAiShangWriter
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp byte [edi + 0x98], 0
je 0x42c41d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAiShangWriterLenovo
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.Delete_uninstall_registry
call fcn.004213e0
push dword [edi + 8]
push str.start_delete_all_files_in__s
call fcn.004213e0
add esp, 0xc
mov ecx, edi
push dword [edi + 8]
call fcn.0042b260
push dword [edi + 8]
push str.end_delete_all_files_in__s
call fcn.004213e0
push str..tmp
push dword [edi + 8]
call fcn.0042d070
add esp, 0x10
mov ecx, edi
push 0x62
call fcn.0042b080
push str.start_create_runonce_bat
call fcn.004213e0
push dword [edi + 8]
lea eax, [edi + 0xc]
push eax
call fcn.0041e610
add esp, 0xc
mov ecx, edi
push 0x63
call fcn.0042b080
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004691d0
add esp, 0xc
lea eax, [ebp - 0x628]
push str.AiShangWriter.exe
push dword [edi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1640]
mov dword [ebp - 0x1648], eax
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c653
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1640], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1640]
call fcn.00405e70
test al, al
jne 0x42c527
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c505
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1640]
call fcn.00407a00
mov dword [ebp - 4], 9
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x42c65d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1644], eax
push 0x502d64
lea ecx, [ebp - 0x1644]
mov byte [ebp - 4], 0xa
call fcn.00405e70
test al, al
jne 0x42c577
push 0xd
push 0x502d64
lea ecx, [ebp - 0x1644]
call fcn.00407a00
mov esi, dword [ebp - 0x1644]
lea ecx, [ebp - 0x1639]
push esi
push dword [ebp - 0x1640]
mov byte [ebp - 4], 0xb
call fcn.0042acc0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c5b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1640]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42c5d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x64
mov ecx, edi
call fcn.0042b080
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 - 0x1654], 0x42b170
mov dword [ebp - 0x1650], edi
lea eax, [ebp - 0x1658]
mov dword [ebp - 4], 0xc
push eax
call fcn.0041c030
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.004447da
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
int3