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

Disassembly:
sub esp, 0x1ac
cmp byte [0x61148214], 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 0x6109f0e1
mov dword [esp], 0x61148218
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 0x6109f102
mov eax, dword [esp + 0x60]
cmp eax, 0xfa
je 0x6109f083
cmp eax, 0xf9
sete dl
cmp eax, 0xf8
sete al
or dl, al
je 0x6109f120
test byte [0x6110c854], 1
jne 0x6109f1f0
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 0x1e
mov dword [eax], 0x1e
test byte [0x6110c854], 1
jne 0x6109f1a6
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 0x6109f060
test byte [0x6110c854], 1
jne 0x6109f237
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], ebx
mov dword [eax], ebx
jmp 0x6109f0a7
test byte [0x6110c854], 1
jne 0x6109f2ce
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x6109f29e
xor edx, edx
test al, 0x10
jne 0x6109f1e0
test edx, edx
jne 0x6109f353
test al, 5
jne 0x6109f3f6
mov byte [esp + 0x2f], 0
test byte [esp + 0x48], 1
jne 0x6109f16f
mov eax, dword [0x611650ec]
test byte [eax + 0x10], 8
jne 0x6109f448
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
test eax, eax
je 0x6109f305
movzx eax, byte [0x6110c854]
test al, 1
jne 0x6109f38e
xor esi, esi
test al, 1
lea esi, [esi]
je 0x6109f0b4
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], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109f0b4
mov edx, 1
jmp 0x6109f144
mov dword [esp], 0x6110c854
mov eax, 0x1e
mov ebx, str.int_unlink_const_char_
mov dword [esp + 0x18], eax
mov eax, 0x9e
mov ecx, 0x61131a27
mov dword [esp + 0x14], eax
mov edx, 0x61131a00
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 0x6109f090
mov dword [esp + 0x18], ebx
mov eax, str.int_unlink_const_char_
mov edx, 0x97
mov dword [esp + 0x10], eax
mov eax, 0x61131a27
mov dword [esp + 0xc], eax
mov eax, 0x61131a00
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov dword [esp], 0x6110c854
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 [0x6110c854]
test al, 1
jmp 0x6109f1a0
movzx eax, byte [0x6110c854]
test al, 1
jne 0x6109f54c
test al, 1
jne 0x6109f505
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 2
mov dword [eax], 2
jmp 0x6109f290
mov dword [esp], 0x6110c854
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 0x6109f12d
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 [0x611650ec]
sub esp, 8
test byte [eax + 0x10], 4
jne 0x6109f382
cmp ebx, 0x20
je 0x6109f41b
mov edx, 0x10d
mov eax, str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygwin_syscalls.cc
mov esi, 0xffffffff
call sym.__Z8seterrnoPKci_8
jmp 0x6109f290
movzx eax, byte [0x6110c854]
test al, 1
jne 0x6109f3c3
test al, 1
jne 0x6109f57f
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 1
mov dword [eax], 1
jmp 0x6109f290
cmp ebx, 5
jne 0x6109f331
test byte [esp + 0x48], 1
jmp 0x6109f334
mov ebx, str.DeleteFile_after_CreateFile_CloseHandle_succeeded
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6110c854
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 [0x6110c854]
xor esi, esi
jmp 0x6109f19a
mov dword [esp], 0x6110c854
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 [0x6110c854]
jmp 0x6109f35e
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 0x6109f159
test byte [0x6110c854], 1
jne 0x6109f600
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [0x61109534]
add eax, 8
mov dword [esp], eax
call method.delqueue_list.queue_file_char_const_
jmp 0x6109f3b5
xor eax, eax
xor edx, edx
mov ebx, 0x6110943c
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 0x6109f16f
mov eax, dword [0x611650ec]
movsx eax, byte [eax + 0x12]
shr eax, 0x1f
test al, al
je 0x6109f4b0
cmp byte [esp + 0x2f], 0
jne 0x6109f669
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
test byte [0x6110c854], 1
jne 0x6109f635
lea eax, [esp + 0x80]
mov dword [esp], eax
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
inc eax
je 0x6109f4e8
test byte [esp + 0x48], 1
jne 0x6109f5c6
movzx eax, byte [0x6110c854]
test al, 1
je 0x6109f198
mov eax, str.CreateFile__FILE_FLAG_DELETE_ON_CLOSE__succeeded
mov dword [esp + 0xc], eax
jmp 0x6109f397
mov dword [esp], 0x6110c854
mov eax, str.int_unlink_const_char_
mov ecx, 2
mov dword [esp + 0x10], eax
mov eax, 0x61131a27
mov edx, 0xa7
mov dword [esp + 0xc], eax
mov eax, 0x61131a00
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 0x6109f2b5
mov dword [esp], 0x6110c854
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 [0x6110c854]
jmp 0x6109f2ad
mov dword [esp], 0x6110c854
mov eax, str.int_unlink_const_char_
mov ecx, 1
mov dword [esp + 0x10], eax
mov eax, 0x61131a27
mov edx, 0xad
mov dword [esp + 0xc], eax
mov eax, 0x61131a00
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 0x6109f366
test byte [0x6110c854], 1
jne 0x6109f688
cmp byte [esp + 0x2f], 0
je 0x6109f16f
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 0x6109f16f
mov dword [esp], 0x6110c854
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 0x6109f428
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], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6109f4c8
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 0x6109f4b0
mov dword [esp], 0x6110c854
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 0x6109f5d3