Function at 0x42d1a0
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 0x4f390f
mov eax, dword fs:[0]
push eax
mov eax, 0x164c
call fcn.00445b50
mov eax, dword [0x536204]
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.004701b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x53b850]
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.0042bf90
mov edi, eax
or esi, 0xffffffff
cmp dword [edi], 0
jne 0x42d29d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x42d408
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 0x42d29a
call eax
mov dword [edi + 0xc], eax
or esi, 0xffffffff
cmp dword [edi + 8], 0
je 0x42d408
cmp dword [edi + 4], 0
je 0x42d408
cmp dword [edi + 0xc], 0
je 0x42d408
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004701b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x53b850]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db4b
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.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db55
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.00406e30
test al, al
jne 0x42d373
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d351
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1640]
call fcn.00408980
lea eax, [ebp - 0x1644]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1640]
push eax
call fcn.00423f90
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 0x42d3ae
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.00424ee0
push eax
mov ecx, esi
call fcn.00406a20
push ecx
lea eax, [ebp - 0x1644]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00422e60
mov byte [ebp - 4], 0
call fcn.004c22b0
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 0x42d408
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], 0x42c6c0
mov dword [ebp - 0x62c], edi
lea eax, [ebp - 0x634]
mov dword [ebp - 4], 4
push eax
call fcn.0041d130
push 0x50314c
mov dword [ebp - 4], 0xffffffff
call fcn.00422a00
push 0x208
lea eax, [ebp - 0x840]
mov dword [ebp - 0x1648], 1
push 0
push eax
mov dword [ebp - 0x1640], 0x104
call fcn.004701b0
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.SOFTWARESmartChat
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.SOFTWARESmartChat
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 0x42d4c0
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.SOFTWARESmartChat
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.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db5f
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.00407310
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.SOFTWARESmartChat
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 0x42d5b5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.0042c5a0
push str.start_call_program
call fcn.00422a00
add esp, 4
mov ecx, edi
push 4
call fcn.0042c5a0
push str.start_close_all_processes
call fcn.00422a00
add esp, 4
lea esi, [edi + 8]
mov dword [ebp - 0x1644], esi
push esi
call fcn.0041d6c0
mov ecx, eax
call fcn.0041d5f0
push eax
call fcn.00432d20
add esp, 8
mov ecx, edi
push 5
call fcn.0042c5a0
push 0x210
lea eax, [ebp - 0x848]
push 0
push eax
call fcn.004701b0
add esp, 0xc
call fcn.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db69
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.0042c440
test al, al
lea eax, [ebp - 0x848]
je 0x42d661
push str.UtilsSChatSDrv_x64.sys
jmp 0x42d666
push str.UtilsSChatSDrv.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 0x42d6a1
push str.SChatSDrvs
call fcn.00431e50
push str.SChatSDrvs
call fcn.00434960
push str.SChatSDrvs
call fcn.004345b0
add esp, 8
push str.SmartChatSvc
call fcn.00434960
push str.SmartChatSvc
call fcn.004345b0
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 0x42d6da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.remove_desktop_shortcuts
call fcn.00422a00
push 0x800
lea eax, [ebp - 0xe38]
push 0
push eax
call fcn.004701b0
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.0042b950
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004701b0
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.0042b950
push 6
mov ecx, edi
call fcn.0042c5a0
push str.remove_start_menu_shortcuts
call fcn.00422a00
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004701b0
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.004701b0
add esp, 0xc
lea eax, [ebp - 0x1638]
push 0x50300c
push eax
lea eax, [ebp - 0xe38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xe38]
push eax
call fcn.0042e8f0
add esp, 4
mov ecx, edi
push 7
call fcn.0042c5a0
push str.remove_appdata
call fcn.00422a00
push 0x800
lea eax, [ebp - 0x1638]
push 0
push eax
call fcn.004701b0
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.004701b0
add esp, 0xc
lea eax, [ebp - 0x1638]
push 0x50300c
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 0x42d84d
lea eax, [ebp - 0x844]
push eax
call fcn.0042e8f0
add esp, 4
push 8
mov ecx, edi
call fcn.0042c5a0
push str.remove_autorun
call fcn.00422a00
add esp, 4
lea ecx, [ebp - 0x1639]
call fcn.004339c0
push dword [edi + 8]
lea ecx, [ebp - 0x1639]
mov dword [ebp - 4], 7
call fcn.00433cd0
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.00422a00
mov eax, dword [ebp - 0x1644]
lea ecx, [ebp - 0x1639]
add esp, 0xc
push dword [eax]
call fcn.00433be0
mov esi, eax
call edi
push eax
push esi
push str.Delete_AutoRun:_d__err:_u
call fcn.00422a00
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 0x42d8f5
push str.SmartChatTray
push dword [ebp - 0x1648]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x1639]
mov dword [ebp - 4], 0xffffffff
call fcn.004339d0
mov edi, dword [ebp - 0x164c]
mov ecx, edi
push 9
call fcn.0042c5a0
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSmartChat
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp byte [edi + 0x98], 0
je 0x42d93d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSmartChatLenovo
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.Delete_uninstall_registry
call fcn.00422a00
push dword [edi + 8]
push str.start_delete_all_files_in__s
call fcn.00422a00
add esp, 0xc
mov ecx, edi
push dword [edi + 8]
call fcn.0042c780
push dword [edi + 8]
push str.end_delete_all_files_in__s
call fcn.00422a00
push str..tmp
push dword [edi + 8]
call fcn.0042e590
add esp, 0x10
mov ecx, edi
push 0x62
call fcn.0042c5a0
push str.start_create_runonce_bat
call fcn.00422a00
push dword [edi + 8]
lea eax, [edi + 0xc]
push eax
call fcn.0041f6b0
add esp, 0xc
mov ecx, edi
push 0x63
call fcn.0042c5a0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004701b0
add esp, 0xc
lea eax, [ebp - 0x628]
push str.SmartChat.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.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db73
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.00406e30
test al, al
jne 0x42da47
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42da25
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1640]
call fcn.00408980
mov dword [ebp - 4], 9
call fcn.0041ce00
mov ecx, eax
test ecx, ecx
je 0x42db7d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1644], eax
push 0x50300c
lea ecx, [ebp - 0x1644]
mov byte [ebp - 4], 0xa
call fcn.00406e30
test al, al
jne 0x42da97
push 9
push 0x50300c
lea ecx, [ebp - 0x1644]
call fcn.00408980
mov esi, dword [ebp - 0x1644]
lea ecx, [ebp - 0x1639]
push esi
push dword [ebp - 0x1640]
mov byte [ebp - 4], 0xb
call fcn.0042c1e0
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 0x42dad1
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 0x42daf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x64
mov ecx, edi
call fcn.0042c5a0
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], 0x42c690
mov dword [ebp - 0x1650], edi
lea eax, [ebp - 0x1658]
mov dword [ebp - 4], 0xc
push eax
call fcn.0041d130
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.00445b3a
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
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
int3