Function at 0x100430103
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebx, 0
mov rax, qword [0x1004632d0]
lea rdi, [rax + 0xb550]
mov r12, rax
lea rbp, [rax + 0x7280]
lea rax, [0x10046b2d8]
mov ecx, dword [rax + rbx]
cmp ecx, 0xffffffff
je 0x1004304a3
movsxd rax, ecx
shr rax, 6
mov edx, 1
shl rdx, cl
mov rsi, qword [0x1004632d0]
test qword [rsi + rax*8 + 0xb628], rdx
je 0x1004304a3
mov r8d, 0x7d
lea rdx, str.telnet_accept
lea rcx, str.src.it_dinoex_telnet.c
call dbg.updatecontext_f
mov dword [rsp + 0x20], 0x7f
lea r9, str.src.it_dinoex_telnet.c
lea r8, str.telnet_accept
mov edx, 0x8d8
mov rcx, rdi
call dbg.irlist_add2
mov rsi, rax
lea rax, str.telnet
mov qword [rsi + 0xa8], rax
mov dword [rsi + 0xc8], 0
lea rax, [0x10046b2d0]
mov eax, dword [rax + rbx]
mov dword [rsi], eax
cmp eax, 2
je 0x1004301f4
mov dword [rsp + 0x3c], 0x1c
lea rdx, [rsi + 0x34]
lea rax, [0x10046b2d8]
mov ecx, dword [rax + rbx]
lea r8, [rsp + 0x3c]
call sym.accept
mov dword [rsi + 8], eax
jmp 0x100430217
mov dword [rsp + 0x3c], 0x10
lea rdx, [rsi + 0x34]
lea rax, [0x10046b2d8]
mov ecx, dword [rax + rbx]
lea r8, [rsp + 0x3c]
call sym.accept
mov dword [rsi + 8], eax
mov ecx, dword [rsi + 8]
test ecx, ecx
jns 0x100430243
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r8, rax
lea rdx, str.Errore_nellaccettare__sto_annullando:__s
mov ecx, 2
call dbg.outerror
jmp 0x1004304a3
mov edx, 1
call dbg.set_socket_nonblocking
test eax, eax
jns 0x100430262
lea rdx, str.Non_posso_settare_il_Non_Blocking
mov ecx, 2
call dbg.outerror
mov dword [rsp + 0x3c], 0x1c
lea r14, [rsi + 0x50]
mov ecx, dword [rsi + 8]
lea r8, [rsp + 0x3c]
mov rdx, r14
call sub.cygwin1.dll_getsockname
test eax, eax
jns 0x1004302b6
call sym.__errno
mov ecx, dword [rax]
call sym.strerror
mov r8, rax
lea rdx, str.Non_riesco_a_prendere_il_nome_el_Sock:__s
mov ecx, 1
call dbg.outerror
mov ecx, dword [rsi + 8]
call dbg.shutdown_close
mov dword [rsi + 8], 0xffffffff
jmp 0x1004304a3
add dword [r12 + 0xb79c], 1
mov dword [rsi + 0xc8], 3
mov dword [rsi + 0xcc], 0
mov r9d, 0x9e
lea r8, str.src.it_dinoex_telnet.c
lea rdx, str.telnet_accept
lea rcx, str.telnet
call dbg.mystrdup2
mov qword [rsi + 0xb0], rax
lea rdx, str.telnet
mov rcx, rax
call dbg.to_hostmask
mov qword [rsi + 0xb8], rax
mov eax, dword [r12 + 0x790c]
mov word [rsi + 0x30], ax
mov rax, qword [r12 + 0xa9d0]
mov qword [rsi + 0x28], rax
mov rax, qword [r12 + 0xa9d0]
mov qword [rsi + 0x20], rax
mov dword [rsp + 0x20], 0xa4
lea r9, str.src.it_dinoex_telnet.c
lea r8, str.telnet_accept
mov edx, 0
mov ecx, 0x200
call dbg.mymalloc2
mov r13, rax
lea r15, [rsi + 0x34]
mov r8, r15
mov edx, 0x1ff
mov rcx, rax
call dbg.my_getnameinfo
mov r9d, 0xa6
lea r8, str.src.it_dinoex_telnet.c
lea rdx, str.telnet_accept
mov rcx, r13
call dbg.mystrdup2
mov qword [rsi + 0x18], rax
mov r8, r14
mov edx, 0x1ff
mov rcx, r13
call dbg.my_getnameinfo
mov r9d, 0xa8
lea r8, str.src.it_dinoex_telnet.c
lea rdx, str.telnet_accept
mov rcx, r13
call dbg.mystrdup2
mov qword [rsi + 0x10], rax
mov r9, r13
lea r8, str.Connessione_Telnet_ricevuta_da__s
mov edx, 0x23
mov ecx, 7
call dbg.ioutput
mov rcx, r13
call dbg.mydelete2
mov rcx, r15
call dbg.is_in_badip
test eax, eax
je 0x1004303ff
mov edx, 0
mov rcx, rsi
call dbg.shutdowndccchat
jmp 0x1004304a3
mov rcx, rbp
call dbg.irlist_size
test eax, eax
je 0x100430434
mov rdx, r15
mov rcx, qword [0x1004632d0]
add rcx, 0x7280
call dbg.verify_cidr
test eax, eax
jne 0x100430434
mov edx, 0
mov rcx, rsi
call dbg.shutdowndccchat
jmp 0x1004304a3
mov rdx, r15
mov rcx, qword [0x1004632d0]
add rcx, 0x7298
call dbg.verify_cidr
test eax, eax
je 0x10043045d
mov edx, 0
mov rcx, rsi
call dbg.shutdowndccchat
jmp 0x1004304a3
mov edx, dword [rsi + 8]
lea rcx, [rsi + 0x70]
mov r8d, 0
call dbg.ir_boutput_init
mov r13, qword [0x1004632e0]
mov r14, qword [r13]
mov eax, dword [rsi + 0xcc]
imul rax, rax, 0xb60
mov rdx, qword [0x1004632d0]
lea rax, [rdx + rax + 0x48]
mov qword [r13], rax
mov rcx, rsi
call dbg.setup_chat_banner
mov qword [r13], r14
add rbx, 4
cmp rbx, 8
jne 0x100430130
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret