// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/modules/ole1.c
// Function: do_ole_object
static int do_ole_object(deark *c, lctx *d, i64 pos1, i64 len, int exact_size_known,
	int is_presentation, i64 *bytes_consumed)
{
	int saved_indent_level;
	i64 pos = pos1;
	i64 nbytesleft;
	i64 bytes_consumed2;
	int ret;
	unsigned int n;
	unsigned int formatID;
	int retval = 0;

	de_dbg_indent_save(c, &saved_indent_level);
	if(len<8) goto done;
	de_dbg(c, "OLE object at %"I64_FMT", len%s%"I64_FMT, pos1,
		(exact_size_known?"=":DE_CHAR_LEQ), len);
	de_dbg_indent(c, 1);

	n = (unsigned int)de_getu32le_p(&pos);
	de_dbg(c, "OLEVersion: 0x%08x", n);

	formatID = (unsigned int)de_getu32le_p(&pos);
	de_dbg(c, "FormatID: %u (%s)", formatID, get_FormatID_name(formatID));

	nbytesleft = pos1+len-pos;
	if(formatID==1 && !is_presentation) {
		ret = do_ole_object_linked(c, d, pos, nbytesleft, exact_size_known, &bytes_consumed2);
		if(!ret) goto done;
		pos += bytes_consumed2;
	}
	else if(formatID==2 && !is_presentation) {
		ret = do_ole_object_embedded(c, d, pos, nbytesleft, exact_size_known, &bytes_consumed2);
		if(!ret) goto done;
		pos += bytes_consumed2;
	}
	else if(formatID==3) {
		ret = do_ole_object_presentation(c, d, pos, nbytesleft, formatID, &bytes_consumed2);
		if(!ret) goto done;
		pos += bytes_consumed2;
	}
	else if(formatID==5 && is_presentation) {
		ret = do_ole_object_presentation(c, d, pos, nbytesleft, formatID, &bytes_consumed2);
		if(!ret) goto done;
		pos += bytes_consumed2;
	}
	else if(formatID==0 && is_presentation) {
		;
	}
	else {
		de_dbg(c, "[unsupported OLE FormatID]");
		goto done;
	}

	*bytes_consumed = pos-pos1;
	retval = 1;

done:
	de_dbg_indent_restore(c, saved_indent_level);
	return retval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movl %r9d, %ebp
movl %r8d, %r14d
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
movq %rdx, 0x28(%rsp)
leaq 0xa0(%rsp), %rsi
callq 0xe8a1c
cmpq $0x8, %r12
jge 0x9cd0a
xorl %ebp, %ebp
jmp 0x9d960
movl %r14d, 0x84(%rsp)
testl %r14d, %r14d
leaq 0x94da7(%rip), %rax     # 0x131ac3
leaq 0xa2cb7(%rip), %rcx     # 0x13f9da
cmoveq %rax, %rcx
leaq 0x94d79(%rip), %rsi     # 0x131aa7
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %r8
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movq 0x18(%rbx), %rdi
leaq 0x28(%rsp), %r14
movq %r14, %rsi
callq 0xeed83
leaq 0x94d64(%rip), %rsi     # 0x131ac7
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xeed83
movq %rax, %r14
cmpl $0x5, %r14d
ja 0x9cd9a
movl %r14d, %eax
andl $0x7, %eax
leaq 0x95037(%rip), %rdx     # 0x131dc8
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
jmp 0x9cda1
leaq 0x8f3b0(%rip), %rcx     # 0x12c151
leaq 0x94d32(%rip), %rsi     # 0x131ada
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe8617
addq %r15, %r12
movq 0x28(%rsp), %rdx
movl %r14d, %eax
xorl $0x1, %eax
orl %ebp, %eax
je 0x9cdfb
movl %r14d, %eax
xorl $0x2, %eax
orl %ebp, %eax
je 0x9d010
subq %rdx, %r12
cmpl $0x3, %r14d
jne 0x9d224
leaq 0x60(%rsp), %r9
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rcx
movl $0x3, %r8d
jmp 0x9d24c
movq %r15, 0x38(%rsp)
movq %r12, 0x18(%rsp)
leaq 0x60(%rsp), %r12
movq %rdx, (%r12)
leaq 0x30(%rsp), %rax
movq $0x0, (%rax)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
movq %rdx, 0x90(%rsp)
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0x10(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94cbf(%rip), %rsi     # 0x131b24
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0x58(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94c82(%rip), %rsi     # 0x131b3d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0x40(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94c47(%rip), %rsi     # 0x131b56
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, %r15
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94c0b(%rip), %rsi     # 0x131b6c
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq (%r12), %rax
leaq (%r14,%rax), %rdx
addq $0x8, %rdx
movq %rdx, (%r12)
movq 0x18(%rsp), %rcx
subq %rdx, %rcx
leaq 0x30(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movl 0x84(%rsp), %r8d
movl $0x1, %r9d
callq 0x9ccc8
testl %eax, %eax
je 0x9d1ed
movq 0x60(%rsp), %r14
addq 0x30(%rsp), %r14
movq %r14, 0x60(%rsp)
subq 0x90(%rsp), %r14
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0x58(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq %r15, %rsi
callq 0xefaca
addq 0x28(%rsp), %r14
movq %r14, 0x28(%rsp)
movq %r14, %rdx
movq 0x38(%rsp), %r15
jmp 0x9d94d
movq %r12, 0x18(%rsp)
leaq 0x48(%rsp), %r12
movq %rdx, 0x90(%rsp)
movq %rdx, (%r12)
movq $0x0, 0xb0(%rsp)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0x50(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94aaf(%rip), %rsi     # 0x131b24
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%r13), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0x20(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94a6b(%rip), %rsi     # 0x131b3d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movq %r13, 0x40(%rsp)
movl (%r13), %r9d
movq 0x50(%rsp), %rbp
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, 0xa8(%rsp)
movq 0x18(%rax), %rdi
callq 0xf705c
leaq 0x94a23(%rip), %rsi     # 0x131b56
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r13
movq (%r12), %rdx
leaq 0x94a20(%rip), %rsi     # 0x131b7e
movq %rbx, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq (%r12), %rdx
leaq 0x60(%rsp), %rsi
movl $0x10, %ecx
callq 0xee8d4
movq 0x8(%rbp), %r12
leaq 0x94a0e(%rip), %rsi     # 0x131b9b
movq %r12, %rdi
callq 0x181a0
movl %eax, 0x9c(%rsp)
testl %eax, %eax
movq %r13, 0x58(%rsp)
je 0x9d26d
movq %rbp, %r13
leaq 0x949f0(%rip), %rsi     # 0x131ba3
movq %r12, %rdi
callq 0x181a0
movl 0x60(%rsp), %ebp
testl %eax, %eax
jne 0x9d468
cmpl $0x46464952, %ebp       # imm = 0x46464952
jne 0x9d468
cmpl $0x45564157, 0x68(%rsp) # imm = 0x45564157
jne 0x9d468
leaq 0x936ee(%rip), %r14     # 0x1308d6
jmp 0x9d74b
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0x58(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
callq 0xefaca
movq %rbx, %rdi
movq %r15, %rsi
callq 0xefaca
jmp 0x9d960
testl %ebp, %ebp
sete %al
cmpl $0x5, %r14d
setne %cl
orb %al, %cl
jne 0x9d564
leaq 0x60(%rsp), %r9
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rcx
movl $0x5, %r8d
callq 0x9d9ae
testl %eax, %eax
je 0x9cd03
movq 0x28(%rsp), %rdx
addq 0x60(%rsp), %rdx
movq %rdx, 0x28(%rsp)
jmp 0x9d94d
movq 0x48(%rsp), %r12
leaq 0x30(%rsp), %r14
movq %r12, (%r14)
leaq 0xa4(%rsp), %rsi
movq %rbx, %rdi
callq 0xe8a1c
leaq 0x949bd(%rip), %rsi     # 0x131c4e
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xeebeb
movq %rax, %r14
leaq 0x94999(%rip), %rsi     # 0x131c66
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe8617
cmpl $0x2, %r14d
jne 0x9d58f
movq %r15, 0x38(%rsp)
addq %r13, %r12
movq 0x18(%rbx), %r14
movq 0x30(%rsp), %r15
movq %r12, %rsi
subq %r15, %rsi
movl $0x100, %edi            # imm = 0x100
callq 0xe9c3b
movq %r12, %r13
movq 0x40(%rsp), %r12
movl (%r12), %r9d
movl $0x100, %ecx            # imm = 0x100
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, %rsi
cmpl $0x0, 0x34(%rax)
je 0x9d5ad
movq 0x18(%rsi), %rdi
movq %rsi, %r15
callq 0xf70f6
leaq 0x9494c(%rip), %rsi     # 0x131c96
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x30(%rsp), %r14
movq %r15, 0x78(%rsp)
addq (%r15), %r14
movq %r14, 0x30(%rsp)
movq 0x18(%rbx), %r15
movq %r13, %rbp
movq %r13, %rsi
subq %r14, %rsi
movl $0x100, %edi            # imm = 0x100
callq 0xe9c3b
movl (%r12), %r9d
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x1, %r8d
callq 0xef87c
movq %rax, %r12
cmpl $0x0, 0x34(%rax)
je 0x9d5cb
movq 0x18(%r12), %rdi
callq 0xf70f6
leaq 0x948e9(%rip), %rsi     # 0x131ca4
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq %r12, 0x88(%rsp)
movq (%r12), %rax
leaq 0x30(%rsp), %r14
addq %rax, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xeebeb
leaq 0x948be(%rip), %rsi     # 0x131cb6
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xeebeb
movq %rax, %r14
leaq 0x948a7(%rip), %rsi     # 0x131cc1
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe8617
cmpl $0x3, %r14d
jne 0x9d5eb
movq 0x18(%rbx), %rdi
leaq 0x30(%rsp), %r14
movq %r14, %rsi
callq 0xeed83
movq %rax, %r15
movq (%r14), %rax
addq %r15, %rax
cmpq %rbp, %rax
jle 0x9d66c
xorl %r14d, %r14d
xorl %r13d, %r13d
movq $0x0, 0x10(%rsp)
jmp 0x9d602
leaq 0x9473d(%rip), %rsi     # 0x131bac
movl $0xe, %edx
movq %r12, %rdi
callq 0x18050
leaq 0x94746(%rip), %r14     # 0x131bc9
testl %eax, %eax
je 0x9d74b
leaq 0x94729(%rip), %rsi     # 0x131bbb
movl $0xd, %edx
movq %r12, %rdi
callq 0x18050
testl %eax, %eax
je 0x9d74b
leaq 0x9471f(%rip), %rsi     # 0x131bcd
movl $0xc, %edx
movq %r12, %rdi
callq 0x18050
leaq 0x94727(%rip), %r14     # 0x131be9
testl %eax, %eax
je 0x9d74b
leaq 0x94709(%rip), %rsi     # 0x131bda
movq %r12, %rdi
callq 0x181a0
testl %eax, %eax
je 0x9d74b
movl %ebp, %r14d
xorl $0x46464952, %r14d      # imm = 0x46464952
leaq 0x946fb(%rip), %rsi     # 0x131bed
movq %r12, %rdi
callq 0x181a0
orl %r14d, %eax
jne 0x9d519
movl $0x4443, %eax           # imm = 0x4443
xorl 0x68(%rsp), %eax
movzbl 0x6a(%rsp), %ecx
xorl $0x52, %ecx
orw %ax, %cx
je 0x9d744
leaq 0x946d7(%rip), %rsi     # 0x131bf7
movq %r12, %rdi
callq 0x181a0
xorl $0x28, %ebp
orl %eax, %ebp
jne 0x9d65b
movq 0x18(%rbx), %rcx
movq 0x48(%rsp), %r8
leaq 0x85ecc(%rip), %rsi     # 0x12340f
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %edx, %edx
movq 0x58(%rsp), %r9
callq 0xe9aa3
movl $0x1, %eax
movq %rax, 0x10(%rsp)
jmp 0x9d74b
testl %ebp, %ebp
setne %al
testl %r14d, %r14d
sete %cl
testb %cl, %al
jne 0x9d94d
leaq 0x9456e(%rip), %rsi     # 0x131aec
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
jmp 0x9d960
leaq 0x946e7(%rip), %rsi     # 0x131c7d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
xorl %esi, %esi
jmp 0x9d619
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
movq $0x0, 0x10(%rsp)
movq 0x38(%rsp), %r15
movq 0x50(%rsp), %rbp
jmp 0x9d619
movq $0x0, 0x10(%rsp)
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x38(%rsp), %r15
movq 0x50(%rsp), %rbp
movq 0x78(%rsp), %rsi
jmp 0x9d619
leaq 0x946e0(%rip), %rsi     # 0x131cd2
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x38(%rsp), %r15
movq 0x50(%rsp), %rbp
movq 0x78(%rsp), %rsi
movq 0x88(%rsp), %r12
movq %rbx, %rdi
callq 0xefaca
movq %rbx, %rdi
movq %r12, %rsi
callq 0xefaca
movq %r13, %rdi
callq 0xf6753
movq %rbx, %rdi
movq %r14, %rsi
callq 0xea50e
movl 0xa4(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
xorl %r14d, %r14d
movq 0x18(%rsp), %r12
jmp 0x9d753
xorl %r14d, %r14d
movq $0x0, 0x10(%rsp)
jmp 0x9d74b
movq %rbx, %rdi
callq 0xf6410
movq %rax, %r13
movq 0x18(%rbx), %rdi
leaq 0x30(%rsp), %r14
movq (%r14), %rsi
movq 0x40(%rsp), %rax
movl (%rax), %eax
movl %eax, (%rsp)
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdx
movq %r13, %r8
movl $0x1, %r9d
callq 0xefc2a
movq %r13, %rdi
callq 0xf70f6
leaq 0x9e69c(%rip), %rsi     # 0x13bd4e
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
addq %r15, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xeed83
movq %rax, %r15
leaq 0x7901d(%rip), %rsi     # 0x1166fe
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq (%r14), %rax
addq %r15, %rax
cmpq %rbp, %rax
jle 0x9d701
xorl %r14d, %r14d
jmp 0x9d602
movq %rbx, %rdi
callq 0xea504
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0xea53f
movq 0x18(%rbx), %rdi
movq 0x30(%rsp), %rsi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xefd48
movl $0x1, %eax
movq %rax, 0x10(%rsp)
jmp 0x9d602
leaq 0x83228(%rip), %r14     # 0x120973
movq 0x18(%rsp), %r12
movq %r13, %rbp
movq 0x20(%rsp), %r13
movq 0x8(%rbp), %rdi
leaq 0x944a1(%rip), %rsi     # 0x131c04
callq 0x181a0
testl %eax, %eax
je 0x9d788
movb 0x60(%rsp), %al
movb 0x61(%rsp), %cl
xorb $0x42, %al
xorb $0x4d, %cl
orb %al, %cl
leaq 0x839e0(%rip), %rax     # 0x121162
cmoveq %rax, %r14
jmp 0x9d78f
leaq 0x94486(%rip), %r14     # 0x131c15
movq 0x10(%rsp), %rax
testl %eax, %eax
jne 0x9d7c3
testq %r14, %r14
je 0x9d7c3
movq 0x18(%rbx), %rdi
movq 0x48(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xefd48
movq 0x40(%rsp), %r14
jmp 0x9d8be
testl %eax, %eax
movq 0x40(%rsp), %r14
jne 0x9d8be
cmpl $0x0, 0x4(%r14)
je 0x9d88f
movq %r15, %r13
movq 0x48(%rsp), %r15
movq %rbx, %rdi
callq 0xea504
movq %rax, %r14
movq %rbx, %rdi
callq 0xf6410
movq %rax, %r12
leaq 0x944e9(%rip), %rsi     # 0x131ce9
movq %rax, %rdi
movl $0x5, %edx
callq 0xf65e3
movq 0x18(%rbp), %rdi
callq 0xf67a3
testl %eax, %eax
je 0x9d83a
leaq 0x9e14d(%rip), %rsi     # 0x13b96e
movq %r12, %rdi
movl $0x5, %edx
callq 0xf65e3
movq 0x18(%rbp), %rsi
movq %r12, %rdi
callq 0xf6509
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xea53f
movq 0x18(%rbx), %rdi
leaq 0x97f68(%rip), %rcx     # 0x1357bd
movq %r15, %rsi
movq 0x58(%rsp), %rdx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xefd48
movq %r12, %rdi
callq 0xf6753
movq %rbx, %rdi
movq %r14, %rsi
callq 0xea50e
movq %r13, %r15
movq 0x18(%rsp), %r12
movq 0x40(%rsp), %r14
movq 0x20(%rsp), %r13
jmp 0x9d8be
cmpl $0x0, 0x9c(%rsp)
je 0x9d8be
movq 0x18(%rbp), %rdi
callq 0xf705c
leaq 0x94370(%rip), %rsi     # 0x131c19
movq %rbx, %rdi
movq %rax, %rdx
movq 0x90(%rsp), %rcx
xorl %eax, %eax
callq 0xe8faa
movq 0x48(%rsp), %rdx
addq 0x58(%rsp), %rdx
movq %rdx, 0x48(%rsp)
subq %rdx, %r12
leaq 0xb0(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
movl 0x84(%rsp), %r8d
movl $0x1, %r9d
callq 0x9ccc8
testl %eax, %eax
je 0x9d983
movq 0x48(%rsp), %r14
addq 0xb0(%rsp), %r14
movq %r14, 0x48(%rsp)
subq 0x90(%rsp), %r14
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xefaca
movq %rbx, %rdi
movq %r13, %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0xa8(%rsp), %rsi
callq 0xefaca
addq 0x28(%rsp), %r14
movq %r14, 0x28(%rsp)
movq %r14, %rdx
movq 0xf0(%rsp), %rax
subq %r15, %rdx
movq %rdx, (%rax)
movl $0x1, %ebp
movl 0xa0(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
movl %ebp, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xefaca
movq %rbx, %rdi
movq %r13, %rsi
callq 0xefaca
movq %rbx, %rdi
movq 0xa8(%rsp), %rsi
callq 0xefaca
jmp 0x9cd03