joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100416009
Capabilities:
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
test edx, edx
jns 0x10041605a
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, qword [rsi]
lea rdx, str.Impossibile_accedere_al_File:__s:__s
mov rcx, rbp
call dbg.a_respond
mov rcx, qword [rsi]
call dbg.mydelete2
mov qword [rsi], 0
mov eax, 1
jmp 0x1004160e9
mov rdx, r9
mov ecx, ebx
call sym.fstat
test eax, eax
jns 0x1004160a6
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, qword [rsi]
lea rdx, str.Impossibile_accedere_ai_dettagli_del_File:__s:__s
mov rcx, rbp
call dbg.a_respond
mov ecx, ebx
call sym.close
mov rcx, qword [rsi]
call dbg.mydelete2
mov qword [rsi], 0
mov eax, 1
jmp 0x1004160e9
mov ecx, ebx
call sym.close
mov edx, dword [rdi + 0x10]
and edx, 0xf000
mov eax, 0
cmp edx, 0x8000
je 0x1004160e9
mov r8, qword [rsi]
lea rdx, str._s_non__un_file
mov rcx, rbp
call dbg.a_respond
mov rcx, qword [rsi]
call dbg.mydelete2
mov qword [rsi], 0
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x100419edd
Capabilities:
Move file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rsi, rcx
mov rdi, rdx
mov rbp, r8
mov rax, qword [rdx]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x38]
mov edx, 0x10000
mov rcx, rbx
call dbg.a_open_file
lea r9, [rsp + 0x40]
mov r8, rbx
mov edx, eax
mov rcx, rsi
call dbg.a_access_file
mov ebx, eax
test eax, eax
jne 0x100419fda
mov r9d, 0xf06
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.7
mov rcx, rbp
call dbg.mystrdup2
mov qword [rsp + 0x30], rax
mov rcx, rax
call dbg.convert_to_unix_slash
lea rcx, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call dbg.a_target_file
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call sym.rename
test eax, eax
jns 0x100419fad
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [0x100453428]
mov rcx, rsi
call dbg.a_respond
mov rcx, qword [rsp + 0x30]
call dbg.mydelete2
mov ebx, 1
jmp 0x100419fdf
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [0x100453458]
mov rcx, rsi
call dbg.a_respond
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x38]
call dbg.mydelete2
jmp 0x100419fdf
mov ebx, 1
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x10041a98f
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rsi, rcx
mov r8d, 0xae7
lea rdx, str.a_newgroup
lea rcx, [0x100452800]
call dbg.updatecontext_f
mov rdx, qword [rsi + 0x20]
mov rcx, rsi
call dbg.invalid_group
test eax, eax
jne 0x10041abfd
mov rdx, qword [rsi + 0x28]
mov rcx, rsi
call dbg.invalid_dir
test eax, eax
jne 0x10041abfd
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x79ac], 0
je 0x10041a9ff
mov rcx, qword [rsi + 0x20]
call dbg.caps
mov rcx, qword [rsi + 0x28]
mov r9d, 0xaf2
lea r8, [0x100452800]
lea rdx, str.a_newgroup
call dbg.mystrdup2
mov r13, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov r8d, 0xaaa
lea rdx, global___FUNCTION__.38
lea rcx, [0x100452800]
call dbg.updatecontext_f
mov rcx, r13
call sym.opendir
mov rdi, rax
mov dword [rsp + 0x3c], 0
test rax, rax
jne 0x10041abaa
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, r13
lea rdx, [0x100452c18]
mov rcx, rsi
call dbg.a_respond
jmp 0x10041abf4
lea rbx, [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call dbg.verifyshell
test eax, eax
jne 0x10041abcf
mov dword [rsp + 0x28], 0xaba
mov qword [rsp + 0x20], r15
lea r9, global___FUNCTION__.38
mov r8d, 0x2f
mov rdx, rbx
mov rcx, r13
call dbg.mystrjoin2
mov r12, rax
mov rdx, r14
mov rcx, rax
call sym.stat
test eax, eax
jns 0x10041aaff
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, r12
lea rdx, [0x100452c48]
mov rcx, rsi
call dbg.a_respond
mov rcx, r12
call dbg.mydelete2
jmp 0x10041abcf
mov eax, dword [rsp + 0x60]
and eax, 0xf000
cmp eax, 0x4000
jne 0x10041ab47
mov rcx, rbx
call dbg.is_system_dir
test eax, eax
je 0x10041ab28
mov rcx, r12
call dbg.mydelete2
jmp 0x10041abcf
mov r8, r12
lea rdx, str.__Sto_ignorando_la_directory:__s
mov rcx, rsi
call dbg.a_respond
mov rcx, r12
call dbg.mydelete2
jmp 0x10041abcf
cmp eax, 0x8000
jne 0x10041aba0
mov rcx, qword [rsp + 0x40]
call dbg.irlist_get_head
test rax, rax
je 0x10041aba0
mov ebx, 0
add ebx, 1
mov edx, dword [rsp + 0x50]
cmp dword [rax + 0x60], edx
jne 0x10041ab93
mov rdx, qword [rsp + 0x58]
cmp qword [rax + 0x68], rdx
jne 0x10041ab93
add dword [rsp + 0x3c], 1
mov r9, qword [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call dbg.a_set_group
jmp 0x10041aba0
mov rcx, rax
call dbg.irlist_get_next
test rax, rax
jne 0x10041ab62
mov rcx, r12
call dbg.mydelete2
jmp 0x10041abcf
mov rax, qword [0x1004632d0]
lea rbp, [rax + 0x73a0]
lea r15, [0x100452800]
lea r14, [rsp + 0x50]
add rax, 0xb580
mov qword [rsp + 0x40], rax
mov rcx, rdi
call sym.readdir
test rax, rax
jne 0x10041aa83
mov rcx, rdi
call sym.closedir
cmp dword [rsp + 0x3c], 0
je 0x10041abf4
call dbg.write_files
mov rcx, r13
call dbg.mydelete2
nop
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x10041c92e
Capabilities:
Move file

Disassembly:
push rsi
push rbx
sub rsp, 0xc8
mov rbx, rcx
mov r8d, 0xedb
lea rdx, global___FUNCTION__.121
lea rcx, [0x100452800]
call dbg.updatecontext_f
mov rcx, rbx
call dbg.disabled_config
test eax, eax
jne 0x10041ca8f
mov rdx, qword [rbx + 0x20]
mov rcx, rbx
call dbg.invalid_file
test eax, eax
jne 0x10041ca8f
mov r8, qword [rbx + 0x28]
lea rdx, str.Prova_specificando_un_nuovo_nome_file
mov rcx, rbx
call dbg.invalid_text
test eax, eax
jne 0x10041ca8f
mov rcx, qword [rbx + 0x20]
mov r9d, 0xee6
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.121
call dbg.mystrdup2
mov qword [rsp + 0x38], rax
lea rsi, [rsp + 0x38]
mov edx, 0x10000
mov rcx, rsi
call dbg.a_open_file
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, eax
mov rcx, rbx
call dbg.a_access_file
test eax, eax
jne 0x10041ca8f
mov rcx, qword [rbx + 0x28]
mov r9d, 0xeec
lea r8, [0x100452800]
lea rdx, global___FUNCTION__.121
call dbg.mystrdup2
mov qword [rsp + 0x30], rax
mov rcx, rax
call dbg.convert_to_unix_slash
lea rcx, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call dbg.a_target_file
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call sym.rename
test eax, eax
jns 0x10041ca58
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [0x100453428]
mov rcx, rbx
call dbg.a_respond
jmp 0x10041ca71
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [0x100453458]
mov rcx, rbx
call dbg.a_respond
mov rcx, qword [rsp + 0x38]
call dbg.mydelete2
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
call dbg.mydelete2
nop
add rsp, 0xc8
pop rbx
pop rsi
ret

Function at 0x10041cf27
Capabilities:
Create directory

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov r8d, 0xfaf
lea rdx, global___FUNCTION__.72
lea rcx, [0x100452800]
call dbg.updatecontext_f
mov rcx, rbx
call dbg.disabled_config
test eax, eax
jne 0x10041d00b
mov rcx, rbx
call dbg.a_valid_uploaddir
mov rsi, rax
test rax, rax
je 0x10041d00b
mov rdx, qword [rbx + 0x20]
mov rcx, rbx
call dbg.invalid_dir
test eax, eax
jne 0x10041d00b
mov rcx, qword [rbx + 0x20]
call dbg.strip_trailing_path
mov rdx, qword [rbx + 0x20]
mov dword [rsp + 0x28], 0xfbc
lea rax, [0x100452800]
mov qword [rsp + 0x20], rax
lea r9, global___FUNCTION__.72
mov r8d, 0x2f
mov rcx, rsi
call dbg.mystrjoin2
mov rsi, rax
mov edx, 0x1ed
mov rcx, rax
call sym.mkdir
test eax, eax
jns 0x10041cfef
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, qword [rbx + 0x20]
lea rdx, str.La_directory__s_non_pu_essere_creata:__s
mov rcx, rbx
call dbg.a_respond
jmp 0x10041d002
mov r8, qword [rbx + 0x20]
lea rdx, str.La_directory__s__stata_creata.
mov rcx, rbx
call dbg.a_respond
mov rcx, rsi
call dbg.mydelete2
nop
add rsp, 0x38
pop rbx
pop rsi
ret
Function at 0x10041f960
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rdx, qword [0x10046b0c0]
lea rcx, str._nIroffer_CWLabs_ITA_by_CreeW_2010_3.30__Win32__2.4.1__vedi_creew_walla.com_n_nUso:__s___vc____bdkn____u_user____t_dir____w_dir__configfile___configfile_...___n_________v________Mostra_la_versione_ed_esce._n_________c________Genera_una_password_criptata_ed_esce._n_________d________Incrementa_il_livello_di_debug_n_________b________Si_avvia_in_modalit_nascosta_n_________k________Prova_a_impostare_i_permessi_necessari_ad_eseguire_il_file_n_________n________Nessun_colore_in_modalit_primo_piano_n_________u_user___Avvia_come_utente__va_eseguito_da_root_._n_________t_dir____Chroot_per_la_dir__va_eseguito_da_root_._n_________w_dir____Cambio_la_cartella_come_cartella_attiva._n_________i_file___Importa_il_file_mybot.xdcc._n_n
call sym.printf
mov ecx, 0x40
call sym.exit
nop
Function at 0x10042122d
Capabilities:
Get file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov rbx, rcx
mov rsi, rdx
mov r8d, 0x1ff
lea rdx, str.init_xdcc_file
lea rcx, str.src.it_dinoex_misc.c
call dbg.updatecontext_f
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
call dbg.mydelete2
mov qword [rbx + 8], 0
mov rcx, qword [rbx]
call dbg.getfilename
mov r9d, 0x203
lea r8, str.src.it_dinoex_misc.c
lea rdx, str.init_xdcc_file
mov rcx, rax
call dbg.mystrdup2
mov qword [rbx + 8], rax
mov rax, qword [0x1004632d0]
movss xmm0, dword [rax + 0x7888]
movss dword [rbx + 0x50], xmm0
movss xmm0, dword [rax + 0x788c]
movss dword [rbx + 0x54], xmm0
mov edx, 0x10000
mov rcx, qword [rbx]
call sym.open
mov esi, eax
mov eax, 1
test esi, esi
js 0x100421316
lea rdx, [rsp + 0x20]
mov ecx, esi
call sym.fstat
test eax, eax
jns 0x1004212e8
mov ecx, esi
call sym.close
mov eax, 1
jmp 0x100421316
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x58], rax
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x60], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x70], rax
mov ecx, esi
call sym.close
mov eax, 0
add rsp, 0xa8
pop rbx
pop rsi
ret

Function at 0x1004220ed
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov r8d, 0x456
lea rdx, str.auto_rehash
lea rcx, str.src.it_dinoex_misc.c
call dbg.updatecontext_f
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x7a28], 0
jne 0x100422208
mov rcx, qword [rax + 0x76a8]
test rcx, rcx
je 0x100422208
mov rdi, rax
lea rbx, [rax + 0x76a8]
add rdi, 0x76f0
lea rbp, [rsp + 0x20]
lea r13, [0x100455001]
mov r12, rax
mov edx, 0x10000
call sym.open
mov esi, eax
test eax, eax
jns 0x10042218e
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, qword [rbx]
lea rdx, [0x100454fa0]
mov ecx, 1
call dbg.outerror
jmp 0x1004221f3
mov rdx, rbp
mov ecx, eax
call sym.fstat
test eax, eax
jns 0x1004221c8
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, qword [rbx]
lea rdx, [0x100454fd0]
mov ecx, 1
call dbg.outerror
mov ecx, esi
call sym.close
jmp 0x1004221f3
mov ecx, esi
call sym.close
mov rax, qword [rsp + 0x60]
cmp qword [rbx - 0x50], rax
je 0x1004221f3
mov r8, qword [rbx]
mov rdx, r13
mov ecx, 1
call dbg.outerror
add dword [r12 + 0xb7e0], 1
cmp rbx, rdi
je 0x100422208
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x100422159
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x100422fd6
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rbp, rdx
mov r8d, 0x2ee
lea rdx, str.h_error
lea rcx, str.src.it_dinoex_http.c
call dbg.updatecontext_f
mov qword [rbx + 0x98], 0
mov rcx, qword [0x1004632d0]
add rcx, 0xa9d0
call sym.gmtime
mov r12, rax
mov dword [rsp + 0x20], 0x2ae
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_write_header
mov edx, 0
mov ecx, 0x200
call dbg.mymalloc2
mov rsi, rax
mov dword [rsp + 0x20], 0x2af
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_write_header
mov edx, 0
mov ecx, 0x3c
call dbg.mymalloc2
mov rdi, rax
mov r9, r12
lea r8, str._a___d__b__Y__T_GMT
mov edx, 0x3b
mov rcx, rax
call sym.strftime
mov r9, rdi
mov r8, rbp
mov edx, 0x200
mov rcx, rsi
call dbg.add_snprintf
mov rbp, rax
mov rcx, rdi
call dbg.mydelete2
mov ecx, dword [rbx + 8]
mov r9d, 0x20
mov r8, rbp
mov rdx, rsi
call sym.send
mov rcx, rsi
call dbg.mydelete2
mov rcx, rbx
call dbg.h_start_sending
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1004235bb
Capabilities:
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rbx, rcx
mov rsi, rdx
mov r8d, 0x356
lea rdx, str.h_readfile
lea rcx, str.src.it_dinoex_http.c
call dbg.updatecontext_f
test rsi, rsi
jne 0x1004235f7
mov rcx, rbx
call dbg.h_herror_404
jmp 0x100423820
mov r9d, 0x35d
lea r8, str.src.it_dinoex_http.c
lea rdx, str.h_readfile
mov rcx, rsi
call dbg.mystrdup2
mov qword [rbx + 0xb0], rax
mov edx, 0x2e
mov rcx, rax
call sym.strrchr
test rax, rax
je 0x100423741
lea rdx, [0x1004556d6]
mov rcx, rax
call sym.strcasecmp
test eax, eax
jne 0x100423741
mov rdi, qword [rbx + 0xd0]
mov edx, 0x3f
mov rcx, rdi
call sym.strchr
lea rdx, [rax + 1]
test rax, rax
cmovne rdi, rdx
mov r8d, 1
lea rdx, [0x1004556da]
lea rcx, str.REQUEST_METHOD
call sym.setenv
mov r8d, 1
mov rdx, rdi
lea rcx, str.QUERY_STRING
call sym.setenv
mov rcx, qword [rbx + 0xb0]
mov r9d, 0x2cf
lea r8, str.src.it_dinoex_http.c
lea rdx, str.h_runruby
call dbg.mystrdup2
mov rdi, rax
mov edx, 0x2e
mov rcx, rax
call sym.strrchr
test rax, rax
je 0x100423741
mov byte [rax], 0
mov edx, 0x2e
mov rcx, rdi
call sym.strrchr
test rax, rax
jne 0x100423711
mov dword [rsp + 0x20], 0x2da
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_runruby
lea rdx, str..html
mov rcx, rdi
call dbg.mystrsuffix2
mov rbp, rax
mov rcx, rdi
call dbg.mydelete2
mov rdi, rbp
mov rcx, qword [rbx + 0xb0]
mov rdx, rdi
call dbg.http_ruby_script
mov ebp, eax
mov rcx, qword [rbx + 0xb0]
call dbg.mydelete2
mov qword [rbx + 0xb0], rdi
test ebp, ebp
je 0x100423741
mov rcx, rbx
call dbg.h_herror_404
mov rcx, qword [rbx + 0xb0]
mov edx, 0x10000
call sym.open
mov dword [rbx + 0x140], eax
test eax, eax
jns 0x100423792
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0x28
jbe 0x100423785
mov r9, rsi
lea r8, str.File_non_trovato:__s
mov edx, 0x23
mov ecx, 9
call dbg.ioutput
mov rcx, rbx
call dbg.h_herror_404
jmp 0x100423820
lea rdx, [rsp + 0x30]
mov ecx, eax
call sym.fstat
test eax, eax
jns 0x1004237da
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rsi
lea rdx, [0x100455718]
mov ecx, 2
call dbg.outerror
mov ecx, dword [rbx + 0x140]
call sym.close
mov rcx, rbx
call dbg.h_herror_404
jmp 0x100423820
mov qword [rbx + 0x90], 0
mov qword [rbx + 0x80], 0
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x98], rax
mov rdx, qword [rbx + 0xb0]
lea r8, [rsp + 0x70]
mov rcx, rbx
call dbg.h_write_status
mov rcx, rbx
call dbg.h_start_sending
nop
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1004239b1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r8d, 0x77a
lea rdx, str.h_read_http
lea rcx, str.src.it_dinoex_http.c
call dbg.updatecontext_f
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x78], 0
mov rax, qword [0x1004632d0]
mov rax, qword [rax + 0xb718]
mov byte [rax], 0
cmp qword [rbx + 0x70], 0x111a
jg 0x100423af3
mov esi, 0x1e
mov edi, 0x111c
mov r12, qword [0x1004632d0]
mov rbp, r12
mov r13, r12
jmp 0x100423a2f
cmp qword [rbx + 0x70], 0x111a
jg 0x100423af3
mov ecx, dword [rbx + 8]
call dbg.is_fd_readable
test eax, eax
je 0x100423aea
mov rdx, qword [rbx + 0x70]
add rdx, qword [r12 + 0xb718]
mov ecx, dword [rbx + 8]
mov r9d, 0x10
movsxd r8, edi
call sym.recv
test eax, eax
jns 0x100423a81
call sym.__errno
mov r8d, dword [rax]
lea rdx, [0x100455801]
mov rcx, rbx
call dbg.h_closeconn
mov eax, 0
jmp 0x100423b01
test eax, eax
jg 0x100423aa1
mov r8d, 0
lea rdx, [0x100455801]
mov rcx, rbx
call dbg.h_closeconn
mov eax, 0
jmp 0x100423b01
mov rdx, qword [rbp + 0xa9d0]
mov qword [rbx + 0x20], rdx
movsxd rdx, eax
add rdx, qword [rbx + 0x70]
mov qword [rbx + 0x70], rdx
sub edi, eax
mov rax, qword [rbp + 0xb718]
mov byte [rax + rdx], 0
cmp dword [rbp + 0x78b8], 0x2f
jbe 0x100423aea
mov r9, qword [r13 + 0xb718]
lea r8, str.HTTP_dati_ricevuti:_data_n_s
mov edx, 0x23
mov ecx, 9
call dbg.ioutput
sub esi, 1
jne 0x100423a21
mov rax, qword [0x1004632d0]
mov rax, qword [rax + 0xb718]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x100423efa
Capabilities:
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rdi, rdx
mov edx, 0x10000
mov rcx, rdi
call sym.open
mov ebx, eax
test eax, eax
jns 0x100423f50
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0x28
jbe 0x100424012
mov r9, rdi
lea r8, str.File_non_trovato:__s
mov edx, 0x23
mov ecx, 9
call dbg.ioutput
jmp 0x100424012
lea rdx, [rsp + 0x20]
mov ecx, eax
call sym.fstat
test eax, eax
jns 0x100423f88
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rdi
lea rdx, [0x100455718]
mov ecx, 2
call dbg.outerror
jmp 0x100424012
mov r8, qword [rsp + 0x48]
mov rbp, qword [rsi + 0x118]
cmp r8, rbp
jg 0x100423f9e
mov rbp, r8
jmp 0x100423fb2
mov r8, rdi
lea rdx, str.File_troppo_grande__s
mov ecx, 2
call dbg.outerror
mov rdx, qword [rsi + 0xc0]
mov r8, rbp
mov ecx, ebx
call sym.read
mov rbp, rax
test rax, rax
jns 0x100423ff0
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rdi
lea rdx, str.Impossibile_Leggere_i_Dati_dal_File__s:__s
mov ecx, 2
call dbg.outerror
jmp 0x100424012
mov ecx, ebx
call sym.close
mov rax, rbp
add rax, qword [rsi + 0xc0]
mov qword [rsi + 0xc0], rax
sub qword [rsi + 0x118], rbp
mov byte [rax], 0
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1004243bc
Capabilities:
Get file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rbx, rdx
lea rdx, [rsp + 0x30]
lea rcx, str.header.html
call sym.stat
test eax, eax
js 0x1004243e7
mov rax, qword [rsp + 0x58]
jmp 0x1004243ec
mov eax, 0
add rbx, rax
lea rdx, [rsp + 0x30]
lea rcx, str.footer.html
call sym.stat
test eax, eax
js 0x10042440b
mov rax, qword [rsp + 0x58]
jmp 0x100424410
mov eax, 0
add rbx, rax
mov dword [rsp + 0x20], 0x6ce
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_prepare_respond
mov edx, 0
mov rcx, rbx
call dbg.mymalloc2
mov qword [rsi + 0xb8], rax
mov byte [rax], 0
mov rax, qword [rsi + 0xb8]
mov qword [rsi + 0xc0], rax
sub rbx, 1
mov qword [rsi + 0x118], rbx
lea rdx, str.header.html
mov rcx, rsi
call dbg.h_include
nop
add rsp, 0xb8
pop rbx
pop rsi
ret
Function at 0x10042797e
Capabilities:
Get file attributes

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov r8d, 0x41
lea rdx, str.l_setup_file
lea rcx, str.src.it_dinoex_upload.c
call dbg.updatecontext_f
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
jne 0x1004279cf
mov r8d, 0
lea rdx, str.Nessuna_uploaddir_definita.
mov rcx, rbx
call dbg.l_closeconn
mov eax, 1
jmp 0x100427b70
mov rdx, qword [rbx + 0xa8]
mov dword [rsp + 0x28], 0x49
lea rax, str.src.it_dinoex_upload.c
mov qword [rsp + 0x20], rax
lea r9, str.l_setup_file
mov r8d, 0x2f
call dbg.mystrjoin2
mov rsi, rax
mov r8d, 0x1b6
mov edx, 0x10a01
mov rcx, rax
call sym.open
mov dword [rbx + 0xc0], eax
test eax, eax
jns 0x100427b63
call sym.__errno
cmp dword [rax], 0x11
jne 0x100427b11
mov rdx, rdi
mov rcx, rsi
call sym.stat
test eax, eax
jns 0x100427a89
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rsi
lea rdx, str.Impossibile_verificare_lo_Stato_del_file_di_Upload__s:__s
mov ecx, 1
call dbg.outerror
call sym.__errno
mov r8d, dword [rax]
lea rdx, str.File_Error__il_file_non_pu_essere_aperto_per_scrittura
mov rcx, rbx
call dbg.l_closeconn
mov rcx, rsi
call dbg.mydelete2
mov eax, 1
jmp 0x100427b70
mov eax, dword [rdi + 0x10]
and eax, 0xf000
cmp eax, 0x8000
jne 0x100427aa5
mov rax, qword [rbx + 0x80]
cmp qword [rdi + 0x28], rax
jl 0x100427acc
mov r8d, 0
lea rdx, str.File_Error__questo_nome_di_file__gia_esistente
mov rcx, rbx
call dbg.l_closeconn
mov rcx, rsi
call dbg.mydelete2
mov eax, 1
jmp 0x100427b70
mov edx, 0x10009
mov rcx, rsi
call sym.open
mov dword [rbx + 0xc0], eax
test eax, eax
js 0x100427b1a
mov rdx, qword [rdi + 0x28]
mov qword [rbx + 0x78], rdx
mov qword [rbx + 0x90], rdx
cmp dword [rbx + 0xc4], 0
jne 0x100427b63
mov ecx, eax
call sym.close
mov rcx, rsi
call dbg.mydelete2
mov eax, 2
jmp 0x100427b70
cmp dword [rbx + 0xc0], 0
jns 0x100427b63
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov r8, rsi
lea rdx, str.Impossibile_Accedere_al_file_di_Upload__s:__s
mov ecx, 1
call dbg.outerror
call sym.__errno
mov r8d, dword [rax]
lea rdx, str.File_Error__il_file_non_pu_essere_aperto_per_scrittura
mov rcx, rbx
call dbg.l_closeconn
mov rcx, rsi
call dbg.mydelete2
mov eax, 1
jmp 0x100427b70
mov rcx, rsi
call dbg.mydelete2
mov eax, 0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
Function at 0x100428d02
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r8d, 0x3f
lea rdx, str.t_setup_dcc
lea rcx, str.src.it_dinoex_transfer.c
call dbg.updatecontext_f
call dbg.get_local_vhost
mov rsi, rax
cmp dword [rbx + 0x124], 0
je 0x100428e03
mov qword [rbx + 0xd0], 0
mov qword [rbx + 0xd8], 0
mov qword [rbx + 0xe0], 0
mov dword [rbx + 0xe8], 0
mov ecx, dword [rbx + 0x80]
cmp ecx, 2
jne 0x100428daf
mov word [rbx + 0xd0], 2
mov word [rbx + 0xd2], 0
test rsi, rsi
je 0x100428d97
lea r8, [rbx + 0xd4]
mov rdx, rsi
call sym.inet_pton
jmp 0x100428dd5
mov rax, qword [0x1004632e0]
mov rax, qword [rax]
mov eax, dword [rax + 0xb44]
mov dword [rbx + 0xd4], eax
jmp 0x100428dee
mov word [rbx + 0xd0], 0x17
mov word [rbx + 0xd2], 0
test rsi, rsi
je 0x100428dee
lea r8, [rbx + 0xd8]
mov rdx, rsi
call sym.inet_pton
cmp eax, 1
je 0x100428dee
mov r8, rsi
lea rdx, [0x1004570ec]
mov ecx, 1
call dbg.outerror
mov dword [rbx + 0x118], 1
mov word [rbx + 0xb0], 0
jmp 0x100428e14
mov rcx, rbx
call dbg.t_setuplisten
cmp dword [rbx + 0x118], 2
jne 0x100428e1d
mov rcx, rbx
call dbg.t_start_dcc_send
nop
add rsp, 0x28
pop rbx
pop rsi
ret