// File: /workspace/github_c_makefile_star2_O2/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, %r15d
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x20(%rsp)
leaq 0x90(%rsp), %rsi
callq 0xdebae
cmpq $0x8, %r12
jl 0x97cc7
movq %r14, 0x30(%rsp)
movl %r15d, 0x6c(%rsp)
testl %r15d, %r15d
leaq 0x8d65f(%rip), %rax     # 0x1247d7
leaq 0x9b52b(%rip), %rcx     # 0x1326aa
cmoveq %rax, %rcx
leaq 0x8d631(%rip), %rsi     # 0x1247bb
movq %rbx, %rdi
movq %r13, %rdx
movq %r12, %r8
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
leaq 0x20(%rsp), %r14
movq %r14, %rsi
callq 0xe40bf
leaq 0x8d61a(%rip), %rsi     # 0x1247db
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
movq %rax, %r14
cmpl $0x5, %r14d
ja 0x971f8
movl %r14d, %eax
andl $0x7, %eax
leaq 0x8d8ed(%rip), %rdx     # 0x124adc
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
jmp 0x971ff
leaq 0x87ce2(%rip), %rcx     # 0x11eee1
leaq 0x8d5e8(%rip), %rsi     # 0x1247ee
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
addq %r13, %r12
movq 0x20(%rsp), %rdx
movl %r14d, %eax
xorl $0x1, %eax
orl %ebp, %eax
je 0x97247
movl %r14d, %eax
xorl $0x2, %eax
orl %ebp, %eax
je 0x9744e
subq %rdx, %r12
cmpl $0x3, %r14d
jne 0x97656
pushq $0x3
jmp 0x9766c
movq %r13, 0x80(%rsp)
leaq 0x50(%rsp), %r13
movq %rdx, (%r13)
leaq 0x28(%rsp), %rax
andq $0x0, (%rax)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
movq %rdx, 0x78(%rsp)
callq 0xe40bf
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r13), %rsi
movq 0x30(%rsp), %rbp
movl (%rbp), %r9d
pushq $0x1
popq %r8
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
callq 0xe495c
movq %rax, 0x18(%rsp)
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d58c(%rip), %rsi     # 0x124838
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r14, (%r13)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xe40bf
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq (%r13), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
pushq $0x1
popq %r14
movl %r14d, %r8d
callq 0xe495c
movq %rax, 0x40(%rsp)
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d550(%rip), %rsi     # 0x124851
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r15, (%r13)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xe40bf
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq (%r13), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
movl %r14d, %r8d
callq 0xe495c
movq %rax, 0x10(%rsp)
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d518(%rip), %rsi     # 0x12486a
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r15, (%r13)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xe40bf
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r13), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
pushq $0x1
popq %r8
callq 0xe495c
movq %rax, %r15
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d4de(%rip), %rsi     # 0x124880
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq (%r13), %rax
leaq (%r14,%rax), %rdx
addq $0x8, %rdx
movq %rdx, (%r13)
subq %rdx, %r12
leaq 0x28(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rcx
movl 0x6c(%rsp), %r8d
pushq $0x1
popq %r9
callq 0x97125
testl %eax, %eax
je 0x97624
movq 0x50(%rsp), %r12
addq 0x28(%rsp), %r12
movq %r12, 0x50(%rsp)
subq 0x78(%rsp), %r12
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe4b94
addq 0x20(%rsp), %r12
movq %r12, 0x20(%rsp)
movq %r12, %rdx
pushq $0x1
popq %r15
movq 0x80(%rsp), %r13
jmp 0x97c8c
movq %r12, 0x10(%rsp)
movq %r13, 0x80(%rsp)
leaq 0x38(%rsp), %r12
movq %rdx, 0x78(%rsp)
movq %rdx, (%r12)
andq $0x0, 0xa8(%rsp)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xe40bf
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movq 0x30(%rsp), %rbp
movl (%rbp), %r9d
pushq $0x1
popq %r8
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
callq 0xe495c
movq %rax, %r13
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d382(%rip), %rsi     # 0x124838
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xe40bf
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
pushq $0x1
popq %r8
callq 0xe495c
movq %rax, 0xa0(%rsp)
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d33d(%rip), %rsi     # 0x124851
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xe40bf
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
movl (%rbp), %r9d
movq %r13, %rbp
movl $0x104, %ecx            # imm = 0x104
movq %rax, %rdx
pushq $0x1
popq %r8
callq 0xe495c
movq %rax, 0x98(%rsp)
movq 0x18(%rax), %rdi
callq 0xeb7e4
leaq 0x8d2fe(%rip), %rsi     # 0x12486a
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r14, (%r12)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xe40bf
movq %rax, %r13
movq (%r12), %rdx
leaq 0x8d2fb(%rip), %rsi     # 0x124892
movq %rbx, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq (%r12), %rdx
leaq 0x50(%rsp), %rsi
pushq $0x10
popq %rcx
callq 0xe3cb7
movq 0x8(%rbp), %r12
leaq 0x8d2eb(%rip), %rsi     # 0x1248af
movq %r12, %rdi
callq 0x181a0
movl %eax, 0x8c(%rsp)
testl %eax, %eax
movq %r13, 0x40(%rsp)
je 0x9769f
movq %rbp, %r13
leaq 0x8d2cd(%rip), %rsi     # 0x1248b7
movq %r12, %rdi
callq 0x181a0
movl 0x50(%rsp), %ebp
testl %eax, %eax
jne 0x9789d
cmpl $0x46464952, %ebp       # imm = 0x46464952
jne 0x9789d
cmpl $0x45564157, 0x58(%rsp) # imm = 0x45564157
jne 0x9789d
leaq 0x8bfd4(%rip), %r14     # 0x1235f3
jmp 0x97b77
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq %r15, %rsi
jmp 0x97cc2
testl %ebp, %ebp
sete %al
cmpl $0x5, %r14d
setne %cl
orb %al, %cl
jne 0x97993
pushq $0x5
popq %r8
leaq 0x50(%rsp), %r9
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
movq %r12, %rcx
callq 0x97dd5
testl %eax, %eax
je 0x97cc7
movq 0x20(%rsp), %rdx
addq 0x50(%rsp), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x97c8c
movq 0x38(%rsp), %r12
leaq 0x28(%rsp), %r14
movq %r12, (%r14)
leaq 0x94(%rsp), %rsi
movq %rbx, %rdi
callq 0xdebae
leaq 0x8d29f(%rip), %rsi     # 0x124962
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe3fc4
movq %rax, %r14
leaq 0x8d27d(%rip), %rsi     # 0x12497a
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
cmpl $0x2, %r14d
jne 0x979bf
movq %rbp, 0x48(%rsp)
addq %r13, %r12
movq 0x18(%rbx), %r14
movq 0x28(%rsp), %r15
movq %r12, %rsi
subq %r15, %rsi
movl $0x100, %edi            # imm = 0x100
callq 0xdfb45
movq %r12, %rbp
movq 0x30(%rsp), %r12
movl (%r12), %r9d
pushq $0x1
popq %r8
movl $0x100, %ecx            # imm = 0x100
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xe495c
movq %rax, %rsi
cmpl $0x0, 0x34(%rax)
je 0x979dd
movq 0x18(%rsi), %rdi
movq %rsi, %r15
callq 0xeb877
leaq 0x8d232(%rip), %rsi     # 0x1249aa
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x28(%rsp), %r14
movq %r15, 0x60(%rsp)
addq (%r15), %r14
movq %r14, 0x28(%rsp)
movq 0x18(%rbx), %r15
movq %rbp, 0xb0(%rsp)
subq %r14, %rbp
movl $0x100, %edi            # imm = 0x100
movq %rbp, %rsi
callq 0xdfb45
movl (%r12), %r9d
pushq $0x1
popq %r8
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xe495c
movq %rax, %r13
cmpl $0x0, 0x34(%rax)
je 0x979fa
movq 0x18(%r13), %rdi
callq 0xeb877
leaq 0x8d1cd(%rip), %rsi     # 0x1249b8
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r13, 0x70(%rsp)
movq (%r13), %rax
leaq 0x28(%rsp), %r14
addq %rax, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe3fc4
leaq 0x8d1a5(%rip), %rsi     # 0x1249ca
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe3fc4
movq %rax, %r14
leaq 0x8d18e(%rip), %rsi     # 0x1249d5
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
cmpl $0x3, %r14d
jne 0x97a19
movq 0x18(%rbx), %rdi
leaq 0x28(%rsp), %r14
movq %r14, %rsi
callq 0xe40bf
movq %rax, %r15
movq (%r14), %rax
addq %r15, %rax
movq 0xb0(%rsp), %r13
cmpq %r13, %rax
jle 0x97a96
xorl %r14d, %r14d
xorl %r12d, %r12d
movq $0x0, 0x18(%rsp)
jmp 0x97a30
leaq 0x8d01c(%rip), %rsi     # 0x1248c0
pushq $0xe
popq %rdx
movq %r12, %rdi
callq 0x18050
leaq 0x8d027(%rip), %r14     # 0x1248dd
testl %eax, %eax
je 0x97b77
leaq 0x8d00a(%rip), %rsi     # 0x1248cf
pushq $0xd
popq %rdx
movq %r12, %rdi
callq 0x18050
testl %eax, %eax
je 0x97b77
leaq 0x8d002(%rip), %rsi     # 0x1248e1
pushq $0xc
popq %rdx
movq %r12, %rdi
callq 0x18050
leaq 0x8d00c(%rip), %r14     # 0x1248fd
testl %eax, %eax
je 0x97b77
leaq 0x8cfee(%rip), %rsi     # 0x1248ee
movq %r12, %rdi
callq 0x181a0
testl %eax, %eax
je 0x97b77
movl %ebp, %r14d
xorl $0x46464952, %r14d      # imm = 0x46464952
leaq 0x8cfe0(%rip), %rsi     # 0x124901
movq %r12, %rdi
callq 0x181a0
orl %r14d, %eax
jne 0x9794a
leaq 0x58(%rsp), %rdi
leaq 0x8cfcd(%rip), %rsi     # 0x124907
pushq $0x3
popq %rdx
callq 0x18230
testl %eax, %eax
je 0x97b70
leaq 0x8cfba(%rip), %rsi     # 0x12490b
movq %r12, %rdi
callq 0x181a0
xorl $0x28, %ebp
orl %eax, %ebp
jne 0x97a85
movq 0x18(%rbx), %rcx
movq 0x38(%rsp), %r8
leaq 0x7e8db(%rip), %rsi     # 0x11624f
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %edx, %edx
movq 0x40(%rsp), %r9
callq 0xdf9b8
pushq $0x1
popq %rax
movq %rax, 0x18(%rsp)
jmp 0x97b77
testl %ebp, %ebp
setne %al
testl %r14d, %r14d
sete %cl
testb %cl, %al
jne 0x97c8c
leaq 0x8ce53(%rip), %rsi     # 0x124800
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
jmp 0x97cca
leaq 0x8cfcb(%rip), %rsi     # 0x124991
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %esi, %esi
jmp 0x97a43
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %r13d, %r13d
movq $0x0, 0x18(%rsp)
pushq $0x1
popq %r15
movq 0x48(%rsp), %rbp
jmp 0x97a43
movq $0x0, 0x18(%rsp)
xorl %r14d, %r14d
xorl %r12d, %r12d
pushq $0x1
popq %r15
movq 0x48(%rsp), %rbp
movq 0x60(%rsp), %rsi
jmp 0x97a43
leaq 0x8cfc6(%rip), %rsi     # 0x1249e6
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
xorl %r14d, %r14d
xorl %r12d, %r12d
pushq $0x1
popq %r15
movq 0x48(%rsp), %rbp
movq 0x60(%rsp), %rsi
movq 0x70(%rsp), %r13
movq %rbx, %rdi
callq 0xe4b94
movq %rbx, %rdi
movq %r13, %rsi
callq 0xe4b94
movq %r12, %rdi
callq 0xeaf3c
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdfd24
movl 0x94(%rsp), %esi
movq %rbx, %rdi
callq 0xdebb7
xorl %r14d, %r14d
movq 0x10(%rsp), %r12
jmp 0x97b7f
xorl %r14d, %r14d
movq $0x0, 0x18(%rsp)
jmp 0x97b77
movq %rbx, %rdi
callq 0xeac74
movq %r13, %rbp
movq %rax, %r12
movq 0x18(%rbx), %rdi
leaq 0x28(%rsp), %r14
movq (%r14), %rsi
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, (%rsp)
pushq $0x1
popq %r13
movl $0x100, %ecx            # imm = 0x100
movq %r15, %rdx
movq %r12, %r8
movl %r13d, %r9d
callq 0xe4ced
movq %r12, %rdi
callq 0xeb877
leaq 0x96f7e(%rip), %rsi     # 0x12ea5e
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
addq %r15, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe40bf
movq %rax, %r15
leaq 0x71b5f(%rip), %rsi     # 0x10966e
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq (%r14), %rax
addq %r15, %rax
cmpq %rbp, %rax
jle 0x97b2f
xorl %r14d, %r14d
jmp 0x97a30
movq %rbx, %rdi
callq 0xdfd1a
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xdfd55
movq 0x18(%rbx), %rdi
movq 0x28(%rsp), %rsi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xe4e0b
movl %r13d, %eax
movq %rax, 0x18(%rsp)
jmp 0x97a30
leaq 0x7bd0c(%rip), %r14     # 0x113883
movq 0x10(%rsp), %r12
movq %r13, %rbp
movq 0x8(%rbp), %rdi
leaq 0x8cd8e(%rip), %rsi     # 0x124918
callq 0x181a0
testl %eax, %eax
je 0x97baf
movb 0x50(%rsp), %al
movb 0x51(%rsp), %cl
xorb $0x42, %al
xorb $0x4d, %cl
orb %al, %cl
leaq 0x7c4c9(%rip), %rax     # 0x114072
cmoveq %rax, %r14
jmp 0x97bb6
leaq 0x8cd73(%rip), %r14     # 0x124929
movq 0x18(%rsp), %rax
testl %eax, %eax
jne 0x97bef
testq %r14, %r14
je 0x97bef
movq 0x18(%rbx), %rdi
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xe4e0b
movq 0x80(%rsp), %r13
movq 0x30(%rsp), %r14
jmp 0x97c04
testl %eax, %eax
movq 0x80(%rsp), %r13
movq 0x30(%rsp), %r14
je 0x97cee
movq 0x38(%rsp), %rdx
addq 0x40(%rsp), %rdx
movq %rdx, 0x38(%rsp)
subq %rdx, %r12
leaq 0xa8(%rsp), %rax
movq %rax, (%rsp)
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
movl 0x6c(%rsp), %r8d
callq 0x97125
testl %eax, %eax
je 0x97c9c
movq 0x38(%rsp), %r14
addq 0xa8(%rsp), %r14
movq %r14, 0x38(%rsp)
subq 0x78(%rsp), %r14
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0xa0(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x98(%rsp), %rsi
callq 0xe4b94
addq 0x20(%rsp), %r14
movq %r14, 0x20(%rsp)
movq %r14, %rdx
movq 0xf0(%rsp), %rax
subq %r13, %rdx
movq %rdx, (%rax)
jmp 0x97cca
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0xa0(%rsp), %rsi
callq 0xe4b94
movq %rbx, %rdi
movq 0x98(%rsp), %rsi
callq 0xe4b94
xorl %r15d, %r15d
movl 0x90(%rsp), %esi
movq %rbx, %rdi
callq 0xdebb7
movl %r15d, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x4(%r14)
je 0x97da0
movq 0x38(%rsp), %r15
movq %rbx, %rdi
callq 0xdfd1a
movq %rax, %r14
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
leaq 0x8cce2(%rip), %rsi     # 0x1249fd
pushq $0x5
popq %rdx
movq %rax, %rdi
callq 0xeae42
movq 0x18(%rbp), %rdi
callq 0xeaf8a
testl %eax, %eax
je 0x97d51
leaq 0x96944(%rip), %rsi     # 0x12e67e
pushq $0x5
popq %rdx
movq %r12, %rdi
callq 0xeae42
movq 0x18(%rbp), %rsi
movq %r12, %rdi
callq 0xead71
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xdfd55
movq 0x18(%rbx), %rdi
leaq 0x90771(%rip), %rcx     # 0x1284dd
movq %r15, %rsi
movq 0x40(%rsp), %rdx
movq %r14, %r8
xorl %r9d, %r9d
callq 0xe4e0b
movq %r12, %rdi
callq 0xeaf3c
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdfd24
pushq $0x1
popq %r15
movq 0x10(%rsp), %r12
jmp 0x97be8
cmpl $0x0, 0x8c(%rsp)
je 0x97c04
movq 0x18(%rbp), %rdi
callq 0xeb7e4
leaq 0x8cb6f(%rip), %rsi     # 0x12492d
movq %rbx, %rdi
movq %rax, %rdx
movq 0x78(%rsp), %rcx
xorl %eax, %eax
callq 0xdf05a
jmp 0x97c04