#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ writeVerbose(int, char *, ...);
void showUsage() {
  writeVerbose(1, "%s (%s) %s :: %s\n", "pop3.mod", "2.0",
               "JoMo-Kun <jmk@foofus.net>",
               "Brute force module for POP3 sessions");
  writeVerbose(1, "Available module options:");
  writeVerbose(1, "  MODE:? (NORMAL, AS400) [optional]");
  writeVerbose(1, "    Sets the mode for error detection.");
  writeVerbose(1, " AUTH:? (Authentication Type (USER/PLAIN/LOGIN/NTLM). "
                  "Default: automatic)");
  writeVerbose(1, "    Module will query service for accepted methods via an "
                  "\"AUTH\" request.");
  writeVerbose(1, "    USER (clear-text), SASL PLAIN, SASL LOGIN, and SASL "
                  "NTLM authentication methods are supported.");
  writeVerbose(1, "  DOMAIN:? [optional]");
  writeVerbose(
      1, "    AUTH USER - Appends domain to username (e.g. user@domain.com).");
  writeVerbose(1, "    AUTH NTLM - Supplies specified domain during NTLM "
                  "authentication. The default");
  writeVerbose(
      1,
      "                behaviour is to use the server supplied domain value.");
  writeVerbose(1, "");
  writeVerbose(1, "  Usage example: ");
  writeVerbose(
      1, "    \"medusa -M pop3 -m MODE:AS400 -U accounts.txt -p password\"");
  writeVerbose(
      1,
      "    \"medusa -M pop3 -m DOMAIN:foo.com -U accounts.txt -p password\"");
  writeVerbose(1, "");
}


x86 assembly (clang, -O0):
<showUsage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee0(%rip),%rsi
lea    0xeeb(%rip),%rdx
lea    0xeed(%rip),%rcx
lea    0xeea(%rip),%r8
lea    0xefd(%rip),%r9
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf0f(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf16(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf27(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf3b(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf72(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xfa9(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xff9(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xffc(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0x102c(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0x106b(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xe04(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0x108b(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0x108a(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0x10b6(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xdb8(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<showUsage>:
push   %rbx
lea    0xee8(%rip),%rsi
lea    0xef3(%rip),%rdx
lea    0xef5(%rip),%rcx
lea    0xef2(%rip),%r8
lea    0xf05(%rip),%r9
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf17(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf1e(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf2f(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf43(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf7a(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xfb1(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x1001(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x1004(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x1034(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x1073(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xe0c(%rip),%rbx
mov    $0x1,%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x1090(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x108f(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0x10bb(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1030 <writeVerbose@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"%s (%s) %s :: %s\0A\00"
@.str.1 = [9 x i8] c"pop3.mod\00"
@.str.2 = [4 x i8] c"2.0\00"
@.str.3 = [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00"
@.str.4 = [37 x i8] c"Brute force module for POP3 sessions\00"
@.str.5 = [26 x i8] c"Available module options:\00"
@.str.6 = [36 x i8] c" MODE:? (NORMAL, AS400) [optional]\00"
@.str.7 = [39 x i8] c" Sets the mode for error detection.\00"
@.str.8 = [74 x i8] c" AUTH:? (Authentication Type (USER/PLAIN/LOGIN/NTLM). Default: automatic)\00"
@.str.9 = [74 x i8] c" Module will query service for accepted methods via an \22AUTH\22 request.\00"
@.str.10 = [99 x i8] c" USER (clear-text), SASL PLAIN, SASL LOGIN, and SASL NTLM authentication methods are supported.\00"
@.str.11 = [22 x i8] c" DOMAIN:? [optional]\00"
@.str.12 = [67 x i8] c" AUTH USER - Appends domain to username (e.g. user@domain.com).\00"
@.str.13 = [82 x i8] c" AUTH NTLM - Supplies specified domain during NTLM authentication. The default\00"
@.str.14 = [70 x i8] c" behaviour is to use the server supplied domain value.\00"
@.str.15 = [1 x i8] zeroinitializer
@.str.16 = [18 x i8] c" Usage example: \00"
@.str.17 = [63 x i8] c" \22medusa -M pop3 -m MODE:AS400 -U accounts.txt -p password\22\00"
@.str.18 = [67 x i8] c" \22medusa -M pop3 -m DOMAIN:foo.com -U accounts.txt -p password\22\00"
define void @showUsage() {
%1 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%2 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%3 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
%4 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%5 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.10, i64 0, i64 0))
%8 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%9 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.12, i64 0, i64 0))
%10 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%11 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.14, i64 0, i64 0))
%12 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%13 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0))
%14 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
%15 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.18, i64 0, i64 0))
%16 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"%s (%s) %s :: %s\0A\00"
@.str.1 = [9 x i8] c"pop3.mod\00"
@.str.2 = [4 x i8] c"2.0\00"
@.str.3 = [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00"
@.str.4 = [37 x i8] c"Brute force module for POP3 sessions\00"
@.str.5 = [26 x i8] c"Available module options:\00"
@.str.6 = [36 x i8] c" MODE:? (NORMAL, AS400) [optional]\00"
@.str.7 = [39 x i8] c" Sets the mode for error detection.\00"
@.str.8 = [74 x i8] c" AUTH:? (Authentication Type (USER/PLAIN/LOGIN/NTLM). Default: automatic)\00"
@.str.9 = [74 x i8] c" Module will query service for accepted methods via an \22AUTH\22 request.\00"
@.str.10 = [99 x i8] c" USER (clear-text), SASL PLAIN, SASL LOGIN, and SASL NTLM authentication methods are supported.\00"
@.str.11 = [22 x i8] c" DOMAIN:? [optional]\00"
@.str.12 = [67 x i8] c" AUTH USER - Appends domain to username (e.g. user@domain.com).\00"
@.str.13 = [82 x i8] c" AUTH NTLM - Supplies specified domain during NTLM authentication. The default\00"
@.str.14 = [70 x i8] c" behaviour is to use the server supplied domain value.\00"
@.str.15 = [1 x i8] zeroinitializer
@.str.16 = [18 x i8] c" Usage example: \00"
@.str.17 = [63 x i8] c" \22medusa -M pop3 -m MODE:AS400 -U accounts.txt -p password\22\00"
@.str.18 = [67 x i8] c" \22medusa -M pop3 -m DOMAIN:foo.com -U accounts.txt -p password\22\00"
define void @showUsage() {
%1 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%2 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
%4 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%5 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0))
%7 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.10, i64 0, i64 0))
%8 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%9 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.12, i64 0, i64 0))
%10 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%11 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.14, i64 0, i64 0))
%12 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%13 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0))
%14 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
%15 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.18, i64 0, i64 0))
%16 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
ret void
}