// Token: 0x060029E4 RID: 10724 RVA: 0x000A09D8 File Offset: 0x0009EBD8 private void method_8(IAsyncResult ar) { Socket socket = null; try { socket = this.tcpListener_0.EndAcceptSocket(ar); } catch (ObjectDisposedException) { if (base.IsDisposed || base.IsDisposing || !this.bool_2) { return; } } Class145.Class146 @class = null; try { @class = new Class145.Class146(socket); lock (this.object_0) { this.list_0.Add(@class); } if (Class145.smethod_2(((IPEndPoint)socket.RemoteEndPoint).Address)) { this.method_9(@class); } else { this.method_12(@class); } } catch (Exception ex) { ex.smethod_0(); if (@class != null) { this.method_12(@class); } } this.method_7(); lock (this.object_0) { if (!this.timer_0.Enabled) { this.timer_0.Enabled = true; } } }
// Token: 0x060029E6 RID: 10726 RVA: 0x000A0B5C File Offset: 0x0009ED5C private void method_10(IAsyncResult ar) { Class145.Class146 @class = ar.AsyncState as Class145.Class146; if ([email protected] && [email protected]) { lock (this.object_0) { try { int num = @class.socket_0.EndReceive(ar); if (@class.socket_0.Connected) { if (num > 0) { @class.stringBuilder_0.Append(Encoding.ASCII.GetString(@class.byte_0, 0, num)); if (@class.stringBuilder_0.Length <= 8190) { string text = @class.stringBuilder_0.ToString(); if (text.EndsWith("\r\n\r\n")) { string requestedFile; string s; if (Class145.smethod_1(text, out requestedFile) && this.method_15(@class, requestedFile, out s)) { @class.byte_0 = Encoding.ASCII.GetBytes(s); this.method_13(@class); } else { this.method_12(@class); } } else { this.method_9(@class); } } else { this.method_12(@class); } } else { this.method_12(@class); } } else { this.method_4(@class); @class.Dispose(); } } catch (Exception ex) { this.method_4(@class); @class.Dispose(); ex.smethod_0(); } } return; } }