Function at 0x42cd8d
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push 0x2b8
mov eax, 0x469eee
call fcn.00463b54
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x284], eax
xor ebx, ebx
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
push eax
push str.CopyFilesToDestDir
call fcn.0041bb53
mov dword [ebp - 4], ebx
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.004327b3
mov byte [ebp - 4], 1
or ebx, 0xffffffff
call fcn.004068d0
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405f99
mov byte [ebp - 4], 3
call fcn.004068d0
push eax
lea ecx, [ebp - 0x268]
call fcn.00405f99
mov byte [ebp - 4], 5
call fcn.004068d0
push eax
lea ecx, [ebp - 0x270]
call fcn.00405f99
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x280]
call fcn.0042f724
mov byte [ebp - 4], 8
test esi, esi
je 0x42d20a
xor eax, eax
cmp word [esi], ax
je 0x42d20a
test edi, edi
je 0x42d20a
cmp word [edi], ax
je 0x42d20a
push 0x250
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00441660
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d21f
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x26c]
call fcn.00408222
push 0x5c
push dword [ebp - 0x26c]
call fcn.00441d1b
pop ecx
pop ecx
test eax, eax
je 0x42d20a
sub eax, dword [ebp - 0x26c]
sar eax, 1
cmp eax, 0xffffffff
je 0x42d20a
inc eax
lea ecx, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00409467
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x26c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x288]
lea ecx, [ecx - 0x10]
call fcn.00406985
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42cf90
mov esi, dword [ebp - 0x284]
mov edx, edi
lea ecx, [esi + 0x58]
call fcn.0042d303
test al, al
jne 0x42cf98
lea ecx, [ebp - 0x280]
call fcn.00406358
lea ecx, [ebp - 0x27c]
call fcn.00406358
lea ecx, [ebp - 0x278]
call fcn.00406358
mov word [ebp - 0x274], 0
mov ecx, edi
mov byte [ebp - 0x271], 1
mov byte [ebp - 0x273], 1
call fcn.004082a0
push eax
push edi
lea ecx, [ebp - 0x278]
call fcn.00408222
mov ecx, esi
lea eax, [ebp - 0x280]
push eax
lea ecx, [ecx + 0x18]
call fcn.0042e8b0
mov edx, edi
lea ecx, [esi + 0x58]
call fcn.0042d290
mov esi, eax
mov dword [ebp - 0x264], esi
test esi, esi
je 0x42cf98
jmp 0x42d213
test al, 0x10
je 0x42d20a
push 0x2e
pop eax
cmp word [ebp - 0x234], ax
jne 0x42cfc9
cmp word [ebp - 0x232], 0
je 0x42d1d6
cmp word [ebp - 0x232], ax
jne 0x42cfc9
cmp word [ebp - 0x230], 0
je 0x42d1d6
test byte [ebp - 0x260], 0x10
je 0x42d0ae
mov ecx, edi
call fcn.004082a0
push eax
push edi
lea ecx, [ebp - 0x268]
call fcn.00408222
lea ecx, [ebp - 0x234]
call fcn.004082a0
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.00409578
mov ecx, 0x47aca0
call fcn.004082a0
push eax
push 0x47aca0
lea ecx, [ebp - 0x268]
call fcn.00409578
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x288]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x270]
push eax
call fcn.0040764f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x288]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov ecx, 0x47b124
call fcn.004082a0
push eax
push 0x47b124
lea ecx, [ebp - 0x270]
call fcn.00409578
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x268]
push dword [ebp - 0x284]
mov ecx, dword [ebp - 0x270]
push dword [ebp + 8]
call fcn.0042cd8d
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x264], esi
test esi, esi
jne 0x42d213
jmp 0x42d1d6
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x28c]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x270]
push eax
call fcn.0040764f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov ecx, edi
call fcn.004082a0
push eax
push edi
lea ecx, [ebp - 0x268]
call fcn.00408222
lea ecx, [ebp - 0x234]
call fcn.004082a0
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.00409578
lea ecx, [ebp - 0x280]
call fcn.00406358
lea ecx, [ebp - 0x27c]
call fcn.00406358
lea ecx, [ebp - 0x278]
call fcn.00406358
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x280]
mov byte [ebp - 0x271], al
lea eax, [ebp - 0x270]
push eax
mov word [ebp - 0x274], 0
call fcn.0040764f
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040764f
mov esi, dword [ebp - 0x284]
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x290]
lea eax, [esi + 8]
push eax
call fcn.0041853b
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x27c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x290]
lea ecx, [ecx - 0x10]
call fcn.00406985
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x270]
mov edx, esi
call fcn.0042d55b
pop ecx
mov dword [ebp - 0x264], eax
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x280]
push eax
call fcn.0042e8b0
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00441660
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42cf98
mov esi, dword [ebp - 0x264]
jmp 0x42d213
push 0x57
pop esi
mov dword [ebp - 0x264], esi
cmp ebx, 0xffffffff
je 0x42d225
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x264]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x280]
call fcn.0042f7f7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.004327d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.0041bbc1
mov eax, esi
call fcn.00463afe
ret