Function at 0x100c6400
Capabilities:
Check if file exists
Copy file
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
mov dword [ebp - 0xa78], eax
lea eax, [ebp - 0x824]
push 0x104
push eax
mov dword [ebp - 0xa7c], ebx
call fcn.1026c2d2
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x824]
add esp, 0xc
push 0x1029bd9c
push eax
call edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100c6465
push ebx
call fcn.100c6680
add esp, 4
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100c6493
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
mov bl, 1
nop word [eax + eax]
mov ecx, 0x1029bda4
lea eax, [ebp - 0xa48]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100c64d6
test dx, dx
je 0x100c64d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100c64d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100c64b0
xor eax, eax
jmp 0x100c64db
sbb eax, eax
or eax, 1
test eax, eax
je 0x100c6643
mov eax, 0x1029bda8
lea ecx, [ebp - 0xa48]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100c6516
test dx, dx
je 0x100c6512
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100c6516
add ecx, 4
add eax, 4
test dx, dx
jne 0x100c64f0
xor eax, eax
jmp 0x100c651b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100c6643
push dword [ebp - 0xa78]
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.1026c2d2
add esp, 0xc
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0x61c]
push eax
call edi
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1026c2d2
add esp, 0xc
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
test byte [ebp - 0xa74], 0x10
lea eax, [ebp - 0x20c]
push eax
je 0x100c659d
lea eax, [ebp - 0x61c]
push eax
call fcn.100c6400
add esp, 8
mov bl, al
jmp 0x100c6643
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100c6628
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100c6628
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.102629f0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1026c2d2
push 0x1029bdb0
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1026c2c7
add esp, 0x24
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x100c6628
push 4
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
lea eax, [ebp - 0xa74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100c64a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102601ec
mov esp, ebp
pop ebp
ret