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

Disassembly:
sub esp, 0x1ac
cmp byte [0x611463c4], 0
mov dword [esp + 0x1a0], esi
mov esi, 0xffffffff
mov dword [esp + 0x1a4], edi
lea edi, [esp + 0x30]
mov dword [esp + 0x1a8], ebp
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x19c], ebx
je 0x6109eb01
mov dword [esp], 0x611463c8
mov ecx, 0x22
mov edx, ebp
mov eax, edi
call method.path_conv.check_char_const__unsigned_int__suffix_info_const_
mov ebx, dword [esp + 0x58]
test ebx, ebx
jne 0x6109eb22
mov eax, dword [esp + 0x60]
cmp eax, 0xfa
je 0x6109eaa3
cmp eax, 0xf9
sete dl
cmp eax, 0xf8
sete al
or dl, al
je 0x6109eb40
test byte [0x6110a820], 1
jne 0x6109ec10
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 0x1e
mov dword [eax], 0x1e
test byte [0x6110a820], 1
jne 0x6109ebc6
mov dword [esp], edi
call sym.path_conv::path_conv__
mov eax, esi
mov ebx, dword [esp + 0x19c]
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x1a8]
add esp, 0x1ac
ret
mov dword [esp], 0
mov ecx, 0x22
mov edx, ebp
mov eax, edi
call method.path_conv.check_char_const__unsigned_int__suffix_info_const_
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x6109ea80
test byte [0x6110a820], 1
jne 0x6109ec57
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], ebx
mov dword [eax], ebx
jmp 0x6109eac7
test byte [0x6110a820], 1
jne 0x6109ecee
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x6109ecbe
xor edx, edx
test al, 0x10
jne 0x6109ec00
test edx, edx
jne 0x6109ed73
test al, 5
jne 0x6109ee16
mov byte [esp + 0x2f], 0
test byte [esp + 0x48], 1
jne 0x6109eb8f
mov eax, dword [0x611630ec]
test byte [eax + 0x10], 8
jne 0x6109ee68
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
test eax, eax
je 0x6109ed25
movzx eax, byte [0x6110a820]
test al, 1
jne 0x6109edae
xor esi, esi
test al, 1
lea esi, [esi]
je 0x6109ead4
mov dword [esp + 0x14], ebp
mov ebx, str.int_unlink_const_char_
mov ebp, str._d__unlink___s_
mov dword [esp + 0x10], esi
mov ecx, 0x10
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109ead4
mov edx, 1
jmp 0x6109eb64
mov dword [esp], 0x6110a820
mov eax, 0x1e
mov ebx, str.int_unlink_const_char_
mov dword [esp + 0x18], eax
mov eax, 0x9e
mov ecx, 0x6112f927
mov dword [esp + 0x14], eax
mov edx, 0x6112f900
mov eax, 0x40
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109eab0
mov dword [esp + 0x18], ebx
mov eax, str.int_unlink_const_char_
mov edx, 0x97
mov dword [esp + 0x10], eax
mov eax, 0x6112f927
mov dword [esp + 0xc], eax
mov eax, 0x6112f900
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], ebx
mov dword [eax], ebx
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [0x6110a820]
test al, 1
jmp 0x6109ebc0
movzx eax, byte [0x6110a820]
test al, 1
jne 0x6109ef6c
test al, 1
jne 0x6109ef25
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 2
mov dword [eax], 2
jmp 0x6109ecb0
mov dword [esp], 0x6110a820
lea eax, [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, str._unlink___s_
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov eax, 0x10
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109eb4d
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
mov eax, dword [0x611630ec]
sub esp, 8
test byte [eax + 0x10], 4
jne 0x6109eda2
cmp ebx, 0x20
je 0x6109ee3b
mov edx, 0x10d
mov eax, str._ext_build_netrel_src_cygwin_1.5.24_2_winsup_cygwin_syscalls.cc
mov esi, 0xffffffff
call sym.__Z8seterrnoPKci_8
jmp 0x6109ecb0
movzx eax, byte [0x6110a820]
test al, 1
jne 0x6109ede3
test al, 1
jne 0x6109ef9f
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 1
mov dword [eax], 1
jmp 0x6109ecb0
cmp ebx, 5
jne 0x6109ed51
test byte [esp + 0x48], 1
jmp 0x6109ed54
mov ebx, str.DeleteFile_after_CreateFile_CloseHandle_succeeded
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6110a820
mov ecx, str.int_unlink_const_char_
mov edx, 0x10
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call method.strace.prntf_unsigned_int__char_const__char_const__..._
movzx eax, byte [0x6110a820]
xor esi, esi
jmp 0x6109ebba
mov dword [esp], 0x6110a820
mov eax, str.unlinking_a_directory
mov ebx, 0x10
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call method.strace.prntf_unsigned_int__char_const__char_const__..._
movzx eax, byte [0x6110a820]
jmp 0x6109ed7e
and eax, 0xfffffffa
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
test eax, eax
setne byte [esp + 0x2f]
jmp 0x6109eb79
test byte [0x6110a820], 1
jne 0x6109f020
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [0x61107518]
add eax, 8
mov dword [esp], eax
call method.delqueue_list.queue_file_char_const_
jmp 0x6109edd5
xor eax, eax
xor edx, edx
mov ebx, 0x61107420
mov dword [esp + 0x18], eax
mov eax, 0x4000000
mov ecx, 1
mov dword [esp + 0x14], eax
mov esi, 3
lea eax, [esp + 0x80]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
cmp eax, 0xffffffff
mov ebx, eax
je 0x6109eb8f
mov eax, dword [0x611630ec]
movsx eax, byte [eax + 0x12]
shr eax, 0x1f
test al, al
je 0x6109eed0
cmp byte [esp + 0x2f], 0
jne 0x6109f089
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
test byte [0x6110a820], 1
jne 0x6109f055
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
inc eax
je 0x6109ef08
test byte [esp + 0x48], 1
jne 0x6109efe6
movzx eax, byte [0x6110a820]
test al, 1
je 0x6109ebb8
mov eax, str.CreateFile__FILE_FLAG_DELETE_ON_CLOSE__succeeded
mov dword [esp + 0xc], eax
jmp 0x6109edb7
mov dword [esp], 0x6110a820
mov eax, str.int_unlink_const_char_
mov ecx, 2
mov dword [esp + 0x10], eax
mov eax, 0x6112f927
mov edx, 0xa7
mov dword [esp + 0xc], eax
mov eax, 0x6112f900
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109ecd5
mov dword [esp], 0x6110a820
mov eax, str.unlinking_a_nonexistent_file
mov ebx, 0x10
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call method.strace.prntf_unsigned_int__char_const__char_const__..._
movzx eax, byte [0x6110a820]
jmp 0x6109eccd
mov dword [esp], 0x6110a820
mov eax, str.int_unlink_const_char_
mov ecx, 1
mov dword [esp + 0x10], eax
mov eax, 0x6112f927
mov edx, 0xad
mov dword [esp + 0xc], eax
mov eax, 0x6112f900
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109ed86
test byte [0x6110a820], 1
jne 0x6109f0a8
cmp byte [esp + 0x2f], 0
je 0x6109eb8f
mov eax, dword [esp + 0x30]
and eax, 0xfffffffa
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
jmp 0x6109eb8f
mov dword [esp], 0x6110a820
mov eax, 0x20
mov dword [esp + 0x10], eax
mov eax, str.couldnt_delete_file__err__d
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov eax, 0x10
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109ee48
mov dword [esp + 0x10], eax
mov eax, str._d__CloseHandle___p_
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov eax, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 4], eax
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109eee8
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
jmp 0x6109eed0
mov dword [esp], 0x6110a820
mov eax, str.CreateFile__FILE_FLAG_DELETE_ON_CLOSE__failed
mov esi, 0x10
mov dword [esp + 0xc], eax
mov eax, str.int_unlink_const_char_
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109eff3