Function at 0x1004063ed
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov r13, rcx
mov r12, rdx
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov r8d, 0x88c
lea rdx, global___FUNCTION__.61
lea rcx, str.src.it_iroffer_admin.c
call dbg.updatecontext_f
mov eax, 0
mov rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea rax, [rcx - 1]
mov qword [rsp + 0x38], rax
mov rcx, r12
call sym.opendir
mov rbx, rax
lea rbp, [0x10044af51]
lea r14, [0x10044af53]
lea r15, [rsp + 0xc0]
test rax, rax
jne 0x1004064e6
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, r12
lea rdx, [0x10044af28]
mov rcx, r13
call dbg.a_respond
jmp 0x100406716
lea rdx, [rax + 0x18]
mov ecx, 2
mov rsi, rdx
mov rdi, rbp
repe cmpsb byte [rsi], byte [rdi]
seta cl
setb al
cmp cl, al
je 0x1004064e6
mov ecx, 3
mov rsi, rdx
mov rdi, r14
repe cmpsb byte [rsi], byte [rdi]
seta cl
setb al
cmp cl, al
je 0x1004064e6
mov rcx, r15
call dbg.irlist_add_string
mov rcx, rbx
call sym.readdir
test rax, rax
jne 0x1004064ac
mov rcx, rbx
call sym.closedir
lea rbx, [rsp + 0xc0]
lea rdx, [dbg.irlist_sort_cmpfunc_string]
mov rcx, rbx
call dbg.irlist_sort2
mov rcx, rbx
call dbg.irlist_size
test eax, eax
jne 0x100406532
lea rdx, str.La_directory_upload__vuota
mov rcx, r13
call dbg.a_respond
jmp 0x10040670a
mov r8, r12
lea rdx, str.In_ascolto__s:
mov rcx, r13
call dbg.a_respond
lea rcx, [rsp + 0xc0]
call dbg.irlist_get_head
mov rbx, rax
test rax, rax
je 0x10040670a
movsxd rbp, dword [rsp + 0x38]
add rbp, 2
lea r15, [rsp + 0x40]
lea r14, [rsp + 0xc0]
mov eax, 0
mov rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + rbp - 1]
mov dword [rsp + 0x20], 0x8b2
lea r9, str.src.it_iroffer_admin.c
lea r8, global___FUNCTION__.61
mov edx, 0
mov rcx, rdi
call dbg.mymalloc2
mov rsi, rax
mov qword [rsp + 0x20], rbx
mov r9, r12
lea r8, [0x10044af84]
mov rdx, rdi
mov rcx, rax
call sym.snprintf
mov rdx, r15
mov rcx, rsi
call sym.lstat
test eax, eax
jns 0x100406601
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rsi
lea rdx, [0x10044af90]
mov rcx, r13
call dbg.a_respond
jmp 0x1004066eb
mov edx, dword [rsp + 0x50]
mov eax, edx
and eax, 0xf000
cmp eax, 0x8000
jne 0x100406647
mov rdx, qword [rsp + 0x68]
mov ecx, 1
call dbg.sizestr
mov rdi, rax
mov r9, rbx
mov r8, rax
lea rdx, str._9s___s
mov rcx, r13
call dbg.a_respond
mov rcx, rdi
call dbg.mydelete2
jmp 0x1004066eb
mov ecx, edx
and ecx, 0xb000
cmp ecx, 0x2000
sete cl
and edx, 0x7000
cmp edx, 0x4000
sete dl
or edx, ecx
cmp eax, 0x1000
sete cl
or dl, cl
jne 0x10040667c
cmp eax, 0xa000
jne 0x1004066eb
lea r8, str.DIR
cmp eax, 0x4000
je 0x1004066d9
lea r8, str.CHAR
cmp eax, 0x2000
je 0x1004066d9
lea r8, str.BLOCK
cmp eax, 0x6000
je 0x1004066d9
lea r8, str.FIFO
cmp eax, 0x1000
je 0x1004066d9
lea r8, str.SYMLINK
cmp eax, 0xa000
je 0x1004066d9
cmp eax, 0xc000
lea r8, [0x10044af1b]
lea rax, str.SOCKET
cmove r8, rax
mov r9, rbx
lea rdx, str._9s___s
mov rcx, r13
call dbg.a_respond
mov rcx, rsi
call dbg.mydelete2
mov rdx, rbx
mov rcx, r14
call dbg.irlist_delete
mov rbx, rax
test rax, rax
jne 0x100406573
mov rdx, r12
mov rcx, r13
call dbg.u_diskinfo
nop
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret