// File: /workspace/github_c_makefile_star2_O1/jsummers[P]deark/modules/mscompress.c
// Function: de_run_mscompress
static void de_run_mscompress(deark *c, de_module_params *mparams)
{
	lctx *d = NULL;
	const char *varname;

	d = de_malloc(c, sizeof(lctx));
	d->input_encoding = de_get_input_encoding(c, NULL, DE_ENCODING_ASCII);

	d->fmt = detect_fmt_internal(c);
	if(d->fmt==FMT_SZDD) {
		varname = "SZDD";
	}
	else if(d->fmt==FMT_KWAJ) {
		varname = "KWAJ";
	}
	else if(d->fmt==FMT_SZ) {
		varname = "SZ";
	}
	else {
		de_err(c, "Unidentified format");
		goto done;
	}
	de_declare_fmtf(c, "MS Installation Compression, %s variant", varname);

	if(mparams && mparams->in_params.fi) {
		d->fi_override = mparams->in_params.fi;
	}

	d->inf = c->infile;
	mscompress_handle_multipart(c, d);
	if(d->errflag) goto done;

	if(d->fmt==FMT_KWAJ) {
		if(!do_header_KWAJ(c, d, 0)) goto done;
	}
	else if(d->fmt==FMT_SZ) {
		if(!do_header_SZ(c, d, 0)) goto done;
	}
	else {
		if(!do_header_SZDD(c, d, 0)) goto done;
	}

	do_extract_file(c, d);

done:
	if(d) {
		ucstring_destroy(d->filename);
		dbuf_close(d->combined_inf);
		de_free(c, d);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, %r15
movq %rdi, %rbx
movl $0x50, %esi
callq 0xe969b
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0xeb7d1
movl %eax, 0x4(%r14)
movq %rbx, %rdi
callq 0x9aecc
movl %eax, (%r14)
movl %eax, %eax
leaq 0x974d9(%rip), %rcx     # 0x130d5c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x82789(%rip), %rsi     # 0x11c01c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
jmp 0x9a307
leaq 0x9757b(%rip), %rdx     # 0x130e24
jmp 0x998bb
leaq 0x97577(%rip), %rdx     # 0x130e29
jmp 0x998bb
leaq 0x97564(%rip), %rdx     # 0x130e1f
leaq 0x9756a(%rip), %rsi     # 0x130e2c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xeb703
testq %r15, %r15
je 0x998de
movq 0x28(%r15), %rax
testq %rax, %rax
je 0x998de
movq %rax, 0x38(%r14)
movq 0x18(%rbx), %rax
movq %rax, 0x40(%r14)
cmpq $0x0, 0x30(%rbx)
je 0x999c0
cmpl $0x3, (%r14)
jne 0x999aa
movq 0x18(%rax), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xf0faf
movq %rax, 0x48(%r14)
movq %rax, 0x40(%r14)
movq 0x18(%rbx), %rdi
movq 0x18(%rdi), %rdx
xorl %esi, %esi
movq %rax, %rcx
callq 0xefabc
movq 0x30(%rbx), %rax
cmpl $0x0, (%rax)
jle 0x999c0
movl $0x2, %r15d
leaq 0xb0(%rsp), %r12
leal -0x1(%r15), %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xec0f5
movq %rax, 0xb0(%rsp)
testq %rax, %rax
je 0x999bb
movl $0x7, %esi
movq %rax, %rdi
callq 0xef0d5
movzbl %al, %eax
cmpl %eax, %r15d
jne 0x99da7
movq 0xb0(%rsp), %rdi
movq 0x18(%rdi), %rdx
addq $-0x8, %rdx
movq 0x40(%r14), %rcx
movl $0x8, %esi
callq 0xefabc
movq %rbx, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0xec15f
movq 0x30(%rbx), %rax
incl %r15d
cmpl (%rax), %ebp
jl 0x9993e
jmp 0x999c0
leaq 0x974bd(%rip), %rsi     # 0x130e6e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
movb $0x1, 0x8(%r14)
cmpb $0x0, 0x8(%r14)
jne 0x9a307
movl (%r14), %eax
cmpl $0x3, %eax
je 0x99c46
cmpl $0x2, %eax
jne 0x99ce3
leaq 0xb0(%rsp), %r15
movq $0x0, (%r15)
leaq 0x9f968(%rip), %rsi     # 0x13935e
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
addq $0x8, (%r15)
movq 0x40(%r14), %rdi
movq %r15, %rsi
callq 0xef1ed
movq %rax, %r12
movl %r12d, 0xc(%r14)
movl %r12d, %edi
callq 0x9af39
leaq 0xa8583(%rip), %rsi     # 0x141fb8
movq %rbx, %rdi
movl %r12d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x40(%r14), %rdi
movq %r15, %rsi
callq 0xef1ed
movq %rax, 0x10(%r14)
leaq 0x97466(%rip), %rsi     # 0x130ec2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x40(%r14), %rdi
movq 0x18(%rdi), %rax
subq 0x10(%r14), %rax
movq %rax, 0x18(%r14)
movq %r15, %rsi
callq 0xef1ed
movq %rax, %r15
leaq 0x97453(%rip), %rsi     # 0x130ede
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
testb $0x1, %r15b
je 0x99acc
movq 0x40(%r14), %rdi
leaq 0xb0(%rsp), %rsi
callq 0xef3a0
movq %rax, 0x28(%r14)
movb $0x1, 0x20(%r14)
leaq 0x840a2(%rip), %rsi     # 0x11db61
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
testb $0x2, %r15b
je 0x99adb
addq $0x2, 0xb0(%rsp)
testb $0x4, %r15b
je 0x99af9
movq 0x40(%r14), %rdi
leaq 0xb0(%rsp), %r12
movq %r12, %rsi
callq 0xef1ed
addq %rax, (%r12)
testb $0x8, %r15b
je 0x99b6a
leaq 0x40(%rsp), %r8
movq $0x0, (%r8)
movq 0x40(%r14), %rdi
movq 0xb0(%rsp), %rdx
movl $0x9, %ecx
xorl %esi, %esi
callq 0xf0057
testl %eax, %eax
je 0x99bee
movq %rbx, %rdi
callq 0xf6870
movq %rax, 0x30(%r14)
movq 0x40(%r14), %rdi
movq 0xb0(%rsp), %rsi
movq 0x40(%rsp), %rdx
subq %rsi, %rdx
movl 0x4(%r14), %r9d
movq %rax, %rcx
xorl %r8d, %r8d
callq 0xf01b0
movq 0x40(%rsp), %rax
incq %rax
movq %rax, 0xb0(%rsp)
testb $0x10, %r15b
je 0x99bee
leaq 0x40(%rsp), %r8
movq $0x0, (%r8)
movq 0x40(%r14), %rdi
movq 0xb0(%rsp), %rdx
movl $0x4, %ecx
xorl %esi, %esi
callq 0xf0057
testl %eax, %eax
je 0x99bee
movq 0x30(%r14), %rdi
testq %rdi, %rdi
je 0x99bde
movq 0x40(%rsp), %rax
cmpq 0xb0(%rsp), %rax
jle 0x99bde
movl $0x2e, %esi
callq 0xf69a2
movq 0x40(%r14), %rdi
movq 0xb0(%rsp), %rsi
movq 0x40(%rsp), %rdx
subq %rsi, %rdx
movq 0x30(%r14), %rcx
movl 0x4(%r14), %r9d
xorl %r8d, %r8d
callq 0xf01b0
movq 0x40(%rsp), %rax
incq %rax
movq %rax, 0xb0(%rsp)
movq 0x30(%r14), %rdi
callq 0xf6c00
testl %eax, %eax
je 0x99c18
movq 0x30(%r14), %rdi
callq 0xf7557
leaq 0xa1dc9(%rip), %rsi     # 0x13b9d4
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
cmpb $0x0, 0x20(%r14)
je 0x99c34
cmpl $0x1, 0xc(%r14)
ja 0x99c34
movq 0x28(%r14), %rax
cmpq 0x18(%r14), %rax
jge 0x99c34
movq %rax, 0x18(%r14)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
jmp 0x99e9c
leaq 0xb0(%rsp), %r15
movq $0x0, (%r15)
leaq 0x9f702(%rip), %rsi     # 0x13935e
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
addq $0x7, (%r15)
movq 0x40(%r14), %rdi
movq %r15, %rsi
callq 0xef14d
movl %eax, %ebp
cmpb $-0x2f, %al
jne 0x99dc0
movl $0x2, 0xc(%r14)
movq 0x40(%r14), %rdi
leaq 0xb0(%rsp), %r15
movq %r15, %rsi
callq 0xef3a0
movq %rax, 0x28(%r14)
movb $0x1, 0x20(%r14)
leaq 0x83ea6(%rip), %rsi     # 0x11db61
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq (%r15), %rax
movq %rax, 0x10(%r14)
movq 0x40(%r14), %rcx
movq 0x18(%rcx), %rcx
subq %rax, %rcx
movq %rcx, 0x18(%r14)
jmp 0x99dd1
leaq 0x40(%rsp), %r15
movq $0x0, (%r15)
leaq 0x9f668(%rip), %rsi     # 0x13935e
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq $0xe, 0x10(%r14)
movq 0x40(%r14), %rdi
movq 0x18(%rdi), %rax
addq $-0xe, %rax
movq %rax, 0x18(%r14)
addq $0x8, (%r15)
movq %r15, %rsi
callq 0xef14d
movl %eax, %ebp
movzbl %al, %r15d
movl %r15d, %edi
callq 0xecff6
movsbl %al, %ecx
leaq 0x971d8(%rip), %rsi     # 0x130f23
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
cmpb $0x41, %r15b
jne 0x99ded
movl $0x10000, 0xc(%r14)     # imm = 0x10000
movq 0x40(%r14), %rdi
leaq 0x40(%rsp), %rsi
callq 0xef14d
movzbl %al, %r15d
leal -0x20(%r15), %eax
cmpb $0x5e, %al
ja 0x99e03
leaq 0x971b0(%rip), %rdx     # 0x130f3b
leaq 0xb0(%rsp), %rdi
movl $0x50, %esi
movl %r15d, %ecx
xorl %eax, %eax
callq 0xe8d67
jmp 0x99e3e
leaq 0x970f2(%rip), %rsi     # 0x130ea0
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9df7
jmp 0x999bb
leaq 0x97141(%rip), %rsi     # 0x130f08
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
cmpb $-0x2f, %bpl
je 0x99e9c
jmp 0x9a307
leaq 0x9714f(%rip), %rsi     # 0x130f43
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
jmp 0x99e85
testl %r15d, %r15d
je 0x99e23
leaq 0xaadc1(%rip), %rsi     # 0x144bd0
leaq 0xb0(%rsp), %rdi
movl $0x50, %edx
callq 0xe8ded
jmp 0x99e3e
leaq 0x8e0db(%rip), %rdx     # 0x127f05
leaq 0xb0(%rsp), %rdi
movl $0x50, %esi
xorl %eax, %eax
callq 0xe8d67
leaq 0x9711b(%rip), %rsi     # 0x130f60
leaq 0xb0(%rsp), %rcx
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x40(%r14), %rdi
leaq 0x40(%rsp), %rsi
callq 0xef3a0
movq %rax, 0x28(%r14)
movb $0x1, 0x20(%r14)
leaq 0x83ce9(%rip), %rsi     # 0x11db61
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
cmpb $0x41, %bpl
jne 0x9a307
movq 0x10(%r14), %rdx
leaq 0x98001(%rip), %rsi     # 0x131ea8
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movl 0xc(%r14), %ebp
cmpl $0x5, %ebp
jae 0x99f03
cmpq $0x0, 0x18(%r14)
js 0x99efe
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbx, %rdi
callq 0xea9a9
movq %rax, %r15
movq 0x30(%r14), %rdi
callq 0xf6c00
testl %eax, %eax
je 0x99f33
movq 0x30(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %ecx, %ecx
callq 0xea9e4
movb $0x1, 0x8(%r15)
jmp 0x99f4d
xorl %r15d, %r15d
jmp 0x99f2b
cmpl $0x10000, %ebp          # imm = 0x10000
je 0x99eba
movl %ebp, %edi
callq 0x9af39
leaq 0x97067(%rip), %rsi     # 0x130f80
xorl %r15d, %r15d
movq %rbx, %rdi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9df7
xorl %r12d, %r12d
jmp 0x9a2f4
leaq 0x9b4f7(%rip), %rdx     # 0x135431
movq %rbx, %rdi
movq %r15, %rsi
xorl %ecx, %ecx
movl $0x5, %r8d
callq 0xeac7c
movq 0x38(%r14), %rax
testq %rax, %rax
movq %r15, 0x28(%rsp)
cmovneq %rax, %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0xf037a
movq %rax, %rbp
movq %rax, %rdi
callq 0xf0e3f
leaq 0x78(%rsp), %r13
leaq 0x98(%rsp), %r15
leaq 0xb0(%rsp), %r12
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0xfa6e0
movq 0x40(%r14), %rdi
movq %rdi, (%r13)
movq 0x10(%r14), %rsi
movq %rsi, 0x8(%r13)
movq 0x18(%r14), %rdx
movq %rdx, 0x10(%r13)
movq %rbp, 0x20(%rsp)
movq %rbp, (%r15)
movb 0x20(%r14), %al
movb %al, 0x8(%r15)
movq 0x28(%r14), %rax
movq %rax, 0x10(%r15)
movl 0xc(%r14), %eax
cmpq $0x4, %rax
ja 0x9a00c
leaq 0x96d8e(%rip), %rcx     # 0x130d6c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x78(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
movq %rbx, %rdi
xorl %r8d, %r8d
callq 0xfaa08
jmp 0x9a0f0
cmpl $0x10000, %eax          # imm = 0x10000
movq 0x28(%rsp), %r12
movq 0x20(%rsp), %r15
jne 0x9a2ac
leaq 0x78(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0xfb433
jmp 0x9a2ac
movq %rsi, 0x10(%rsp)
leaq 0x74(%rsp), %rsi
movq %rbx, %rdi
callq 0xe958c
movq %rbx, %rdi
movl $0x8000, %esi           # imm = 0x8000
callq 0xfb2c3
movq %rax, %r15
movq 0x78(%rsp), %rax
movq 0x80(%rsp), %rcx
movq %rax, 0x40(%rsp)
movq 0x10(%rsp), %r12
movq 0x88(%rsp), %rax
addq %rcx, %rax
addq $-0x4, %rax
cmpq %rax, %r12
jle 0x9a3a9
movb $0x1, 0xb4(%rsp)
movq 0x10(%rsp), %rax
subq 0x80(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xfb408
movl 0x74(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
jmp 0x9a0f0
leaq 0x78(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
movq %rbx, %rdi
xorl %r8d, %r8d
callq 0xfb433
movq 0x28(%rsp), %r12
jmp 0x9a2a7
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0xe958c
movl $0xe0, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r13
movq %rbx, (%rax)
leaq 0x96eae(%rip), %rax     # 0x130fcf
movq %rax, 0x58(%r13)
movq %r15, 0x8(%r13)
movq %r12, 0x50(%r13)
movq 0x78(%rsp), %rax
leaq 0x20(%r13), %rbp
movq %rax, 0x20(%r13)
movq 0x80(%rsp), %rax
movq %rax, 0x28(%r13)
addq 0x88(%rsp), %rax
movq %rax, 0x30(%r13)
leaq 0x68(%r13), %rax
movq %rax, 0x30(%rsp)
movl $0x10, %eax
movl %eax, 0x6c(%r13)
movl %eax, 0x84(%r13)
movl $0x20, 0x9c(%r13)
movl $0x40, 0xb4(%r13)
movl $0x100, 0xcc(%r13) # imm = 0x100
movl $0x78, %r15d
movl -0xc(%r13,%r15), %edx
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x105165
movq %rax, (%r13,%r15)
addq $0x18, %r15
cmpq $0xf0, %r15
jne 0x9a192
movq %r13, 0x8(%rsp)
movq 0x28(%r13), %rdx
leaq 0x96e12(%rip), %rsi     # 0x130fd6
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
leaq 0x96e06(%rip), %r15     # 0x130fe8
movq 0x30(%rsp), %r13
xorl %r12d, %r12d
movq %rbp, %rdi
movl $0x4, %esi
callq 0xf2271
movl %eax, (%r13)
movq %rbx, %rdi
movq %r15, %rsi
movl %r12d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xe93cf
incq %r12
addq $0x18, %r13
cmpq $0x5, %r12
jne 0x9a1ea
movq %rbp, %rdi
movl $0x4, %esi
callq 0xf2271
movq 0x8(%rsp), %r13
cmpb $0x0, 0x38(%r13)
je 0x9a4f8
movl $0x1, 0x18(%r13)
movb $0x1, 0x38(%r13)
cmpl $0x0, 0x18(%r13)
movq 0x28(%rsp), %r12
je 0x9a264
movq 0x58(%r13), %rdx
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
callq 0xfa815
movq 0x60(%r13), %rsi
movq %rbx, %rdi
callq 0xfb408
movl $0x78, %r15d
movq (%r13,%r15), %rsi
movq %rbx, %rdi
callq 0x10521e
addq $0x18, %r15
cmpq $0xf0, %r15
jne 0x9a276
movq %rbx, %rdi
movq %r13, %rsi
callq 0xe9752
movl 0x10(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
movq 0x20(%rsp), %r15
movq 0x98(%rsp), %rdi
callq 0xf0ea4
cmpl $0x0, 0xb0(%rsp)
je 0x9a336
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
callq 0xfa6a8
leaq 0x7a9d5(%rip), %rsi     # 0x114caf
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9df7
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %r15, %rdi
callq 0xf0b13
movq %rbx, %rdi
movq %r12, %rsi
callq 0xea9b3
movq 0x30(%r14), %rdi
callq 0xf6bb0
movq 0x48(%r14), %rdi
callq 0xf0b13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe9752
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0xb4(%rsp)
je 0x9a35d
movq 0xb8(%rsp), %rdx
movq 0x18(%r15), %rcx
leaq 0x870f0(%rip), %rsi     # 0x121443
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
cmpb $0x0, 0x20(%r14)
je 0x9a2e7
movq 0x18(%r15), %rcx
movq 0x28(%r14), %rdx
cmpq %rdx, %rcx
je 0x9a2e7
leaq 0x96c30(%rip), %rsi     # 0x130fac
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9b27
jmp 0x9a2e7
leaq 0xbf6(%rip), %rcx       # 0x9af88
movq 0x20(%rsp), %r15
movq %r15, %r8
callq 0xefc28
movq 0x28(%rsp), %r12
jmp 0x9a2ac
leaq 0x10(%rsp), %r13
movq %rbx, %rdi
leaq 0x96cbf(%rip), %rsi     # 0x131077
movq %r12, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x78(%rsp), %rdi
movq %r13, %rsi
callq 0xef1ed
movq %rax, %rbp
movq 0x78(%rsp), %rdi
movq %r13, %rsi
callq 0xef193
cmpl $0x434b, %eax           # imm = 0x434B
jne 0x9aa2d
leaq -0x2(%rbp), %r12
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
leaq 0x96c80(%rip), %rsi     # 0x13108a
movl %r12d, %ecx
xorl %eax, %eax
callq 0xe9226
cmpq $0x2, %rbp
jl 0x9a09a
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
movq %r12, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x110(%rsp)
movq %r15, 0x118(%rsp)
movq 0x98(%rsp), %rax
movq 0x18(%rax), %rbp
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
leaq 0x110(%rsp), %r8
callq 0xffefb
movq 0x98(%rsp), %rdi
callq 0xf0ea4
cmpl $0x0, 0xb0(%rsp)
jne 0x9a09a
addq %r12, 0x10(%rsp)
movq 0x98(%rsp), %rax
movq 0x18(%rax), %r12
subq %rbp, %r12
movq %rbx, %rdi
leaq 0x96bfa(%rip), %rsi     # 0x1310a4
movq %r12, %rdx
xorl %eax, %eax
callq 0xe9226
cmpq $0x8000, %r12           # imm = 0x8000
jl 0x9a09a
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x10(%rsp), %r12
movq 0x80(%rsp), %rax
movq 0x88(%rsp), %rcx
addq %rcx, %rax
addq $-0x4, %rax
cmpq %rax, %r12
jle 0x9a3ae
jmp 0x9a09a
movq %rbp, 0x18(%rsp)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
xorl %r15d, %r15d
movq %r13, %rbp
movq (%r13), %r13
leaq (%r15,%r15,2), %rax
movq 0x30(%rsp), %rcx
leaq (%rcx,%rax,8), %r12
movq %r13, %rdi
leaq 0x110(%rsp), %rsi
callq 0xe958c
movq (%rbp), %rbp
movl $0x20, %edx
movq 0x18(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xf2360
movl (%r12), %r9d
movl 0x4(%r12), %r8d
movq %rbp, %rdi
leaq 0x96aaa(%rip), %rsi     # 0x131006
movq %r15, 0x68(%rsp)
movl %r15d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq %r13, %rdi
movl $0x1, %esi
callq 0xe9585
movl 0x4(%r12), %esi
movl $0x1, %edx
movq %r13, %rdi
callq 0xea259
movq %rax, 0x8(%r12)
movl (%r12), %eax
cmpq $0x3, %rax
movq %r13, 0x38(%rsp)
ja 0x9a757
leaq 0x967d4(%rip), %rcx     # 0x130d80
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x4(%r12), %edi
callq 0xea82b
cmpl $0x0, 0x4(%r12)
je 0x9a767
xorl %ecx, %ecx
movq 0x8(%r12), %rdx
movb %al, (%rdx,%rcx)
incq %rcx
movl 0x4(%r12), %edx
cmpq %rdx, %rcx
jb 0x9a5cd
jmp 0x9a767
movq 0x18(%rsp), %rdi
movl $0x4, %esi
callq 0xf2271
movq 0x8(%r12), %rcx
movb %al, (%rcx)
cmpl $0x2, 0x4(%r12)
jb 0x9a767
movq 0x8(%r12), %rax
movl $0x1, %r13d
movq 0x8(%rsp), %rcx
cmpb $0x0, 0x38(%rcx)
jne 0x9a767
movb (%rax), %bpl
movq 0x18(%rsp), %r15
movq %r15, %rdi
movl $0x2, %esi
callq 0xf2271
cmpl $0x3, %eax
jne 0x9a64f
movq %r15, %rdi
movl $0x4, %esi
callq 0xf2271
movq %rax, %rbp
jmp 0x9a655
addb %al, %bpl
decb %bpl
movq 0x8(%r12), %rax
movb %bpl, (%rax,%r13)
movq 0x8(%r12), %rax
addq %r13, %rax
incq %r13
movl 0x4(%r12), %ecx
cmpq %rcx, %r13
jb 0x9a614
jmp 0x9a767
cmpl $0x0, 0x4(%r12)
je 0x9a767
xorl %r13d, %r13d
movq 0x8(%rsp), %rax
cmpb $0x0, 0x38(%rax)
jne 0x9a767
movq 0x18(%rsp), %rdi
movl $0x4, %esi
callq 0xf2271
movq 0x8(%r12), %rcx
movb %al, (%rcx,%r13)
incq %r13
movl 0x4(%r12), %eax
cmpq %rax, %r13
jb 0x9a687
jmp 0x9a767
movq 0x18(%rsp), %rdi
movl $0x4, %esi
callq 0xf2271
movq 0x8(%r12), %rcx
movb %al, (%rcx)
cmpl $0x2, 0x4(%r12)
jb 0x9a767
movq 0x8(%r12), %rax
movl $0x1, %r13d
movq 0x8(%rsp), %rcx
cmpb $0x0, 0x38(%rcx)
jne 0x9a767
movb (%rax), %bpl
movq 0x18(%rsp), %r15
movq %r15, %rdi
movl $0x1, %esi
callq 0xf2271
testl %eax, %eax
je 0x9a737
movq %r15, %rdi
movl $0x1, %esi
callq 0xf2271
testl %eax, %eax
je 0x9a734
movq %r15, %rdi
movl $0x4, %esi
callq 0xf2271
movq %rax, %rbp
jmp 0x9a737
incb %bpl
movq 0x8(%r12), %rax
movb %bpl, (%rax,%r13)
movq 0x8(%r12), %rax
addq %r13, %rax
incq %r13
movl 0x4(%r12), %ecx
cmpq %rcx, %r13
jb 0x9a6ed
jmp 0x9a767
movq 0x8(%rsp), %rax
movl $0x1, 0x18(%rax)
movb $0x1, 0x38(%rax)
movq 0x8(%rsp), %r13
cmpb $0x0, 0x38(%r13)
je 0x9a7cc
movl $0x1, 0x18(%r13)
movb $0x1, 0x38(%r13)
movq 0x38(%rsp), %r15
movq 0x8(%r12), %rsi
movq %r15, %rdi
callq 0xe9752
movq $0x0, 0x8(%r12)
movl 0x110(%rsp), %esi
movq %r15, %rdi
callq 0xe9595
cmpb $0x0, 0x38(%r13)
jne 0x9a237
movq 0x68(%rsp), %r15
incq %r15
cmpq $0x5, %r15
jne 0x9a50d
jmp 0x9a892
cmpl $0x0, 0x4(%r12)
movq 0x38(%rsp), %r15
leaq 0xb08b1(%rip), %r13     # 0x14b08f
je 0x9a823
xorl %ebp, %ebp
movq 0x8(%r12), %rax
movzbl (%rax,%rbp), %ecx
movq %r15, %rdi
movq %r13, %rsi
movl %ebp, %edx
xorl %eax, %eax
callq 0xe93cf
movq 0x8(%r12), %rax
movq 0x10(%r12), %rcx
movq 0x10(%rcx), %rsi
movzbl (%rax,%rbp), %ecx
movq %r15, %rdi
movl %ebp, %edx
callq 0x104de7
incq %rbp
movl 0x4(%r12), %eax
cmpq %rax, %rbp
jb 0x9a7e2
movq 0x10(%r12), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r15, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x104e5d
testl %eax, %eax
je 0x9a862
cmpl $0x4, (%r15)
movq 0x8(%rsp), %r13
jl 0x9a785
movq 0x10(%r12), %rsi
movq %r15, %rdi
callq 0x104c1c
jmp 0x9a785
movq 0x8(%rsp), %r13
movq 0x50(%r13), %rsi
movq 0x58(%r13), %rdx
movq %r15, %rdi
leaq 0x967ba(%rip), %rcx     # 0x131033
xorl %eax, %eax
callq 0xfa71e
movl $0x1, 0x18(%r13)
movb $0x1, 0x38(%r13)
jmp 0x9a785
movq %rbx, %rdi
movl $0x1000, %esi           # imm = 0x1000
callq 0xfb2c3
movq %rax, 0x60(%r13)
leaq 0x723(%rip), %rcx       # 0x9afcd
movq %rcx, 0x8(%rax)
movq %r13, (%rax)
movq %rax, %rdi
movl $0x20, %esi
callq 0xfb332
movq (%r13), %r15
leaq 0x40(%rsp), %rsi
movl $0x20, %edx
movq 0x18(%rsp), %rdi
callq 0xf2360
leaq 0x96777(%rip), %rsi     # 0x131054
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
leaq 0xb0(%r13), %rax
movq %rax, 0x38(%rsp)
leaq 0x98(%r13), %rax
movq %rax, 0x130(%rsp)
leaq 0x80(%r13), %rax
movq %rax, 0x128(%rsp)
movq %r13, %r12
addq $0xc8, %r12
movq 0x30(%rsp), %r15
movq %r12, 0x68(%rsp)
movq 0x8(%r13), %rax
cmpb $0x0, 0x8(%rax)
je 0x9a940
movq 0x10(%r13), %rcx
cmpq 0x10(%rax), %rcx
jge 0x9a244
cmpb $0x0, 0x38(%r13)
jne 0x9a244
movq %r13, %rdi
movq %r15, %rsi
callq 0x9aff7
cmpb $0x0, 0x38(%r13)
jne 0x9a244
movl %eax, %ebp
movq %r13, %rdi
testb %al, %al
je 0x9a9cf
movq 0x38(%rsp), %rsi
callq 0x9aff7
movl %eax, %r12d
movq 0x18(%rsp), %rdi
movl $0x6, %esi
callq 0xf2271
movb 0x38(%r13), %r13b
testb %r13b, %r13b
jne 0x9a9b7
movzbl %r12b, %ecx
movzbl %bpl, %edx
addl $0x2, %edx
movq 0x8(%rsp), %rsi
movq 0x60(%rsi), %rdi
movl 0x10(%rdi), %esi
shll $0x6, %ecx
orl %eax, %ecx
subl %ecx, %esi
callq 0xfb3af
movq 0x30(%rsp), %r15
testb %r13b, %r13b
movq 0x8(%rsp), %r13
movq 0x68(%rsp), %r12
je 0x9a928
jmp 0x9a244
movq 0x130(%rsp), %rsi
callq 0x9aff7
cmpb $0x0, 0x38(%r13)
je 0x9a9e7
xorl %ecx, %ecx
jmp 0x9aa20
movzbl %al, %ebp
cmpb $0x1f, %bpl
cmovneq 0x128(%rsp), %r15
incl %ebp
movq %r13, %rdi
movq %r12, %rsi
callq 0x9aff7
cmpb $0x0, 0x38(%r13)
sete %cl
jne 0x9aa20
movq 0x60(%r13), %rdi
movzbl %al, %esi
callq 0xfb382
decl %ebp
jne 0x9a9f9
movb $0x1, %cl
testb %cl, %cl
jne 0x9a928
jmp 0x9a244
leaq 0x9662e(%rip), %rdx     # 0x131062
leaq 0x9662d(%rip), %rcx     # 0x131068
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
movq %r12, %r8
xorl %eax, %eax
callq 0xfa71e
jmp 0x9a09a