Function at 0x61090ce0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
lea eax, [ebp - 0x368]
push esi
push ebx
sub esp, 0x38c
mov ebx, 0xffffffff
mov dword [esp], 0
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.610620e0
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x61091153
mov eax, dword [ebp - 0x138]
cmp eax, 0xfa
je 0x61091143
cmp eax, 0xf9
je 0x61091143
cmp eax, 0xf8
je 0x61091143
mov eax, dword [0x610f08a0]
test eax, eax
jne 0x61091110
mov eax, dword [ebp - 0x368]
cmp eax, 0xffffffff
je 0x610910d0
xor edx, edx
cmp eax, 0xffffffff
je 0x61090d70
test al, 0x10
je 0x61090d70
mov edx, 1
mov esi, esi
test edx, edx
je 0x61090df7
mov esi, dword [0x610f08a0]
test esi, esi
jne 0x61090dd1
call sym.cygwin1.dll___errno
mov dword [eax], 1
lea esi, [esi]
mov eax, dword [0x610f08a0]
test eax, eax
jne 0x61090da3
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x61090b42
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090d99
mov dword [esp + 0xc], 0x61090b53
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090d82
lea esi, [ebp - 0x11c]
mov dword [esp], esi
call fcn.6101b220
sub esp, 4
test eax, eax
je 0x610910ae
mov byte [ebp - 0x369], 0
mov eax, dword [ebp - 0x368]
test al, 5
jne 0x6109108e
mov eax, dword [0x61148914]
movzx eax, byte [eax + 0xc]
shr al, 3
and eax, 1
test al, al
je 0x61090f28
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x610ef788
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x61090f28
mov eax, dword [0x61148914]
movzx eax, byte [eax + 0xe]
shr al, 6
and eax, 1
test al, al
je 0x61090ea2
cmp byte [ebp - 0x369], 0
jne 0x61091074
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
mov edx, dword [0x610f08a0]
sub esp, 4
test edx, edx
jne 0x61091043
mov dword [esp], esi
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
inc eax
je 0x61090ed2
cmp byte [ebp - 0x150], 0
jne 0x61090f0d
mov eax, dword [0x610f08a0]
test eax, eax
jne 0x61090ee2
xor ebx, ebx
jmp 0x61090d95
mov dword [esp + 0xc], 0x61090b70
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
mov eax, dword [0x610f08a0]
jmp 0x61090edb
mov ecx, dword [0x610f08a0]
test ecx, ecx
jne 0x6109101a
cmp byte [ebp - 0x369], 0
jne 0x61090ffd
mov dword [esp], esi
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
test eax, eax
je 0x61090f4a
mov eax, dword [0x610f08a0]
test eax, eax
je 0x61090edb
mov dword [esp + 0xc], 0x61090bb0
jmp 0x61090eea
call sub.KERNEL32.dll_GetLastError
mov dword [esp], esi
mov ebx, eax
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], eax
call sub.KERNEL32.dll_SetFileAttributesA
mov eax, dword [0x61148914]
sub esp, 8
movzx eax, byte [eax + 0xc]
shr al, 2
and eax, 1
test al, al
je 0x61090f7e
cmp ebx, 5
je 0x61090fed
cmp ebx, 0x20
jne 0x61090fd4
mov edx, dword [0x610f08a0]
test edx, edx
jne 0x61090fa6
mov dword [esp + 4], esi
mov eax, dword [0x610ef814]
add eax, 8
mov dword [esp], eax
call fcn.61006b60
jmp 0x61090f06
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x61090be2
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090f8d
mov edx, 0xf2
mov eax, 0x61090c10
mov ebx, 0xffffffff
call fcn.61022e70
jmp 0x61090d90
cmp byte [ebp - 0x150], 0
jne 0x61090f7e
mov ebx, 0x20
jmp 0x61090f7e
mov dword [esp], esi
mov eax, dword [ebp - 0x368]
and eax, 0xfffffffa
mov dword [esp + 4], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
jmp 0x61090f28
mov dword [esp + 0xc], 0x61090c50
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090f1b
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x61090c7e
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090ebb
mov dword [esp], esi
mov eax, dword [ebp - 0x368]
mov dword [esp + 4], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
jmp 0x61090ea2
mov dword [esp], esi
and eax, 0xfffffffa
mov dword [esp + 4], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
test eax, eax
setne byte [ebp - 0x369]
jmp 0x61090e25
mov ecx, dword [0x610f08a0]
test ecx, ecx
je 0x61090d82
mov dword [esp + 0xc], 0x61090c94
jmp 0x61090dd9
mov eax, dword [0x610f08a0]
test eax, eax
jne 0x610910e9
call sym.cygwin1.dll___errno
mov dword [eax], 2
jmp 0x61090d90
mov dword [esp + 0xc], 0x61090cab
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610910d9
mov dword [esp + 0xc], 0x61090cc8
lea eax, [ebp - 0x11c]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x61090b2a
mov dword [esp + 4], 0x10
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x61090d4f
call sym.cygwin1.dll___errno
mov dword [eax], 0x1e
jmp 0x61090d90
call sym.cygwin1.dll___errno
mov edx, dword [ebp - 0x140]
mov dword [eax], edx
jmp 0x61090d90