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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x55fb48
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x55fe72
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x40]
call fcn.0041d61c
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x55fb7f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x55fb87
mov al, 1
jmp 0x55fb96
mov dl, 1
mov eax, dword [ebx + 0x40]
call fcn.0041e3d4
test al, al
sete al
test al, al
jne 0x55fe0b
mov dl, 1
mov eax, dword [0x4399a4]
call fcn.004464bc
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00444314
lea eax, [ebp - 0x14]
mov ecx, 0x55fe8c
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x14]
call fcn.004075c4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x55fc5a
call sub.kernel32.dll_GetLastError_1
mov edi, eax
lea eax, [ebp - 0x18]
mov ecx, 0x55fe8c
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x18]
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x55fc54
test ah, 4
je 0x55fc54
test al, 0x10
je 0x55fc54
lea eax, [ebp - 0x1c]
mov ecx, 0x55fe8c
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x1c]
call fcn.004075c4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x55fc5a
push edi
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x20]
mov ecx, 0x55fe8c
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov edx, dword [ebp - 0x20]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.00444314
lea eax, [ebp - 0x28]
mov ecx, 0x55feb0
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x28]
call fcn.004075c4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
jne 0x55fd22
call sub.kernel32.dll_GetLastError_1
mov edi, eax
lea eax, [ebp - 0x2c]
mov ecx, 0x55feb0
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x2c]
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x55fd1c
test ah, 4
je 0x55fd1c
test al, 0x10
je 0x55fd1c
lea eax, [ebp - 0x30]
mov ecx, 0x55feb0
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x30]
call fcn.004075c4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x55fd22
push edi
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x34]
mov ecx, 0x55feb0
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov edx, dword [ebp - 0x34]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.00444314
lea eax, [ebp - 0x3c]
mov ecx, 0x55fed4
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x3c]
call fcn.004075c4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 3], al
cmp byte [ebp - 3], 0
jne 0x55fdea
call sub.kernel32.dll_GetLastError_1
mov edi, eax
mov ecx, 0x55fed4
lea eax, [ebp - 0x40]
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x40]
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x55fde4
test ah, 4
je 0x55fde4
test al, 0x10
je 0x55fde4
mov ecx, 0x55fed4
lea eax, [ebp - 0x44]
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov eax, dword [ebp - 0x44]
call fcn.004075c4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 3], al
jmp 0x55fdea
push edi
call sub.kernel32.dll_SetLastError
mov ecx, 0x55fed4
lea eax, [ebp - 0x48]
mov edx, dword [ebx + 0x40]
call fcn.00407818
mov edx, dword [ebp - 0x48]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, esi
call fcn.00404fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55fe79
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00406ac0
lea eax, [ebp - 0x38]
mov edx, dword [0x43ff80]
call fcn.00408a20
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00406ac0
lea eax, [ebp - 0x24]
mov edx, dword [0x43ff80]
call fcn.00408a20
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406ac0
lea eax, [ebp - 0x10]
mov edx, dword [0x43ff80]
call fcn.00408a20
lea eax, [ebp - 8]
call fcn.00406a60
ret