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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x562b38
push ebx
push esi
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x562ece
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 1
mov dl, 1
mov eax, dword [0x4399a4]
call fcn.004464bc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
call fcn.00562f18
mov eax, dword [ebp - 4]
test eax, eax
je 0x562b79
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x562d3b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.005579fc
mov eax, dword [ebp - 0x28]
call fcn.00444b78
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x562d34
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x562d06
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00406e88
push dword [ebp - 4]
push dword [ebp - 8]
push 0x562eec
push 0x562efc
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004078a0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00444b78
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x562cff
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x562cd1
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00406e88
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x3c]
call fcn.004075c4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x562cd1
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x40]
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x562cc8
test esi, 0x400
je 0x562cc8
test esi, 0x10
je 0x562cc8
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x44]
call fcn.004075c4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x562cd1
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x30]
call fcn.00444134
test al, al
jne 0x562c06
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x562d06
cmp dword [ebp - 0x30], 0
je 0x562cfe
mov dl, 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
mov eax, dword [ebp - 0x2c]
call fcn.00444134
test al, al
jne 0x562baa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x562d3b
cmp dword [ebp - 0x2c], 0
je 0x562d33
mov dl, 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.00562fd4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x562d57
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x562e9e
lea eax, [ebp - 0xc]
mov edx, 0x562efc
call fcn.004077c0
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041e3d4
test al, al
je 0x562e9e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00444b78
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x562e97
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x562e69
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00406e88
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x48]
call fcn.004075c4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x562e69
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x38], eax
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x4c]
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x562e60
test esi, 0x400
je 0x562e60
test esi, 0x10
je 0x562e60
push dword [ebp - 0xc]
push 0x562eec
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004078a0
mov eax, dword [ebp - 0x50]
call fcn.004075c4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x562e69
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x2c]
call fcn.00444134
test al, al
jne 0x562d9e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x562e9e
cmp dword [ebp - 0x2c], 0
je 0x562e96
mov dl, 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
mov eax, dword [ebp - 0x28]
call fcn.00404fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x562ed5
lea eax, [ebp - 0x50]
mov edx, 6
call fcn.00406ac0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406ac0
ret