Function at 0x445fd7
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get file attributes

Disassembly:
push 0x2e0
mov eax, 0x44daa4
call fcn.0042ecf6
xor edi, edi
inc edi
push 0x464780
lea esi, [ebp - 0x50]
mov dword [ebp - 4], edi
call fcn.0040268b
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040229a
mov eax, esi
push eax
lea esi, [ebp - 0x34]
call fcn.0040268b
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x446027
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446045
shr eax, 4
not eax
and eax, edi
mov dword [ebp - 0x2a8], eax
jmp 0x4460f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x4460ea
cmp eax, 3
je 0x4460ea
cmp eax, 0x7b
je 0x4460ea
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x2cc]
call fcn.0040268b
cmp dword [ebp - 0x2b4], 8
mov eax, dword [ebp - 0x2c8]
jae 0x44608a
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4460d1
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
cmp dword [ebp - 0x2a4], ebx
push ebx
setne al
xor ecx, ecx
push edi
lea esi, [ebp - 0x2cc]
cmp eax, ebx
sete cl
mov dword [ebp - 0x2a8], ecx
call fcn.004026e6
mov eax, dword [ebp - 0x2a8]
jmp 0x4460e0
push ebx
push edi
lea esi, [ebp - 0x2cc]
call fcn.004026e6
xor eax, eax
mov dword [ebp - 0x2a8], edi
cmp eax, ebx
jne 0x4460f0
mov dword [ebp - 0x2a8], ebx
push ebx
push edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004026e6
mov eax, dword [ebp - 0x2a8]
cmp eax, ebx
je 0x4462fa
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov esi, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.0040268b
lea eax, [ebp - 0x34]
push eax
call fcn.0040463d
add esp, 0x20
push 0x45ace8
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 4
call fcn.0040174a
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.0040229a
sub esp, 0x1c
lea eax, [ebp - 0x34]
mov esi, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.0040268b
lea ebx, [ebp - 0x2cc]
call fcn.00404514
add esp, 0x1c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2b8]
xor ebx, ebx
cmp eax, ebx
ja 0x446190
push ebx
push edi
lea esi, [ebp - 0x2cc]
call fcn.004026e6
jmp 0x4462b5
lea edi, [eax - 1]
lea eax, [ebp - 0x2cc]
call fcn.00401694
cmp word [eax], 0x5c
jne 0x4461dd
mov edi, dword [ebp - 0x2b8]
dec edi
lea eax, [ebp - 0x2cc]
call fcn.00401694
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x2b4], 8
mov eax, dword [ebp - 0x2c8]
jae 0x4461d0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00402146
cmp dword [ebp - 0x2b8], 3
jb 0x4462a4
lea eax, [ebp - 0x2cc]
push eax
lea esi, [ebp - 0x2ec]
call fcn.0040268b
cmp dword [ebp - 0x2d4], 8
mov eax, dword [ebp - 0x2e8]
jae 0x446211
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446226
test al, 0x10
je 0x446226
xor edi, edi
inc edi
jmp 0x446228
xor edi, edi
push ebx
push 1
lea esi, [ebp - 0x2ec]
call fcn.004026e6
cmp edi, ebx
jne 0x4462a4
sub esp, 0x1c
mov dword [ebp - 0x2a8], esp
mov ebx, esp
sub esp, 0x1c
lea eax, [ebp - 0x2cc]
mov esi, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.0040268b
call fcn.00404030
add esp, 0x1c
call fcn.0040407a
add esp, 0x1c
test eax, eax
je 0x44628e
cmp dword [ebp - 0x2b4], 8
mov eax, dword [ebp - 0x2c8]
jae 0x446285
lea eax, [ebp - 0x2c8]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0
push 1
lea esi, [ebp - 0x2cc]
call fcn.004026e6
xor edi, edi
inc edi
xor ebx, ebx
jmp 0x4462b5
push ebx
push 1
lea esi, [ebp - 0x2cc]
call fcn.004026e6
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4462c1
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x4462cd
lea eax, [ebp - 0x4c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp byte [ebp + 0x40], bl
je 0x4462ee
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x4462e7
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push edi
lea esi, [ebp - 0x34]
call fcn.004026e6
xor ebx, ebx
push ebx
push edi
lea esi, [ebp - 0x50]
call fcn.004026e6
push ebx
push edi
lea esi, [ebp + 8]
call fcn.004026e6
push ebx
push edi
lea esi, [ebp + 0x24]
call fcn.004026e6
call fcn.0042ed79
ret 0x3c