LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: handler_CREATEPEN
static int handler_CREATEPEN(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 pos = dp->dpos;

	if(dp->dlen<20) return 1;
	read_object_index_p(c, d, &pos);
	read_LogPen(c, d, pos);
	return 1;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq 0x18(%rdx), %rax
movq %rax, 0x8(%rsp)
cmpq $0x14, 0x20(%rdx)
jl 0x403c9
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x40ffd
movq (%r14), %rax
leaq 0x10(%rsp), %r14
movq %rax, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
leaq 0xce4fe(%rip), %rsi     # 0x10e882
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe410e
leaq 0xd1c64(%rip), %rsi     # 0x112007
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
addq $0x4, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
movq %rbx, %rdi
movl %eax, %esi
callq 0x40fa5
pushq $0x1
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: handler_CREATEBRUSHINDIRECT
static int handler_CREATEBRUSHINDIRECT(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 pos = dp->dpos;

	if(dp->dlen<16) return 1;
	read_object_index_p(c, d, &pos);
	read_LogBrushEx(c, d, pos);
	return 1;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq 0x18(%rdx), %rax
movq %rax, 0x8(%rsp)
cmpq $0x10, 0x20(%rdx)
jl 0x4043b
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x40ffd
movq (%r14), %rax
leaq 0x10(%rsp), %r14
movq %rax, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
leaq 0xce469(%rip), %rsi     # 0x10e882
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
movq %rbx, %rdi
movl %eax, %esi
callq 0x40fa5
pushq $0x1
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: emf_handler_4c
static int emf_handler_4c(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 rop;
	i64 bmi_offs;
	i64 bmi_len;
	i64 bits_offs;
	i64 bits_len;

	if(dp->recsize_bytes<100) return 1;

	rop = de_getu32le(dp->recpos+40);
	de_dbg(c, "raster operation: 0x%08x", (UI)rop);

	bmi_offs = de_getu32le(dp->recpos+84);
	bmi_len = de_getu32le(dp->recpos+88);
	de_dbg(c, "bmi offset=%"I64_FMT", len=%"I64_FMT, bmi_offs, bmi_len);
	bits_offs = de_getu32le(dp->recpos+92);
	bits_len = de_getu32le(dp->recpos+96);
	de_dbg(c, "bits offset=%"I64_FMT", len=%"I64_FMT, bits_offs, bits_len);

	if(bmi_len<12) return 1;
	if(bmi_offs<100) return 1;
	if(bmi_offs+bmi_len>dp->recsize_bytes) return 1;
	if(bits_len<1) return 1;
	if(bits_offs<100) return 1;
	if(bits_offs+bits_len>dp->recsize_bytes) return 1;
	extract_dib(c, d, dp->recpos+bmi_offs, bmi_len, dp->recpos+bits_offs, bits_len);
	return 1;
}

// Assembly:
cmpq $0x64, 0x10(%rdx)
jl 0x40d9d
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
movq 0x8(%rdx), %rsi
addq $0x28, %rsi
callq 0xe409f
leaq 0xce0bb(%rip), %rsi     # 0x10ed6d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x54, %rsi
callq 0xe409f
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x58, %rsi
callq 0xe409f
movq %rax, %r12
leaq 0xce099(%rip), %rsi     # 0x10ed86
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x5c, %rsi
callq 0xe409f
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x60, %rsi
callq 0xe409f
movq %rax, %rbp
leaq 0xce072(%rip), %rsi     # 0x10ed9e
movq %rbx, %rdi
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
cmpq $0xc, %r12
setl %al
cmpq $0x64, %r15
setl %cl
orb %al, %cl
jne 0x40d8f
testq %rbp, %rbp
jle 0x40d8f
leaq (%r12,%r15), %rcx
movq 0x10(%r14), %rax
cmpq %rax, %rcx
jg 0x40d8f
cmpq $0x64, %r13
jl 0x40d8f
movq %rbp, %rcx
addq %r13, %rcx
cmpq %rax, %rcx
jg 0x40d8f
movq 0x8(%r14), %rax
addq %rax, %r15
addq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
movq %rbp, %r8
callq 0x41068
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
pushq $0x1
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: emf_handler_50_51
static int emf_handler_50_51(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 rop;
	i64 bmi_offs;
	i64 bmi_len;
	i64 bits_offs;
	i64 bits_len;
	i64 fixed_header_len;
	i64 num_scans;

	if(dp->rectype==0x50)
		fixed_header_len = 76;
	else
		fixed_header_len = 80;

	if(dp->recsize_bytes<fixed_header_len) return 1;

	bmi_offs = de_getu32le(dp->recpos+48);
	bmi_len = de_getu32le(dp->recpos+52);
	de_dbg(c, "bmi offset=%"I64_FMT", len=%"I64_FMT, bmi_offs, bmi_len);
	bits_offs = de_getu32le(dp->recpos+56);
	bits_len = de_getu32le(dp->recpos+60);
	de_dbg(c, "bits offset=%"I64_FMT", len=%"I64_FMT, bits_offs, bits_len);

	if(dp->rectype==0x51) {
		rop = de_getu32le(dp->recpos+68);
		de_dbg(c, "raster operation: 0x%08x", (UI)rop);
	}

	if(dp->rectype==0x50) {
		num_scans = de_getu32le(dp->recpos+72);
		de_dbg(c, "number of scanlines: %u", (UI)num_scans);
	}

	if(bmi_len<12) return 1;
	if(bmi_offs<fixed_header_len) return 1;
	if(bmi_offs+bmi_len>dp->recsize_bytes) return 1;
	if(bits_len<1) return 1;
	if(bits_offs<fixed_header_len) return 1;
	if(bits_offs+bits_len>dp->recsize_bytes) return 1;
	extract_dib(c, d, dp->recpos+bmi_offs, bmi_len, dp->recpos+bits_offs, bits_len);

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %eax, %eax
cmpl $0x50, (%rdx)
setne %al
leaq 0x4c(,%rax,4), %r12
cmpq %r12, 0x10(%rdx)
jge 0x40dd4
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
movq 0x8(%rdx), %rsi
addq $0x30, %rsi
callq 0xe409f
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x34, %rsi
callq 0xe409f
leaq 0xcdf80(%rip), %rsi     # 0x10ed86
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, (%rsp)
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x38, %rsi
callq 0xe409f
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x3c, %rsi
callq 0xe409f
movq %rax, %rbp
leaq 0xcdf55(%rip), %rsi     # 0x10ed9e
movq %rbx, %rdi
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movl (%r14), %eax
cmpl $0x51, %eax
jne 0x40e88
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x44, %rsi
callq 0xe409f
leaq 0xcdef4(%rip), %rsi     # 0x10ed6d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movl (%r14), %eax
cmpl $0x50, %eax
jne 0x40eb1
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
addq $0x48, %rsi
callq 0xe409f
leaq 0xcdf21(%rip), %rsi     # 0x10edc6
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq (%rsp), %rdx
cmpq $0xc, %rdx
jl 0x40dc2
cmpq %r12, %r15
jl 0x40dc2
testq %rbp, %rbp
jle 0x40dc2
leaq (%rdx,%r15), %rcx
movq 0x10(%r14), %rax
cmpq %rax, %rcx
jg 0x40dc2
cmpq %r12, %r13
jl 0x40dc2
movq %rbp, %rcx
addq %r13, %rcx
cmpq %rax, %rcx
jg 0x40dc2
movq 0x8(%r14), %rax
addq %rax, %r15
addq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
movq %rbp, %r8
callq 0x41068
jmp 0x40dc2
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: handler_EXTCREATEFONTINDIRECTW
static int handler_EXTCREATEFONTINDIRECTW(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 pos = dp->dpos;
	i64 elw_size;

	read_object_index_p(c, d, &pos); // ihFonts

	// "If the size of the elw field is equal to or less than the size of a
	// LogFontPanose object, elw MUST be treated as a fixed-length LogFont object.
	// [Else LogFontExDv.] The size of a LogFontPanose object is 320 decimal."
	elw_size = dp->dlen - 4;

	if(elw_size<=320) {
		do_LogFont(c, d, dp, pos, elw_size);
	}
	else {
		do_LogFontExDv(c, d, dp, pos, elw_size);
	}

	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq 0x18(%rdx), %rax
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x40ffd
movq 0x20(%rbx), %rdx
addq $-0x4, %rdx
movq (%r15), %rsi
movq %r14, %rdi
callq 0x4121b
pushq $0x1
popq %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: emf_handler_53
static int emf_handler_53(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 pos = dp->recpos;

	pos += 8; // type, size
	pos += 16; // bounds
	pos += 12; // iGraphicsMode, exScale, eyScale
	do_emf_aEmrText(c, d, dp->recpos, pos, dp->recpos+dp->recsize_bytes - pos);
	return 1;
}

// Assembly:
pushq %rax
movq 0x8(%rdx), %rax
movq 0x10(%rdx), %rcx
leaq 0x24(%rax), %rdx
addq $-0x24, %rcx
movl (%rsi), %r9d
pushq $0x1
popq %r8
movq %rax, %rsi
callq 0x412fa
pushq $0x1
popq %rax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: emf_handler_54
static int emf_handler_54(deark *c, lctx *d, struct decoder_params *dp)
{
	i64 pos = dp->recpos;

	pos += 8; // type, size
	pos += 16; // bounds
	pos += 12; // iGraphicsMode, exScale, eyScale
	do_emf_wEmrText(c, d, dp->recpos, pos, dp->recpos+dp->recsize_bytes - pos);
	return 1;
}

// Assembly:
pushq %rax
movq 0x8(%rdx), %rsi
movq 0x10(%rdx), %rcx
leaq 0x24(%rsi), %rdx
addq $-0x24, %rcx
pushq $0x2
popq %r8
pushq $0x3
popq %r9
callq 0x412fa
pushq $0x1
popq %rax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: do_dbg_colorref
static void do_dbg_colorref(deark *c, lctx *d, u32 colorref)
{
	u32 clr;
	char csamp[16];

	clr = colorref_to_color(colorref);
	de_get_colorsample_code(c, clr, csamp, sizeof(csamp));
	de_dbg(c, "colorref: 0x%08x%s", (UI)colorref, csamp);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %eax
andl $0xff00, %eax           # imm = 0xFF00
movl %esi, %ecx
shrl $0x10, %ecx
movzbl %cl, %ecx
shll $0x10, %esi
orl %eax, %esi
orl %ecx, %esi
orl $0xff000000, %esi       # imm = 0xFF000000
movq %rsp, %r15
pushq $0x10
popq %rcx
movq %r15, %rdx
callq 0xdf0eb
leaq 0xcd787(%rip), %rsi     # 0x10e76b
movq %r14, %rdi
movl %ebx, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0xde896
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: read_object_index_p
static void read_object_index_p(deark *c, lctx *d, i64 *ppos)
{
	UI n;
	n = (UI)de_getu32le_p(ppos);
	if(n & 0x80000000U) {
		// A stock object
		de_dbg(c, "object index: 0x%08x (%s)", n, get_stock_obj_name(n));
	}
	else {
		de_dbg(c, "object index: %u", n);
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0xe40bf
testl %eax, %eax
js 0x41022
leaq 0xf2e38(%rip), %rsi     # 0x133e4d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
popq %rbx
jmp 0xde896
movl %eax, %ecx
andl $0x7ffffffc, %ecx       # imm = 0x7FFFFFFC
cmpl $0x13, %ecx
ja 0x41044
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
leaq 0x143162(%rip), %rdx    # 0x1841a0
movq (%rdx,%rcx,8), %rdx
jmp 0x41046
xorl %edx, %edx
testq %rdx, %rdx
leaq 0xdde91(%rip), %rcx     # 0x11eee1
cmovneq %rdx, %rcx
leaq 0xcd723(%rip), %rsi     # 0x10e77e
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
popq %rbx
jmp 0xde896
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: do_LogFont
static void do_LogFont(deark *c, lctx *d, struct decoder_params *dp, i64 pos1, i64 len)
{
	de_ucstring *facename = NULL;
	i64 pos = pos1;
	i64 n, n2;
	u8 b;

	if(len<92) goto done;

	n = de_geti32le_p(&pos);
	n2 = de_geti32le_p(&pos);
	de_dbg(c, "height,width: %d,%d", (int)n, (int)n2);
	pos += 15;
	b = de_getbyte_p(&pos);
	de_dbg(c, "charset: 0x%02x (%s)", (UI)b,
		fmtutil_get_windows_charset_name(b));

	pos += 4;
	facename = ucstring_create(c);
	dbuf_read_to_ucstring(c->infile, pos, 32*2, facename, 0, DE_ENCODING_UTF16LE);
	ucstring_truncate_at_NUL(facename);
	de_dbg(c, "facename: \"%s\"", ucstring_getpsz_d(facename));

done:
	ucstring_destroy(facename);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
cmpq $0x5c, %rdx
jge 0x41234
xorl %r15d, %r15d
jmp 0x412e7
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0xe410e
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe410e
leaq 0xcdb82(%rip), %rsi     # 0x10edde
movq %rbx, %rdi
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xde896
addq $0xf, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe3f2a
movzbl %al, %ebp
movl %ebp, %edi
callq 0xed552
leaq 0xcdb66(%rip), %rsi     # 0x10edf2
movq %rbx, %rdi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
addq $0x4, (%r14)
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq (%r14), %rsi
pushq $0x40
popq %rdx
pushq $0x3
popq %r9
movq %rax, %rcx
xorl %r8d, %r8d
callq 0xe4c9a
movq %r15, %rdi
callq 0xeacc0
movq %r15, %rdi
callq 0xeb877
leaq 0xcdb2d(%rip), %rsi     # 0x10ee07
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r15, %rdi
callq 0xeaf3c
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/emf.c
// Function: do_emf_xEmrText
static void do_emf_xEmrText(deark *c, lctx *d, i64 recpos, i64 pos1, i64 len,
	i64 bytesperchar, de_encoding encoding)
{
	i64 pos = pos1;
	i64 nchars;
	i64 offstring;
	de_ucstring *s = NULL;

	pos += 8; // Reference
	nchars = de_getu32le(pos);
	pos += 4;
	offstring = de_getu32le(pos);
	if(recpos+offstring+nchars*bytesperchar > pos1+len) goto done;
	s = ucstring_create(c);
	dbuf_read_to_ucstring_n(c->infile, recpos+offstring, nchars*bytesperchar,
		DE_DBG_MAX_STRLEN*bytesperchar, s, 0, encoding);
	ucstring_strip_trailing_NUL(s);
	de_dbg(c, "text: \"%s\"", ucstring_getpsz(s));

done:
	ucstring_destroy(s);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, 0xc(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdx), %rsi
movq 0x18(%rdi), %rdi
callq 0xe409f
movq %rax, %r12
leaq 0xc(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe409f
movq %rax, %r13
addq %r15, %r13
movq 0x10(%rsp), %r15
imulq %r15, %r12
leaq (%r12,%r13), %rax
addq %rbp, %r14
cmpq %r14, %rax
jle 0x4135b
xorl %r14d, %r14d
jmp 0x413ad
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r14
movq 0x18(%rbx), %rdi
imulq $0x1f4, %r15, %rcx      # imm = 0x1F4
movl 0xc(%rsp), %eax
movl %eax, (%rsp)
movq %r13, %rsi
movq %r12, %rdx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xe4ced
movq %r14, %rdi
callq 0xeace6
movq %r14, %rdi
callq 0xeb7e4
leaq 0xeca14(%rip), %rsi     # 0x12ddb4
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r14, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xeaf3c
nop
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/epocimage.c
// Function: de_module_epocimage
void de_module_epocimage(deark *c, struct deark_module_info *mi)
{
	mi->id = "epocimage";
	mi->desc = "EPOC/Symbian MBM, Sketch, AIF";
	mi->run_fn = de_run_epocimage;
	mi->identify_fn = de_identify_epocimage;
}

// Assembly:
leaq 0xcdc19(%rip), %rax     # 0x10efe4
movq %rax, (%rsi)
leaq 0xcdc19(%rip), %rax     # 0x10efee
movq %rax, 0x8(%rsi)
leaq 0x10(%rip), %rax        # 0x413f0
movq %rax, 0x18(%rsi)
leaq 0x707(%rip), %rax       # 0x41af2
movq %rax, 0x20(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/epocimage.c
// Function: de_identify_epocimage_internal
static int de_identify_epocimage_internal(deark *c)
{
	u8 b[12];
	de_read(b, 0, 12);

	if(!de_memcmp(b, "\x37\x00\x00\x10\x42\x00\x00\x10", 8)) {
		return DE_PFMT_MBM; // EPOC MBM
	}
	if(!de_memcmp(b, "\x37\x00\x00\x10\x8a\x00\x00\x10", 8)) {
		return DE_PFMT_EXPORTED_MBM; // EPOC exported MBM
	}
	if(!de_memcmp(b, "\x37\x00\x00\x10\x6D\x00\x00\x10\x7D\x00\x00\x10", 12)) {
		return DE_PFMT_SKETCH; // EPOC Sketch
	}
	if(!de_memcmp(b, "\x37\x00\x00\x10\x6a\x00\x00\x10", 8)) {
		return DE_PFMT_AIF; // EPOC AIF
	}
	if(!de_memcmp(b, "\x37\x00\x00\x10\x38\x3a\x00\x10", 8)) {
		return DE_PFMT_AIF;
	}
	//if(!de_memcmp(b, "\x32\xb0\x1f\x10\x00\x00\x00\x00", 8)) {
	//	return DE_PFMT_?;
	//}
	return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq 0x18(%rdi), %rdi
leaq 0x4(%rsp), %rbx
pushq $0xc
popq %rcx
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe3cb7
movabsq $0x1000004210000037, %rax # imm = 0x1000004210000037
cmpq %rax, (%rbx)
je 0x41b7f
movabsq $0x1000008a10000037, %rax # imm = 0x1000008A10000037
cmpq %rax, 0x4(%rsp)
je 0x41b83
leaq 0xcd382(%rip), %rsi     # 0x10eec6
leaq 0x4(%rsp), %rdi
pushq $0xc
popq %rdx
callq 0x18230
testl %eax, %eax
je 0x41b87
movabsq $0x1000006a10000037, %rax # imm = 0x1000006A10000037
cmpq %rax, 0x4(%rsp)
je 0x41b8b
movabsq $0x10003a3810000037, %rcx # imm = 0x10003A3810000037
xorl %eax, %eax
cmpq %rcx, 0x4(%rsp)
sete %al
shll $0x2, %eax
jmp 0x41b8e
pushq $0x1
jmp 0x41b8d
pushq $0x2
jmp 0x41b8d
pushq $0x3
jmp 0x41b8d
pushq $0x4
popq %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/epocimage.c
// Function: do_read_and_write_paint_data_section
static void do_read_and_write_paint_data_section(deark *c, lctx *d, i64 pos1)
{
	struct phys_image_ctx *pi = NULL;

	pi = de_malloc(c, sizeof(struct phys_image_ctx));
	pi->is_mask = 0;
	do_read_paint_data_section(c, d, pi, pos1);
	if(pi->img) {
		de_bitmap_write_to_file(pi->img, NULL, 0);
	}
	d->last_paint_data_section_size = pi->paint_data_section_size;
	destroy_phys_image(c, pi);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movl $0x440, %esi            # imm = 0x440
callq 0xdecaf
movq %rax, %r15
andl $0x0, 0x20(%rax)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0x41d38
movq 0x30(%r15), %rdi
testq %rdi, %rdi
je 0x41d1a
xorl %esi, %esi
xorl %edx, %edx
callq 0xe70b7
movq 0x38(%r15), %rax
movq %rax, 0x8(%r14)
movq %rbx, %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x423b6
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/epocimage.c
// Function: destroy_phys_image
static void destroy_phys_image(deark *c, struct phys_image_ctx *pi)
{
	if(!pi) return;
	if(pi->img) {
		de_bitmap_destroy(pi->img);
	}
	de_free(c, pi);
}

// Assembly:
testq %rsi, %rsi
je 0x423e5
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x30(%rsi), %rdi
testq %rdi, %rdi
je 0x423d3
callq 0xe7084
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xded32
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/epocimage.c
// Function: do_rle16_24
static void do_rle16_24(deark *c, lctx *d, dbuf *unc_pixels,
	i64 pos1, i64 len, i64 bytes_per_pixel)
{
	i64 i;
	i64 k;
	u8 b0;
	i64 pos;
	i64 count;
	u8 v[3];

	pos = pos1;
	while(pos<pos1+len) {
		b0 = de_getbyte(pos);
		pos++;

		if(b0<=0x7f) {
			// Next pixel should be repeated b0+1 times.
			count = 1+(i64)b0;
			for(k=0; k<bytes_per_pixel; k++) {
				v[k] = de_getbyte(pos++);
			}
			for(i=0; i<count; i++) {
				dbuf_write(unc_pixels, v, bytes_per_pixel);
			}
		}
		else {
			// 256-b0 pixels of uncompressed data.
			count = 256-(i64)b0;
			dbuf_copy(c->infile, pos, count*bytes_per_pixel, unc_pixels);
			pos += count*bytes_per_pixel;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
addq %rdx, %rcx
movq %rcx, 0x10(%rsp)
xorl %r13d, %r13d
testq %r8, %r8
movq %r8, 0x8(%rsp)
cmovgq %r8, %r13
cmpq 0x10(%rsp), %r14
jge 0x424ad
movq 0x18(%r12), %rdi
movq %r14, %rsi
callq 0xe3eb4
incq %r14
testb %al, %al
js 0x42481
incb %al
movb %al, 0x4(%rsp)
xorl %ebx, %ebx
leaq (%r14,%rbx), %rbp
cmpq %rbx, %r13
je 0x4245a
movq 0x18(%r12), %rdi
movq %rbp, %rsi
callq 0xe3eb4
movb %al, 0x5(%rsp,%rbx)
incq %rbx
jmp 0x4243b
movzbl 0x4(%rsp), %ebx
movq 0x8(%rsp), %r14
subq $0x1, %rbx
jb 0x4247c
movq %r15, %rdi
leaq 0x5(%rsp), %rsi
movq %r14, %rdx
callq 0xe46ba
jmp 0x42464
movq %rbp, %r14
jmp 0x42414
movzbl %al, %eax
movl $0x100, %ebp            # imm = 0x100
subq %rax, %rbp
movq 0x18(%r12), %rdi
imulq 0x8(%rsp), %rbp
movq %r14, %rsi
movq %rbp, %rdx
movq %r15, %rcx
callq 0xe45f4
addq %rbp, %r14
jmp 0x42414
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/eps.c
// Function: de_module_eps
void de_module_eps(deark *c, struct deark_module_info *mi)
{
	mi->id = "eps";
	mi->desc = "Encapsulated PostScript";
	mi->desc2 = "extract preview image";
	mi->run_fn = de_run_eps;
	mi->identify_fn = de_identify_eps;
}

// Assembly:
leaq 0xccf33(%rip), %rax     # 0x10f3f6
movq %rax, (%rsi)
leaq 0xccf2d(%rip), %rax     # 0x10f3fa
movq %rax, 0x8(%rsi)
leaq 0xccf3a(%rip), %rax     # 0x10f412
movq %rax, 0x10(%rsi)
leaq 0x10(%rip), %rax        # 0x424f3
movq %rax, 0x18(%rsi)
leaq 0x4be(%rip), %rax       # 0x429ac
movq %rax, 0x20(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/eps.c
// Function: de_identify_eps
static int de_identify_eps(deark *c)
{
	u8 b[20];
	de_read(b, 0, (i64)sizeof(b));

	if(b[0]==0xc5 && b[1]==0xd0 && b[2]==0xd3 && b[3]==0xc6)
		return 100;

	if(!de_memcmp(b, "%!PS-Adobe-", 11) &&
		!de_memcmp(&b[14], " EPSF-", 6) )
	{
		return 100;
	}

	return 0;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq 0x18(%rdi), %rdi
movq %rsp, %rbx
pushq $0x14
popq %rcx
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe3cb7
movdqa (%rbx), %xmm0
movd %xmm0, %eax
pushq $0x64
popq %rbx
cmpl $0xc6d3d0c5, %eax       # imm = 0xC6D3D0C5
je 0x42a07
leaq 0xccb79(%rip), %rsi     # 0x10f557
movq %rsp, %rdi
pushq $0xb
popq %rdx
callq 0x18230
testl %eax, %eax
jne 0x42a05
leaq 0xe(%rsp), %rdi
leaq 0xccb6a(%rip), %rsi     # 0x10f563
pushq $0x6
popq %rdx
callq 0x18230
testl %eax, %eax
je 0x42a07
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: de_module_exe
void de_module_exe(deark *c, struct deark_module_info *mi)
{
	mi->id = "exe";
	mi->desc = "EXE executable (PE, NE, etc.)";
	mi->run_fn = de_run_exe;
	mi->identify_fn = de_identify_exe;
	mi->help_fn = de_help_exe;
}

// Assembly:
leaq 0xd3d5e(%rip), %rax     # 0x116775
movq %rax, (%rsi)
leaq 0xccba3(%rip), %rax     # 0x10f5c4
movq %rax, 0x8(%rsi)
leaq 0x1b(%rip), %rax        # 0x42a47
movq %rax, 0x18(%rsi)
leaq 0x1eaa(%rip), %rax      # 0x448e1
movq %rax, 0x20(%rsi)
leaq 0x1f1b(%rip), %rax      # 0x4495d
movq %rax, 0x28(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: de_identify_exe
static int de_identify_exe(deark *c)
{
	UI sig;
	UI lfb;
	int exe_ext;
	u8 sigMZ;

	sig = (UI)de_getu16be(0);
	if(sig==0x4d5aU) { sigMZ = 1; }
	else if(sig==0x5a4d) { sigMZ = 0; }
	else { return 0; }
	lfb = (UI)de_getu16le(2); // lenFinal

	exe_ext = de_input_file_has_ext(c, "exe");
	if(lfb>511) {
		return exe_ext ? 15 : 0;
	}
	if(exe_ext) return 80;
	return sigMZ ? 80 : 50;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0xe3f46
movq %rax, %rbx
cmpl $0x5a4d, %ebx           # imm = 0x5A4D
je 0x4490a
cmpl $0x4d5a, %ebx           # imm = 0x4D5A
jne 0x44954
movq 0x18(%r14), %rdi
pushq $0x2
popq %rsi
callq 0xe3fa3
movq %rax, %r15
leaq 0xd1e55(%rip), %rsi     # 0x116775
movq %r14, %rdi
callq 0xdfcd5
testl $0xfffffe00, %r15d      # imm = 0xFFFFFE00
je 0x4493d
testl %eax, %eax
pushq $0xf
popq %r15
cmovel %eax, %r15d
jmp 0x44954
cmpl $0x4d5a, %ebx           # imm = 0x4D5A
pushq $0x50
popq %rcx
pushq $0x32
popq %r15
cmovel %ecx, %r15d
testl %eax, %eax
cmovnel %ecx, %r15d
movl %r15d, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_execomp
static void do_execomp(deark *c, lctx *d)
{
	struct fmtutil_specialexe_detection_data edd;

	if(d->execomp_mode!=1) {
		if(d->sfx_only_mode) return;
		if((!c->show_infomessages) && (c->debug_level<1)) return;
	}

	if(!d->ei) {
		d->ei = de_malloc(c, sizeof(struct fmtutil_exe_info));
		fmtutil_collect_exe_info(c, c->infile, d->ei);
	}

	de_zeromem(&edd, sizeof(struct fmtutil_specialexe_detection_data));
	edd.flags_in |= 0x1;
	fmtutil_detect_execomp(c, d->ei, &edd);
	if(!edd.detected_fmt) return;
	de_dbg(c, "detected executable compression: %s", edd.detected_fmt_name);

	if(d->execomp_mode==1) {
		try_execomp_decompress(c, d, &edd);
	}
	else if(d->execomp_mode!=0) {
		if(edd.modname) {
			de_info(c, "Note: File seems to be compressed with %s. Use \"-m %s\" "
				"or \"-opt execomp\" to attempt decompression.",
				edd.detected_fmt_name, edd.modname);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, 0x2(%rsi)
jne 0x44aa3
movq 0x8(%r14), %rsi
testq %rsi, %rsi
jne 0x449db
movl $0xf0, %esi
movq %rbx, %rdi
callq 0xdecaf
movq %rax, 0x8(%r14)
movq 0x18(%rbx), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0xf8849
movq 0x8(%r14), %rsi
xorps %xmm0, %xmm0
movq %rsp, %r15
movaps %xmm0, (%r15)
movaps %xmm0, 0x60(%r15)
movaps %xmm0, 0x50(%r15)
movaps %xmm0, 0x40(%r15)
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
andq $0x0, 0x70(%r15)
movl $0x1, 0x8(%r15)
movq %rbx, %rdi
movq %r15, %rdx
callq 0xf8a24
cmpb $0x0, 0x1(%r15)
je 0x44b03
leaq 0x50(%rsp), %r15
leaq 0xcb53d(%rip), %rsi     # 0x10ff6f
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xde896
movb 0x2(%r14), %al
cmpb $0x1, %al
jne 0x44ac2
cmpb $0x0, 0x1(%rsp)
je 0x44b03
movq 0x48(%rsp), %rdx
testq %rdx, %rdx
je 0x44aef
leaq 0xcb5dd(%rip), %rsi     # 0x110044
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x48(%rsp), %rsi
movq 0x18(%rbx), %rcx
movq 0x18(%rcx), %r9
movq %rbx, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0xdfa28
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
jmp 0x44b03
cmpb $0x0, 0x3(%r14)
jne 0x44b03
cmpl $0x0, 0xc0(%rbx)
jne 0x449ae
cmpl $0x0, (%rbx)
jg 0x449ae
jmp 0x44b03
testb %al, %al
setne %al
movq 0x48(%rsp), %rcx
testq %rcx, %rcx
setne %dl
andb %al, %dl
cmpb $0x1, %dl
jne 0x44b03
leaq 0xcb4b3(%rip), %rsi     # 0x10ff93
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xdf37f
jmp 0x44b03
leaq 0xcb500(%rip), %rsi     # 0x10fff6
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xdf37f
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_opt_coff_data_dirs
static void do_opt_coff_data_dirs(deark *c, lctx *d, i64 pos)
{
	i64 rsrc_tbl_rva;
	i64 rsrc_tbl_size;
	i64 pe_security_pos;
	i64 pe_security_size;

	de_dbg(c, "COFF/PE optional header (data directories) at %"I64_FMT, pos);
	de_dbg_indent(c, 1);
	rsrc_tbl_rva = de_getu32le(pos+16);
	// I don't know if rsrc_tbl_rva will be needed for anything. It seems redundant.
	rsrc_tbl_size = de_getu32le(pos+20);
	de_dbg(c, "resource table RVA=0x%08x, size=%"I64_FMT, (UI)rsrc_tbl_rva,
		rsrc_tbl_size);

	pe_security_pos = de_getu32le(pos+32);
	pe_security_size = de_getu32le(pos+36);
	de_dbg(c, "security pos=0x%08x, size=%"I64_FMT, (UI)pe_security_pos,
		pe_security_size);
	if(pe_security_pos>0) {
		de_dbg_indent(c, 1);
		do_certificate(c, d, pe_security_pos, pe_security_size);
		de_dbg_indent(c, -1);
	}

	de_dbg_indent(c, -1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xcaf71(%rip), %rsi     # 0x10fc59
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x18(%rbx), %rdi
leaq 0x10(%r12), %rsi
callq 0xe409f
movq %rax, %r15
movq 0x18(%rbx), %rdi
leaq 0x14(%r12), %rsi
callq 0xe409f
leaq 0xcaf6b(%rip), %rsi     # 0x10fc8b
movq %rbx, %rdi
movl %r15d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x20(%r12), %rsi
callq 0xe409f
movq %rax, %r15
movq 0x18(%rbx), %rdi
addq $0x24, %r12
movq %r12, %rsi
callq 0xe409f
movq %rax, %r12
leaq 0xcaf54(%rip), %rsi     # 0x10fcaf
movq %rbx, %rdi
movl %r15d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
testq %r15, %r15
jle 0x44e8a
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
cmpq $0x9, %r12
jl 0x44e7f
leaq (%r12,%r15), %rax
movq 0x18(%rbx), %rcx
cmpq 0x18(%rcx), %rax
jg 0x44e7f
leaq 0xcaf2b(%rip), %rsi     # 0x10fccd
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe409f
movq %rax, %r13
leaq 0xc4e1b(%rip), %rsi     # 0x109beb
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x4(%r15), %rsi
callq 0xe3fa3
leaq 0xcaef4(%rip), %rsi     # 0x10fce5
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x6(%r15), %rsi
callq 0xe3fa3
movq %rax, %rbp
leaq 0xcaee2(%rip), %rsi     # 0x10fcf6
movq %rbx, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0xde896
cmpq $0x9, %r13
setl %al
cmpq %r12, %r13
setg %cl
orb %al, %cl
jne 0x44e74
cmpb $0x0, 0x4(%r14)
je 0x44e74
cmpl $0x2, 0x90(%rbx)
jl 0x44e74
cmpq $0x2, %rbp
leaq 0xcaeb8(%rip), %rax     # 0x10fd04
leaq 0xcaeb5(%rip), %rcx     # 0x10fd08
cmoveq %rax, %rcx
movq 0x18(%rbx), %rdi
addq $0x8, %r15
addq $-0x8, %r13
movq %r15, %rsi
movq %r13, %rdx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xe4e0b
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
pushq $-0x1
popq %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xdeba7
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_extract_CURSOR
static void do_extract_CURSOR(deark *c, lctx *d, i64 pos, i64 len, de_finfo *fi)
{
	UI firstword;
	i64 hotspot_x, hotspot_y;

	if(len<8) return;
	firstword = (UI)de_getu16le(pos);

	// For Win3 icons, the first word is the x hotspot.
	// For Win1 icons, it is one of the type codes below.
	if(d->fmt==EXE_FMT_NE && (firstword==0x0003 || firstword==0x0103 ||
		firstword==0x0203))
	{
		UI fourthword;
		// For Win3 icons, the 4th word is the high word of the
		// bitmap-info-header-size (definitely 0).
		// For Win1 icons, it is the width (definitely not 0).
		fourthword = (UI)de_getu16le(pos+6);
		if(fourthword!=0) {
			dbuf_create_file_from_slice(c->infile, pos, len, "win1.cur", fi, 0);
			return;
		}
	}

	hotspot_x = (i64)firstword;
	hotspot_y = de_getu16le(pos+2);
	de_dbg(c, "hotspot: %d,%d", (int)hotspot_x, (int)hotspot_y);
	do_extract_ico_cur(c, d, pos+4, len-4, 1, hotspot_x, hotspot_y, fi);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpq $0x8, %rcx
jl 0x45461
movq %r8, %r14
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %rbp
movq %rdi, %r12
movq 0x18(%rdi), %rdi
movq %rdx, %rsi
callq 0xe3fa3
movq %rax, %r13
cmpb $0x2, (%rbp)
jne 0x4540d
cmpl $0x3, %r13d
je 0x453d0
cmpl $0x203, %r13d           # imm = 0x203
je 0x453d0
cmpl $0x103, %r13d           # imm = 0x103
jne 0x4540d
movq 0x18(%r12), %rdi
leaq 0x6(%r15), %rsi
callq 0xe3fa3
testl %eax, %eax
je 0x4540d
movq 0x18(%r12), %rdi
leaq 0xcaeb0(%rip), %rcx     # 0x11029e
movq %r15, %rsi
movq %rbx, %rdx
movq %r14, %r8
xorl %r9d, %r9d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe4e0b
movl %r13d, %eax
movq %rax, 0x10(%rsp)
movq 0x18(%r12), %rdi
leaq 0x2(%r15), %rsi
callq 0xe3fa3
movq %rax, %rbp
leaq 0xcae7a(%rip), %rsi     # 0x1102a7
movq %r12, %rdi
movl %r13d, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0xde896
addq $0x4, %r15
addq $-0x4, %rbx
movq %r14, (%rsp)
pushq $0x1
popq %rcx
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq 0x10(%rsp), %r8
movq %rbp, %r9
callq 0x4576f
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_extract_BITMAP
static void do_extract_BITMAP(deark *c, lctx *d, i64 pos, i64 len, de_finfo *fi)
{
	if(len<12) return;

	if((d->fmt==EXE_FMT_NE) && (de_getbyte(pos)==0x02)) {
		do_decode_ddb(c, d, pos, len, fi);
		return;
	}

	de_dbg(c, "BITMAP at %"I64_FMT, pos);
	de_dbg_indent(c, 1);
	de_run_module_by_id_on_slice2(c, "dib", "X", c->infile, pos, len);
	de_dbg_indent(c, -1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpq $0xc, %rcx
jge 0x45489
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
cmpb $0x2, (%rsi)
jne 0x45516
movq %r8, %r12
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3eb4
cmpb $0x2, %al
jne 0x45516
leaq 0xcae13(%rip), %rsi     # 0x1102c4
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
pushq $0x70
popq %rsi
movq %rbx, %rdi
callq 0xdecaf
movq %rax, %r13
movq %r12, 0x28(%rax)
movq 0x18(%rbx), %rcx
leaq 0xd0d27(%rip), %rsi     # 0x11620d
movq %rbx, %rdi
movq %rax, %rdx
movq %r15, %r8
movq %r14, %r9
callq 0xdf9b8
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq %rbx, %rdi
movq %r13, %rsi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xded32
leaq 0xcad99(%rip), %rsi     # 0x1102b6
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x18(%rbx), %rcx
leaq 0xd0d0f(%rip), %rsi     # 0x11624f
leaq 0xf10a5(%rip), %rdx     # 0x1365ec
movq %rbx, %rdi
movq %r15, %r8
movq %r14, %r9
callq 0xdfa28
pushq $-0x1
popq %rsi
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xdeba7
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_extract_ICON
static void do_extract_ICON(deark *c, lctx *d, i64 pos, i64 len, de_finfo *fi)
{
	if(d->fmt==EXE_FMT_NE && len>14) {
		UI firstword;

		firstword = (UI)de_getu16le(pos);
		// For Win3 icons, the first word is the low word of bitmap-info-header-size
		// (usually 40, definitely not one of the Win1 type codes).
		// For Win1 icons, it is one of the type codes below.
		if(firstword==0x0001 || firstword==0x0101 || firstword==0x0201) {
			dbuf_create_file_from_slice(c->infile, pos, len, "win1.ico", fi, 0);
			return;
		}
	}

	do_extract_ico_cur(c, d, pos, len, 0, 0, 0, fi);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %r15
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r12
cmpq $0xf, %rcx
jl 0x455ea
cmpb $0x2, (%rsi)
jne 0x455ea
movq 0x18(%r12), %rdi
movq %r14, %rsi
callq 0xe3fa3
movq %rax, %r13
cmpl $0x1, %r13d
je 0x455b5
cmpl $0x201, %r13d           # imm = 0x201
je 0x455b5
cmpl $0x101, %r13d           # imm = 0x101
jne 0x455ea
movq 0x18(%r12), %rdi
leaq 0xcad13(%rip), %rcx     # 0x1102d4
movq %r14, %rsi
movq %rbx, %rdx
movq %r15, %r8
xorl %r9d, %r9d
callq 0xe4e0b
cmpl $0x1, %r13d
je 0x45604
cmpl $0x101, %r13d           # imm = 0x101
je 0x45604
cmpl $0x201, %r13d           # imm = 0x201
je 0x45604
movq %r15, (%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x4576f
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_extract_FONT
static void do_extract_FONT(deark *c, lctx *d, i64 pos, i64 len, de_finfo *fi)
{
	i64 fntlen;

	if(len<6) return;
	// The "file size" is stored at offset 2. Respect it if possible.
	fntlen = de_getu32le(pos+2);
	if(fntlen<6 || fntlen>len) {
		fntlen = len;
	}

	get_font_facename(c, d, pos, fntlen, fi);

	dbuf_create_file_from_slice(c->infile, pos, fntlen, "fnt", fi, 0);
}

// Assembly:
cmpq $0x6, %rcx
jge 0x45619
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rcx, %r13
movq %rdx, %r14
movq %rdi, %r15
movq 0x18(%rdi), %rdi
leaq 0x2(%rdx), %rsi
callq 0xe409f
cmpq %r13, %rax
movq %r13, %r12
cmovlq %rax, %r12
cmpq $0x6, %rax
cmovlq %r13, %r12
xorl %r13d, %r13d
testq %rbx, %rbx
je 0x45716
cmpq $0x6d, %r12
jl 0x45716
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0xe3fa3
testl $0xfffffe00, %eax       # imm = 0xFFFFFE00
je 0x45713
movq 0x18(%r15), %rdi
leaq 0x44(%r14), %rsi
callq 0xe3fa3
movq %rax, %r13
movq 0x18(%r15), %rdi
leaq 0x69(%r14), %rsi
callq 0xe409f
movq %rax, %rbp
movq %r12, %rax
subq %rbp, %rax
jle 0x45713
movq %r13, 0x8(%rsp)
movq %r15, %rdi
movq %rax, 0x10(%rsp)
callq 0xeac74
movq %rax, %r13
movq 0x18(%r15), %rdi
addq %r14, %rbp
movl $0x1, (%rsp)
pushq $0x40
popq %rdx
pushq $0x1
popq %r9
movq %rbp, %rsi
movq 0x10(%rsp), %rcx
movq %rax, %r8
callq 0xe4ced
cmpq $0x0, 0x10(%r13)
jle 0x45716
leaq 0xcabf2(%rip), %rdx     # 0x1102e1
pushq $0x5
popq %rsi
movq %r13, %rdi
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0xeae8b
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0xdfd55
jmp 0x45716
xorl %r13d, %r13d
movq %r13, %rdi
callq 0xeaf3c
movq 0x18(%r15), %rdi
leaq 0xcabb4(%rip), %rcx     # 0x1102dd
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %r8
xorl %r9d, %r9d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe4e0b
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exe.c
// Function: do_ne_pe_extract_resource
static void do_ne_pe_extract_resource(deark *c, lctx *d,
	u32 type_id, const struct rsrc_type_info_struct *rsrci,
	i64 pos, i64 len, de_finfo *fi)
{
	if(!d->extract_std_resources) return;
	if(len<1 || len>DE_MAX_SANE_OBJECT_SIZE) return;

	if(rsrci && rsrci->decoder_fn) {
		rsrci->decoder_fn(c, d, pos, len, fi);
		return;
	}
}

// Assembly:
cmpb $0x0, 0x4(%rsi)
je 0x4597e
leaq -0x1(%r8), %rax
cmpq $0x5f5e100, %rax        # imm = 0x5F5E100
setae %al
testq %rdx, %rdx
sete %r10b
orb %al, %r10b
jne 0x4597e
movq 0x10(%rdx), %rax
testq %rax, %rax
je 0x4597e
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
jmpq *%rax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/exepack.c
// Function: de_module_exepack
void de_module_exepack(deark *c, struct deark_module_info *mi)
{
	mi->id = "exepack";
	mi->desc = "EXEPACK-compressed EXE";
	mi->run_fn = de_run_exepack;
	mi->help_fn = de_help_exepack;
}

// Assembly:
leaq 0xcb00d(%rip), %rax     # 0x110994
movq %rax, (%rsi)
leaq 0xcb00b(%rip), %rax     # 0x11099c
movq %rax, 0x8(%rsi)
leaq 0x10(%rip), %rax        # 0x459ac
movq %rax, 0x18(%rsi)
leaq 0x959(%rip), %rax       # 0x46300
movq %rax, 0x28(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: de_module_amiga_dms
void de_module_amiga_dms(deark *c, struct deark_module_info *mi)
{
	mi->id = "amiga_dms";
	mi->desc = "Amiga DMS disk image";
	mi->run_fn = de_run_amiga_dms;
	mi->identify_fn = de_identify_amiga_dms;
}

// Assembly:
leaq 0xca989(%rip), %rax     # 0x110ca0
movq %rax, (%rsi)
leaq 0xca989(%rip), %rax     # 0x110caa
movq %rax, 0x8(%rsi)
leaq 0x10(%rip), %rax        # 0x4633c
movq %rax, 0x18(%rsi)
leaq 0xf0d(%rip), %rax       # 0x47244
movq %rax, 0x20(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: destroy_saved_dcrmpr_state
static void destroy_saved_dcrmpr_state(deark *c, struct dmsctx *d)
{
	if(d->saved_quick_state.saved_state) {
		destroy_std_cmpr_state(c, d->saved_quick_state.saved_state);
		d->saved_quick_state.saved_state = NULL;
	}
	if(d->saved_medium_state.saved_state) {
		destroy_std_cmpr_state(c, d->saved_medium_state.saved_state);
		d->saved_medium_state.saved_state = NULL;
	}
	if(d->saved_deep_cmpr_state.saved_state) {
		destroy_std_cmpr_state(c, d->saved_deep_cmpr_state.saved_state);
		d->saved_deep_cmpr_state.saved_state = NULL;
	}
	if(d->saved_heavy_state) {
		destroy_heavy_state(c, d->saved_heavy_state);
		d->saved_heavy_state = NULL;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x12f0(%rsi), %rsi
testq %rsi, %rsi
je 0x472b1
movq %r14, %rdi
callq 0x47486
andq $0x0, 0x12f0(%rbx)
movq 0x12f8(%rbx), %rsi
testq %rsi, %rsi
je 0x472cd
movq %r14, %rdi
callq 0x47486
andq $0x0, 0x12f8(%rbx)
movq 0x1300(%rbx), %rsi
testq %rsi, %rsi
je 0x472e9
movq %r14, %rdi
callq 0x47486
andq $0x0, 0x1300(%rbx)
movq 0x1308(%rbx), %rsi
testq %rsi, %rsi
je 0x47305
movq %r14, %rdi
callq 0x47dab
andq $0x0, 0x1308(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: dmsrle_codec
static void dmsrle_codec(struct de_dfilter_ctx *dfctx, void *codec_private_params)
{
	struct dmsrle_ctx *rctx = NULL;

	rctx = de_malloc(dfctx->c, sizeof(struct dmsrle_ctx));
	rctx->state = DMSRLE_STATE_NEUTRAL;
	dfctx->codec_private = (void*)rctx;
	dfctx->codec_addbuf_fn = dmsrle_codec_addbuf;
	dfctx->codec_finish_fn = NULL;
	dfctx->codec_destroy_fn = dmsrle_codec_destroy;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
pushq $0x8
popq %rsi
callq 0xdecaf
andl $0x0, (%rax)
movq %rax, 0x28(%rbx)
leaq 0x16(%rip), %rax        # 0x4735e
movq %rax, 0x30(%rbx)
andq $0x0, 0x40(%rbx)
leaq 0x112(%rip), %rax       # 0x4746a
movq %rax, 0x48(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: dmsrle_codec_addbuf
static void dmsrle_codec_addbuf(struct de_dfilter_ctx *dfctx,
	const u8 *buf, i64 buf_len)
{
	i64 i;
	struct dmsrle_ctx *rctx = (struct dmsrle_ctx*)dfctx->codec_private;

	if(!rctx) goto done;

	for(i=0; i<buf_len; i++) {
		u8 n;
		i64 count;

		n = buf[i];

		switch(rctx->state) {
		case DMSRLE_STATE_NEUTRAL:
			if(n==0x90) {
				rctx->state = DMSRLE_STATE_90;
			}
			else {
				dbuf_writebyte(dfctx->dcmpro->f, n);
			}
			break;
		case DMSRLE_STATE_90:
			if(n==0x00) {
				dbuf_writebyte(dfctx->dcmpro->f, 0x90);
				rctx->state = DMSRLE_STATE_NEUTRAL;
			}
			else {
				rctx->n2 = n;
				rctx->state = DMSRLE_STATE_90_N2;
			}
			break;
		case DMSRLE_STATE_90_N2:
			if(rctx->n2==0xff) {
				rctx->n3 = n;
				rctx->state = DMSRLE_STATE_90_FF_N3;
			}
			else {
				count = (i64)rctx->n2;
				dbuf_write_run(dfctx->dcmpro->f, n, count);
				rctx->state = DMSRLE_STATE_NEUTRAL;
			}
			break;
		case DMSRLE_STATE_90_FF_N3:
			rctx->n4 = n;
			rctx->state = DMSRLE_STATE_90_FF_N3_N4;
			break;
		case DMSRLE_STATE_90_FF_N3_N4:
			count = (i64)(((UI)rctx->n4 << 8) | n);
			dbuf_write_run(dfctx->dcmpro->f, rctx->n3, count);
			rctx->state = DMSRLE_STATE_NEUTRAL;
			break;
		}
	}
done:
	;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %r12
testq %r12, %r12
je 0x4745b
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r13d, %r13d
testq %rdx, %rdx
cmovleq %r13, %rbx
leaq 0xc98e0(%rip), %rbp     # 0x110c70
cmpq %r13, %rbx
je 0x4745b
movl (%r12), %ecx
cmpq $0x4, %rcx
ja 0x47440
movb (%r14,%r13), %al
movzbl %al, %esi
movslq (%rbp,%rcx,4), %rcx
addq %rbp, %rcx
jmpq *%rcx
cmpb $-0x70, %al
jne 0x47425
movl $0x1, (%r12)
jmp 0x47440
movzbl 0x6(%r12), %edx
shll $0x8, %edx
orq %rsi, %rdx
movq 0x10(%r15), %rax
movq (%rax), %rdi
movzbl 0x5(%r12), %esi
jmp 0x473f7
movzbl 0x4(%r12), %edx
cmpq $0xff, %rdx
je 0x47433
movq 0x10(%r15), %rax
movq (%rax), %rdi
callq 0xe5e40
andl $0x0, (%r12)
jmp 0x47440
movb %al, 0x6(%r12)
movl $0x4, (%r12)
jmp 0x47440
testb %al, %al
je 0x47448
movb %al, 0x4(%r12)
movl $0x2, (%r12)
jmp 0x47440
movq 0x10(%r15), %rax
movq (%rax), %rdi
callq 0xe5bc5
jmp 0x47440
movb %al, 0x5(%r12)
movl $0x3, (%r12)
incq %r13
jmp 0x47390
movq 0x10(%r15), %rax
movq (%rax), %rdi
movl $0x90, %esi
callq 0xe5bc5
jmp 0x473fc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: dmsrle_codec_destroy
static void dmsrle_codec_destroy(struct de_dfilter_ctx *dfctx)
{
	struct dmsrle_ctx *rctx = (struct dmsrle_ctx*)dfctx->codec_private;

	if(rctx) {
		de_free(dfctx->c, rctx);
	}
	dfctx->codec_private = NULL;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rsi
testq %rsi, %rsi
je 0x4747f
movq (%rbx), %rdi
callq 0xded32
andq $0x0, 0x28(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: destroy_std_cmpr_state
static void destroy_std_cmpr_state(deark *c, struct dms_std_cmpr_state *cst)
{
	if(!cst) return;
	if(cst->dfctx_codec1) {
		de_dfilter_destroy(cst->dfctx_codec1);
	}
	if(cst->dfctx_rle) {
		de_dfilter_destroy(cst->dfctx_rle);
	}
	dbuf_close(cst->outf_codec1);
	de_free(c, cst);
}

// Assembly:
testq %rsi, %rsi
je 0x474cc
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
je 0x474a3
callq 0xee9dd
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x474b1
callq 0xee9dd
movq 0x28(%rbx), %rdi
callq 0xe5591
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xded32
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: my_std1_write_cb
static void my_std1_write_cb(dbuf *f, void *userdata,
	const u8 *buf, i64 size)
{
	struct dms_std_cmpr_state *u = (struct dms_std_cmpr_state*)userdata;

	if(!u->dfctx_rle) {
		de_internal_err_fatal(f->c, "%s", u->cmpr_meth_name);
	}
	de_dfilter_addbuf(u->dfctx_rle, buf, size);
	u->intermediate_nbytes += size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rax
movq 0x18(%rsi), %rdi
testq %rdi, %rdi
jne 0x47501
movq 0x8(%rax), %rdi
movq 0x8(%r14), %rdx
leaq 0xc0809(%rip), %rsi     # 0x107cff
xorl %eax, %eax
callq 0xdf4f0
movq 0x18(%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xee97f
addq %rbx, 0x20(%r14)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/dms.c
// Function: dmsquicklz77_codec
static void dmsquicklz77_codec(struct de_dfilter_ctx *dfctx, void *codec_private_params)
{
	struct medium_ctx *mctx = NULL;

	mctx = de_malloc(dfctx->c, sizeof(struct medium_ctx));
	mctx->c = dfctx->c;
	mctx->modname = "dmsquick_lz77";
	mctx->dcmpro = dfctx->dcmpro;
	mctx->dres = dfctx->dres;

	dfctx->codec_private = (void*)mctx;
	dfctx->codec_addbuf_fn = quicklz77_codec_addbuf;
	dfctx->codec_command_fn = quicklz77_codec_command;
	dfctx->codec_destroy_fn = mediumlz77_codec_destroy;

	mctx->ringbuf = de_lz77buffer_create(dfctx->c, 256);
	de_lz77buffer_set_curpos(mctx->ringbuf, 251);

	mctx->ringbuf->userdata = (void*)mctx;
	mctx->ringbuf->writebyte_cb = medium_lz77buf_writebytecb;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
pushq $0x78
popq %rsi
callq 0xdecaf
movq %rax, %r14
movq (%rbx), %rdi
movq %rdi, (%rax)
leaq 0xc9b5a(%rip), %rax     # 0x111092
movq %rax, 0x8(%r14)
movdqu 0x8(%rbx), %xmm0
pshufd $0x4e, %xmm0, %xmm0     # xmm0 = xmm0[2,3,0,1]
movdqu %xmm0, 0x10(%r14)
movq %r14, 0x28(%rbx)
leaq 0xdf(%rip), %rax        # 0x47636
movq %rax, 0x30(%rbx)
leaq 0x1f6(%rip), %rax       # 0x47758
movq %rax, 0x38(%rbx)
leaq 0x226(%rip), %rax       # 0x47793
movq %rax, 0x48(%rbx)
movl $0x100, %esi            # imm = 0x100
callq 0xef27c
movq %rax, 0x30(%r14)
movq %rax, %rdi
movl $0xfb, %esi
callq 0xef6f0
movq 0x30(%r14), %rax
movq %r14, (%rax)
leaq 0x22d(%rip), %rcx       # 0x477c7
movq %rcx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq