// File: /workspace/github_c_makefile_star2_O3/NedFreed[P]msglint/msglint.c
// Function: main
int main(int argc, char **argv)
{
    int r = 0;
    const char *name;
    char *buf, *basebuf, *src, *dst;
    size_t used, count, unused;
    FILE *infile = stdin;
    
    msglint_initialize();

    name = strrchr(*argv, '/');
    name = name == NULL ? *argv : name + 1;
    if (strncmp("web", name, 3) == 0
	|| getenv("GATEWAY_INTERFACE") != (char *)0)
	web_cgi = 1;
    
    /* parse args */
    while (*++argv != NULL && **argv == '-') switch ((*argv)[1]) {
      case 'v':
	verbose = 1;
	break;

      case 'w':
	web_cgi = 1;
	break;

      case '5':
	show_md5 = 1;
	break;

      case 'm':
	mime_msg = 1;
	break;

      case 't':
	do_sendmail = 1;
	break;

      case 'q':
	quiet = 1;
	break;

      case 's':
	silent = 1;
	break;

      case 'f':
	if (argv[1] != NULL) {
	    from_addr = *++argv;
	    mime_msg = 1;
	}
	break;

      default:
	usage(name);
    }
    if (!do_sendmail || !mime_msg) {
	outfile = stdout;
    }
    
    do {
	if (*argv != NULL) {
	    if (outfile != NULL && (infile != stdin || argv[1] != NULL)) {
		fprintf(outfile, "---%s\n", *argv);
	    }
	    infile = fopen(*argv, "r");
	    if (infile == NULL) {
		perror(*argv);
		exit(1);
	    }
	    ++argv;
	}
    
	/* read in the data */
	basebuf = buf = malloc(unused = BUFSIZE);
	if (buf == NULL) {
	    perror("malloc");
	    exit(1);
	}
	used = 0;
	while ((count = fread(buf + used, 1, unused, infile)) > 0) {
	    used += count;
	    unused -= count;
	    if (unused == 0) {
		basebuf = buf = realloc(buf, used * 2);
		if (buf == NULL) {
		    perror("realloc");
		    exit(1);
		}
		unused += used;
	    }
	}
	buf[used] = '\0';
	if (infile != stdin) fclose(infile);
	
	/* remove web CGI grunge */
	if (web_cgi) {
	    for (src = buf; *src != '\0' && !isspace(*src) &&
		 *src != ':' && *src != '='; ++src)
		;
	    if (*src == '=') {
		++src;
		for (dst = buf; *src != '&' && *src != '\0'; ++src, ++dst) {
		    if (*src == '%') {
			*dst = (hex_table[(unsigned char)src[1]] << 4) +
			    hex_table[(unsigned char)src[2]];
			src += 2;
		    } else if (*src == '+') {
			*dst = ' ';
		    } else {
			*dst = *src;
		    }
		}
		*dst = '\0';
		used = dst - buf;
	    }
	} else if (used > 5 && strncmp(buf, "From ", 5) == 0) {
	    /* remove "From " grunge */
	    while (used > 0 && *buf != '\n' && *buf != '\r') {
		--used, ++buf;
	    }
	    while (used > 0 && (*buf == '\n' || *buf == '\r')) {
		--used, ++buf;
	    }
	}
	
	/* parse the data */
	if (verbose) wprintf(NULL, w_ok, "read message of size %d", used);

	r = msglint_parsemessage(buf, used);

	/* close file */
	if (infile != stdin) fclose(infile);

	/* release buffer */
	free(basebuf);
    } while (r == 0 && *argv != NULL);

    return (r);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x518, %rsp            # imm = 0x518
movq %rsi, %r14
movq 0xe89f(%rip), %rax      # 0x10fd8
movq (%rax), %rbx
leaq 0xf4bd(%rip), %r15      # 0x11c00
movl $0x100, %edx            # imm = 0x100
movq %r15, %rdi
xorl %esi, %esi
callq 0x20f0
movb $0x28, %dl
movl $0x1, %eax
leaq 0xaa82(%rip), %rcx      # 0xd1e2
movzbl %dl, %edx
movb $0x1, (%rdx,%r15)
movb (%rax,%rcx), %dl
incq %rax
cmpq $0xe, %rax
jne 0x2760
movb $0x28, %dl
movl $0x1, %eax
leaq 0xca0e(%rip), %rcx      # 0xf190
movzbl %dl, %edx
orb $0x2, (%rdx,%r15)
movb (%rax,%rcx), %dl
incq %rax
cmpq $0x10, %rax
jne 0x2782
movb $0x27, %dl
movl $0x1, %eax
leaq 0xc9fc(%rip), %rcx      # 0xf1a0
movzbl %dl, %edx
orb $0x4, (%rdx,%r15)
movb (%rax,%rcx), %dl
incq %rax
cmpq $0x18, %rax
jne 0x27a4
xorl %eax, %eax
leaq 0x93df(%rip), %rcx      # 0xbba0
orb $0x4, 0x41(%rax,%r15)
movzbl 0x41(%rax,%rcx), %edx
orb $0x4, (%rdx,%r15)
incq %rax
cmpq $0x1a, %rax
jne 0x27c1
leaq 0xf31f(%rip), %r15      # 0x11b00
movl $0x100, %edx            # imm = 0x100
movq %r15, %rdi
movl $0x10, %esi
callq 0x20f0
movb $0x30, %dl
xorl %eax, %eax
leaq 0x95b2(%rip), %rcx      # 0xbdb0
movzbl %dl, %edx
movb %al, (%rdx,%r15)
movb 0x1(%rax,%rcx), %dl
incq %rax
cmpq $0x10, %rax
jne 0x27fe
movq (%r14), %r12
movq %r12, %rdi
movl $0x2f, %esi
callq 0x20c0
leaq 0x1(%rax), %r15
testq %rax, %rax
cmoveq %r12, %r15
movzbl (%r15), %eax
subl $0x77, %eax
jne 0x284e
movzbl 0x1(%r15), %eax
subl $0x65, %eax
jne 0x284e
movzbl 0x2(%r15), %ecx
movl $0x62, %eax
subl %ecx, %eax
jmp 0x2850
negl %eax
testl %eax, %eax
je 0x2865
leaq 0xa941(%rip), %rdi      # 0xd19c
callq 0x2030
testq %rax, %rax
je 0x286f
movl $0x1, 0xf275(%rip)      # 0x11ae4
leaq 0x8(%r14), %r13
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0x2935
leaq 0xf249(%rip), %rax      # 0x11ad0
leaq 0xf252(%rip), %rcx      # 0x11ae0
leaq 0xf247(%rip), %rsi      # 0x11adc
leaq 0x8784(%rip), %rdi      # 0xb020
leaq 0xf231(%rip), %r8       # 0x11ad4
leaq 0xf22e(%rip), %r9       # 0x11ad8
leaq 0xf237(%rip), %r10      # 0x11ae8
leaq 0xf22c(%rip), %r11      # 0x11ae4
cmpb $0x2d, (%rdx)
jne 0x2937
movzbl 0x1(%rdx), %edx
leal -0x6d(%rdx), %r12d
cmpl $0xa, %r12d
ja 0x28d9
movslq (%rdi,%r12,4), %rdx
addq %rdi, %rdx
jmpq *%rdx
movq %rsi, %rdx
jmp 0x291f
cmpl $0x35, %edx
je 0x291c
cmpl $0x66, %edx
jne 0x325f
movq 0x10(%r14), %rdx
testq %rdx, %rdx
je 0x2925
addq $0x10, %r14
movq %rdx, 0xf1f5(%rip)      # 0x11af0
movq %rsi, %rdx
movq %r14, %r13
jmp 0x291f
movq %rax, %rdx
jmp 0x291f
movq %r8, %rdx
jmp 0x291f
movq %r11, %rdx
jmp 0x291f
movq %r10, %rdx
jmp 0x291f
movq %r9, %rdx
jmp 0x291f
movq %rcx, %rdx
movl $0x1, (%rdx)
movq %r13, %r14
addq $0x8, %r13
movq 0x8(%r14), %rdx
testq %rdx, %rdx
jne 0x28b8
xorl %edx, %edx
cmpl $0x0, 0xf1aa(%rip)      # 0x11ae8
je 0x2949
cmpl $0x0, 0xf195(%rip)      # 0x11adc
jne 0x295e
movq 0xe680(%rip), %rax      # 0x10fd0
movq (%rax), %rax
movq %rax, 0xf19e(%rip)      # 0x11af8
movq (%r13), %rdx
leaq 0x14(%rsp), %r12
testq %rdx, %rdx
je 0x29b8
movq 0xf189(%rip), %rdi      # 0x11af8
testq %rdi, %rdi
je 0x2999
movq 0xe65d(%rip), %rax      # 0x10fd8
cmpq (%rax), %rbx
jne 0x2987
cmpq $0x0, 0x8(%r13)
je 0x2999
leaq 0xa820(%rip), %rsi      # 0xd1ae
xorl %eax, %eax
callq 0x2120
movq (%r13), %rdx
movq %rdx, %rdi
leaq 0xbcd9(%rip), %rsi      # 0xe67c
callq 0x2190
testq %rax, %rax
je 0x3257
movq %rax, %rbx
addq $0x8, %r13
movq %r13, 0x30(%rsp)
movl $0x4000, %edi           # imm = 0x4000
callq 0x2150
testq %rax, %rax
je 0x3252
movq %rax, %r13
movl $0x1, %esi
movl $0x4000, %edx           # imm = 0x4000
movq %rax, %rdi
movq %rbx, %rcx
callq 0x2070
testq %rax, %rax
je 0x2a36
movl $0x4000, %ebp           # imm = 0x4000
xorl %r15d, %r15d
addq %rax, %r15
subq %rax, %rbp
jne 0x2a18
leaq (%r15,%r15), %rsi
movq %r13, %rdi
callq 0x2170
movq %rax, %r13
movq %r15, %rbp
testq %rax, %rax
je 0x324d
leaq (%r15,%r13), %r14
movl $0x1, %esi
movq %r14, %rdi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x2070
testq %rax, %rax
jne 0x29f5
jmp 0x2a3c
xorl %r15d, %r15d
movq %r13, %r14
movb $0x0, (%r14)
movq 0xe591(%rip), %rax      # 0x10fd8
cmpq (%rax), %rbx
je 0x2a54
movq %rbx, %rdi
callq 0x2090
cmpl $0x0, 0xf089(%rip)      # 0x11ae4
leaq 0x40(%rsp), %r14
je 0x2ab3
movb (%r13), %bpl
testb %bpl, %bpl
je 0x2b5d
callq 0x2200
movq (%rax), %rcx
movq %r13, %rax
leaq 0xf07f(%rip), %rdi      # 0x11b00
movsbq %bpl, %rdx
movzwl (%rcx,%rdx,2), %edx
btl $0xd, %edx
jb 0x2b02
cmpb $0x3a, %bpl
je 0x2b5d
movzbl %bpl, %edx
cmpl $0x3d, %edx
je 0x2b08
movb 0x1(%rax), %bpl
incq %rax
testb %bpl, %bpl
jne 0x2a81
jmp 0x2b5d
cmpq $0x6, %r15
jb 0x2b5d
movl $0x5, %edx
movq %r13, %rdi
leaq 0xa6f8(%rip), %rsi      # 0xd1c4
callq 0x2050
testl %eax, %eax
jne 0x2b5d
leaq (%r15,%r13), %rbp
movq %r13, %rax
movzbl (%rax), %ecx
cmpl $0xa, %ecx
je 0x3210
cmpl $0xd, %ecx
je 0x3210
incq %rax
decq %r15
jne 0x2ae0
jmp 0x3229
cmpb $0x3d, %bpl
jne 0x2b5d
xorl %r15d, %r15d
leaq 0x1(%rax), %rdx
movb 0x1(%rax), %cl
movzbl %cl, %esi
cmpl $0x25, %esi
jg 0x2b36
jne 0x2b3f
movzbl 0x2(%rax), %ecx
movb (%rcx,%rdi), %cl
shlb $0x4, %cl
movzbl 0x3(%rax), %edx
addq $0x3, %rax
addb (%rdx,%rdi), %cl
movq %rax, %rdx
jmp 0x2b4a
cmpl $0x2b, %esi
jne 0x2b45
movb $0x20, %cl
jmp 0x2b4a
testl %esi, %esi
jne 0x2b4a
jmp 0x2b57
cmpl $0x26, %esi
je 0x2b57
movb %cl, (%r13,%r15)
incq %r15
movq %rdx, %rax
jmp 0x2b0b
movb $0x0, (%r13,%r15)
movq %r13, %rbp
cmpl $0x0, 0xef69(%rip)      # 0x11ad0
je 0x2b83
xorl %edi, %edi
leaq 0x922e(%rip), %rsi      # 0xbda0
leaq 0xa651(%rip), %rdx      # 0xd1ca
movq %r15, %rcx
xorl %eax, %eax
callq 0x3267
movq %rbp, 0x28(%rsp)
movq %rbp, 0x18(%rsp)
movl %r15d, 0x14(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x1, 0x50(%rsp)
movl $0x0, 0x58(%rsp)
cmpl $0x0, 0xef32(%rip)      # 0x11ae4
je 0x2bd1
movq 0xef3d(%rip), %rcx      # 0x11af8
movl $0x1a, %esi
movl $0x1, %edx
leaq 0xa80e(%rip), %rdi      # 0xd3da
callq 0x21f0
cmpl $0x0, 0xef04(%rip)      # 0x11adc
je 0x2c33
movq $0x0, 0xf12b(%rip) # 0x11d10
movl $0x0, 0xf129(%rip)      # 0x11d18
movl 0xeee3(%rip), %ebp      # 0x11ad8
movl $0x1, 0xeed9(%rip)      # 0x11ad8
movq %r14, %rdi
leaq 0x18(%rsp), %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x3b80
movl %ebp, 0xeec1(%rip)      # 0x11ad8
cmpq $0x0, 0xf0f1(%rip)      # 0x11d10
jne 0x2c33
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x0, 0xeebb(%rip)      # 0x11ae8
jne 0x31dc
cmpq $0x0, 0xeebd(%rip)      # 0x11af8
jne 0x2c60
leaq 0xa7b1(%rip), %rdi      # 0xd3f5
leaq 0xa7c3(%rip), %rsi      # 0xd40e
callq 0x2180
movq %rax, 0xeea1(%rip)      # 0x11af8
testq %rax, %rax
je 0x31d7
cmpl $0x0, 0xee75(%rip)      # 0x11adc
je 0x2e77
movslq %r15d, %rbp
addq 0x28(%rsp), %rbp
movq 0x18(%rsp), %r14
cmpq %rbp, %r14
jae 0x2c8a
cmpb $0x0, (%r14)
js 0x2c8a
incq %r14
jmp 0x2c7a
cmpq %rbp, %r14
setae 0xf(%rsp)
movl $0x400, %esi            # imm = 0x400
leaq 0x110(%rsp), %rdi
callq 0x21c0
xorl %edi, %edi
callq 0x2140
movq %rax, 0x20(%rsp)
callq 0x2080
movl %eax, 0x10(%rsp)
leaq 0xd0(%rsp), %r12
movq %r12, %rdi
callq 0x9eac
movq 0xee28(%rip), %rdi      # 0x11af8
leaq 0xa739(%rip), %rsi      # 0xd410
movq %r12, %rdx
xorl %eax, %eax
callq 0x2120
movq 0xee08(%rip), %rdx      # 0x11af0
testq %rdx, %rdx
je 0x2d02
movq 0xee04(%rip), %rdi      # 0x11af8
leaq 0xa71f(%rip), %rsi      # 0xd41a
xorl %eax, %eax
callq 0x2120
movq 0xedef(%rip), %rcx      # 0x11af8
movl $0x24, %esi
movl $0x1, %edx
leaq 0xa70a(%rip), %rdi      # 0xd424
callq 0x21f0
movl $0x1, 0x50(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movl %r15d, 0x14(%rsp)
movq 0x40(%rsp), %rdi
movq 0xefde(%rip), %rcx      # 0x11d20
xorl %eax, %eax
leaq 0x14(%rsp), %r12
movq (%rdi,%rax,8), %rdx
testq %rdx, %rdx
je 0x2d5f
movq %rcx, (%rdx)
movq %rdx, 0xefc4(%rip)      # 0x11d20
movq %rdx, %rcx
incq %rax
cmpq $0xa, %rax
jne 0x2d49
callq 0x2040
movq $0x0, 0x40(%rsp)
movq 0xef93(%rip), %r8       # 0x11d10
testq %r8, %r8
je 0x2d9f
movl 0xef90(%rip), %ecx      # 0x11d18
xorl %edi, %edi
leaq 0xa6b8(%rip), %rsi      # 0xd449
leaq 0xc1e4(%rip), %rdx      # 0xef7c
xorl %eax, %eax
callq 0x3267
movq 0xed52(%rip), %rcx      # 0x11af8
movl $0x12, %esi
movl $0x1, %edx
leaq 0xa697(%rip), %rdi      # 0xd44e
callq 0x21f0
xorl %edi, %edi
leaq 0xa69c(%rip), %rsi      # 0xd461
leaq 0xa6a4(%rip), %rdx      # 0xd470
movq 0x20(%rsp), %rcx
movl 0x10(%rsp), %r8d
xorl %eax, %eax
callq 0x3267
cmpq %rbp, %r14
jae 0x2dff
movq 0xed0f(%rip), %rcx      # 0x11af8
movl $0x20, %esi
movl $0x1, %edx
leaq 0xa699(%rip), %rdi      # 0xd493
callq 0x21f0
movq 0xecf2(%rip), %rdi      # 0x11af8
leaq 0xa6a7(%rip), %rsi      # 0xd4b4
movq 0x20(%rsp), %r14
movl %r14d, %edx
movl 0x10(%rsp), %ebp
movl %ebp, %ecx
leaq 0x110(%rsp), %r8
xorl %eax, %eax
callq 0x2120
movq 0xecc7(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
movq 0xecb6(%rip), %rdi      # 0x11af8
leaq 0xa68c(%rip), %rsi      # 0xd4d5
movl %r14d, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x2120
movq 0xec9c(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
cmpl $0x0, 0xec6f(%rip)      # 0x11adc
setne %al
leaq 0x40(%rsp), %r14
jmp 0x2e83
movb $0x1, 0xf(%rsp)
xorl %eax, %eax
movq %rcx, 0x20(%rsp)
leaq 0x18(%rsp), %rbp
cmpl $0x0, 0xec55(%rip)      # 0x11ae4
jne 0x2e95
testb %al, %al
je 0x2ee1
xorl %edi, %edi
leaq 0x8f2d(%rip), %rsi      # 0xbdcb
leaq 0x8f4b(%rip), %rdx      # 0xbdf0
leaq 0x9004(%rip), %rcx      # 0xbeb0
xorl %eax, %eax
callq 0x3267
movq 0xec3e(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
movq 0xec2d(%rip), %rcx      # 0x11af8
movl $0xc, %esi
movl $0x1, %edx
leaq 0xa603(%rip), %rdi      # 0xd4df
callq 0x21f0
movq %r14, %rdi
movq %rbp, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x4bd2
cmpl $0x1, %eax
jne 0x2f27
movq %rbx, 0x38(%rsp)
movq %r12, %rbx
leaq 0x18(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x4bd2
cmpl $0x1, %eax
je 0x2f03
movl %eax, %ebp
movq %rbx, %r12
movq 0x38(%rsp), %rbx
jmp 0x2f29
movl %eax, %ebp
movl 0x54(%rsp), %ecx
testl %ecx, %ecx
je 0x2f79
movl 0x50(%rsp), %r8d
subl 0x58(%rsp), %r8d
cmpl %ecx, %r8d
jne 0x2f62
cmpl $0x0, 0xeb8d(%rip)      # 0x11ad4
jne 0x2f79
xorl %edi, %edi
leaq 0x8e4e(%rip), %rsi      # 0xbda0
leaq 0xa5d3(%rip), %rdx      # 0xd52c
xorl %eax, %eax
callq 0x3267
jmp 0x2f79
xorl %edi, %edi
leaq 0x8e56(%rip), %rsi      # 0xbdc1
leaq 0xa57a(%rip), %rdx      # 0xd4ec
xorl %eax, %eax
callq 0x3267
cmpl $0x0, 0xeb50(%rip)      # 0x11ad0
je 0x2f9f
movl 0x50(%rsp), %ecx
decl %ecx
xorl %edi, %edi
leaq 0x8e0f(%rip), %rsi      # 0xbda0
leaq 0xa5c0(%rip), %rdx      # 0xd558
xorl %eax, %eax
callq 0x3267
movl 0xeb3f(%rip), %eax      # 0x11ae4
orl 0xeb31(%rip), %eax      # 0x11adc
je 0x313a
movq 0xeb40(%rip), %rcx      # 0x11af8
movl $0xc, %esi
movl $0x1, %edx
leaq 0xa516(%rip), %rdi      # 0xd4df
callq 0x21f0
movq 0xeb23(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
xorl %edi, %edi
leaq 0x8de3(%rip), %r14      # 0xbdcb
movq %r14, %rsi
leaq 0x8ede(%rip), %rdx      # 0xbed0
leaq 0x8eb7(%rip), %rcx      # 0xbeb0
xorl %eax, %eax
callq 0x3267
movq 0xeaf1(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
xorl %edi, %edi
movq %r14, %rsi
leaq 0x9033(%rip), %rdx      # 0xc050
xorl %eax, %eax
callq 0x3267
cmpl $0x0, 0xeab1(%rip)      # 0x11adc
je 0x30da
movq 0xeac0(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
xorl %edi, %edi
leaq 0x8d80(%rip), %rsi      # 0xbdcb
leaq 0x90de(%rip), %rdx      # 0xc130
xorl %eax, %eax
callq 0x3267
movq 0xea98(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
movq 0xea87(%rip), %rdi      # 0x11af8
leaq 0xa45d(%rip), %rsi      # 0xd4d5
movq 0x20(%rsp), %rdx
movl 0x10(%rsp), %ecx
xorl %eax, %eax
callq 0x2120
movq 0xea69(%rip), %rcx      # 0x11af8
movl $0x1d, %esi
movl $0x1, %edx
leaq 0xa4c9(%rip), %rdi      # 0xd569
callq 0x21f0
cmpb $0x0, 0xf(%rsp)
jne 0x30c9
movq 0xea45(%rip), %rcx      # 0x11af8
movl $0x20, %esi
movl $0x1, %edx
leaq 0xa3cf(%rip), %rdi      # 0xd493
callq 0x21f0
movq 0xea28(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
cmpl $0x0, 0xea03(%rip)      # 0x11ae4
je 0x313a
movq 0xea0e(%rip), %rsi      # 0x11af8
movl $0xa, %edi
callq 0x2100
movq 0xe9fd(%rip), %rcx      # 0x11af8
movl $0x17, %esi
movl $0x1, %edx
leaq 0xa47b(%rip), %rdi      # 0xd587
callq 0x21f0
movq 0xe9e0(%rip), %rcx      # 0x11af8
movl $0xc, %esi
movl $0x1, %edx
leaq 0xa3b6(%rip), %rdi      # 0xd4df
callq 0x21f0
cmpl $0x0, 0xe9af(%rip)      # 0x11ae4
setne %al
jmp 0x313c
xorl %eax, %eax
cmpl $0x0, 0xe999(%rip)      # 0x11adc
jne 0x3149
testb %al, %al
je 0x318d
movq 0xe9a8(%rip), %rdi      # 0x11af8
leaq 0xbe37(%rip), %rsi      # 0xef8e
movl %r15d, %edx
movq 0x28(%rsp), %rcx
xorl %eax, %eax
callq 0x2120
cmpl $0x0, 0xe96f(%rip)      # 0x11adc
je 0x318d
movq 0xe982(%rip), %rdi      # 0x11af8
leaq 0xa422(%rip), %rsi      # 0xd59f
movq 0x20(%rsp), %rdx
movl 0x10(%rsp), %ecx
xorl %eax, %eax
callq 0x2120
movq 0xe964(%rip), %rdi      # 0x11af8
movq 0xde35(%rip), %rax      # 0x10fd0
cmpq (%rax), %rdi
je 0x31b2
callq 0x20b0
movl %eax, %ebp
movq $0x0, 0xe946(%rip) # 0x11af8
movq 0xeb67(%rip), %rdi      # 0x11d20
testq %rdi, %rdi
je 0x31dc
movq (%rdi), %r14
movq %r14, 0xeb58(%rip)      # 0x11d20
callq 0x2040
movq %r14, %rdi
testq %r14, %r14
jne 0x31be
jmp 0x31dc
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0xddf5(%rip), %rax      # 0x10fd8
cmpq (%rax), %rbx
je 0x31f0
movq %rbx, %rdi
callq 0x2090
movq %r13, %rdi
callq 0x2040
testl %ebp, %ebp
movq 0x30(%rsp), %r13
jne 0x3239
movq (%r13), %rdx
testq %rdx, %rdx
jne 0x2963
jmp 0x3239
leaq (%rax,%r15), %rbp
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0x3221
cmpl $0xa, %ecx
jne 0x3231
incq %rax
decq %r15
jne 0x3214
xorl %r15d, %r15d
jmp 0x2b60
movq %rax, %rbp
jmp 0x2b60
movl %ebp, %eax
addq $0x518, %rsp            # imm = 0x518
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x22ee
callq 0x2303
movq %r13, %rdi
callq 0x22dd
movq %r15, %rdi
callq 0x2220