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

Disassembly:
push 0x2e0
mov eax, 0x44f0a7
call fcn.0042fba6
xor edi, edi
inc edi
push 0x466800
lea esi, [ebp - 0x50]
mov dword [ebp - 4], edi
call fcn.004026e4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004022f3
mov eax, esi
push eax
lea esi, [ebp - 0x34]
call fcn.004026e4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x447696
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4476b4
shr eax, 4
not eax
and eax, edi
mov dword [ebp - 0x2a8], eax
jmp 0x44775f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x447759
cmp eax, 3
je 0x447759
cmp eax, 0x7b
je 0x447759
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x2cc]
call fcn.004026e4
cmp dword [ebp - 0x2b4], 8
mov eax, dword [ebp - 0x2c8]
jae 0x4476f9
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x447740
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.0040273f
mov eax, dword [ebp - 0x2a8]
jmp 0x44774f
push ebx
push edi
lea esi, [ebp - 0x2cc]
call fcn.0040273f
xor eax, eax
mov dword [ebp - 0x2a8], edi
cmp eax, ebx
jne 0x44775f
mov dword [ebp - 0x2a8], ebx
push ebx
push edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040273f
mov eax, dword [ebp - 0x2a8]
cmp eax, ebx
je 0x447969
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov esi, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.004026e4
lea eax, [ebp - 0x34]
push eax
call fcn.00404690
add esp, 0x20
push 0x45bd88
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.004022f3
sub esp, 0x1c
lea eax, [ebp - 0x34]
mov esi, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.004026e4
lea ebx, [ebp - 0x2cc]
call fcn.00404567
add esp, 0x1c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2b8]
xor ebx, ebx
cmp eax, ebx
ja 0x4477ff
push ebx
push edi
lea esi, [ebp - 0x2cc]
call fcn.0040273f
jmp 0x447924
lea edi, [eax - 1]
lea eax, [ebp - 0x2cc]
call fcn.00401694
cmp word [eax], 0x5c
jne 0x44784c
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 0x44783f
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040215a
cmp dword [ebp - 0x2b8], 3
jb 0x447913
lea eax, [ebp - 0x2cc]
push eax
lea esi, [ebp - 0x2ec]
call fcn.004026e4
cmp dword [ebp - 0x2d4], 8
mov eax, dword [ebp - 0x2e8]
jae 0x447880
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447895
test al, 0x10
je 0x447895
xor edi, edi
inc edi
jmp 0x447897
xor edi, edi
push ebx
push 1
lea esi, [ebp - 0x2ec]
call fcn.0040273f
cmp edi, ebx
jne 0x447913
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.004026e4
call fcn.0040407c
add esp, 0x1c
call fcn.004040c6
add esp, 0x1c
test eax, eax
je 0x4478fd
cmp dword [ebp - 0x2b4], 8
mov eax, dword [ebp - 0x2c8]
jae 0x4478f4
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.0040273f
xor edi, edi
inc edi
xor ebx, ebx
jmp 0x447924
push ebx
push 1
lea esi, [ebp - 0x2cc]
call fcn.0040273f
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x447930
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x44793c
lea eax, [ebp - 0x4c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [ebp + 0x40], bl
je 0x44795d
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x447956
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
lea esi, [ebp - 0x34]
call fcn.0040273f
xor ebx, ebx
push ebx
push edi
lea esi, [ebp - 0x50]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp + 8]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp + 0x24]
call fcn.0040273f
call fcn.0042fc29
ret 0x3c