#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", "pcanywhere.mod", "2.0",
               "JoMo-Kun <jmk@foofus.net>",
               "Brute force module for PcAnywhere sessions");
  writeVerbose(1, "NOTE: PcAnywhere allows only one connection at a time. "
                  "Running multiple threads per target");
  writeVerbose(1, "      may not work well.");
  writeVerbose(1, "");
  writeVerbose(1, "Available module options:");
  writeVerbose(1, "  DOMAIN:?");
  writeVerbose(1, "    Option allows manual setting of domain to check against "
                  "when host uses NT authentication.");
  writeVerbose(1, "");
  writeVerbose(1, "Usage example: \"-M pcanywhere -m DOMAIN:FOODOM\"");
}


x86 assembly (clang, -O0):
<showUsage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee0(%rip),%rsi
lea    0xeeb(%rip),%rdx
lea    0xef3(%rip),%rcx
lea    0xef0(%rip),%r8
lea    0xf03(%rip),%r9
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf1b(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf63(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xe9c(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf56(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf5d(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf55(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xe50(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf8d(%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    0xefb(%rip),%rcx
lea    0xef8(%rip),%r8
lea    0xf0b(%rip),%r9
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf23(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf6b(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xea4(%rip),%rbx
mov    $0x1,%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf5b(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf62(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf5a(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf96(%rip),%rsi
mov    $0x1,%edi
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 = [15 x i8] c"pcanywhere.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 = [43 x i8] c"Brute force module for PcAnywhere sessions\00"
@.str.5 = [91 x i8] c"NOTE: PcAnywhere allows only one connection at a time. Running multiple threads per target\00"
@.str.6 = [25 x i8] c" may not work well.\00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [26 x i8] c"Available module options:\00"
@.str.9 = [11 x i8] c" DOMAIN:?\00"
@.str.10 = [94 x i8] c" Option allows manual setting of domain to check against when host uses NT authentication.\00"
@.str.11 = [48 x i8] c"Usage example: \22-M pcanywhere -m DOMAIN:FOODOM\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 ([15 x i8], [15 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 ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0))
%2 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.5, i64 0, i64 0))
%3 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%4 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
%5 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.10, i64 0, i64 0))
%8 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"%s (%s) %s :: %s\0A\00"
@.str.1 = [15 x i8] c"pcanywhere.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 = [43 x i8] c"Brute force module for PcAnywhere sessions\00"
@.str.5 = [91 x i8] c"NOTE: PcAnywhere allows only one connection at a time. Running multiple threads per target\00"
@.str.6 = [25 x i8] c" may not work well.\00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [26 x i8] c"Available module options:\00"
@.str.9 = [11 x i8] c" DOMAIN:?\00"
@.str.10 = [94 x i8] c" Option allows manual setting of domain to check against when host uses NT authentication.\00"
@.str.11 = [48 x i8] c"Usage example: \22-M pcanywhere -m DOMAIN:FOODOM\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 ([15 x i8], [15 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 ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0))
%2 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%4 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
%5 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
%7 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.10, i64 0, i64 0))
%8 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0))
ret void
}