Function at 0x105e128
Capabilities:
Copy file
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x77c
mov eax, dword [0x1099a38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [ebp - 0x760], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x774], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x778], edi
mov dword [ebp - 0x768], ebx
mov dword [ebp - 0x770], ebx
mov byte [ebp - 0x20c], bl
mov byte [ebp - 0x310], bl
mov byte [ebp - 0x61c], bl
mov byte [ebp - 0x108], bl
mov byte [ebp - 0x518], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x105e18b
sub eax, esi
mov ecx, 0x104
cmp eax, ecx
jb 0x105e1bd
push ecx
push 0x101e714
push 0x358
push 0x101e6d0
call fcn.01071aea
add esp, 0x10
or esi, 0xffffffff
jmp 0x105e483
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x105e1c8
cmp dword [ebp + 0x18], ebx
mov eax, 0x101e6c4
jne 0x105e1e1
mov eax, 0x101e6bc
push eax
push dword [ebp - 0x760]
lea eax, [ebp - 0x108]
push eax
push edi
push 0x101e6a0
call fcn.010430af
add esp, 0x14
lea eax, [ebp - 0x75c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x76c], eax
je 0x105e468
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, 0x1106960
test byte [ebp - 0x75c], 0x10
jne 0x105e446
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x730]
push eax
push dword [ebp - 0x778]
mov dword [ebp - 0x770], ebx
mov dword [ebp - 0x764], ebx
call fcn.01070fc9
mov eax, dword [ebp - 0x774]
cmp eax, ebx
jne 0x105e272
lea eax, [ebp - 0x730]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [ebp - 0x760]
call fcn.01070fc9
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01073f21
cmp eax, ebx
mov dword [ebp - 0x77c], eax
jne 0x105e318
cmp dword [ebp - 0x774], ebx
jne 0x105e318
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01077858
cmp eax, ebx
jl 0x105e494
cmp dword [ebp - 0x770], ebx
je 0x105e318
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01077801
cmp eax, ebx
jl 0x105e4b1
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x760]
call fcn.01070fc9
push ebx
lea eax, [ebp - 0x310]
push eax
call fcn.01073f21
mov dword [ebp - 0x764], eax
cmp dword [ebp + 0x18], ebx
je 0x105e331
cmp dword [ebp - 0x77c], ebx
jne 0x105e331
cmp dword [ebp - 0x764], ebx
je 0x105e446
push 0x80
lea eax, [ebp - 0x108]
push eax
call edi
push 0x80
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x101e688
call fcn.010430af
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x101e714
push 0x399
push 0x101e668
call fcn.01071b29
add esp, 0x20
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x105e4c3
push 0x80
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x518]
push eax
push 0xf05c
push ebx
mov dword [ebp - 0x518], 0x207325
call fcn.010312a2
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.msvcrt.dll__mbsupr]
push eax
lea eax, [ebp - 0x518]
push eax
push esi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push esi
call fcn.01045583
inc dword [ebp - 0x768]
cmp dword [ebp - 0x764], ebx
je 0x105e446
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x105e446
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x105e42e
cmp eax, 2
jne 0x105e517
push eax
push 0x101e714
push 0x3be
push 0x101e160
call fcn.01071b53
add esp, 0x10
push 1
call fcn.01046c4d
lea eax, [ebp - 0x75c]
push eax
push dword [ebp - 0x76c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x105e22b
mov esi, dword [ebp - 0x768]
cmp dword [ebp - 0x76c], 0xffffffff
je 0x105e483
push dword [ebp - 0x76c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x18
push eax
push 0x101e714
push 0x380
push 0x101e638
call fcn.01071aea
add esp, 0x10
jmp 0x105e536
push eax
push 0x101e714
push 0x388
push 0x101e600
jmp 0x105e4a4
push 0x208
lea eax, [ebp - 0x518]
push eax
push 0xf00f
push ebx
mov byte [ebp - 0x518], bl
mov byte [0x1106960], bl
call fcn.010312a2
push 0xfffa
push esi
push 0xf051
push ebx
call fcn.010312a2
cmp dword [ebp + 0x1c], ebx
jne 0x105e50f
push 0x11010
lea eax, [ebp - 0x518]
push eax
push esi
push ebx
call fcn.0107473f
push esi
call fcn.01071aad
jmp 0x105e536
push eax
lea eax, [ebp - 0x310]
push eax
push 0x101e714
push 0x3b9
push 0x101e0b0
call fcn.01071aea
add esp, 0x14
or esi, 0xffffffff
jmp 0x105e46e