// File: /workspace/github_c_makefile_star2_O1/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, 0x58(%rsp)
leaq 0x9c(%rsp), %rsi
callq 0xe958c
cmpq $0x8, %r12
jge 0x9d527
xorl %r13d, %r13d
jmp 0x9e178
movl %r14d, 0x6c(%rsp)
testl %r14d, %r14d
leaq 0x94209(%rip), %rax     # 0x13173f
leaq 0xa209d(%rip), %rcx     # 0x13f5da
cmoveq %rax, %rcx
leaq 0x941db(%rip), %rsi     # 0x131723
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %r8
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
leaq 0x58(%rsp), %r14
movq %r14, %rsi
callq 0xef3a0
leaq 0x941c6(%rip), %rsi     # 0x131743
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef3a0
movq %rax, %r14
cmpl $0x5, %r14d
ja 0x9d5b4
movl %r14d, %eax
andl $0x7, %eax
leaq 0x94499(%rip), %rdx     # 0x131a44
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
jmp 0x9d5bb
leaq 0x8e8ae(%rip), %rcx     # 0x12be69
leaq 0x94194(%rip), %rsi     # 0x131756
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
addq %r15, %r12
movq 0x58(%rsp), %rdx
movl %r14d, %eax
xorl $0x1, %eax
orl %ebp, %eax
je 0x9d615
movl %r14d, %eax
xorl $0x2, %eax
orl %ebp, %eax
je 0x9d82d
subq %rdx, %r12
cmpl $0x3, %r14d
jne 0x9da3e
leaq 0x30(%rsp), %r9
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rcx
movl $0x3, %r8d
jmp 0x9da66
movq %r15, 0x38(%rsp)
movq %r12, 0x18(%rsp)
leaq 0x70(%rsp), %r12
movq %rdx, (%r12)
leaq 0x20(%rsp), %rax
movq $0x0, (%rax)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
movq %rdx, 0x90(%rsp)
callq 0xef3a0
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 0xefe67
movq %rax, 0x10(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x94121(%rip), %rsi     # 0x1317a0
movq %r13, %rbp
xorl %r13d, %r13d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, 0x50(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x940e0(%rip), %rsi     # 0x1317b9
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, 0x48(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x940a5(%rip), %rsi     # 0x1317d2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, %r15
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x94069(%rip), %rsi     # 0x1317e8
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq (%r12), %rax
leaq (%r14,%rax), %rdx
addq $0x8, %rdx
movq %rdx, (%r12)
movq 0x18(%rsp), %rcx
subq %rdx, %rcx
leaq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movl 0x6c(%rsp), %r8d
movl $0x1, %r9d
callq 0x9d4e4
testl %eax, %eax
je 0x9da07
movq 0x70(%rsp), %rax
addq 0x20(%rsp), %rax
movq %rax, 0x70(%rsp)
subq 0x90(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0x50(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0x48(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf00aa
movq 0x30(%rsp), %rax
addq %rax, 0x58(%rsp)
movq 0x38(%rsp), %r15
jmp 0x9e15f
movq %r12, 0x18(%rsp)
leaq 0x40(%rsp), %r12
movq %rdx, 0x90(%rsp)
movq %rdx, (%r12)
movq $0x0, 0xb0(%rsp)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
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 0xefe67
movq %rax, 0x10(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x93f0e(%rip), %rsi     # 0x1317a0
movq %r13, %rbp
xorl %r13d, %r13d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, 0xa8(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x93eca(%rip), %rsi     # 0x1317b9
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movq %rbp, 0x48(%rsp)
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, 0xa0(%rsp)
movq 0x18(%rax), %rdi
callq 0xf74bd
leaq 0x93e87(%rip), %rsi     # 0x1317d2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movq %rax, %rbp
movq (%r12), %rdx
leaq 0x93e84(%rip), %rsi     # 0x1317fa
movq %rbx, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq (%r12), %rdx
leaq 0x70(%rsp), %rsi
movl $0x10, %ecx
callq 0xeeee8
movq 0x10(%rsp), %rax
movq 0x8(%rax), %r12
leaq 0x93e6d(%rip), %rsi     # 0x131817
movq %r12, %rdi
callq 0x181a0
movl %eax, 0x98(%rsp)
testl %eax, %eax
movq %rbp, 0x50(%rsp)
je 0x9da78
leaq 0x93e52(%rip), %rsi     # 0x13181f
movq %r12, %rdi
callq 0x181a0
movl 0x70(%rsp), %ebp
testl %eax, %eax
jne 0x9dc65
cmpl $0x46464952, %ebp       # imm = 0x46464952
jne 0x9dc65
cmpl $0x45564157, 0x78(%rsp) # imm = 0x45564157
jne 0x9dc65
leaq 0x92b99(%rip), %r14     # 0x13059b
jmp 0x9df68
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0x50(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0x48(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf00aa
jmp 0x9e178
testl %ebp, %ebp
sete %al
cmpl $0x5, %r14d
setne %cl
orb %al, %cl
jne 0x9dd5d
leaq 0x30(%rsp), %r9
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rcx
movl $0x5, %r8d
callq 0x9e1cc
testl %eax, %eax
jne 0x9e155
jmp 0x9d51f
movq 0x40(%rsp), %r12
leaq 0x20(%rsp), %r14
movq %r12, (%r14)
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0xe958c
movq (%r14), %rdx
leaq 0x93e2e(%rip), %rsi     # 0x1318ca
movq %rbx, %rdi
movq %rbp, %rcx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef1ed
movq %rax, %r14
leaq 0x93e16(%rip), %rsi     # 0x1318e2
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
cmpl $0x2, %r14d
jne 0x9dd89
movq %r15, 0x38(%rsp)
addq %rbp, %r12
movq 0x18(%rbx), %r14
movq 0x20(%rsp), %r15
movq %r12, %rsi
subq %r15, %rsi
movl $0x100, %edi            # imm = 0x100
callq 0xea792
movq %r12, %rbp
movq 0x48(%rsp), %r12
movl (%r12), %r9d
movl $0x100, %ecx            # imm = 0x100
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, %rsi
cmpl $0x0, 0x34(%rax)
je 0x9ddb0
movq 0x18(%rsi), %rdi
movq %rsi, %r15
callq 0xf7557
leaq 0x93dc9(%rip), %rsi     # 0x131912
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x20(%rsp), %r14
movq %r15, 0x60(%rsp)
addq (%r15), %r14
movq %r14, 0x20(%rsp)
movq 0x18(%rbx), %r15
movq %rbp, 0x28(%rsp)
subq %r14, %rbp
movl $0x100, %edi            # imm = 0x100
movq %rbp, %rsi
callq 0xea792
movl (%r12), %r9d
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x1, %r8d
callq 0xefe67
movq %rax, %r12
cmpl $0x0, 0x34(%rax)
je 0x9ddd1
movq 0x18(%r12), %rdi
callq 0xf7557
leaq 0x93d64(%rip), %rsi     # 0x131920
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq %r12, 0x88(%rsp)
movq (%r12), %rax
leaq 0x20(%rsp), %r14
addq %rax, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef1ed
leaq 0x93d42(%rip), %rsi     # 0x131932
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef1ed
movq %rax, %r14
leaq 0x93d2b(%rip), %rsi     # 0x13193d
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
cmpl $0x3, %r14d
jne 0x9ddf4
movq 0x18(%rbx), %rdi
leaq 0x20(%rsp), %r14
movq %r14, %rsi
callq 0xef3a0
movq %rax, %r15
movq (%r14), %rax
addq %r15, %rax
movq 0x28(%rsp), %rbp
cmpq %rbp, %rax
jle 0x9de33
xorl %r13d, %r13d
xorl %r14d, %r14d
movq $0x0, 0x28(%rsp)
jmp 0x9de14
leaq 0x93bbc(%rip), %rsi     # 0x131828
movl $0xe, %edx
movq %r12, %rdi
callq 0x18050
leaq 0x93bc5(%rip), %r14     # 0x131845
testl %eax, %eax
je 0x9df68
leaq 0x93ba8(%rip), %rsi     # 0x131837
movl $0xd, %edx
movq %r12, %rdi
callq 0x18050
testl %eax, %eax
je 0x9df68
leaq 0x93b9e(%rip), %rsi     # 0x131849
movl $0xc, %edx
movq %r12, %rdi
callq 0x18050
leaq 0x93ba6(%rip), %r14     # 0x131865
testl %eax, %eax
je 0x9df68
leaq 0x93b88(%rip), %rsi     # 0x131856
movq %r12, %rdi
callq 0x181a0
testl %eax, %eax
je 0x9df68
movl %ebp, %r14d
xorl $0x46464952, %r14d      # imm = 0x46464952
leaq 0x93b7a(%rip), %rsi     # 0x131869
movq %r12, %rdi
callq 0x181a0
orl %r14d, %eax
jne 0x9dd16
movl $0x4443, %eax           # imm = 0x4443
xorl 0x78(%rsp), %eax
movzbl 0x7a(%rsp), %ecx
xorl $0x52, %ecx
orw %ax, %cx
je 0x9df61
leaq 0x93b56(%rip), %rsi     # 0x131873
movq %r12, %rdi
callq 0x181a0
xorl $0x28, %ebp
orl %eax, %ebp
jne 0x9de28
movq 0x18(%rbx), %rcx
movq 0x40(%rsp), %r8
leaq 0x854ef(%rip), %rsi     # 0x12322f
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %edx, %edx
movq 0x50(%rsp), %r9
callq 0xea5fa
movl $0x1, %r13d
jmp 0x9df68
testl %ebp, %ebp
setne %al
testl %r14d, %r14d
sete %cl
testb %cl, %al
jne 0x9e15f
leaq 0x939f1(%rip), %rsi     # 0x131768
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
jmp 0x9e178
movq $0x0, 0x28(%rsp)
leaq 0x93b60(%rip), %rsi     # 0x1318f9
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %esi, %esi
jmp 0x9ddc7
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %r12d, %r12d
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %r15
movq 0x10(%rsp), %rbp
jmp 0x9df20
movq $0x0, 0x28(%rsp)
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x38(%rsp), %r15
movq 0x10(%rsp), %rbp
movq 0x60(%rsp), %rsi
jmp 0x9df20
movq $0x0, 0x28(%rsp)
leaq 0x93b4a(%rip), %rsi     # 0x13194e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x38(%rsp), %r15
movq 0x10(%rsp), %rbp
movq 0x60(%rsp), %rsi
jmp 0x9df18
xorl %r14d, %r14d
xorl %r13d, %r13d
jmp 0x9df68
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
movq 0x18(%rbx), %rdi
leaq 0x20(%rsp), %r14
movq (%r14), %rsi
movq 0x48(%rsp), %rax
movl (%rax), %eax
movl %eax, (%rsp)
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdx
movq %r12, %r8
movl $0x1, %r9d
callq 0xf0203
movq %r12, %rdi
callq 0xf7557
leaq 0x9db5b(%rip), %rsi     # 0x13b9d4
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r15, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef3a0
movq %rax, %r15
leaq 0x787af(%rip), %rsi     # 0x11664e
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq (%r14), %rax
addq %r15, %rax
cmpq %rbp, %rax
jle 0x9dec5
movq $0x0, 0x28(%rsp)
xorl %r13d, %r13d
jmp 0x9df06
movq %rbx, %rdi
callq 0xea9a9
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xea9e4
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rsi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r14, %r13
movq %r14, %r8
xorl %r9d, %r9d
callq 0xf0321
movl $0x1, %eax
movq %rax, 0x28(%rsp)
movq 0x38(%rsp), %r15
movq 0x10(%rsp), %rbp
movq 0x60(%rsp), %rsi
movq %r12, %r14
movq 0x88(%rsp), %r12
movq %rbx, %rdi
callq 0xf00aa
movq %rbx, %rdi
movq %r12, %rsi
callq 0xf00aa
movq %r14, %rdi
callq 0xf6bb0
movq %rbx, %rdi
movq %r13, %rsi
callq 0xea9b3
movl 0x30(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
xorl %r14d, %r14d
movq 0x18(%rsp), %r12
movq 0x28(%rsp), %r13
jmp 0x9df72
leaq 0x828e3(%rip), %r14     # 0x12084b
movq 0x18(%rsp), %r12
movq 0x10(%rsp), %rbp
movq 0x8(%rbp), %rdi
leaq 0x93903(%rip), %rsi     # 0x131880
callq 0x181a0
testl %eax, %eax
je 0x9dfa2
movb 0x70(%rsp), %al
movb 0x71(%rsp), %cl
xorb $0x42, %al
xorb $0x4d, %cl
orb %al, %cl
leaq 0x830b6(%rip), %rax     # 0x121052
cmoveq %rax, %r14
jmp 0x9dfa9
leaq 0x938e8(%rip), %r14     # 0x131891
testl %r13d, %r13d
jne 0x9dfd5
testq %r14, %r14
je 0x9dfd5
movq 0x18(%rbx), %rdi
movq 0x40(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xf0321
movl $0x1, %r13d
testl %r13d, %r13d
movq 0x48(%rsp), %r14
jne 0x9e0cc
cmpl $0x0, 0x4(%r14)
je 0x9e09d
movq %r15, %r13
movq 0x40(%rsp), %r15
movq %rbx, %rdi
callq 0xea9a9
movq %rax, %r14
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
leaq 0x93952(%rip), %rsi     # 0x131965
movq %rax, %rdi
movl $0x5, %edx
callq 0xf6a40
movq 0x18(%rbp), %rdi
callq 0xf6c00
testl %eax, %eax
je 0x9e04d
leaq 0x9d582(%rip), %rsi     # 0x13b5b6
movq %r12, %rdi
movl $0x5, %edx
callq 0xf6a40
movq 0x18(%rbp), %rsi
movq %r12, %rdi
callq 0xf6969
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xea9e4
movq 0x18(%rbx), %rdi
leaq 0x973c9(%rip), %rcx     # 0x135431
movq %r15, %rsi
movq 0x50(%rsp), %rdx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xf0321
movq %r12, %rdi
callq 0xf6bb0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xea9b3
movq %r13, %r15
movq 0x18(%rsp), %r12
movq 0x48(%rsp), %r14
jmp 0x9e0cc
cmpl $0x0, 0x98(%rsp)
je 0x9e0cc
movq 0x18(%rbp), %rdi
callq 0xf74bd
leaq 0x937de(%rip), %rsi     # 0x131895
movq %rbx, %rdi
movq %rax, %rdx
movq 0x90(%rsp), %rcx
xorl %eax, %eax
callq 0xe9b27
movq 0x40(%rsp), %rdx
addq 0x50(%rsp), %rdx
movq %rdx, 0x40(%rsp)
subq %rdx, %r12
leaq 0xb0(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
movl 0x6c(%rsp), %r8d
movl $0x1, %r9d
callq 0x9d4e4
testl %eax, %eax
je 0x9e19c
movq 0x40(%rsp), %rax
addq 0xb0(%rsp), %rax
movq %rax, 0x40(%rsp)
subq 0x90(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0xa8(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0xa0(%rsp), %rsi
callq 0xf00aa
movq 0x30(%rsp), %rax
addq %rax, 0x58(%rsp)
movq 0xf0(%rsp), %rax
movq 0x58(%rsp), %rcx
subq %r15, %rcx
movq %rcx, (%rax)
movl $0x1, %r13d
movl 0x9c(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
movl %r13d, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0xa8(%rsp), %rsi
callq 0xf00aa
movq %rbx, %rdi
movq 0xa0(%rsp), %rsi
callq 0xf00aa
jmp 0x9d51f