Function at 0x1001a840
Capabilities:
Delete file
Get common file path
Move file
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
mov eax, dword [0x10194180]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14c]
push eax
call fcn.1006c6b0
add esp, 4
mov byte [ebp - 4], 1
push 0x101366a0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, eax
call fcn.100082c0
mov ebx, 3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14c]
call fcn.10001c80
push str.driverscpmcode.lnk
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x1c8], eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x170]
call fcn.10001c80
push str.msxml4rc.dll
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
push 4
push 0
push eax
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x154]
call fcn.10001c80
push str.shelluiex.dll
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov dword [ebp - 0x1b4], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x134]
call fcn.10001c80
push str.CpmTray.exe
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov dword [ebp - 0x1e0], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x174]
call fcn.10001c80
push str.cpmcode.lnk
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov dword [ebp - 0x1bc], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x13c]
call fcn.10001c80
push str.shellui.dll
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x15c]
call fcn.10001c80
push str.mswsfd.dll
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
mov dword [ebp - 0x184], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x144]
call fcn.10001c80
push 0x10137ec0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov byte [ebp - 4], 0xb
push str.GS.sys
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, eax
call fcn.100082c0
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x16c]
call fcn.10001c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x128]
call fcn.10001c80
push 0x10137ec0
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov byte [ebp - 4], 0xd
push str.ProcProt.sys
lea ecx, [ebp - 0x164]
push ecx
mov ecx, eax
call fcn.100082c0
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x164]
call fcn.10001c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x12c]
call fcn.10001c80
push 0x10137ec0
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov byte [ebp - 4], 0xf
push str.tdip.sys
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.100082c0
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
mov dword [ebp - 0x1b0], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x130]
call fcn.10001c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x138]
call fcn.10001c80
push 0x10137ec0
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100082c0
mov byte [ebp - 4], 0x11
push str.CDRomFlt.sys
lea ecx, [ebp - 0x140]
push ecx
mov ecx, eax
call fcn.100082c0
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
mov dword [ebp - 0x1c0], eax
push 4
push 0
push eax
call esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x140]
call fcn.10001c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x148]
call fcn.10001c80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.10001c80
jmp 0x1001ac10
mov dword [ebp - 4], 0xffffffff
push 0
push 0x19
lea edx, [ebp - 0x118]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x118]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ac33
sub eax, esi
mov esi, eax
mov dword [ebp - 0x150], esi
push esi
lea ecx, [ebp - 0x120]
call fcn.10001520
mov ecx, esi
lea esi, [ebp - 0x118]
mov eax, dword [ebp - 0x120]
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov byte [ecx + eax], 0
mov ebx, 0x14
mov dword [ebp - 4], ebx
push str.CPM.lnk
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x120]
call fcn.100082c0
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x158]
add esi, 0xfffffff8
lea eax, [esi + 4]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call edi
test eax, eax
jg 0x1001acc4
push esi
call fcn.100569b3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x120]
add esi, 0xfffffff8
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jg 0x1001ace7
push esi
call fcn.100569b3
add esp, 4
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x1dc]
call fcn.1006cb70
mov byte [ebp - 4], 0x17
push 0
lea ecx, [ebp - 0x124]
call fcn.10001520
mov bl, 0x18
mov byte [ebp - 4], bl
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], str.SOFTWAREHuaweiSPES5.0CompositesFramework
mov byte [ebp - 4], 0x19
push 0
push 0
lea edx, [ebp - 0x17c]
push edx
push connect
lea ecx, [ebp - 0x1dc]
call fcn.1006cf60
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x17c]
call fcn.10008420
push str.InstallPath
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.1006d250
mov byte [ebp - 4], 0x1a
push str.CompositesCPM
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.100082c0
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x124]
call fcn.10007e70
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x160]
call fcn.10001c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x168]
call fcn.10001c80
push str.composite.config
lea ecx, [ebp - 0x124]
call fcn.10008230
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x124]
call fcn.10001c80
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1dc]
call fcn.1006ce30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.100571c6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret