Function at 0x40fc80
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x55406c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x5c2a74]
push edi
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x168]
lea edx, [esp + 8]
push ecx
push 0x5a5a38
push edx
mov dword [esp + 0x16c], 0
call fcn.0053afda
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x40fcf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40fec5
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40febe
push ebp
mov ebp, dword [esp + 0x170]
push esi
mov eax, dword [0x5c2a74]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x170]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x5a4b44
push eax
mov byte [esp + 0x178], 1
call fcn.0053afda
mov ecx, dword [esp + 0x30]
add esp, 0x10
and ecx, 0x10
cmp cl, 0x10
je 0x40fddd
lea edx, [esp + 0x4c]
push str.idmmzcc.dll
push edx
call fcn.0052f680
add esp, 8
test eax, eax
jne 0x40fe97
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push eax
mov eax, dword [esp + 0x10]
push eax
push ebp
call esi
test eax, eax
jne 0x40fe97
mov ecx, dword [0x5c2a74]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push str._s
push eax
mov byte [esp + 0x174], 2
call fcn.0053afda
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ecx
push ebp
call esi
test eax, eax
je 0x40fdc7
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.0040fa10
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 1
call fcn.005421be
jmp 0x40fe97
mov esi, 0x5a5a20
lea eax, [esp + 0x4c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40fe0a
test cl, cl
je 0x40fe06
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40fe0a
add eax, 2
add esi, 2
test cl, cl
jne 0x40fde6
xor eax, eax
jmp 0x40fe0f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40fe97
mov eax, dword [0x5c2a74]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0x5a5a1c
push edx
mov byte [esp + 0x174], 3
call fcn.0053afda
mov edi, dword [esp + 0x24]
mov esi, dword [0x5c7498]
add esp, 0xc
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40fe6f
test cl, cl
je 0x40fe6b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40fe6f
add eax, 2
add esi, 2
test cl, cl
jne 0x40fe4b
xor eax, eax
jmp 0x40fe74
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40fe82
push ebp
push edi
call fcn.0040fc80
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.005421be
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x168], 0
call fcn.005421be
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40fd0d
pop esi
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x158]
pop edi
mov dword fs:[0], ecx
add esp, 0x160
ret