Function at 0x401300
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa40
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x24
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], edi
call fcn.00444804
add esp, 4
cmp eax, edi
je 0x4014b5
mov dword [eax], eax
mov dword [ebp - 0x54], eax
mov dword [eax + 4], eax
mov dword [ebp - 4], edi
push 3
xor eax, eax
push 0x465b04
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403570
mov edx, esi
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00404240
lea edi, [ebp - 0x54]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00401680
test al, al
mov edi, 8
sete bl
cmp dword [ebp - 0x34], edi
jb 0x4013ac
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00444884
add esp, 4
xor edx, edx
mov byte [ebp - 4], dl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x4013d4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00444884
add esp, 4
test bl, bl
je 0x4013f3
lea ebx, [ebp - 0x54]
call fcn.00402400
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00444884
add esp, 4
xor al, al
jmp 0x4014fb
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebx]
cmp esi, ebx
je 0x401495
xor edx, edx
push 0xffffffffffffffff
lea eax, [esi + 8]
push edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403e20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x401432
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x401449
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x401464
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.00401300
add esp, 8
jmp 0x401476
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40146f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], edi
jb 0x40148b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00444884
add esp, 4
mov esi, dword [esi]
cmp esi, ebx
jne 0x401400
lea ebx, [ebp - 0x54]
call fcn.00402400
mov edx, dword [ebp - 0x54]
push edx
call fcn.00444884
mov esi, dword [ebp - 0x58]
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x4014d9
mov eax, dword [esi]
jmp 0x4014db
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], edi
call fcn.00444d6a
push 0x46d608
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x68], vtable.std::bad_alloc.0
call fcn.004474c8
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], edi
jb 0x4014ee
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret