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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42961c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x445028]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x445028]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
call fcn.004209fb
test al, al
jne 0x420c68
xor al, al
jmp 0x420f10
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420c61
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x420c9c
cmp ebx, edi
je 0x420c9c
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x420c84
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], 2
jne 0x420ca4
mov dword [esp + 0x24], 1
push edi
push esi
mov byte [esp + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [esp + 0x20], edi
jne 0x420f0e
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jge 0x420eff
push dword [esp + 0x2c]
lea ecx, [esp + 0x18]
call dword [0x42e8c8]
push dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c4], edi
call dword [0x42e8c8]
mov byte [esp + 0x2c0], 1
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], edi
je 0x420d0a
cmp esi, 1
jne 0x420d19
push 0x437dfc
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
push 0x5c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
dec esi
cmp eax, esi
je 0x420d47
push 0x5c
lea ecx, [esp + 0x18]
call dword [0x42e748]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call dword [0x42e878]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x420ed7
cmp dword [ebp + 0x1c], edi
je 0x420db6
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x420da6
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x420da6
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push edi
lea eax, [esp + 0x50]
push eax
call ebx
test eax, eax
jne 0x420d7d
cmp word [esp + 0x88], 0x2e
je 0x420ea1
push dword [esp + 0x2c]
lea ecx, [esp + 0x20]
call dword [0x42e8c8]
mov ebx, 0x4379c0
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 2
call dword [0x42e87c]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
call dword [0x42e87c]
push dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
call dword [0x42e8c8]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c4], 3
call dword [0x42e87c]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
call dword [0x42e87c]
test byte [esp + 0x5c], 0x10
je 0x420e65
xor eax, eax
inc eax
cmp dword [esp + 0x20], eax
je 0x420e46
cmp dword [esp + 0x24], eax
jne 0x420e85
cmp dword [ebp + 0x10], edi
je 0x420e85
mov ecx, dword [esp + 0x38]
push eax
push dword [esp + 0x34]
push edi
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.00420bf7
jmp 0x420e81
cmp dword [esp + 0x20], edi
jne 0x420e85
push edi
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
dec eax
neg eax
sbb al, al
inc al
mov byte [esp + 0x13], al
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push edi
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jne 0x420ed0
cmp byte [esp + 0x13], bl
je 0x420ed0
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x420d70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [esp + 0x2c0], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc dword [esp + 0x20]
test bl, bl
je 0x420cc3
test bl, bl
jne 0x420f0e
cmp byte [esp + 0x13], bl
je 0x420f0e
xor eax, eax
inc eax
jmp 0x420f10
xor eax, eax
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.00426b86
mov esp, ebp
pop ebp
ret 0x18