Function at 0x100419602
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
mov rbx, rcx
mov rbp, rdx
mov r12, r8
mov dword [rsp + 0x278], r9d
mov r15, qword [rsp + 0x280]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov r8d, 0x9b0
lea rdx, global___FUNCTION__.62
lea rcx, [0x100452800]
call dbg.updatecontext_f
test r12, r12
jne 0x100419677
mov rcx, rbp
call sym.opendir
mov r12, rax
test rax, rax
je 0x100419692
mov rax, qword [0x1004632d0]
lea r13, [rax + 0x73a0]
add rax, 0x7490
mov qword [rsp + 0x38], rax
jmp 0x1004196b8
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rbp
lea rdx, [0x100452c18]
mov rcx, rbx
call dbg.a_respond
jmp 0x100419e32
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf0]
mov r8, r12
mov rdx, rbp
mov rcx, rbx
call dbg.a_readdir_sub
test eax, eax
jne 0x100419beb
mov rdx, qword [rsp + 0xe8]
test rdx, rdx
je 0x100419beb
add rdx, 0x18
mov rcx, r13
call dbg.verifyshell
test eax, eax
je 0x100419731
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0x15
jbe 0x1004196b8
mov r8, qword [rsp + 0xe8]
add r8, 0x18
lea rdx, str.__Ignoro_il_file_indicato_in_adddir_exclude:__s
mov rcx, rbx
call dbg.a_respond
jmp 0x1004196b8
mov rax, qword [rsp + 0xe8]
lea rdx, [rax + 0x18]
mov dword [rsp + 0x28], 0x9cb
lea rax, [0x100452800]
mov qword [rsp + 0x20], rax
lea r9, global___FUNCTION__.62
mov r8d, 0x2f
mov rcx, rbp
call dbg.mystrjoin2
mov r14, rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call sym.stat
test eax, eax
jns 0x1004197a8
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, r14
lea rdx, [0x100452c48]
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov eax, dword [rsp + 0x70]
and eax, 0xf000
cmp eax, 0x4000
jne 0x1004198ea
mov rax, qword [rsp + 0xe8]
lea rcx, [rax + 0x18]
call dbg.is_system_dir
test eax, eax
je 0x1004197de
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x79e8], 0
jne 0x100419812
cmp dword [rax + 0x78b8], 0x14
jbe 0x1004198dd
mov r8, r14
lea rdx, str.__Sto_ignorando_la_directory:__s
mov rcx, rbx
call dbg.a_respond
jmp 0x1004198dd
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x7a64], 0
jne 0x100419852
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, dword [rsp + 0x278]
mov r8d, 0
mov rdx, r14
mov rcx, rbx
call dbg.a_adddir_sub
jmp 0x1004198dd
test r15, r15
je 0x1004198ab
lea rdx, [0x100453269]
mov rcx, rbx
call dbg.irlist_add_delayed
mov rsi, rax
mov r9d, 0x9e1
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.62
mov rcx, r15
call dbg.mystrdup2
mov qword [rsi + 0x20], rax
mov r9d, 0x9e2
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.62
mov rcx, r14
call dbg.mystrdup2
mov qword [rsi + 0x28], rax
jmp 0x1004198dd
lea rdx, [0x100453272]
mov rcx, rbx
call dbg.irlist_add_delayed
mov rsi, rax
mov r9d, 0x9e5
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.62
mov rcx, r14
call dbg.mystrdup2
mov qword [rsi + 0x20], rax
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
cmp eax, 0x8000
je 0x1004198fe
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
cmp qword [rsp + 0x288], 0
je 0x100419939
mov rax, qword [rsp + 0xe8]
lea rdx, [rax + 0x18]
mov r8d, 0x10
mov rcx, qword [rsp + 0x288]
call sym.fnmatch
test eax, eax
je 0x100419939
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rax, qword [rsp + 0xe8]
lea rdx, [rax + 0x18]
mov rax, qword [0x1004632d0]
lea rcx, [rax + 0x73b8]
call dbg.no_verifyshell
test eax, eax
je 0x100419994
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0x16
jbe 0x100419987
mov r8, qword [rsp + 0xe8]
add r8, 0x18
lea rdx, str.__Ignoro_il_file_indicato_in_adddir_match:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rax, qword [rsp + 0xe8]
lea rsi, [rax + 0x18]
mov edx, 0x2f
mov rcx, rsi
call sym.strchr
test rax, rax
jne 0x1004199c4
mov edx, 0x5c
mov rcx, rsi
call sym.strchr
test rax, rax
je 0x1004199e3
mov r8, r14
lea rdx, str.__Ignoro_il_nome_file_errato:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rcx, rsi
call dbg.file_uploading
test eax, eax
je 0x100419a0e
mov r8, r14
lea rdx, str.__Ignoro_il_file_in_upload:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rcx, r14
call dbg.file_uploading
test eax, eax
je 0x100419a39
mov r8, r14
lea rdx, str.__Ignoro_il_file_in_upload:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rax, qword [0x1004632d0]
mov eax, dword [rax + 0x7904]
test eax, eax
je 0x100419aaf
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [0x1004632d0]
mov rdx, qword [rdx + 0xa9d0]
cmp rcx, rdx
jle 0x100419a84
mov r8, r14
lea rdx, str.__Ignoro_la_data_futura_del_file:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov eax, eax
add rax, rcx
mov edx, edx
cmp rax, rdx
jle 0x100419aaf
mov r8, r14
lea rdx, str.__Ignoro_il_file_attivo:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
cmp dword [rsp + 0x278], 0
je 0x100419de0
mov rcx, qword [0x1004632d0]
add rcx, 0xb580
call dbg.irlist_get_head
test rax, rax
je 0x100419de0
mov edi, dword [rsp + 0x60]
cmp dword [rax + 0x60], edi
jne 0x100419b33
mov rdi, qword [rsp + 0x68]
cmp qword [rax + 0x68], rdi
jne 0x100419b33
mov r9, r14
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rbx
call dbg.check_for_renamed_file
test eax, eax
jne 0x100419dc4
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0x17
jbe 0x100419dca
mov r8, r14
lea rdx, str.__Ignoro_il_file_aggiunto:__s
mov rcx, rbx
call dbg.a_respond
jmp 0x100419dca
mov rcx, rax
call dbg.irlist_get_next
test rax, rax
jne 0x100419ad9
jmp 0x100419de0
mov rsi, qword [rax + 0x18]
mov ecx, 4
lea rdi, [0x100453357]
repe cmpsb byte [rsi], byte [rdi]
seta cl
setb dl
cmp cl, dl
jne 0x100419ba0
mov rdx, qword [rax + 0x28]
mov edi, dword [rsp + 0x60]
cmp dword [rdx], edi
jne 0x100419ba0
mov rdi, qword [rsp + 0x68]
cmp qword [rdx + 8], rdi
jne 0x100419ba0
mov r8, r14
lea rdx, str.__Ignoro_il_file_in_coda:__s
mov rcx, rbx
call dbg.a_respond
mov rax, qword [0x1004632d0]
mov eax, dword [rax + 0x7934]
test eax, eax
je 0x100419bde
jmp 0x100419e1d
mov rcx, rax
call dbg.irlist_get_next
test rax, rax
jne 0x100419b45
jmp 0x100419df3
mov r8, r14
lea rdx, str.__Sto_ignorando_il_file_molto_piccolo:__s
mov rcx, rbx
call dbg.a_respond
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
lea rcx, [rsp + 0x40]
mov rdx, r14
call dbg.irlist_add_string
mov rcx, r14
call dbg.mydelete2
jmp 0x1004196b8
mov rcx, r12
call sym.closedir
lea rcx, [rsp + 0x40]
call dbg.irlist_size
test eax, eax
je 0x100419e32
lea rsi, [rsp + 0x40]
lea rdx, [dbg.irlist_sort_cmpfunc_string]
mov rcx, rsi
call dbg.irlist_sort2
mov rcx, rsi
call dbg.irlist_size
mov r8d, eax
mov r9, rbp
lea rdx, str.Sto_aggiungendo__u_files_dalla_directory__s
mov rcx, rbx
call dbg.a_respond
mov rcx, rsi
call dbg.irlist_get_head
mov rbp, rax
test rax, rax
je 0x100419e32
lea rsi, [0x100453357]
lea r14, [rsp + 0x60]
lea r13, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call dbg.irlist_add_delayed
mov r12, rax
mov r9d, 0xa57
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.62
mov rcx, rbp
call dbg.mystrdup2
mov qword [r12 + 0x20], rax
mov rdx, r14
mov rcx, rbp
call sym.stat
test eax, eax
jne 0x100419d7a
mov dword [rsp + 0x20], 0xa5a
lea r9, [0x100452800]
lea r8, global___FUNCTION__.62
mov edx, 1
mov ecx, pe_nt_image_headers64
call dbg.mymalloc2
mov qword [r12 + 0x28], rax
mov rdx, qword [rsp + 0x60]
mov qword [rax], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rax + 0x10], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rax + 0x20], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rax + 0x28], rdx
mov rdx, qword [rsp + 0x90]
mov qword [rax + 0x30], rdx
mov rdx, qword [rsp + 0x98]
mov qword [rax + 0x38], rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rax + 0x40], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rax + 0x48], rdx
mov rdx, qword [rsp + 0xb0]
mov qword [rax + 0x50], rdx
mov rdx, qword [rsp + 0xb8]
mov qword [rax + 0x58], rdx
mov rdx, qword [rsp + 0xc0]
mov qword [rax + 0x60], rdx
mov rdx, qword [rsp + 0xc8]
mov qword [rax + 0x68], rdx
mov rdx, qword [rsp + 0xd0]
mov qword [rax + 0x70], rdx
mov rdx, qword [rsp + 0xd8]
mov qword [rax + 0x78], rdx
test r15, r15
je 0x100419da2
mov r9d, 0xa5f
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.62
mov rcx, r15
call dbg.mystrdup2
mov qword [r12 + 0x30], rax
jmp 0x100419dab
mov qword [r12 + 0x30], 0
mov rdx, rbp
mov rcx, r13
call dbg.irlist_delete
mov rbp, rax
test rax, rax
jne 0x100419c5b
jmp 0x100419e32
mov r14d, 0
mov rax, qword [0x1004632d0]
mov eax, dword [rax + 0x7934]
test eax, eax
jne 0x100419e1d
jmp 0x100419bde
mov rcx, qword [rsp + 0x38]
call dbg.irlist_get_head
test rax, rax
jne 0x100419b45
mov rax, qword [0x1004632d0]
mov eax, dword [rax + 0x7934]
test eax, eax
je 0x100419bd1
mov eax, eax
cmp qword [rsp + 0x88], rax
jl 0x100419bb2
jmp 0x100419bd1
mov eax, eax
cmp rax, qword [rsp + 0x88]
jle 0x100419bde
jmp 0x100419bb2
add rsp, 0x218
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret