Function at 0x1004104f4
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov qword [rsp + 0x58], 0
mov r8d, 0x15a
lea rdx, str.read_statefile
lea rcx, str.src.it_iroffer_statefile.c
call dbg.updatecontext_f
mov eax, 0
mov rdx, qword [0x1004632d0]
cmp qword [rdx + 0x7730], 0
je 0x100411acb
lea r8, str.Sto_caricando_il_file_di_stato...
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rax, qword [0x1004632d0]
mov rcx, qword [rax + 0x7730]
mov r8d, 0x1b6
mov edx, 0x10200
call sym.open
mov ebx, eax
test eax, eax
jns 0x1004105b5
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r9, rax
mov rax, qword [0x1004632d0]
mov r8, qword [rax + 0x7730]
lea rdx, str.Non_posso_accedere_al_file_di_stato__s:__s
mov ecx, 1
call dbg.outerror
mov eax, 1
jmp 0x100411acb
lea rdx, [rsp + 0x60]
mov ecx, eax
call sym.fstat
test eax, eax
js 0x1004105d3
mov rsi, qword [rsp + 0x88]
cmp rsi, 0x17
jg 0x1004105fa
lea r8, str.File_di_stato:_Troppo_grande__lo_salto
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov ecx, ebx
call sym.close
mov eax, 1
jmp 0x100411acb
mov edi, esi
mov dword [rsp + 0x20], 0x176
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 1
mov rcx, rdi
call dbg.mymalloc2
mov r14, rax
mov r8, rdi
mov rdx, rax
mov ecx, ebx
call sym.read
mov rdi, rax
mov ecx, ebx
call sym.close
cmp esi, edi
je 0x100410670
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8d, edi
lea rdx, str.Non_posso_leggere_il_file_di_stato___u____u___s
mov ecx, 1
call dbg.outerror
mov r15d, 0
jmp 0x100411a9e
lea ebx, [rsi - 0x10]
lea rdi, [rsp + 0xf0]
mov rcx, rdi
call dbg.MD5Init
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call dbg.MD5Update
lea rbp, [rsp + 0xe0]
mov rdx, rdi
mov rcx, rbp
call dbg.MD5Final
shr ebx, 2
mov ebx, ebx
lea rdx, [r14 + rbx*4]
mov r8d, 0x10
mov rcx, rbp
call sym.memcmp
test eax, eax
je 0x1004106e9
mov rax, qword [0x1004632d0]
mov r8, qword [rax + 0x7730]
lea rdx, str.__s__sembra_corrotto_o_non__un_file_di_stato_Iroffer
mov ecx, 0
call dbg.outerror
mov r15d, 0
jmp 0x100411a9e
mov eax, dword [r14]
bswap eax
cmp eax, 0x49524652
je 0x10041071f
mov rax, qword [0x1004632d0]
mov r8, qword [rax + 0x7730]
lea rdx, str.__s__non_sembra_un_file_di_stato_Iroffer
mov ecx, 0
call dbg.outerror
mov r15d, 0
jmp 0x100411a9e
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
je 0x10041074c
mov r9d, dword [r14 + 4]
bswap r9d
lea r8, str.___Version__u_File_di_stato_
mov edx, 0
mov ecx, 7
call dbg.ioutput
lea rbx, [r14 + 8]
sub esi, 0x18
mov r15d, 0
mov rax, qword [0x1004632d0]
add rax, 0xb538
mov qword [rsp + 0x48], rax
mov rax, qword [0x1004632d0]
add rax, 0xb580
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x38], r14
jmp 0x10041177e
cmp edx, 0xb00
je 0x100410c53
cmp edx, 0xb00
ja 0x100410812
cmp edx, 0x201
je 0x1004108cd
cmp edx, 0x201
ja 0x1004107dd
cmp edx, 0x101
je 0x100410884
cmp edx, 0x200
je 0x1004108a4
cmp edx, 0x100
jne 0x10041176c
jmp 0x1004109e0
cmp edx, 0x203
je 0x10041091b
cmp edx, 0x203
jb 0x1004108f6
cmp edx, 0x204
je 0x1004109bb
cmp edx, 0xa00
je 0x100410aa1
jmp 0x10041176c
cmp edx, 0xd02
je 0x10041142d
cmp edx, 0xd02
ja 0x10041084f
cmp edx, 0xd00
je 0x1004113e9
cmp edx, 0xd00
ja 0x10041140b
cmp edx, 0xc00
je 0x100410dc0
jmp 0x10041176c
cmp edx, 0xd04
je 0x100411471
cmp edx, 0xd04
jb 0x10041144f
cmp edx, 0xd05
je 0x100411493
cmp edx, 0xe00
je 0x1004114b5
jmp 0x10041176c
lea r9, str.Scritto_su
lea r8, [rsp + 0x58]
lea rdx, str.Timestamp
mov rcx, rbx
call dbg.read_statefile_time
jmp 0x10041177b
lea r9, str.Record
mov r8, qword [0x1004632d0]
add r8, 0xb7d0
lea rdx, str.xfr_Record
mov rcx, rbx
call dbg.read_statefile_float
jmp 0x10041177b
lea r9, str.Record_Banda
mov r8, qword [0x1004632d0]
add r8, 0xb7d4
lea rdx, str.Record_Invio
mov rcx, rbx
call dbg.read_statefile_float
jmp 0x10041177b
lea r9, str.Totale_Trasferito
mov r8, qword [0x1004632d0]
add r8, 0xa9f0
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_llint
jmp 0x10041177b
mov rdi, qword [0x1004632d0]
lea r8, [rdi + 0xa9d8]
lea rdx, str.Totale_di_Avviato
mov rcx, rbx
call dbg.read_statefile_long
cmp dword [rdi + 0x78b8], 0
je 0x10041177b
mov dword [rsp + 0x20], 0x1bd
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 0
mov ecx, 0x200
call dbg.mymalloc2
mov rbx, rax
mov rax, qword [0x1004632d0]
mov r8, qword [rax + 0xa9d0]
mov r9d, 0x200
sub r8, qword [rax + 0xa9d8]
mov edx, 0
mov rcx, rbx
call dbg.getuptime
mov r9, rbx
lea r8, str.___Totale_Tempo_di_Avvio__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rcx, rbx
call dbg.mydelete2
jmp 0x10041177b
lea r9, str.Ultimo_Log_Rotate
mov r8, qword [0x1004632d0]
add r8, 0xa9c0
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_time
jmp 0x10041177b
cmp eax, 8
jbe 0x100410a8d
add rbx, 8
mov eax, eax
mov byte [rbx + rax - 9], 0
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
je 0x100410a1d
mov r9, rbx
lea r8, str.___Scritto_da__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov dword [rsp + 0x20], 0x1d5
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 1
mov ecx, 0x200
call dbg.mymalloc2
mov rdi, rax
mov rax, qword [0x1004632d0]
mov r9, qword [rax + 0x76f8]
lea r8, str.Iroffer_CWLabs_ITA_by_CreeW_2010_3.30__Win32__2.4.1___s
mov edx, 0x200
mov rcx, rdi
call sym.snprintf
mov rdx, rdi
mov rcx, rbx
call sym.strcmp
test eax, eax
je 0x100410a80
add dword [rsp + 0x34], 1
call dbg.backup_statefile
mov rcx, rdi
call dbg.mydelete2
jmp 0x10041177b
lea rdx, str.Versione_di_Iroffer
mov rcx, rbx
call dbg.read_statefile_bad_tag
jmp 0x10041177b
mov dword [rsp + 0x20], 0x1e9
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 0x20
mov rcx, qword [0x1004632d0]
add rcx, 0xb568
call dbg.irlist_add2
mov r12, rax
mov eax, dword [rbx + 4]
sub eax, 8
mov dword [rbx + 4], eax
lea rdi, [rbx + 8]
cmp eax, 7
jbe 0x100410bd6
lea r15, [r12 + 8]
lea r14, [r12 + 0x18]
lea r13, [r12 + 0x10]
mov eax, dword [rdi]
bswap eax
mov dword [rdi], eax
mov edx, dword [rdi + 4]
bswap edx
mov dword [rdi + 4], edx
cmp eax, 0xa02
je 0x100410b40
cmp eax, 0xa02
ja 0x100410b1c
cmp eax, 0xa01
je 0x100410b2c
jmp 0x100410b82
cmp eax, 0xa03
je 0x100410b54
cmp eax, 0xa04
je 0x100410b6e
jmp 0x100410b82
mov r8, r14
lea rdx, str.Ignore_Flags
mov rcx, rdi
call dbg.read_statefile_int
jmp 0x100410b91
mov r8, r13
lea rdx, str.Ignore_Bucket
mov rcx, rdi
call dbg.read_statefile_long
jmp 0x100410b91
mov r9d, 0
mov r8, r12
lea rdx, str.Ignore_Lastcontact
mov rcx, rdi
call dbg.read_statefile_time
jmp 0x100410b91
mov r8, r15
lea rdx, str.Ignore_Hostmask
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100410b91
lea rdx, str.Ignore
mov rcx, rdi
call dbg.read_statefile_unknown_tag
mov eax, dword [rbx + 4]
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x100410baa
mov r8d, 4
sub r8d, ecx
mov ecx, r8d
sub eax, edx
sub eax, ecx
mov dword [rbx + 4], eax
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x100410bc7
mov r8d, 4
sub r8d, ecx
mov ecx, r8d
lea edx, [rcx + rdx]
add rdi, rdx
cmp eax, 7
ja 0x100410af7
cmp qword [r12], 0
je 0x100410be5
cmp qword [r12 + 8], 0
jne 0x100410c2b
lea r8, str.Ignore
lea rdx, str.Ignorato_lincompleto__s_Tag
mov ecx, 2
call dbg.outerror
mov rcx, qword [r12 + 8]
call dbg.mydelete2
mov qword [r12 + 8], 0
mov rdx, r12
mov rcx, qword [0x1004632d0]
add rcx, 0xb568
call dbg.irlist_delete
jmp 0x10041177b
mov rdx, qword [0x1004632d0]
mov rax, qword [rdx + 0xa9d0]
sub rax, qword [rsp + 0x58]
mov ecx, dword [rdx + 0x7928]
cqo
idiv rcx
sub qword [r12 + 0x10], rax
jmp 0x10041177b
mov dword [rsp + 0x20], 0x21e
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 0x18
mov rax, qword [0x1004632d0]
lea rcx, [rax + 0xb538]
call dbg.irlist_add2
mov r13, rax
mov eax, dword [rbx + 4]
sub eax, 8
mov dword [rbx + 4], eax
lea rdi, [rbx + 8]
cmp eax, 7
jbe 0x100410d5b
lea r15, [r13 + 0x10]
lea r14, [r13 + 8]
mov r12d, 4
mov eax, dword [rdi]
bswap eax
mov dword [rdi], eax
mov edx, dword [rdi + 4]
bswap edx
mov dword [rdi + 4], edx
cmp eax, 0xb02
je 0x100410ce5
cmp eax, 0xb03
je 0x100410cf9
cmp eax, 0xb01
jne 0x100410d0d
mov r9d, 0
mov r8, r13
lea rdx, str.Msglog_When
mov rcx, rdi
call dbg.read_statefile_time
jmp 0x100410d1c
mov r8, r14
lea rdx, str.Msglog_Hostmask
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100410d1c
mov r8, r15
lea rdx, str.Msglog_Message
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100410d1c
lea rdx, str.Msglog
mov rcx, rdi
call dbg.read_statefile_unknown_tag
mov eax, dword [rbx + 4]
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x100410d32
mov r10d, r12d
sub r10d, ecx
mov ecx, r10d
sub eax, edx
sub eax, ecx
mov dword [rbx + 4], eax
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x100410d4c
mov r11d, r12d
sub r11d, ecx
mov ecx, r11d
lea edx, [rcx + rdx]
add rdi, rdx
cmp eax, 7
ja 0x100410ca8
cmp qword [r13], 0
je 0x100410d74
cmp qword [r13 + 8], 0
je 0x100410d74
cmp qword [r13 + 0x10], 0
jne 0x10041177b
lea r8, str.Msglog
lea rdx, str.Ignorato_lincompleto__s_Tag
mov ecx, 2
call dbg.outerror
mov rcx, qword [r13 + 8]
call dbg.mydelete2
mov qword [r13 + 8], 0
mov rcx, qword [r13 + 0x10]
call dbg.mydelete2
mov qword [r13 + 0x10], 0
mov rdx, r13
mov rcx, qword [rsp + 0x48]
call dbg.irlist_delete
jmp 0x10041177b
mov dword [rsp + 0x20], 0x24c
lea r9, str.src.it_iroffer_statefile.c
lea r8, str.read_statefile
mov edx, 0xc8
mov rdi, qword [0x1004632d0]
lea rcx, [rdi + 0xb580]
call dbg.irlist_add2
mov r12, rax
mov dword [rax + 0x9c], 0xffffffff
movss xmm0, dword [rdi + 0x7888]
movss dword [rax + 0x50], xmm0
movss xmm0, dword [rdi + 0x788c]
movss dword [rax + 0x54], xmm0
mov eax, dword [rbx + 4]
sub eax, 8
mov dword [rbx + 4], eax
lea rdi, [rbx + 8]
cmp eax, 7
jbe 0x1004111bb
lea r14, [r12 + 0x44]
lea r13, [r12 + 0x78]
mov eax, dword [rdi]
bswap eax
mov dword [rdi], eax
mov edx, dword [rdi + 4]
bswap edx
mov dword [rdi + 4], edx
sub eax, 0xc01
cmp eax, 0x10
ja case.default.0x100410e61
mov eax, eax
lea rcx, [0x100451a5c]
movsxd rax, dword [rcx + rax*4]
add rcx, rax
jmp rcx
mov r8, r12
lea rdx, str.XDCC_File
mov rcx, rdi
call dbg.read_statefile_string
mov rcx, qword [r12]
call dbg.getfilename
mov r9d, 0x25d
lea r8, str.src.it_iroffer_statefile.c
lea rdx, str.read_statefile
mov rcx, rax
call dbg.mystrdup2
mov qword [r12 + 8], rax
jmp 0x100411174
mov rcx, qword [r12 + 8]
call dbg.mydelete2
mov qword [r12 + 8], 0
lea r8, [r12 + 8]
lea rdx, str.XDCC_Desc
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x10]
lea rdx, str.XDCC_Note
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x40]
lea rdx, str.XDCC_Gets
mov rcx, rdi
call dbg.read_statefile_int
jmp 0x100411174
cmp edx, 0xc
je 0x100410f1b
lea rdx, str.XDCC_Minspeed
mov rcx, rdi
call dbg.read_statefile_bad_tag
jmp 0x100411174
movss xmm0, dword [rdi + 8]
ucomiss xmm0, dword [0x100451bd0]
jp 0x100410f2f
je 0x100411aab
movss dword [r12 + 0x50], xmm0
jmp 0x100411174
cmp edx, 0xc
je 0x100410f54
lea rdx, str.XDCC_Maxspeed
mov rcx, rdi
call dbg.read_statefile_bad_tag
jmp 0x100411174
movss xmm0, dword [rdi + 8]
ucomiss xmm0, dword [0x100451bd0]
jp 0x100410f68
je 0x100411aab
movss dword [r12 + 0x54], xmm0
jmp 0x100411174
cmp edx, 0x34
jne 0x100410fe5
add dword [r12 + 0x80], 1
mov edx, dword [rdi + 8]
bswap edx
mov eax, dword [rdi + 0xc]
bswap eax
shl rdx, 0x20
mov eax, eax
or rax, rdx
mov qword [r12 + 0x58], rax
mov eax, dword [rdi + 0x14]
bswap eax
mov dword [r12 + 0x60], eax
mov edx, dword [rdi + 0x18]
bswap edx
mov eax, dword [rdi + 0x1c]
bswap eax
shl rdx, 0x20
mov eax, eax
or rax, rdx
mov qword [r12 + 0x68], rax
mov eax, dword [rdi + 0x20]
bswap eax
mov eax, eax
mov qword [r12 + 0x70], rax
mov rax, qword [rdi + 0x24]
mov rdx, qword [rdi + 0x2c]
mov qword [r12 + 0x88], rax
mov qword [r12 + 0x90], rdx
jmp 0x100411174
cmp edx, 0x38
jne 0x100411058
add dword [r12 + 0x80], 1
mov edx, dword [rdi + 8]
bswap edx
mov eax, dword [rdi + 0xc]
bswap eax
shl rdx, 0x20
mov eax, eax
or rax, rdx
mov qword [r12 + 0x58], rax
mov eax, dword [rdi + 0x14]
bswap eax
mov dword [r12 + 0x60], eax
mov edx, dword [rdi + 0x18]
bswap edx
mov eax, dword [rdi + 0x1c]
bswap eax
shl rdx, 0x20
mov eax, eax
or rax, rdx
mov qword [r12 + 0x68], rax
lea rcx, [rdi + 0x20]
call dbg.fix_time64
mov qword [r12 + 0x70], rax
mov rax, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
mov qword [r12 + 0x88], rax
mov qword [r12 + 0x90], rdx
jmp 0x100411174
lea rdx, str.XDCC_md5sum
mov rcx, rdi
call dbg.read_statefile_bad_tag
jmp 0x100411174
lea r8, [r12 + 0x98]
lea rdx, str.XDCC_CRC32
mov rcx, rdi
call dbg.read_statefile_int
mov dword [r12 + 0x84], 1
jmp 0x100411174
lea r8, [r12 + 0x18]
lea rdx, str.XDCC_Group
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x20]
lea rdx, str.XDCC_Group_Desc
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x28]
lea rdx, str.XDCC_Lock
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x48]
lea rdx, str.XDCC_Limit_Max
mov rcx, rdi
call dbg.read_statefile_int
jmp 0x100411174
lea r8, [r12 + 0x4c]
lea rdx, str.XDCC_Limit_Used
mov rcx, rdi
call dbg.read_statefile_int
jmp 0x100411174
lea r8, [r12 + 0x30]
lea rdx, str.XDCC_Limit_Desc
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
lea r8, [r12 + 0x38]
lea rdx, str.XDCC_Trigger
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x100411174
mov r9d, 0
mov r8, r13
lea rdx, str.XDCC_Time
mov rcx, rdi
call dbg.read_statefile_time
jmp 0x100411174
mov r8, r14
lea rdx, str.XDCC_Color
mov rcx, rdi
call dbg.read_statefile_int
jmp 0x100411174
lea rdx, [0x10045178e]
mov rcx, rdi
call dbg.read_statefile_unknown_tag
mov ecx, dword [rbx + 4]
mov edx, dword [rdi + 4]
mov eax, edx
and eax, 3
je 0x10041118d
mov r8d, 4
sub r8d, eax
mov eax, r8d
add edx, eax
mov eax, ecx
sub eax, edx
mov dword [rbx + 4], eax
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x1004111ac
mov r8d, 4
sub r8d, ecx
mov ecx, r8d
lea edx, [rcx + rdx]
add rdi, rdx
cmp eax, 7
ja 0x100410e35
mov rcx, qword [r12]
test rcx, rcx
je 0x1004111d0
cmp qword [r12 + 8], 0
jne 0x100411286
lea r8, [0x10045178e]
lea rdx, str.Ignorato_lincompleto__s_Tag
mov ecx, 2
call dbg.outerror
mov rcx, qword [r12]
call dbg.mydelete2
mov qword [r12], 0
mov rcx, qword [r12 + 8]
call dbg.mydelete2
mov qword [r12 + 8], 0
mov rcx, qword [r12 + 0x10]
call dbg.mydelete2
mov qword [r12 + 0x10], 0
mov rcx, qword [r12 + 0x18]
call dbg.mydelete2
mov qword [r12 + 0x18], 0
mov rcx, qword [r12 + 0x20]
call dbg.mydelete2
mov qword [r12 + 0x20], 0
mov rcx, qword [r12 + 0x28]
call dbg.mydelete2
mov qword [r12 + 0x28], 0
mov rcx, qword [r12 + 0x38]
call dbg.mydelete2
mov qword [r12 + 0x38], 0
mov rdx, r12
mov rcx, qword [0x1004632d0]
add rcx, 0xb580
call dbg.irlist_delete
jmp 0x10041177b
lea rdx, [rsp + 0x60]
call sym.stat
test eax, eax
jns 0x1004112e5
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov rdi, rax
mov rbx, qword [r12]
mov rcx, r12
call dbg.number_of_pack
mov r8d, eax
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rdx, str.Pack__u:_Impossibile_Accedere_al_File_Offerto__s:__s
mov ecx, 2
call dbg.outerror
lea rdx, [rsp + 0x60]
mov ecx, 0x10
mov eax, 0
mov rdi, rdx
rep stosq qword [rdi], rax
jmp 0x10041177b
cmp dword [r12 + 0x80], 0
je 0x10041131a
mov rax, qword [rsp + 0x68]
cmp qword [r12 + 0x68], rax
jne 0x10041131a
mov rax, qword [rsp + 0xa0]
cmp qword [r12 + 0x70], rax
jne 0x10041131a
mov rax, qword [rsp + 0x88]
cmp qword [r12 + 0x58], rax
je 0x10041136d
mov rax, qword [rsp + 0x88]
mov qword [r12 + 0x58], rax
mov eax, dword [rsp + 0x60]
mov dword [r12 + 0x60], eax
mov rax, qword [rsp + 0x68]
mov qword [r12 + 0x68], rax
mov rax, qword [rsp + 0xa0]
mov qword [r12 + 0x70], rax
mov dword [r12 + 0x80], 0
mov qword [r12 + 0x88], 0
mov qword [r12 + 0x90], 0
jmp 0x10041137d
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x60], eax
je 0x10041137d
mov dword [r12 + 0x60], eax
cmp qword [r12 + 0x58], 0
jne 0x1004113a8
mov rbx, qword [r12]
mov rcx, r12
call dbg.number_of_pack
mov r8d, eax
mov r9, rbx
lea rdx, str.Pack__u:_Il_file___s__ha_dimensioni_di_0_byte_
mov ecx, 2
call dbg.outerror
mov rax, qword [0x1004632d0]
mov rax, qword [rax + 0xa980]
cmp qword [r12 + 0x58], rax
jle 0x10041177b
mov rbx, qword [r12]
mov rcx, r12
call dbg.number_of_pack
mov r8d, eax
mov r9, rbx
lea rdx, str.Pack__u:_Il_file___s___troppo_grande_
mov ecx, 0
call dbg.outerror
jmp 0x10041177b
lea r9, str.Limite_di_Trasferimento_Giornaliero_Utilizzato
mov r8, qword [0x1004632d0]
add r8, 8
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_llint
jmp 0x10041177b
lea r9, str.Fine_del_Limite_dei_Trasferimenti_Giornalieri
mov r8, qword [0x1004632d0]
add r8, 0x10
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_time
jmp 0x10041177b
lea r9, str.Limite_Trasferimento_Settimanale_Utilizzato
mov rax, qword [0x1004632d0]
lea r8, [rax + 0x20]
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_llint
jmp 0x10041177b
lea r9, str.Fine_Limite_di_Trasferimento_Settimanale
mov r8, qword [0x1004632d0]
add r8, 0x28
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_time
jmp 0x10041177b
lea r9, str.Limite_di_Trasferimento_Mensile_Utilizzato
mov r8, qword [0x1004632d0]
add r8, 0x38
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_llint
jmp 0x10041177b
lea r9, str.Fine_Limite_di_Trasferimento_Mensile
mov r8, qword [0x1004632d0]
add r8, 0x40
mov rdx, r9
mov rcx, rbx
call dbg.read_statefile_time
jmp 0x10041177b
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78c4], 0
je 0x1004114f4
mov dword [rsp + 0x20], 0x10f
lea r9, str.src.it_dinoex_statefile.c
lea r8, global___FUNCTION__.287
mov edx, 0x30
mov rcx, rax
add rcx, 0xb5b0
call dbg.irlist_add2
mov r12, rax
jmp 0x100411525
mov dword [rsp + 0x20], 0x111
lea r9, str.src.it_dinoex_statefile.c
lea r8, global___FUNCTION__.287
mov edx, 0x30
mov rcx, qword [0x1004632d0]
add rcx, 0xb598
call dbg.irlist_add2
mov r12, rax
mov rax, qword [0x1004632d0]
mov rax, qword [rax + 0xa9d0]
mov qword [r12 + 0x20], rax
mov eax, dword [rbx + 4]
sub eax, 8
mov dword [rbx + 4], eax
lea rdi, [rbx + 8]
cmp eax, 7
jbe 0x100411703
lea r13, [rsp + 0x54]
lea r14, [r12 + 0x18]
lea r15, [r12 + 0x10]
mov eax, dword [rdi]
bswap eax
mov dword [rdi], eax
mov edx, dword [rdi + 4]
bswap edx
mov dword [rdi + 4], edx
sub eax, 0xe01
cmp eax, 4
ja case.default.0x100411589
mov eax, eax
lea rdx, [0x100451aa0]
movsxd rax, dword [rdx + rax*4]
add rdx, rax
jmp rdx
mov dword [rsp + 0x54], 0
mov r8, r13
lea rdx, str.Nr_di_Pack_in_Coda
mov rcx, rdi
call dbg.read_statefile_int
mov eax, dword [rsp + 0x54]
cmp eax, 0xffffffff
jne 0x1004115c1
mov ecx, 0xffffffff
call dbg.get_xdcc_pack
mov qword [r12], rax
jmp 0x1004116be
test eax, eax
je 0x1004115d7
mov rcx, qword [rsp + 0x40]
call dbg.irlist_size
mov ecx, dword [rsp + 0x54]
cmp eax, ecx
jae 0x1004115f2
mov r8d, dword [rsp + 0x54]
lea rdx, str.Ignorato_lerrato_Queue_Pack_Nr___u_
mov ecx, 2
call dbg.outerror
jmp 0x1004116be
call dbg.get_xdcc_pack
mov qword [r12], rax
jmp 0x1004116be
lea r8, [r12 + 8]
lea rdx, str.Nick_in_Coda
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x1004116be
mov r8, r15
lea rdx, str.Host_in_Coda
mov rcx, rdi
call dbg.read_statefile_string
jmp 0x1004116be
mov r9d, 0
mov r8, r14
lea rdx, str.Tempo_di_Coda
mov rcx, rdi
call dbg.read_statefile_time
jmp 0x1004116be
mov dword [rsp + 0x54], 0
mov r8, r13
lea rdx, str.Net_in_Coda
mov rcx, rdi
call dbg.read_statefile_int
mov r8d, dword [rsp + 0x54]
mov rax, qword [0x1004632d0]
cmp dword [rax + 0xb750], r8d
jae 0x10041168c
lea rdx, str.Ignorato_lerrato_Queue_Net_Nr___u_
mov ecx, 2
call dbg.outerror
jmp 0x1004116be
mov dword [r12 + 0x28], r8d
jmp 0x1004116be
lea rdx, str.Coda
mov rcx, rdi
call dbg.read_statefile_unknown_tag
cmp dword [rdi + 4], 0
jne 0x1004116be
mov dword [rdi + 4], 1
mov eax, dword [rbx + 4]
mov edx, 1
mov ecx, 1
jmp 0x1004116cb
mov eax, dword [rbx + 4]
mov ecx, dword [rdi + 4]
mov edx, ecx
and edx, 3
je 0x1004116d7
mov r8d, 4
sub r8d, edx
mov edx, r8d
add edx, ecx
sub eax, edx
mov dword [rbx + 4], eax
mov edx, dword [rdi + 4]
mov ecx, edx
and ecx, 3
je 0x1004116f4
mov r8d, 4
sub r8d, ecx
mov ecx, r8d
lea edx, [rdx + rcx]
add rdi, rdx
cmp eax, 7
ja 0x10041155d
cmp qword [r12], 0
jne 0x10041177b
mov rcx, qword [r12 + 8]
call dbg.mydelete2
mov qword [r12 + 8], 0
mov rcx, qword [r12 + 0x10]
call dbg.mydelete2
mov qword [r12 + 0x10], 0
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78c4], 0
je 0x100411754
mov rdx, r12
mov rcx, rax
add rcx, 0xb5b0
call dbg.irlist_delete
jmp 0x10041177b
mov rdx, r12
mov rcx, qword [0x1004632d0]
add rcx, 0xb598
call dbg.irlist_delete
jmp 0x10041177b
lea rdx, str.Main
mov rcx, rbx
call dbg.read_statefile_unknown_tag
mov rbx, rbp
cmp esi, 7
jbe 0x1004117fa
mov edx, dword [rbx]
bswap edx
mov dword [rbx], edx
mov eax, dword [rbx + 4]
bswap eax
mov r9d, eax
mov dword [rbx + 4], eax
cmp eax, esi
jbe 0x1004117b8
mov r15d, dword [rsp + 0x34]
mov r14, qword [rsp + 0x38]
mov r8d, esi
lea rdx, str.Testata_errata_nel_file_di_stato___u____u_
mov ecx, 1
call dbg.outerror
jmp 0x100411804
mov ecx, eax
and ecx, 3
je 0x100411ab8
lea r8d, [rax + 4]
sub r8d, ecx
shr r8d, 2
mov r8d, r8d
lea rbp, [rbx + r8*4]
mov r8d, 4
sub r8d, ecx
mov ecx, r8d
add ecx, eax
sub esi, ecx
test rbx, rbx
jne 0x10041078c
mov r15d, dword [rsp + 0x34]
mov r14, qword [rsp + 0x38]
jmp 0x100411804
mov r15d, dword [rsp + 0x34]
mov r14, qword [rsp + 0x38]
test esi, esi
je 0x10041181c
mov r8d, esi
lea rdx, str.Extra_data_alla_fine_dello_state_file____u_left
mov ecx, 2
call dbg.outerror
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
jne 0x10041183f
mov rcx, rax
add rcx, 0xb568
call dbg.irlist_size
test eax, eax
je 0x100411898
mov rcx, qword [0x1004632d0]
add rcx, 0xb568
call dbg.irlist_size
cmp eax, 1
lea rbx, str.Ignores
lea rax, str.Ignore
cmove rbx, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xb568
call dbg.irlist_size
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.___Trovati__u__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
jne 0x1004118bb
mov rcx, rax
add rcx, 0xb538
call dbg.irlist_size
test eax, eax
je 0x100411914
mov rcx, qword [0x1004632d0]
add rcx, 0xb538
call dbg.irlist_size
cmp eax, 1
lea rbx, str.Messaggi
lea rax, [0x100451417]
cmove rbx, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xb538
call dbg.irlist_size
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.___Trovati__u__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
jne 0x100411937
mov rcx, rax
add rcx, 0xb580
call dbg.irlist_size
test eax, eax
je 0x100411990
mov rcx, qword [0x1004632d0]
add rcx, 0xb580
call dbg.irlist_size
cmp eax, 1
lea rbx, [0x10045142d]
lea rax, [0x100451428]
cmove rbx, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xb580
call dbg.irlist_size
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.___Trovati__u__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
jne 0x1004119b3
mov rcx, rax
add rcx, 0xb598
call dbg.irlist_size
test eax, eax
je 0x100411a0c
mov rcx, qword [0x1004632d0]
add rcx, 0xb598
call dbg.irlist_size
cmp eax, 1
lea rbx, str.Code
lea rax, str.Coda
cmove rbx, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xb598
call dbg.irlist_size
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.___Trovati__u__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rax, qword [0x1004632d0]
cmp dword [rax + 0x78b8], 0
jne 0x100411a2f
mov rcx, rax
add rcx, 0xb5b0
call dbg.irlist_size
test eax, eax
je 0x100411a88
mov rcx, qword [0x1004632d0]
add rcx, 0xb5b0
call dbg.irlist_size
cmp eax, 1
lea rbx, str.Code
lea rax, str.Coda
cmove rbx, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xb5b0
call dbg.irlist_size
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.___Trovati__u__s_
mov edx, 0
mov ecx, 7
call dbg.ioutput
lea r8, str.___Fatto_
mov edx, 0
mov ecx, 7
call dbg.ioutput
mov rcx, r14
call dbg.mydelete2
mov eax, r15d
jmp 0x100411acb
mov ecx, dword [rbx + 4]
mov eax, 0
jmp 0x10041118d
mov r8d, eax
shr r8d, 2
mov r8d, r8d
lea rbp, [rbx + r8*4]
jmp 0x1004117e1
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret