Function at 0x467f2d
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, 0x280
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
push 0x24c
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x250]
push ebx
push eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x254], ebx
call fcn.004921d0
add esp, 0xc
lea ecx, [ebp - 0x26c]
push esi
call fcn.00406b6a
push 0x4eb630
lea ecx, [ebp - 0x258]
call fcn.004044ee
push 0x4d4a10
push 0x104
lea ecx, [ebp - 0x26c]
call fcn.00404e61
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x26c]
call fcn.004070cc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x46842f
push esi
call fcn.0040481a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x258]
call fcn.004047a1
lea eax, [ebp - 0x228]
push eax
push 0x104
lea ecx, [ebp - 0x258]
call fcn.00404e61
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x258]
call fcn.004070cc
push dword [ebp - 0x280]
lea ecx, [ebp - 0x25c]
call fcn.00406b6a
lea eax, [ebp - 0x228]
push eax
push 0x104
lea ecx, [ebp - 0x25c]
call fcn.00404e61
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x25c]
call fcn.004070cc
mov eax, dword [ebp - 0x254]
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 0x268], eax
test al, 0x10
lea eax, [ebp - 0x228]
je 0x4681b0
mov ecx, 0x4d4a18
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4680af
test dx, dx
je 0x4680ab
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4680af
add eax, 4
add ecx, 4
test dx, dx
jne 0x468089
mov eax, ebx
jmp 0x4680b4
sbb eax, eax
or eax, 1
test eax, eax
je 0x468200
mov ecx, 0x4d4a1c
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4680ed
test dx, dx
je 0x4680e9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4680ed
add eax, 4
add ecx, 4
test dx, dx
jne 0x4680c7
mov eax, ebx
jmp 0x4680f2
sbb eax, eax
or eax, 1
test eax, eax
je 0x468200
mov eax, dword [ebp - 0x268]
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
je 0x468200
cmp dword [ebp + 0x10], 0
je 0x468348
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468166
push esi
call fcn.00465cea
pop ecx
test eax, eax
jne 0x468166
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push str.file_util::CreateDirectory__dir_ws_gle_x_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x25c]
push eax
mov ecx, edi
call fcn.00406bd9
push esi
call fcn.00465cea
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x468382
push dword [ebp - 0x270]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x258]
push esi
push edi
call fcn.00467f2d
add esp, 0x14
test eax, eax
jns 0x46834e
lea ecx, [esi - 0x10]
mov ebx, 0x80004005
call fcn.00404f8d
jmp 0x468421
push eax
lea ecx, [ebp - 0x260]
call fcn.00406b6a
lea ecx, [ebp - 0x260]
call fcn.0041c913
push eax
lea ecx, [ebp - 0x260]
call fcn.00406bd9
mov edi, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.004654ac
add esp, 0xc
cmp dword [edi + 4], eax
je 0x468219
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
mov edi, dword [ebp - 0x258]
jmp 0x468356
push dword [ebp - 0x260]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.00465481
add esp, 0xc
cmp dword [edi + 4], eax
jne 0x4681f2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4682f9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4682f9
push 0x4eb630
lea ecx, [ebp - 0x274]
call fcn.004044ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp - 0x274]
push str._s_d__x
push eax
call fcn.00404994
mov edi, dword [ebp - 0x274]
push edi
push esi
call fcn.00493b54
add esp, 0x18
mov dword [ebp - 0x268], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push edi
push esi
push str._trename_src_ws_dst_ws_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x25c]
push eax
call fcn.00406bd9
cmp dword [ebp - 0x268], 0
lea ecx, [edi - 0x10]
jne 0x4683be
call fcn.00404f8d
xor ebx, ebx
mov edi, dword [ebp - 0x258]
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x46833a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push str.movefile_fail_src_ws_dst_ws_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0x14
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4683ca
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
mov edi, dword [ebp - 0x258]
lea ecx, [esi - 0x10]
call fcn.00404f8d
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x468421
mov edi, dword [ebp - 0x264]
mov esi, dword [ebp - 0x27c]
jmp 0x467feb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push str.CopyDir__DestDir_Not_Exists_dir_ws_gle_x_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x25c]
push eax
call fcn.00406bd9
mov ebx, 0x80004005
jmp 0x468413
mov ebx, 0x80004005
call fcn.00404f8d
jmp 0x468405
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
push edi
push str.CopyFile_fail_src_ws_dst_ws_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x25c]
push eax
call fcn.00406bd9
mov ebx, 0x80004005
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
lea ecx, [esi - 0x10]
call fcn.00404f8d
mov edi, dword [ebp - 0x258]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x468435
mov edi, dword [ebp - 0x258]
lea ecx, [edi - 0x10]
call fcn.00404f8d
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret