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

Disassembly:
push 0xffffffffffffffff
push 0x42e21d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
call fcn.0041c224
xor ebx, ebx
push 0xffffffffffffffff
push 0xa
lea ecx, [esp + 0x30]
mov dword [esp + 0x150], ebx
call fcn.0041c2b7
mov eax, dword [0x43ab24]
lea edi, [esi + 0x14a74]
mov dword [esp + 0x14], eax
add esi, 0x9c0
lea ecx, [esp + 0x1c]
push esi
mov byte [esp + 0x14c], 1
call fcn.0041e2a3
push 0x43a488
push edi
mov byte [esp + 0x150], 2
call fcn.0040e0e0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4085de
mov esi, ebp
lea ecx, [esp + 0x3c]
sub esi, edi
push esi
push edi
push ecx
call fcn.0040daa0
add esp, 0xc
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
mov byte [esp + esi + 0x3c], 0
push edx
call fcn.0041e66b
mov edi, 0x43a488
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
add ecx, ebp
push eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.0041e2a3
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 3
call fcn.0041b77b
mov edx, dword [esp + 0x18]
push str._d_:
push edx
mov byte [esp + 0x150], 4
call fcn.0040ded2
add esp, 8
test eax, eax
jne 0x40851c
lea eax, [esp + 0x24]
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b646
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 5
call fcn.0041e8fa
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 4
call fcn.0041e52e
lea ecx, [esp + 0x10]
push ecx
push ebx
lea ecx, [esp + 0x30]
call fcn.0041c42c
inc ebx
jmp 0x4085a4
mov edx, dword [esp + 0x18]
push str._f_:
push edx
call fcn.0040ded2
add esp, 8
test eax, eax
jne 0x408569
lea eax, [esp + 0x20]
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b646
push eax
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 6
call fcn.0041c42c
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call fcn.0041e52e
inc ebx
jmp 0x4085a4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041e8fa
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4085a4
test al, 1
je 0x408599
and al, 0xfe
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43a488
push edi
call fcn.0040e0e0
add esp, 8
lea ecx, [esp + 0x18]
mov ebp, eax
mov byte [esp + 0x148], 3
call fcn.0041e52e
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call fcn.0041e52e
test ebp, ebp
jne 0x408457
test ebx, ebx
je 0x40862e
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
dec ebx
lea edx, [esp + 0x10]
push ebx
push edx
lea ecx, [esp + 0x30]
call fcn.00401720
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408621
test al, 1
je 0x40861a
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [esp + 0x10]
push edx
call esi
lea ecx, [esp + 0x10]
call fcn.0041e52e
test ebx, ebx
jne 0x4085e8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 1
call fcn.0041e52e
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.0041e52e
lea ecx, [esp + 0x28]
mov dword [esp + 0x148], 0xffffffff
call fcn.0041c257
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret