Function at 0x49b260
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push ebx
push esi
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 0x458]
mov dword [eax], 0x6e3560
push dword [ebp + 8]
call fcn.0049a040
lea ecx, [ebp - 0x458]
call fcn.0049ab10
test al, al
je 0x49b4fb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
push dword [ebp + 8]
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x30], vtable.CPathString.0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
call fcn.0049c290
mov eax, dword [ebp - 0x450]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, ecx
shr eax, 4
test al, 1
je 0x49b35d
shr ecx, 0xa
test cl, 1
je 0x49b34e
push esi
call fcn.0049ccf0
add esp, 4
mov dword [ebp - 0xc], vtable.CPathString.0
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], 0
push 0
push esi
call fcn.0049c290
lea ecx, [ebp - 0xc]
call fcn.0049c0c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov dword [ebp - 0xc], vtable.CPathString.0
mov eax, dword [ebp - 4]
test eax, eax
je 0x49b331
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x49b4b6
push eax
call fcn.0054a474
mov dword [ebp - 8], 0
jmp 0x49b4b3
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.0049b260
jmp 0x49b4b3
push 0
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CPathString.0
mov dword [ebp - 0x10], 0
call fcn.0049c290
lea ecx, [ebp - 0x18]
call fcn.0049c0c0
push eax
call edi
test eax, eax
mov dword [ebp - 0x18], vtable.CPathString.0
mov eax, dword [ebp - 0x10]
je 0x49b3c0
test eax, eax
je 0x49b3a3
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49b4b6
push eax
call fcn.0054a474
mov dword [ebp - 0x14], 0
jmp 0x49b4b3
test eax, eax
je 0x49b3d4
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49b3eb
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.CPathString.0
mov dword [ebp - 0x34], 0
call fcn.0049c290
lea ecx, [ebp - 0x3c]
call fcn.0049c0c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], vtable.CPathString.0
mov eax, dword [ebp - 0x34]
setne bl
test eax, eax
je 0x49b437
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x49b44e
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x38], 0
test bl, bl
je 0x49b4b6
push esi
call fcn.0049ccf0
add esp, 4
mov dword [ebp - 0x24], vtable.CPathString.0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push 0
push esi
call fcn.0049c290
lea ecx, [ebp - 0x24]
call fcn.0049c0c0
push eax
call edi
test eax, eax
mov dword [ebp - 0x24], vtable.CPathString.0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49b49f
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49b4b6
push eax
call fcn.0054a474
mov dword [ebp - 0x20], 0
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], vtable.CPathString.0
test eax, eax
je 0x49b4d4
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x28], 0
test esi, esi
je 0x49b4e8
push esi
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x458]
call fcn.0049ab10
test al, al
jne 0x49b2a0
push dword [ebp + 8]
call fcn.0049b1f0
mov ecx, dword [ebp - 0x454]
add esp, 4
mov bl, al
cmp ecx, 0xffffffff
je 0x49b51a
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x250
push dword [ebp - 0x450]
call fcn.0054a45d
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret