Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.facebook.Request.a() calling method java.net.URL.<init>()


    public static java.net.HttpURLConnection a(com.facebook.bq p3)
    {
        com.facebook.ao v1_0 = p3.iterator();
        while (v1_0.hasNext()) {
            ((ark>com.facebook.Requestark>) v1_0.next()).n();
        }
        try {
            org.json.JSONException v0_2;
            if (p3.size() != 1) {
                v0_2 = new java.net.URL(com.facebook.b.ak.b());
            } else {
                v0_2 = new java.net.URL(p3.a(0).j());
            }
            try {
                org.json.JSONException v0_7 = ark>com.facebook.Requestark>.a(v0_2);
                ark>com.facebook.Requestark>.a(p3, v0_7);
                return v0_7;
            } catch (org.json.JSONException v0_9) {
                throw new com.facebook.ao("could not construct request body", v0_9);
            } catch (org.json.JSONException v0_8) {
                throw new com.facebook.ao("could not construct request body", v0_8);
            }
        } catch (org.json.JSONException v0_5) {
            throw new com.facebook.ao("could not construct URL for request", v0_5);
        }
        v0_7 = ark>com.facebook.Requestark>.a(v0_2);
        ark>com.facebook.Requestark>.a(p3, v0_7);
        return v0_7;
    }

Method com.facebook.a.i.b() calling method java.net.URL.<init>()


    public static android.os.Bundle b(String p2)
    {
        try {
            android.os.Bundle v1_4 = new java.net.URL(p2.replace("fbconnect", "http"));
            android.os.Bundle v0_2 = com.facebook.a.i.a(v1_4.getQuery());
            v0_2.putAll(com.facebook.a.i.a(v1_4.getRef()));
        } catch (android.os.Bundle v0) {
            v0_2 = new android.os.Bundle();
        }
        return v0_2;
    }

Method com.facebook.b.p.b() calling method java.net.URL.<init>()


    private static void b(com.facebook.b.u p11, android.content.Context p12)
    {
        android.graphics.Bitmap v3 = 0;
        int v1_2 = 1;
        try {
            java.io.IOException v0_0 = ((java.net.HttpURLConnection) new java.net.URL(p11.a.toString()).openConnection());
            try {
                android.graphics.Bitmap v4_0;
                android.graphics.Bitmap v5_0;
                v0_0.setInstanceFollowRedirects(0);
                switch (v0_0.getResponseCode()) {
                    case 200:
                        v5_0 = com.facebook.b.z.a(p12, v0_0);
                        v4_0 = 0;
                        v3 = android.graphics.BitmapFactory.decodeStream(v5_0);
                        break;
                    case 301:
                    case 302:
                        try {
                            int v1_4 = v0_0.getHeaderField("location");
                        } catch (int v1_8) {
                            v5_0 = 0;
                            android.graphics.Bitmap v4_5 = v0_0;
                            java.io.IOException v0_1 = v1_8;
                            v1_2 = 0;
                            com.facebook.b.aq.a(v5_0);
                            com.facebook.b.aq.a(v4_5);
                            if (v1_2 != 0) {
                                com.facebook.b.p.a(p11, v0_1, v3, 0);
                            }
                            return;
                        } catch (int v1_7) {
                            v5_0 = 0;
                            android.graphics.Bitmap v4_2 = v0_0;
                            v0_1 = v1_7;
                            v1_2 = 0;
                            com.facebook.b.aq.a(v5_0);
                            com.facebook.b.aq.a(v4_2);
                        }
                        if (!com.facebook.b.aq.a(v1_4)) {
                            android.graphics.Bitmap v4_9 = new java.net.URI(v1_4);
                            com.facebook.b.ap.a(p12, p11.a, v4_9);
                            int v1_6 = com.facebook.b.p.a(p11);
                            if ((v1_6 != 0) && (!v1_6.c)) {
                                com.facebook.b.p.a(v1_6.b, new com.facebook.b.u(v4_9, p11.b), 0);
                                v1_2 = 0;
                                v4_0 = 0;
                                v5_0 = 0;
                            }
                        }
                        v1_2 = 0;
                        v4_0 = 0;
                        v5_0 = 0;
                    default:
                        v5_0 = v0_0.getErrorStream();
                        android.graphics.Bitmap v4_17 = new java.io.InputStreamReader(v5_0);
                        Object v6_3 = new char[128];
                        StringBuilder v7_1 = new StringBuilder();
                        while(true) {
                            int v8_1 = v4_17.read(v6_3, 0, v6_3.length);
                            if (v8_1 <= 0) {
                                break;
                            }
                            v7_1.append(v6_3, 0, v8_1);
                        }
                        com.facebook.b.aq.a(v4_17);
                        v4_0 = new com.facebook.ao(v7_1.toString());
                }
            } catch (int v1_10) {
                int v1_1 = v0_0;
                java.io.IOException v0_2 = v1_10;
                com.facebook.b.aq.a(v3);
                com.facebook.b.aq.a(v1_1);
                throw v0_2;
            } catch (android.graphics.Bitmap v4_14) {
                v5_0 = 0;
                v4_5 = v0_0;
                v0_1 = v4_14;
            } catch (android.graphics.Bitmap v4_13) {
                v5_0 = 0;
                v4_2 = v0_0;
                v0_1 = v4_13;
            } catch (int v1_0) {
                v3 = v5_0;
                v1_1 = v0_0;
                v0_2 = v1_0;
            } catch (android.graphics.Bitmap v4_3) {
                v4_5 = v0_0;
                v0_1 = v4_3;
            } catch (android.graphics.Bitmap v4_1) {
                v4_2 = v0_0;
                v0_1 = v4_1;
            }
            com.facebook.b.aq.a(v5_0);
            com.facebook.b.aq.a(v0_0);
            v0_1 = v4_0;
        } catch (java.io.IOException v0_2) {
            v1_1 = 0;
        } catch (java.io.IOException v0_1) {
            v5_0 = 0;
            v4_5 = 0;
        } catch (java.io.IOException v0_1) {
            v5_0 = 0;
            v4_2 = 0;
        }
    }

Method com.google.android.gms.internal.bm.b() calling method java.net.URL.<init>()


    public void b()
    {
        try {
            com.google.android.gms.internal.bo.d(new StringBuilder().append("Pinging URL: ").append(this.c).toString());
            String v0_5 = ((java.net.HttpURLConnection) new java.net.URL(this.c).openConnection());
        } catch (String v0_7) {
            com.google.android.gms.internal.bo.e(new StringBuilder().append("Error while pinging URL: ").append(this.c).append(". ").append(v0_7.getMessage()).toString());
            return;
        }
        com.google.android.gms.internal.bf.a(this.b, this.a, 1, v0_5);
        String v1_3 = v0_5.getResponseCode();
        if ((v1_3 < 200) || (v1_3 >= 300)) {
            com.google.android.gms.internal.bo.e(new StringBuilder().append("Received non-success response code ").append(v1_3).append(" from pinging URL: ").append(this.c).toString());
        }
        v0_5.disconnect();
        return;
    }

Method com.google.android.gms.internal.cd.a() calling method java.net.URL.<init>()


    private static android.webkit.WebResourceResponse a(android.content.Context p7, String p8, String p9)
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(p9).openConnection());
        try {
            com.google.android.gms.internal.bf.a(p7, p8, 1, v0_3);
            v0_3.connect();
            android.webkit.WebResourceResponse v2_2 = new android.webkit.WebResourceResponse("application/javascript", "UTF-8", new java.io.ByteArrayInputStream(com.google.android.gms.internal.bf.a(new java.io.InputStreamReader(v0_3.getInputStream())).getBytes("UTF-8")));
            v0_3.disconnect();
            return v2_2;
        } catch (Throwable v1_3) {
            v0_3.disconnect();
            throw v1_3;
        }
    }

Method com.ofss.fcdb.mobile.android.augmented_reality.activity.m.a() calling method java.net.URL.<init>()


    public String a(double p10, double p12)
    {
        try {
            java.io.BufferedReader v2_1 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.net.URL(com.ofss.fcdb.mobile.android.augmented_reality.c.a.b(com.ofss.fcdb.mobile.android.augmented_reality.activity.Demo.r.doubleValue(), com.ofss.fcdb.mobile.android.augmented_reality.activity.Demo.s.doubleValue(), p10, p12)).openStream()));
            String v0_4 = "";
            try {
                while(true) {
                    StringBuilder v1_4 = v2_1.readLine();
                    v0_4 = new StringBuilder().append(v0_4).append(v1_4).toString();
                }
                v2_1.close();
                return v0_4;
            } catch (StringBuilder v1_3) {
                com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v1_3));
                return v0_4;
            }
            if (v1_4 != null) {
            }
        } catch (String v0_5) {
            v1_3 = v0_5;
            v0_4 = "";
        }
    }

Method com.ofss.fcdb.mobile.android.augmented_reality.activity.y.a() calling method java.net.URL.<init>()


    public String a(double p10, double p12)
    {
        try {
            java.io.BufferedReader v2_1 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.net.URL(com.ofss.fcdb.mobile.android.augmented_reality.c.a.b(com.ofss.fcdb.mobile.android.augmented_reality.activity.Demo_tab.r.doubleValue(), com.ofss.fcdb.mobile.android.augmented_reality.activity.Demo_tab.s.doubleValue(), p10, p12)).openStream()));
            String v0_4 = "";
            try {
                while(true) {
                    StringBuilder v1_4 = v2_1.readLine();
                    v0_4 = new StringBuilder().append(v0_4).append(v1_4).toString();
                }
                v2_1.close();
                return v0_4;
            } catch (StringBuilder v1_3) {
                com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v1_3));
                return v0_4;
            }
            if (v1_4 != null) {
            }
        } catch (String v0_5) {
            v1_3 = v0_5;
            v0_4 = "";
        }
    }

Method com.ofss.fcdb.mobile.android.augmented_reality.b.e.a() calling method java.net.URL.<init>()


    protected static java.io.InputStream a(String p6)
    {
        if (p6 != null) {
            boolean v3 = 0;
            try {
                int v0_2;
                if (!p6.startsWith("file://")) {
                    Exception v2_0 = new java.net.URL(p6).openConnection();
                    try {
                        v2_0.setReadTimeout(10000);
                        v2_0.setConnectTimeout(10000);
                        v0_2 = v2_0.getInputStream();
                    } catch (int v0_3) {
                        int v0_4 = v2_0;
                        Exception v2_1 = v0_3;
                    }
                    return v0_2;
                } else {
                    v0_2 = new java.io.FileInputStream(p6.replace("file://", ""));
                    return v0_2;
                }
                try {
                    v3.close();
                    try {
                        v3 = (v0_4 instanceof java.net.HttpURLConnection);
                    } catch (int v0) {
                        v2_1.printStackTrace();
                        v0_2 = 0;
                        return v0_2;
                    }
                    if (!v3) {
                    } else {
                        ((java.net.HttpURLConnection) v0_4).disconnect();
                    }
                } catch (boolean v3) {
                }
            } catch (int v0_6) {
                v2_1 = v0_6;
                v0_4 = 0;
            }
        } else {
            throw new NullPointerException();
        }
    }

Method com.ofss.fcdb.mobile.android.b.c.a.a() calling method java.net.URL.<init>()


    public Object a(String p16, android.content.Context p17, String p18)
    {
        java.net.HttpURLConnection v2_2;
        this.f = p17;
        if ((com.ofss.fcdb.mobile.android.b.c.f.a(com.ofss.fcdb.mobile.android.b.c.f.c)) || ((com.ofss.fcdb.mobile.android.b.c.f.a(p18)) || (!p18.equalsIgnoreCase("IVRMS")))) {
            v2_2 = com.ofss.fcdb.mobile.android.b.c.f.b;
        } else {
            v2_2 = com.ofss.fcdb.mobile.android.b.c.f.c;
        }
        this.e = new com.ofss.fcdb.mobile.android.b.f.a(p17);
        this.c = p18;
        org.json.JSONException v4_26 = 0;
        try {
            this.b = new com.ofss.fcdb.mobile.android.b.g.g(p17);
            String v5_6 = new java.net.URL(v2_2);
            try {
                org.json.JSONObject v3_1;
                java.net.HttpURLConnection v2_15;
                if (!"https".equals(v5_6.getProtocol())) {
                    v2_15 = ((java.net.HttpURLConnection) v5_6.openConnection());
                    ((java.net.HttpURLConnection) v2_15).setRequestMethod("POST");
                    v3_1 = "httpConnection";
                } else {
                    this.a = javax.net.ssl.SSLContext.getInstance("TLS");
                    java.net.HttpURLConnection v2_24 = this.a;
                    java.io.File v7_14 = new javax.net.ssl.TrustManager[1];
                    v7_14[0] = new com.ofss.fcdb.mobile.android.b.c.e(this, com.ofss.fcdb.mobile.android.b.c.f.d);
                    v2_24.init(0, v7_14, new java.security.SecureRandom());
                    javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(this.a.getSocketFactory());
                    v2_15 = ((javax.net.ssl.HttpsURLConnection) v5_6.openConnection());
                    ((javax.net.ssl.HttpsURLConnection) v2_15).setHostnameVerifier(new com.ofss.fcdb.mobile.android.b.c.d(this, 0));
                    ((javax.net.ssl.HttpsURLConnection) v2_15).setRequestMethod("POST");
                    v3_1 = 0;
                }
                try {
                    java.net.HttpURLConnection v2_5;
                    v2_15.setConnectTimeout(Integer.parseInt(com.ofss.fcdb.mobile.android.b.c.f.a("PARAM.VALUE.CONNECTION.TIMEOUT", p17)));
                    v2_15.setRequestProperty("Content-Language", "en-US");
                    v2_15.setUseCaches(0);
                    v2_15.setDoInput(1);
                    v2_15.setDoOutput(1);
                    v2_15.connect();
                } catch (org.json.JSONException v4_30) {
                    v4_26 = v3_1;
                    org.json.JSONObject v3_2 = v4_30;
                    com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v3_2));
                    if (this.d.equals("certexpired")) {
                        org.json.JSONObject v3_16 = "certificateexpired";
                    } else {
                        if (this.d.equals("notintruststore")) {
                        } else {
                            if (!this.d.equals("certnotvalid")) {
                                v3_16 = v4_26;
                            }
                        }
                    }
                    if (v2_15 != null) {
                        try {
                            if (!"https".equals(v5_6.getProtocol())) {
                                ((java.net.HttpURLConnection) v2_15).disconnect();
                            } else {
                                ((javax.net.ssl.HttpsURLConnection) v2_15).disconnect();
                            }
                        } catch (java.net.HttpURLConnection v2) {
                            v2_5 = v3_16;
                            return v2_5;
                        }
                    }
                    v2_5 = v3_16;
                    return v2_5;
                }
                if ((com.ofss.fcdb.mobile.android.b.c.f.a(p18)) || (!p18.equalsIgnoreCase("IVRMS"))) {
                    com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder().append("urlparameters=====").append(p16).toString());
                    org.json.JSONException v4_16 = new java.io.DataOutputStream(v2_15.getOutputStream());
                    v4_16.writeBytes(p16);
                    v4_16.flush();
                    v4_16.close();
                    org.json.JSONException v4_18 = v2_15.getInputStream();
                    String v8_0 = v2_15.getContentType();
                    if ((v8_0 != null) && (v2_15.getContentType().contains("zip"))) {
                        String v6_13 = new StringBuilder().append(p17.getDir("rmsdir", 2)).append("/").append("file").append(".zip").toString();
                        new java.io.File(v6_13).createNewFile();
                        java.io.FileOutputStream v9_2 = new java.io.FileOutputStream(v6_13);
                        byte[] v10_0 = new byte[1024];
                        String v6_15 = 0;
                        while(true) {
                            int v11 = v4_18.read(v10_0);
                            if (v11 == -1) {
                                break;
                            }
                            v6_15 += ((long) v11);
                            v9_2.write(v10_0, 0, v11);
                        }
                        v9_2.flush();
                        v9_2.close();
                    }
                    String v6_17 = new java.io.BufferedReader(new java.io.InputStreamReader(v4_18, "UTF-8"), 8);
                    java.io.File v7_12 = new StringBuffer();
                    while(true) {
                        org.json.JSONException v4_20 = v6_17.readLine();
                        if (v4_20 == null) {
                            break;
                        }
                        v7_12.append(v4_20);
                        v7_12.append(13);
                    }
                    if (v8_0 != null) {
                        if (!v2_15.getContentType().contains("xml")) {
                            if (v2_15.getContentType().contains("plain")) {
                                try {
                                    v3_1 = new org.json.JSONObject(v7_12.toString().trim());
                                } catch (org.json.JSONException v4) {
                                }
                            }
                        } else {
                            v3_1 = v7_12.toString().trim();
                        }
                    }
                    if (v2_15 != null) {
                        try {
                            if (!"https".equals(v5_6.getProtocol())) {
                                ((java.net.HttpURLConnection) v2_15).disconnect();
                            } else {
                                ((javax.net.ssl.HttpsURLConnection) v2_15).disconnect();
                            }
                        } catch (java.net.HttpURLConnection v2) {
                            v2_5 = v3_1;
                            return v2_5;
                        }
                    }
                    v2_5 = v3_1;
                    return v2_5;
                } else {
                    if (v2_15 != null) {
                        try {
                            if (!"https".equals(v5_6.getProtocol())) {
                                ((java.net.HttpURLConnection) v2_15).disconnect();
                            } else {
                                ((javax.net.ssl.HttpsURLConnection) v2_15).disconnect();
                            }
                        } catch (java.net.HttpURLConnection v2) {
                        }
                    }
                    v2_5 = v3_1;
                    return v2_5;
                }
            } catch (java.net.HttpURLConnection v2_32) {
                v2_15 = 0;
                org.json.JSONObject v3_17 = v2_32;
                if (v2_15 != null) {
                    try {
                        if (!"https".equals(v5_6.getProtocol())) {
                            ((java.net.HttpURLConnection) v2_15).disconnect();
                        } else {
                            ((javax.net.ssl.HttpsURLConnection) v2_15).disconnect();
                        }
                    } catch (java.net.HttpURLConnection v2) {
                    }
                }
                throw v3_17;
            } catch (java.net.HttpURLConnection v2_30) {
                v2_15 = 0;
                v3_2 = v2_30;
            } catch (java.net.HttpURLConnection v2_29) {
                v2_15 = 0;
                org.json.JSONObject v3_5 = v2_29;
                com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v3_5));
                if (v2_15 != null) {
                    try {
                        if (!"https".equals(v5_6.getProtocol())) {
                            ((java.net.HttpURLConnection) v2_15).disconnect();
                        } else {
                            ((javax.net.ssl.HttpsURLConnection) v2_15).disconnect();
                        }
                    } catch (java.net.HttpURLConnection v2) {
                        v2_5 = "connectionfailed";
                        return v2_5;
                    }
                }
                v2_5 = "connectionfailed";
                return v2_5;
            } catch (org.json.JSONObject v3_2) {
            } catch (org.json.JSONObject v3_5) {
            }
        } catch (java.net.HttpURLConnection v2_18) {
            v5_6 = 0;
            v3_17 = v2_18;
            v2_15 = 0;
        } catch (java.net.HttpURLConnection v2_16) {
            v5_6 = 0;
            v3_2 = v2_16;
            v2_15 = 0;
        } catch (java.net.HttpURLConnection v2_10) {
            v5_6 = 0;
            v3_5 = v2_10;
            v2_15 = 0;
        } catch (org.json.JSONObject v3_17) {
        }
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.k.a() calling method java.net.URL.<init>()


    public Object a(String p11, android.content.Context p12)
    {
        String v3_1;
        org.json.JSONObject v4_0 = 0;
        this.c = p12;
        if (com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.al)) {
            v3_1 = 0;
            try {
                if (this.a.y == null) {
                    this.a.y = com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.SERVER.LIST.URL", p12);
                }
            } catch (org.json.JSONException v1_45) {
                com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v1_45));
            } catch (org.json.JSONException v1_47) {
                if (v1_47.getMessage().contains("Hostname")) {
                    if (v1_47.getMessage().contains("not verified")) {
                        com.ofss.fcdb.mobile.android.b.d.a.a("HTTPWorker cert_error", v1_47.getMessage());
                        com.ofss.fcdb.mobile.android.phone.helpers.a.a(((android.app.Activity) this.c), this.c.getResources().getString(com.ofss.fcdb.mobile.android.phone.i.b.ao(this.c)), this.c.getResources().getString(com.ofss.fcdb.mobile.android.phone.i.b.ay()));
                        v4_0 = "CERTIFICATE_ERROR";
                    }
                }
            }
            if (this.d == null) {
                this.d = new java.net.URL(this.a.y);
            }
            String v2_19;
            if (!"https".equals(this.d.getProtocol())) {
                v2_19 = this.d.openConnection();
                ((java.net.HttpURLConnection) v2_19).setRequestMethod("POST");
            } else {
                this.b = javax.net.ssl.SSLContext.getInstance("TLS");
                org.json.JSONException v1_64 = this.b;
                java.io.BufferedReader v5_50 = new javax.net.ssl.TrustManager[1];
                v5_50[0] = new com.ofss.fcdb.mobile.android.phone.helpers.o(this, com.ofss.fcdb.mobile.android.b.c.f.d);
                v1_64.init(0, v5_50, new java.security.SecureRandom());
                javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(this.b.getSocketFactory());
                v2_19 = this.d.openConnection();
                ((javax.net.ssl.HttpsURLConnection) v2_19).setHostnameVerifier(new com.ofss.fcdb.mobile.android.phone.helpers.n(this, 0));
                ((javax.net.ssl.HttpsURLConnection) v2_19).setRequestMethod("POST");
            }
            v2_19.setConnectTimeout(Integer.parseInt(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.CONNECTION.TIMEOUT", p12)));
            if (this.a.s != null) {
                p11 = new StringBuilder(String.valueOf(p11)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.SESSIONID", p12)).append("=").append(this.a.s).toString();
                v2_19.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(this.a.u).toString());
            }
            if ((!com.ofss.fcdb.mobile.android.phone.helpers.a.a(com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.JSF", this.c))) && (!com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.u))) {
                v2_19.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.JSF", this.c).replace("{0}", this.a.u)).toString());
            }
            org.json.JSONException v1_27 = new StringBuilder(String.valueOf(p11)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.LANGID", this.c)).append("=").append(this.c.getResources().getString(this.c.getResources().getIdentifier("LANG_ID", "string", this.c.getPackageName()))).toString().concat(new StringBuilder("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.DEVICE", p12)).append("=").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.DEVICE", p12)).toString());
            if (!com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.z)) {
                System.setProperty("http.agent", this.a.z);
            } else {
                System.setProperty("http.agent", "AndPhone");
            }
            org.json.JSONException v1_32;
            v2_19.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            v2_19.setRequestProperty("Accept-Encoding", "gzip, deflate");
            v2_19.setRequestProperty("Content-Length", new StringBuilder().append(Integer.toString(v1_27.getBytes().length)).toString());
            v2_19.setRequestProperty("Content-Language", "en-US");
            v2_19.setUseCaches(0);
            v2_19.setDoInput(1);
            v2_19.setDoOutput(1);
            v2_19.connect();
            java.io.BufferedReader v5_43 = new java.io.DataOutputStream(v2_19.getOutputStream());
            v5_43.writeBytes(v1_27);
            v5_43.flush();
            v5_43.close();
            if (!v2_19.getContentEncoding().equalsIgnoreCase("gzip")) {
                v1_32 = v2_19.getInputStream();
            } else {
                v1_32 = new java.util.zip.GZIPInputStream(v2_19.getInputStream());
            }
            java.io.BufferedReader v5_47 = new java.io.BufferedReader(new java.io.InputStreamReader(v1_32));
            StringBuffer v6_31 = new StringBuffer();
            while(true) {
                org.json.JSONException v1_34 = v5_47.readLine();
                if (v1_34 == null) {
                    break;
                }
                com.ofss.fcdb.mobile.android.b.d.a.a(v1_34);
                v6_31.append(v1_34);
                v6_31.append(13);
            }
            v5_47.close();
            this.a(v3_1, v6_31);
            if (!v2_19.getContentType().contains("xml")) {
                if (v2_19.getContentType().contains("plain")) {
                    try {
                        v4_0 = new org.json.JSONObject(v6_31.toString().trim());
                    } catch (org.json.JSONException v1) {
                    }
                }
            } else {
                v4_0 = v6_31.toString().trim();
            }
        } else {
            if (!this.a.al.equalsIgnoreCase("Y")) {
                if (!this.a.al.equalsIgnoreCase("N")) {
                } else {
                    v4_0 = this.a(this.c(p11), 1);
                }
            } else {
                this.f = 1;
                v3_1 = this.c(p11);
            }
        }
        return v4_0;
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.k.a() calling method java.net.URL.<init>()


    public Object a(String p10, android.content.Context p11, boolean p12)
    {
        org.json.JSONObject v3 = 0;
        this.c = p11;
        try {
            if (this.a.y != null) {
                org.json.JSONObject v1_6;
                if (!p12) {
                    v1_6 = new java.net.URL(this.a.y);
                } else {
                    v1_6 = new java.net.URL(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.SOCIAL.URL", p11));
                }
                String v2_10;
                if (!"https".equals(v1_6.getProtocol())) {
                    v2_10 = v1_6.openConnection();
                    ((java.net.HttpURLConnection) v2_10).setRequestMethod("POST");
                } else {
                    this.b = javax.net.ssl.SSLContext.getInstance("TLS");
                    String v2_17 = this.b;
                    StringBuffer v5_28 = new javax.net.ssl.TrustManager[1];
                    v5_28[0] = new com.ofss.fcdb.mobile.android.phone.helpers.o(this, com.ofss.fcdb.mobile.android.b.c.f.d);
                    v2_17.init(0, v5_28, new java.security.SecureRandom());
                    javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(this.b.getSocketFactory());
                    v2_10 = v1_6.openConnection();
                    ((javax.net.ssl.HttpsURLConnection) v2_10).setHostnameVerifier(new com.ofss.fcdb.mobile.android.phone.helpers.n(this, 0));
                    ((javax.net.ssl.HttpsURLConnection) v2_10).setRequestMethod("POST");
                }
                v2_10.setConnectTimeout(Integer.parseInt(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.CONNECTION.TIMEOUT", p11)));
                if (this.a.s != null) {
                    p10 = new StringBuilder(String.valueOf(p10)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.SESSIONID", p11)).append("=").append(this.a.s).toString();
                    v2_10.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(this.a.u).toString());
                }
                org.json.JSONObject v1_10 = new StringBuilder(String.valueOf(p10)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.LANGID", this.c)).append("=").append(this.c.getResources().getString(this.c.getResources().getIdentifier("LANG_ID", "string", this.c.getPackageName()))).toString().concat(new StringBuilder("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.DEVICE", p11)).append("=").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.DEVICE", p11)).toString());
                if (!com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.z)) {
                    System.setProperty("http.agent", this.a.z);
                } else {
                    System.setProperty("http.agent", "AndTabs");
                }
                v2_10.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                System.setProperty("http.keepAlive", "false");
                v2_10.setRequestProperty("Content-Length", new StringBuilder().append(Integer.toString(v1_10.getBytes().length)).toString());
                v2_10.setRequestProperty("Content-Language", "en-US");
                v2_10.setUseCaches(0);
                v2_10.setDoInput(1);
                v2_10.setDoOutput(1);
                v2_10.connect();
                String v4_30 = new java.io.DataOutputStream(v2_10.getOutputStream());
                v4_30.writeBytes(v1_10);
                v4_30.flush();
                v4_30.close();
                String v4_32 = new java.io.BufferedReader(new java.io.InputStreamReader(v2_10.getInputStream()));
                StringBuffer v5_26 = new StringBuffer();
                while(true) {
                    org.json.JSONObject v1_13 = v4_32.readLine();
                    if (v1_13 == null) {
                        break;
                    }
                    v5_26.append(v1_13);
                    v5_26.append(13);
                }
                v4_32.close();
                if (!v2_10.getContentType().contains("xml")) {
                    if (!v2_10.getContentType().contains("plain")) {
                        org.json.JSONObject v1_21;
                        if (!v2_10.getContentType().contains("json")) {
                            v1_21 = 0;
                        } else {
                            v1_21 = v5_26.toString().trim();
                        }
                        v3 = v1_21;
                    } else {
                        try {
                            v3 = new org.json.JSONObject(v5_26.toString().trim());
                        } catch (org.json.JSONObject v1) {
                        }
                    }
                } else {
                    v3 = v5_26.toString().trim();
                }
            } else {
                this.a.y = com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.SERVER.LIST.URL", p11);
            }
        } catch (org.json.JSONObject v1_26) {
            com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v1_26));
        } catch (org.json.JSONObject v1_28) {
            if (!v1_28.getMessage().contains("Hostname")) {
            } else {
                if (!v1_28.getMessage().contains("was not verified")) {
                } else {
                    com.ofss.fcdb.mobile.android.b.d.a.a("HTTPWorker cert_error", v1_28.getMessage());
                    v3 = "CERTIFICATE_ERROR";
                }
            }
        }
        return v3;
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.k.a() calling method java.net.URL.<init>()


    public void a(String p22, String p23, android.content.Context p24, android.os.ResultReceiver p25, Boolean p26)
    {
        this.c = this.a.W;
        android.content.Intent v7_2 = 0;
        boolean v3_37 = 0;
        android.content.Intent v6_11 = 0;
        String v5_2 = 0;
        int v9 = 0;
        String[] v4_0 = 0;
        try {
            int v2_18;
            if (this.a.y != null) {
                android.content.Intent v8_3 = new java.net.URL(this.a.y);
                try {
                    int v2_2;
                    if (!"https".equals(v8_3.getProtocol())) {
                        v3_37 = v8_3.openConnection();
                        ((java.net.HttpURLConnection) v3_37).setRequestMethod("POST");
                        v2_2 = v3_37;
                    } else {
                        this.b = javax.net.ssl.SSLContext.getInstance("TLS");
                        int v2_34 = this.b;
                        long v10_56 = new javax.net.ssl.TrustManager[1];
                        v10_56[0] = new com.ofss.fcdb.mobile.android.phone.helpers.o(this, com.ofss.fcdb.mobile.android.b.c.f.d);
                        v2_34.init(0, v10_56, new java.security.SecureRandom());
                        javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(this.b.getSocketFactory());
                        v3_37 = v8_3.openConnection();
                        ((javax.net.ssl.HttpsURLConnection) v3_37).setHostnameVerifier(new com.ofss.fcdb.mobile.android.phone.helpers.n(this, 0));
                        ((javax.net.ssl.HttpsURLConnection) v3_37).setRequestMethod("POST");
                        v2_2 = v3_37;
                    }
                    try {
                        v2_2.setConnectTimeout(Integer.parseInt(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.CONNECTION.TIMEOUT", p24)));
                    } catch (boolean v3_1) {
                        v7_2 = v8_3;
                        try {
                            com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v3_1));
                        } catch (boolean v3_2) {
                            v8_3 = v7_2;
                        }
                        if (v3_1.getMessage().contains("Hostname")) {
                            if (v3_1.getMessage().contains("was not verified")) {
                                v9 = 1;
                                com.ofss.fcdb.mobile.android.b.d.a.a("HTTPWorker cert_error", v3_1.getMessage());
                                android.widget.Toast.makeText(this.c, com.ofss.fcdb.mobile.android.phone.i.b.b(this.c, "CERTIFICATE_ERROR"), 0).show();
                                this.a.N = 0;
                                this.a.u = 0;
                                this.a.s = 0;
                                this.a.j.clear();
                                if (this.a.C != null) {
                                    this.a.C.clear();
                                }
                                this.a.A.clear();
                                this.a.K.clear();
                                this.a.I.clear();
                                try {
                                    boolean v3_56 = Class.forName(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.LAUNCHER.CLASS", this.c));
                                } catch (boolean v3_57) {
                                    com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v3_57));
                                    v3_56 = 0;
                                }
                                if (v3_56) {
                                    android.content.Intent v8_17 = new android.content.Intent(this.c, v3_56);
                                    v8_17.addFlags(268468224);
                                    this.c.startActivity(v8_17);
                                }
                            }
                        }
                        boolean v3_61 = v9;
                        if (v2_2 != 0) {
                            if (!"https".equals(v7_2.getProtocol())) {
                                ((java.net.HttpURLConnection) v2_2).disconnect();
                            } else {
                                ((javax.net.ssl.HttpsURLConnection) v2_2).disconnect();
                            }
                        }
                        if (v6_11 != null) {
                            try {
                                v6_11.close();
                            } catch (int v2) {
                            }
                        }
                        if (v5_2 == null) {
                            v2_18 = v3_61;
                            if (v2_18 == 0) {
                                int v2_30 = new android.os.Bundle();
                                if ((p26.booleanValue()) || ((v4_0 == null) || (com.ofss.fcdb.mobile.android.phone.helpers.a.a(v4_0[1])))) {
                                    v2_30.putString("ext", ark>com.ofss.fcdb.mobile.android.phone.helpers.kark>.a(p23));
                                } else {
                                    v2_30.putString("ext", new StringBuilder(".").append(v4_0[1]).toString());
                                }
                                v2_30.putString("filepath", p23);
                                v2_30.putInt("progress", 100);
                                p25.send(1234, v2_30);
                            }
                            return;
                        } else {
                            try {
                                v5_2.close();
                                v2_18 = v3_61;
                            } catch (int v2) {
                                v2_18 = v3_61;
                            }
                        }
                    } catch (boolean v3_0) {
                        com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v3_0));
                        if (v2_2 != 0) {
                            if (!"https".equals(v8_3.getProtocol())) {
                                ((java.net.HttpURLConnection) v2_2).disconnect();
                            } else {
                                ((javax.net.ssl.HttpsURLConnection) v2_2).disconnect();
                            }
                        }
                        if (v6_11 != null) {
                            try {
                                v6_11.close();
                            } catch (int v2) {
                            }
                        }
                        if (v5_2 == null) {
                            v2_18 = 0;
                        } else {
                            try {
                                v5_2.close();
                                v2_18 = 0;
                            } catch (int v2) {
                                v2_18 = 0;
                            }
                        }
                    }
                    if (this.a.s != null) {
                        p22 = new StringBuilder(String.valueOf(p22)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.SESSIONID", this.c)).append("=").append(this.a.s).toString();
                        v2_2.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(this.a.u).toString());
                    }
                    if ((!com.ofss.fcdb.mobile.android.phone.helpers.a.a(com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.JSF", this.c))) && (!com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.u))) {
                        v2_2.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.JSF", this.c).replace("{0}", this.a.u)).toString());
                    }
                    boolean v3_29 = new StringBuilder(String.valueOf(p22)).append("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.LANGID", this.c)).append("=").append(this.c.getResources().getString(this.c.getResources().getIdentifier("LANG_ID", "string", this.c.getPackageName()))).toString().concat(new StringBuilder("&").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.NAME.DEVICE", this.c)).append("=").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.DEVICE", this.c)).toString());
                    if (!com.ofss.fcdb.mobile.android.phone.helpers.a.a(this.a.z)) {
                        System.setProperty("http.agent", this.a.z);
                    } else {
                        System.setProperty("http.agent", "AndPhone");
                    }
                    v2_2.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    System.setProperty("http.keepAlive", "false");
                    v2_2.setRequestProperty("Content-Length", new StringBuilder().append(Integer.toString(v3_29.getBytes().length)).toString());
                    v2_2.setRequestProperty("Content-Language", "en-US");
                    v2_2.setUseCaches(0);
                    v2_2.setDoInput(1);
                    v2_2.setDoOutput(1);
                    v2_2.connect();
                    android.content.Intent v7_45 = v2_2.getOutputStream();
                    v7_45.write(v3_29.getBytes());
                    v7_45.flush();
                    v7_45.close();
                    android.content.Intent v7_46 = v2_2.getInputStream();
                    try {
                        boolean v3_31 = v2_2.getContentLength();
                    } catch (boolean v3_2) {
                        v6_11 = v7_46;
                    } catch (boolean v3_1) {
                        v6_11 = v7_46;
                        v7_2 = v8_3;
                    } catch (boolean v3_0) {
                        v6_11 = v7_46;
                    }
                    if (!p26.booleanValue()) {
                        android.content.Intent v6_2 = new android.text.format.Time(android.text.format.Time.getCurrentTimezone());
                        v6_2.setToNow();
                        android.content.Intent v6_5 = new StringBuilder(String.valueOf(v6_2.monthDay)).append("_").append(v6_2.month).append("_").append(v6_2.year).append(v6_2.hour).append("_").append(v6_2.minute).append("_").append(v6_2.second).toString();
                        v4_0 = v2_2.getContentType().split("/");
                        p23 = new StringBuilder(String.valueOf(p23)).append("_").append(v6_5).append(".").append(v4_0[1]).toString();
                        android.content.Intent v6_10 = new java.io.File(p23);
                        if (v6_10.exists()) {
                            v6_10.delete();
                        }
                    }
                    android.content.Intent v6_13 = new java.io.FileOutputStream(p23);
                    try {
                        String v5_1 = new byte[1024];
                        long v10_48 = 0;
                    } catch (boolean v3_2) {
                        v5_2 = v6_13;
                        v6_11 = v7_46;
                    } catch (boolean v3_1) {
                        v5_2 = v6_13;
                        v6_11 = v7_46;
                        v7_2 = v8_3;
                    } catch (boolean v3_0) {
                        v5_2 = v6_13;
                        v6_11 = v7_46;
                    }
                    while(true) {
                        int v12_3 = v7_46.read(v5_1);
                        if (v12_3 == -1) {
                            break;
                        }
                        v10_48 += ((long) v12_3);
                        int v13_4 = new android.os.Bundle();
                        v13_4.putInt("progress", ((int) ((100 * v10_48) / ((long) v3_31))));
                        v13_4.putString("filepath", p23);
                        p25.send(8344, v13_4);
                        v6_13.write(v5_1, 0, v12_3);
                    }
                    v6_13.flush();
                    v6_13.close();
                    v7_46.close();
                    if (v2_2 != 0) {
                        if (!"https".equals(v8_3.getProtocol())) {
                            ((java.net.HttpURLConnection) v2_2).disconnect();
                        } else {
                            ((javax.net.ssl.HttpsURLConnection) v2_2).disconnect();
                        }
                    }
                    if (v7_46 != null) {
                        try {
                            v7_46.close();
                        } catch (int v2) {
                        }
                    }
                    if (v6_13 == null) {
                    } else {
                        try {
                            v6_13.close();
                            v2_18 = 0;
                        } catch (int v2) {
                            v2_18 = 0;
                        }
                    }
                } catch (int v2_26) {
                    v2_2 = v3_37;
                    v3_2 = v2_26;
                } catch (int v2_21) {
                    v7_2 = v8_3;
                    v3_1 = v2_21;
                    v2_2 = v3_37;
                } catch (int v2_20) {
                    v2_2 = v3_37;
                    v3_0 = v2_20;
                } catch (int v2_5) {
                    v2_2 = v3_37;
                    v3_2 = v2_5;
                } catch (int v2_4) {
                    v7_2 = v8_3;
                    v3_1 = v2_4;
                    v2_2 = v3_37;
                } catch (int v2_3) {
                    v2_2 = v3_37;
                    v3_0 = v2_3;
                }
            } else {
                this.a.y = com.ofss.fcdb.mobile.android.phone.helpers.a.c("APP.SERVER.LIST.URL", this.c);
            }
        } catch (int v2_14) {
            v8_3 = 0;
            v3_2 = v2_14;
            v2_2 = 0;
        } catch (int v2_13) {
            v2_2 = 0;
            v3_1 = v2_13;
        } catch (int v2_12) {
            v8_3 = 0;
            v3_0 = v2_12;
            v2_2 = 0;
        } catch (boolean v3_2) {
        }
        if (v2_2 != 0) {
            if (!"https".equals(v8_3.getProtocol())) {
                ((java.net.HttpURLConnection) v2_2).disconnect();
            } else {
                ((javax.net.ssl.HttpsURLConnection) v2_2).disconnect();
            }
        }
        if (v6_11 != null) {
            try {
                v6_11.close();
            } catch (int v2) {
            }
        }
        if (v5_2 != null) {
            try {
                v5_2.close();
            } catch (int v2) {
            }
        }
        throw v3_2;
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.k.b() calling method java.net.URL.<init>()


    public android.graphics.Bitmap b(String p4)
    {
        try {
            Exception v1_3 = new java.net.URL(p4).openConnection();
            v1_3.setConnectTimeout(3000);
            v1_3.setReadTimeout(60000);
            android.graphics.Bitmap v0 = android.graphics.BitmapFactory.decodeStream(v1_3.getInputStream());
        } catch (Exception v1) {
        } catch (Exception v1) {
        }
        return v0;
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.p.a() calling method java.net.URL.<init>()


    public String a(String p10)
    {
        try {
            String v4_3 = new java.net.URL(p10);
            try {
                java.net.HttpURLConnection v2_0 = v4_3.openConnection();
                try {
                    ((java.net.HttpURLConnection) v2_0).setRequestMethod("POST");
                    System.setProperty("http.agent", "Android_Phone");
                    v2_0.setConnectTimeout(1200);
                    System.setProperty("http.agent", "androidPhone");
                    v2_0.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    System.setProperty("http.keepAlive", "false");
                    v2_0.setRequestProperty("Content-Language", "en-US");
                    v2_0.setUseCaches(0);
                    v2_0.setDoInput(1);
                    v2_0.setDoOutput(1);
                    v2_0.connect();
                    boolean v5_7 = new java.io.BufferedReader(new java.io.InputStreamReader(v2_0.getInputStream(), "UTF-8"), 8);
                    String v1_19 = new StringBuffer();
                } catch (String v1_26) {
                    String v1_5 = v2_0;
                    java.net.HttpURLConnection v2_4 = v1_26;
                    if (v1_5 != null) {
                        if (!"https".equals(v4_3.getProtocol())) {
                            ((java.net.HttpURLConnection) v1_5).disconnect();
                        } else {
                            ((javax.net.ssl.HttpsURLConnection) v1_5).disconnect();
                        }
                    }
                    throw v2_4;
                } catch (String v1) {
                    String v1_3 = v2_0;
                    java.net.HttpURLConnection v2_3 = v4_3;
                    if (v1_3 != null) {
                        if (!"https".equals(v2_3.getProtocol())) {
                            ((java.net.HttpURLConnection) v1_3).disconnect();
                        } else {
                            ((javax.net.ssl.HttpsURLConnection) v1_3).disconnect();
                        }
                    }
                    String v1_2 = 0;
                    return v1_2;
                }
                while(true) {
                    int v6_2 = v5_7.readLine();
                    if (v6_2 == 0) {
                        break;
                    }
                    v1_19.append(v6_2);
                    v1_19.append(13);
                }
                String v1_22;
                v5_7.close();
                if (!v2_0.getContentType().contains("xml")) {
                    v1_22 = v1_19.toString().trim();
                } else {
                    v1_22 = v1_19.toString().trim();
                }
                v1_2 = v1_22.toString();
                if (v2_0 == null) {
                    return v1_2;
                } else {
                    if (!"https".equals(v4_3.getProtocol())) {
                        ((java.net.HttpURLConnection) v2_0).disconnect();
                        return v1_2;
                    } else {
                        ((javax.net.ssl.HttpsURLConnection) v2_0).disconnect();
                        return v1_2;
                    }
                }
            } catch (String v1_4) {
                v2_4 = v1_4;
                v1_5 = 0;
            } catch (String v1) {
                v1_3 = 0;
                v2_3 = v4_3;
            }
        } catch (String v1_20) {
            v2_4 = v1_20;
            v4_3 = 0;
            v1_5 = 0;
        } catch (String v1) {
            v1_3 = 0;
            v2_3 = 0;
        }
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.r.b() calling method java.net.URL.<init>()


    public byte[] b()
    {
        java.io.InputStream v3 = 0;
        java.io.ByteArrayOutputStream v4_1 = new java.io.ByteArrayOutputStream();
        try {
            byte[] v1_5;
            byte[] v1_9 = new java.net.URL(this.a.y);
        } catch (byte[] v1_3) {
            try {
                if (v4_1 == null) {
                    if (v3 != null) {
                        v3.close();
                    }
                } else {
                    v4_1.close();
                }
            } catch (Exception v2_1) {
                v2_1.printStackTrace();
            }
            throw v1_3;
        } catch (byte[] v1_8) {
            Exception v2_6 = 0;
            com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v1_8));
            try {
                if (v4_1 != null) {
                    v4_1.close();
                }
            } catch (byte[] v1_1) {
                v1_1.printStackTrace();
                byte[] v1_2 = 0;
                return v1_2;
            }
            if (v2_6 == null) {
                v1_2 = 0;
                return v1_2;
            } else {
                v2_6.close();
                v1_2 = 0;
                return v1_2;
            }
        } catch (byte[] v1_3) {
            v3 = v2_6;
        }
        if (!"https".equals(v1_9.getProtocol())) {
            v1_5 = ((java.net.HttpURLConnection) v1_9.openConnection());
            ((java.net.HttpURLConnection) v1_5).setRequestMethod("POST");
        } else {
            v1_5 = ((javax.net.ssl.HttpsURLConnection) v1_9.openConnection());
            ((javax.net.ssl.HttpsURLConnection) v1_5).setHostnameVerifier(new com.ofss.fcdb.mobile.android.phone.helpers.s(this));
            ((javax.net.ssl.HttpsURLConnection) v1_5).setRequestMethod("POST");
        }
        v1_5.setDoInput(1);
        v1_5.setDoOutput(1);
        v1_5.setUseCaches(0);
        v1_5.setRequestProperty("Connection", "Keep-Alive");
        v1_5.setRequestProperty("APP-Channel", "43");
        v1_5.setRequestProperty("Content-Type", new StringBuilder("multipart/form-data; boundary=").append(this.a()).toString());
        v1_5.setRequestProperty("Cookie", new StringBuilder("JSESSIONID=").append(this.a.u).toString());
        v1_5.setRequestProperty("Content-Length", String.valueOf(this.b.length));
        v1_5.setRequestProperty("Chunked-Content-Length", String.valueOf(this.b.length));
        Exception v2_20 = new java.io.DataOutputStream(v1_5.getOutputStream());
        v2_20.write(this.b);
        v2_20.close();
        v2_6 = v1_5.getInputStream();
        try {
            while(true) {
                byte[] v1_10 = v2_6.read();
                v4_1.write(v1_10);
            }
            v1_2 = v4_1.toByteArray();
            try {
                if (v4_1 != null) {
                    v4_1.close();
                }
            } catch (Exception v2_2) {
                v2_2.printStackTrace();
                return v1_2;
            }
            if (v2_6 == null) {
                return v1_2;
            } else {
                v2_6.close();
                return v1_2;
            }
        } catch (byte[] v1_8) {
        }
        if (v1_10 != -1) {
        }
    }

Method com.ofss.fcdb.mobile.android.phone.social.k.a() calling method java.net.URL.<init>()


    private android.graphics.Bitmap a(String p5)
    {
        java.io.File v1 = this.b.a(p5);
        int v0_3 = this.a(v1);
        if (v0_3 == 0) {
            try {
                int v0_1 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
                v0_1.setConnectTimeout(30000);
                v0_1.setReadTimeout(30000);
                v0_1.setInstanceFollowRedirects(1);
                java.io.InputStream v2_3 = v0_1.getInputStream();
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v1);
                com.ofss.fcdb.mobile.android.phone.social.r.a(v2_3, v3_1);
                v3_1.close();
                v0_1.disconnect();
                this.g = this.a(v1);
                v0_3 = this.g;
            } catch (int v0_4) {
                v0_4.printStackTrace();
                if ((v0_4 instanceof OutOfMemoryError)) {
                    this.a.a();
                }
                v0_3 = 0;
            }
        }
        return v0_3;
    }