Function at 0x418ced
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x1a4
mov eax, 0x48f1c9
call fcn.00458f67
mov ebx, ecx
xor esi, esi
lea eax, [ebp + 0xc]
inc esi
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 4], esi
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004101af
mov edi, eax
pop ecx
test edi, edi
je 0x418d5e
cmp edi, 0xb7
je 0x418d5e
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x419225
cmp dword [0x4c12e0], 0
je 0x419225
mov eax, dword [edx]
cmp dword [ebp + 0x20], 0x10
push edi
mov ecx, dword [eax + 0x14]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push str.Failed_to_create_a_directory_at___s_._Error:__d
push edx
call ecx
add esp, 0x10
jmp 0x419225
mov edi, 0x494bbc
push edi
call fcn.00461890
pop ecx
push eax
push edi
lea ecx, [ebp + 8]
call fcn.004141e9
push 0x4953b8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0040c18e
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
and dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418da6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0040a9d0
mov ecx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
push 0x140
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.0045b1d0
and dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x198]
add esp, 0xc
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1a8], eax
cmp eax, 0xffffffff
je 0x41915e
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418e28
sub ecx, edx
lea eax, [ebp - 0x16c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a9d0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp ecx, 0x10
mov byte [ebp - 4], 5
cmovae eax, edi
cmp dword [ebp - 0x18], esi
jne 0x418e6c
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x418e64
xor eax, eax
jmp 0x418e68
sbb eax, eax
or eax, esi
test eax, eax
je 0x418e92
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edi
cmp dword [ebp - 0x18], 2
jne 0x418edd
push 2
push 0x4947d0
push eax
call fcn.0045c09d
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x418edd
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4190e5
lea eax, [ecx + 1]
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], eax
cmp eax, 0x1000
jb 0x418ed6
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x19c]
pop ecx
pop ecx
push eax
push edi
jmp 0x4190de
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040c18e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412ce5
add esp, 0x18
test byte [ebp - 0x198], 0x10
mov byte [ebp - 4], 7
je 0x419010
sub esp, 0x18
lea ecx, [ebp - 0x40]
mov eax, esp
mov dword [ebp - 0x19c], esp
mov edi, 0x494bbc
push edi
push ecx
push eax
call fcn.00412ce5
add esp, 8
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0x1a4]
push edi
push ecx
push eax
call fcn.0040c18e
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, ebx
call fcn.00418ced
test eax, eax
je 0x419082
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x418fa2
cmp dword [0x4c12e0], 0
je 0x418fa2
mov eax, dword [edx]
cmp dword [ebp - 0x2c], 0x10
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x1a4]
push str._DoFolderCopy_failed_to_copy_the_subdirectory_at___s__to___s_.
push edx
call ecx
add esp, 0x10
lea ecx, [ebp - 0x40]
mov edi, esi
call fcn.0040a94c
mov ecx, dword [ebp - 0x1a4]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x419106
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], eax
cmp eax, 0x1000
jb 0x419002
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
jmp 0x419106
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 8
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x419082
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ecx, dword [ebx + 0xc]
mov edx, eax
test ecx, ecx
je 0x419060
cmp dword [0x4c12e0], 0
je 0x419060
cmp dword [0x4c3630], 0
je 0x419060
mov eax, dword [ecx]
push edx
push str.::MoveFileEx___failed.__Error:__d__Attempting_to_copy_file...
push ecx
call dword [eax + 0x10]
add esp, 0xc
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x41911c
lea ecx, [ebp - 0x40]
call fcn.0040a94c
mov ecx, dword [ebp - 0x1a4]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x4190e5
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1a0], ecx
cmp eax, 0x1000
jb 0x4190dc
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x1a8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418e10
mov edi, dword [ebp - 0x1b0]
push dword [ebp - 0x1a8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, esi
jne 0x4191cb
jmp 0x419188
call edi
mov edx, dword [ebx + 0xc]
mov edi, eax
test edx, edx
je 0x418fa2
cmp dword [0x4c12e0], 0
je 0x418fa2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [edx]
cmovae eax, dword [ebp - 0x40]
push edi
push eax
push dword [ebp - 0x1a4]
push str.Failed_to_copy_the_file_at___s__to___s_._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x14
jmp 0x418fa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x419186
cmp dword [0x4c12e0], 0
je 0x419186
mov ecx, dword [edx]
push eax
push dword [ebp + 8]
push str.FindFirstFile___returned_an_Invalid_Handle_in_directory___s_._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x10
mov edi, esi
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push esi
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.0040da0f
pop ecx
pop ecx
test eax, eax
jne 0x4191cb
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4191cb
cmp dword [0x4c12e0], eax
je 0x4191cb
mov eax, dword [edx]
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [eax + 0x18]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push str.McDeleteDirectoryA___failed_to_remove:__s
push edx
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov esi, edi
cmp eax, 0x10
jb 0x419216
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x19c], ecx
cmp eax, 0x1000
jb 0x41920d
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x1a8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x19c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040c5fb
lea ecx, [ebp + 0xc]
call fcn.0040a94c
mov eax, esi
call fcn.00458f11
ret 0x1c