// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/palmpdb.c
// Function: de_run_pdb_or_prc
static void de_run_pdb_or_prc(deark *c, de_module_params *mparams)
{
	const char *s;
	lctx *d = NULL;

	d = de_malloc(c, sizeof(lctx));
	s = de_get_ext_option(c, "palm:timestampfmt");
	if(s) {
		if(!de_strcmp(s, "macbe"))
			d->timestampfmt = TIMESTAMPFMT_MACBE;
		else if(!de_strcmp(s, "unixbe"))
			d->timestampfmt = TIMESTAMPFMT_UNIXBE;
		else if(!de_strcmp(s, "macle"))
			d->timestampfmt = TIMESTAMPFMT_MACLE;
	}

	if(!do_read_pdb_prc_header(c, d)) goto done;
	if(!do_read_pdb_prc_records(c, d, 72)) goto done;
	do_app_info_block(c, d);
	do_sort_info_block(c, d);
done:
	free_lctx(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdi, %rbx
movl $0xc8, %esi
callq 0xdecaf
movq %rax, %r12
leaq 0x818a2(%rip), %rsi     # 0x1280f4
movq %rbx, %rdi
callq 0xdfa87
testq %rax, %rax
je 0xa68ab
movq %rax, %r14
leaq 0x8189d(%rip), %rsi     # 0x128106
movq %rax, %rdi
callq 0x181a0
testl %eax, %eax
je 0xa689f
leaq 0x81890(%rip), %rsi     # 0x12810c
movq %r14, %rdi
callq 0x181a0
testl %eax, %eax
je 0xa68a3
leaq 0x81884(%rip), %rsi     # 0x128113
movq %r14, %rdi
callq 0x181a0
testl %eax, %eax
jne 0xa68ab
pushq $0x3
jmp 0xa68a5
pushq $0x1
jmp 0xa68a5
pushq $0x2
popq %rax
movl %eax, 0x8(%r12)
leaq 0x85b3c(%rip), %rsi     # 0x12c3ee
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xdeba7
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r15
movq 0x18(%rbx), %rdi
pushq $0x20
popq %r14
pushq $0x13
popq %r9
xorl %esi, %esi
movq %r14, %rdx
movq %rax, %rcx
movl %ebp, %r8d
callq 0xe4c9a
movq %r15, %rdi
callq 0xeb7e4
leaq 0x6ecba(%rip), %rsi     # 0x1155bb
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe3f46
movq %rax, %r13
andl $0x1, %eax
incl %eax
movq %r12, 0x18(%rsp)
movl %eax, (%r12)
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
pushq $0x8
popq %r14
leaq 0xe251f(%rip), %rbp     # 0x188e60
cmpq $0xd8, %r14
je 0xa6963
testl %r13d, -0x8(%r14,%rbp)
je 0xa695d
movq (%r14,%rbp), %rsi
movq %r12, %rdi
callq 0xeb884
addq $0x10, %r14
jmp 0xa6941
testl %r13d, %r13d
jne 0xa6977
leaq 0x5cda2(%rip), %rsi     # 0x103711
movq %r12, %rdi
callq 0xeb884
movq %r12, %rdi
callq 0xeb7e4
leaq 0x8fab4(%rip), %rsi     # 0x13643a
movq %rbx, %rdi
movl %r13d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x22
popq %rsi
callq 0xe3f46
leaq 0x81770(%rip), %rsi     # 0x128119
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
leaq 0x6d0fc(%rip), %rcx     # 0x113ab8
pushq $0x24
popq %rdx
movq %rbx, %rdi
movq 0x18(%rsp), %r13
movq %r13, %rsi
xorl %r8d, %r8d
callq 0xa7efb
leaq 0x80(%r13), %r8
leaq 0x6d0ee(%rip), %rcx     # 0x113ace
pushq $0x28
popq %rdx
movq %rbx, %rdi
movq %r13, %rsi
movq %r8, 0x40(%rsp)
callq 0xa7efb
leaq 0x6318f(%rip), %rcx     # 0x109b89
pushq $0x2c
popq %rdx
movq %rbx, %rdi
movq %r13, %rsi
xorl %r8d, %r8d
callq 0xa7efb
movq 0x18(%rbx), %rdi
pushq $0x30
popq %rsi
callq 0xe404f
leaq 0x8170b(%rip), %rsi     # 0x128129
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x34
popq %rsi
callq 0xe404f
movq %rax, 0x90(%r13)
leaq 0x816f4(%rip), %rsi     # 0x128138
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x38
popq %rsi
callq 0xe404f
movq %rax, 0x98(%r13)
leaq 0x816df(%rip), %rsi     # 0x128149
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x20(%r13), %rdx
pushq $0x3c
popq %rsi
pushq $0x4
popq %rbp
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
leaq 0x30(%r13), %rdx
leaq 0x742b2(%rip), %rsi     # 0x11ad4b
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x50(%r13), %rdx
pushq $0x40
popq %rsi
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
movq %r13, %rdx
addq $0x60, %rdx
leaq 0x62d88(%rip), %rsi     # 0x10984e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movl (%r13), %eax
cmpl $0x2, %eax
je 0xa6b25
cmpl $0x1, %eax
jne 0xa793c
leaq 0x8169a(%rip), %rax     # 0x128183
movq %rax, 0x10(%r13)
movl 0x24(%r13), %eax
leaq 0x81686(%rip), %rsi     # 0x12817e
cmpl $0x76494d47, %eax       # imm = 0x76494D47
je 0xa796b
cmpl $0x70716120, %eax       # imm = 0x70716120
jne 0xa6b37
cmpl $0x636c7072, 0x54(%r13) # imm = 0x636C7072
jne 0xa6b37
movl $0x1, 0x4(%r13)
leaq 0x81638(%rip), %rsi     # 0x12815b
jmp 0xa6b37
leaq 0x81660(%rip), %rax     # 0x12818c
movq %rax, 0x10(%r13)
leaq 0x81650(%rip), %rsi     # 0x128187
movq %rbx, %rdi
callq 0xe07f7
movq 0x18(%rbx), %rdi
pushq $0x44
popq %rsi
callq 0xe404f
leaq 0x8163e(%rip), %rsi     # 0x128190
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq %r15, %rdi
callq 0xeaf3c
movq %r12, %rdi
callq 0xeaf3c
movq 0x10(%r13), %rdx
leaq 0x8177c(%rip), %rsi     # 0x128300
pushq $0x48
popq %rcx
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %r12
movq %rbx, %rdi
movl %r12d, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
pushq $0x48
popq %rsi
callq 0xe404f
movq %rax, %r14
leaq 0x8175f(%rip), %rsi     # 0x128315
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
testq %r14, %r14
je 0xa6bd9
leaq 0x8175b(%rip), %rsi     # 0x12832a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xdf05a
movq 0x18(%rbx), %rdi
pushq $0x4c
popq %rsi
callq 0xe3f46
movq %rax, 0xa0(%r13)
leaq 0x7fe99(%rip), %rsi     # 0x126a8c
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
xorl %eax, %eax
cmpl $0x2, (%r13)
sete %al
leaq 0x8(%rax,%rax), %rax
movq %rax, 0x18(%r13)
leaq 0x81753(%rip), %rsi     # 0x12836c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movq 0xa0(%r13), %rsi
testq %rsi, %rsi
jle 0xa6daa
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0xdf66f
movq %rax, 0xa8(%r13)
movq 0xa0(%r13), %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0xdf66f
movq %rax, 0xb0(%r13)
xorl %r15d, %r15d
cmpq 0xa0(%r13), %r15
jge 0xa6daa
movq 0xb0(%r13), %rax
movq %r15, (%rax,%r15,8)
movl (%r13), %ebp
movq 0x18(%rbx), %rdi
movq 0x18(%r13), %rsi
imulq %r15, %rsi
addq $0x4e, %rsi
callq 0xe404f
cmpl $0x2, %ebp
jne 0xa6cd1
cmpl $0x7441494e, %eax       # imm = 0x7441494E
jne 0xa6d53
cmpq $0x0, 0xb8(%r13)
jne 0xa6d53
movq 0xb0(%r13), %rax
movq %r15, %rcx
testq %rcx, %rcx
jle 0xa6d49
movq -0x8(%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
decq %rcx
jmp 0xa6cba
movq 0xa8(%r13), %rcx
movl %eax, (%rcx,%r15,4)
cmpl $0x0, 0xc(%r13)
jne 0xa6d73
movq 0x18(%rbx), %rdi
movq 0x18(%r13), %rsi
imulq %r15, %rsi
addq $0x53, %rsi
callq 0xe3eb4
movzbl %al, %ebp
shll $0x10, %ebp
movq 0x18(%rbx), %rdi
movq 0x18(%r13), %rsi
imulq %r15, %rsi
addq $0x54, %rsi
callq 0xe3eb4
movzbl %al, %r14d
shll $0x8, %r14d
orl %ebp, %r14d
movq 0x18(%rbx), %rdi
movq 0x18(%r13), %rsi
imulq %r15, %rsi
addq $0x55, %rsi
callq 0xe3eb4
movzbl %al, %eax
orl %r14d, %eax
je 0xa6d73
movl $0x1, 0xc(%r13)
jmp 0xa6d73
movq %r15, (%rax)
incq 0xb8(%r13)
movq 0x18(%rbx), %rdi
movq 0x18(%r13), %rsi
imulq %r15, %rsi
addq $0x54, %rsi
callq 0xe404f
movq 0xa8(%r13), %rcx
movl %eax, (%rcx,%r15,4)
movq 0xa8(%r13), %rax
movl (%rax,%r15,4), %ecx
movq 0x18(%rbx), %rdx
movq 0x18(%rdx), %r8
cmpq %rcx, %r8
jl 0xa795c
testq %r15, %r15
je 0xa6da2
movl -0x4(%rax,%r15,4), %r8d
cmpl %r8d, %ecx
jb 0xa79aa
incq %r15
jmp 0xa6c61
leaq 0x815d6(%rip), %rsi     # 0x128387
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
xorl %ecx, %ecx
cmpq 0xa0(%r13), %rcx
jge 0xa78ed
movq 0xb0(%r13), %rax
movq %r13, %r14
movq %rcx, 0x58(%rsp)
movq (%rax,%rcx,8), %r13
movq 0x18(%r14), %r15
imulq %r13, %r15
cmpl $0x2, (%r14)
jne 0xa6e62
leaq 0x4e(%r15), %r14
movq %rbx, %rdi
leaq 0x7fcb3(%rip), %rsi     # 0x126aac
movl %r13d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %r12d, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r14, %rsi
leaq 0x60(%rsp), %rdx
pushq $0x4
popq %rcx
xorl %r8d, %r8d
callq 0xe657c
movl 0x64(%rsp), %eax
pushq $0x14
popq %rcx
leaq 0xe20e2(%rip), %rdx     # 0x188f18
decq %rcx
je 0xa7024
leaq 0x18(%rdx), %r14
cmpl %eax, 0x18(%rdx)
movq %r14, %rdx
jne 0xa6e36
movq 0x8(%r14), %rcx
testq %rcx, %rcx
leaq 0x78088(%rip), %rax     # 0x11eee1
cmoveq %rax, %rcx
jmp 0xa702e
leal 0x4e(%r15), %ecx
movq %rbx, %rdi
leaq 0x7fc3c(%rip), %rsi     # 0x126aac
movl %r13d, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %r12d, %esi
callq 0xdeba7
movq 0xa8(%r14), %rax
movl (%rax,%r13,4), %ebp
movq %rbx, %rdi
leaq 0x5fc81(%rip), %rsi     # 0x106b1b
movl %ebp, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0xa80d3
movq %rbx, %rdi
leaq 0x8156d(%rip), %rsi     # 0x128428
movq %rax, 0x28(%rsp)
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
leaq 0x60(%rsp), %rdi
pushq $0x50
popq %rsi
leaq 0x815ff(%rip), %rdx     # 0x1284d7
movl %r13d, %ecx
xorl %eax, %eax
callq 0xde40c
movq 0x18(%rbx), %rdi
leaq 0x52(%r15), %rsi
callq 0xe3eb4
movl %eax, %r12d
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r13
testb $0x10, %r12b
je 0xa6f12
movq %r13, %rdi
leaq 0x81608(%rip), %rsi     # 0x128515
callq 0xeb884
testb $0x20, %r12b
je 0xa6f27
movq %r13, %rdi
leaq 0x81602(%rip), %rsi     # 0x128524
callq 0xeb884
testb $0x40, %r12b
je 0xa6f3c
movq %r13, %rdi
leaq 0x815fb(%rip), %rsi     # 0x128532
callq 0xeb884
movzbl %r12b, %r14d
leaq 0x815fa(%rip), %rsi     # 0x128541
testb %r12b, %r12b
js 0xa6f58
leaq 0x5c7be(%rip), %rsi     # 0x103711
testl %r14d, %r14d
jne 0xa6f60
movq %r13, %rdi
callq 0xeb884
movq %r13, 0x50(%rsp)
movq %r13, %rdi
callq 0xeb7e4
movq %rbx, %rdi
leaq 0x7ab87(%rip), %rsi     # 0x121afe
movl %r14d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x53(%r15), %rsi
callq 0xe3eb4
movzbl %al, %r14d
shll $0x10, %r14d
movq 0x18(%rbx), %rdi
leaq 0x54(%r15), %rsi
callq 0xe3eb4
movzbl %al, %r13d
shll $0x8, %r13d
orl %r14d, %r13d
movq 0x18(%rbx), %rdi
addq $0x55, %r15
movq %r15, %rsi
callq 0xe3eb4
movzbl %al, %r12d
orl %r13d, %r12d
movq 0x18(%rsp), %r13
cmpl $0x2, 0x4(%r13)
jne 0xa7180
cmpl $0x6f8001, %r12d        # imm = 0x6F8001
leaq 0x77efb(%rip), %rcx     # 0x11eee1
leaq 0x81501(%rip), %rax     # 0x1284ee
cmoveq %rax, %rcx
cmpl $0x6f8000, %r12d        # imm = 0x6F8000
leaq 0x814e2(%rip), %rax     # 0x1284e1
cmoveq %rax, %rcx
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
pushq $0x50
popq %rsi
leaq 0x77b86(%rip), %rdx     # 0x11eb9e
xorl %eax, %eax
callq 0xde40c
jmp 0xa7190
xorl %r14d, %r14d
leaq 0x77eb3(%rip), %rcx     # 0x11eee1
movq %rbx, %rdi
leaq 0x813d7(%rip), %rsi     # 0x12840f
leaq 0x70(%rsp), %rdx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
movq %rax, %rdi
leaq 0x68(%rsp), %rsi
pushq $0x5
popq %rdx
callq 0xeae42
movq 0x18(%rbx), %rdi
addq $0x52, %r15
movq %r15, %rsi
callq 0xe3f46
movq %rbx, %rdi
leaq 0x76a74(%rip), %rsi     # 0x11daed
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rsp), %rbp
movq 0xa8(%rbp), %rax
movl (%rax,%r13,4), %r15d
movq %rbx, %rdi
leaq 0x5fa7f(%rip), %rsi     # 0x106b1b
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0xa80d3
movq %rax, %r13
movq %rbx, %rdi
leaq 0x81367(%rip), %rsi     # 0x128428
movl %r13d, %edx
xorl %eax, %eax
callq 0xde896
movl 0x64(%rsp), %eax
leaq 0x815ab(%rip), %rsi     # 0x128681
pushq $0x1
popq %rbp
cmpl $0x54626d70, %eax       # imm = 0x54626D70
je 0xa74df
movb $0x1, %cl
cmpl $0x74766572, %eax       # imm = 0x74766572
je 0xa7415
cmpl $0x7441494e, %eax       # imm = 0x7441494E
je 0xa7405
cmpl $0x74414953, %eax       # imm = 0x74414953
je 0xa7415
cmpl $0x74535452, %eax       # imm = 0x74535452
je 0xa7415
cmpl $0x74414942, %eax       # imm = 0x74414942
jne 0xa74d6
movq 0x18(%rsp), %rax
cmpq $0x0, 0xc0(%rax)
leaq 0x81550(%rip), %rsi     # 0x128681
je 0xa74df
cmpb $0x0, 0xd0(%rbx)
leaq 0x8153c(%rip), %rsi     # 0x128681
je 0xa74df
movq %r12, %rdi
leaq 0x87529(%rip), %rsi     # 0x12e67e
pushq $0x5
popq %rdx
callq 0xeae42
movq 0x18(%rsp), %rax
movq 0xc0(%rax), %rsi
movq %r12, %rdi
callq 0xead71
leaq 0x81509(%rip), %rsi     # 0x128681
pushq $0x1
popq %rbp
jmp 0xa74df
movb $0x0, 0xb0(%rsp)
leaq 0xb0(%rsp), %r14
movq %rbx, %rdi
leaq 0x81360(%rip), %rsi     # 0x1284fa
movl %r12d, %edx
movl %r12d, %ecx
movq %r14, %r8
xorl %eax, %eax
callq 0xde896
cmpl $0x0, 0xc(%r13)
je 0xa71ca
leaq 0x60(%rsp), %rdi
pushq $0x50
popq %rsi
leaq 0x8134c(%rip), %rdx     # 0x12850c
movl %r12d, %ecx
xorl %eax, %eax
callq 0xde40c
movslq %ebp, %r14
cmpl $0x2, 0x4(%r13)
jne 0xa78a8
cmpl $0x6f8001, %r12d        # imm = 0x6F8001
je 0xa738f
cmpl $0x6f8000, %r12d        # imm = 0x6F8000
jne 0xa78a8
movq %rbx, %rdi
pushq $0x30
popq %rsi
callq 0xdecaf
movq %rax, %r12
movq %rbx, %rdi
callq 0xdfd1a
movq %rax, 0x20(%r12)
movq %rbx, %rdi
leaq 0x8133a(%rip), %rsi     # 0x128551
movl %ebp, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movq %r14, %r15
pushq $0x1
popq %r14
movl %r14d, %esi
callq 0xdeba7
movq %r12, 0x30(%rsp)
movq 0x20(%r12), %rax
movq 0x40(%rsp), %rcx
movups (%rcx), %xmm0
movups %xmm0, 0x68(%rax)
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq %r15, 0x20(%rsp)
movq %r15, %rsi
pushq $0x20
popq %rdx
movq %rax, %rcx
movl %r14d, %r8d
pushq $0x13
popq %r9
callq 0xe4c9a
movq %r12, %rdi
callq 0xeb7e4
movq %rbx, %rdi
leaq 0x6e338(%rip), %rsi     # 0x1155bb
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
cmpq $0x0, 0x10(%r12)
jle 0xa72b4
cmpb $0x0, 0xd0(%rbx)
je 0xa72b4
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rsi
movq %rbx, %rdi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0xdfd55
movq %r12, 0x48(%rsp)
movq 0x20(%rsp), %rax
leaq 0x20(%rax), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3eb4
movzbl %al, %ebp
movq %rbx, %rdi
leaq 0x7dd88(%rip), %rsi     # 0x125060
movl %ebp, %edx
xorl %eax, %eax
callq 0xde896
movl %ebp, %r15d
andl $0x7, %r15d
movq %rbx, %rdi
movl %r14d, %esi
callq 0xdeba7
movq %rbx, %rdi
leaq 0x78166(%rip), %rsi     # 0x11f463
movl %r15d, 0x10(%rsp)
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
pushq $-0x1
popq %r12
movl %r12d, %esi
callq 0xdeba7
cmpb $0x2, %bpl
jb 0xa7334
movq %rbx, %rdi
leaq 0x81239(%rip), %rsi     # 0x128564
movl %ebp, %edx
xorl %eax, %eax
callq 0xdf05a
movq 0x20(%rsp), %rax
leaq 0x21(%rax), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3eb4
movzbl %al, %ebp
movq %rbx, %rdi
leaq 0x7219b(%rip), %rsi     # 0x1194ee
movl %ebp, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %r14d, %esi
callq 0xdeba7
pushq $0x2
popq %rax
pushq $0x2
popq %rdx
testb %bpl, %bpl
movq 0x30(%rsp), %rcx
je 0xa7526
cmpl $0x2, %ebp
jne 0xa7520
pushq $0x4
popq %rax
pushq $0x4
popq %rdx
jmp 0xa7526
cmpq $0x0, 0x28(%rsp)
jle 0xa78a8
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq %r14, %rsi
movq 0x28(%rsp), %rdx
movq %rax, %rcx
pushq $0x1
popq %rbp
movl %ebp, %r8d
pushq $0x13
popq %r9
callq 0xe4c9a
movq %rbx, %rdi
leaq 0x64075(%rip), %rsi     # 0x10b443
xorl %edx, %edx
movl %ebp, %ecx
callq 0xe4e62
movq %r14, %r15
movq %rax, %r14
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xeb576
movq %r14, %rdi
movq %r15, %r14
callq 0xe5591
movq %r12, %rdi
callq 0xeaf3c
jmp 0xa78a8
movq 0x18(%rsp), %rax
cmpq $0x1, 0xb8(%rax)
setne %cl
testq %r14, %r14
je 0xa74d6
cmpq $0x0, 0x8(%r14)
je 0xa74d6
movq %rbx, %rdi
movb %cl, 0x10(%rsp)
callq 0xeac74
movq %rax, %rbp
movq 0x18(%rbx), %rdi
movl $0x13, (%rsp)
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r15, %rsi
movq %r13, %rdx
movq %rax, %r8
pushq $0x1
popq %r9
callq 0xe4ced
movq 0x8(%r14), %r14
movq %rbp, 0x28(%rsp)
movq %rbp, %rdi
callq 0xeb7e4
movq %rbx, %rdi
leaq 0x77a45(%rip), %rsi     # 0x11eeba
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rsp), %rax
cmpq $0x0, 0xc0(%rax)
setne %al
orb %al, 0x10(%rsp)
jne 0xa74cc
movq %rbx, %rdi
callq 0xeac74
movq 0x18(%rsp), %rcx
movq %rax, 0xc0(%rcx)
movq 0x18(%rbx), %rdi
movl $0x13, (%rsp)
movq %r15, %rsi
movq %r13, %rdx
pushq $0x50
popq %rcx
movq %rax, %r8
pushq $0x1
popq %r9
callq 0xe4ced
movq 0x28(%rsp), %rdi
callq 0xeaf3c
xorl %ebp, %ebp
leaq 0x80ffd(%rip), %rsi     # 0x1284dc
movq %r12, %rdi
pushq $0x5
popq %rdx
callq 0xeae42
movl %ebp, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xa8105
movq %rbx, %rdi
pushq $-0x1
popq %rsi
callq 0xdeba7
movq %r12, %rdi
callq 0xeaf3c
movq 0x18(%rsp), %r13
jmp 0xa78dc
pushq $0x1
popq %rax
movl %r14d, %edx
movq 0x20(%rsp), %rbp
leaq 0x22(%rbp), %r14
movq %rax, 0x10(%rcx)
movq %rbx, %rdi
leaq 0x917a1(%rip), %rsi     # 0x138cde
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %r12d, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xe404f
movq %rbx, %rdi
leaq 0x8104d(%rip), %rsi     # 0x1285b2
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
leaq 0x26(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe404f
movq %rbx, %rdi
leaq 0x8103f(%rip), %rsi     # 0x1285c4
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
leaq 0x2a(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3f46
movq %rax, %r14
leaq 0x2c(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3f46
leaq 0x2e(%rbp), %r15
movq %rbx, %rdi
leaq 0x81018(%rip), %rsi     # 0x1285d1
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe404f
movq %rbx, %rdi
leaq 0x81004(%rip), %rsi     # 0x1285df
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
leaq 0x32(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3f46
movq %rax, %r14
leaq 0x34(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3f46
leaq 0x36(%rbp), %r15
movq %rbx, %rdi
leaq 0x80fe2(%rip), %rsi     # 0x1285f1
movl %r14d, %edx
movq %rbp, %r14
movl %eax, %ecx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r15, %rsi
movq 0x30(%rsp), %r15
callq 0xe3f46
movq %rax, (%r15)
leaq 0x38(%rbp), %rsi
movq 0x18(%rbx), %rdi
callq 0xe3f46
movq %rax, 0x8(%r15)
movq (%r15), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0xdf038
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0xe6be1
testl %eax, %eax
je 0xa787c
movq 0x10(%r15), %rax
imulq (%r15), %rax
leaq 0x3a(%r14), %r12
addq $0x7, %rax
cqto
pushq $0x8
popq %rcx
idivq %rcx
movq %rax, 0x18(%r15)
movq 0x28(%rsp), %rbp
leaq -0x3a(%rbp), %rax
movq %rax, 0x38(%rsp)
movq %rbx, %rdi
leaq 0x6b859(%rip), %rsi     # 0x112ef5
movl %r12d, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
pushq $0x1
popq %r14
movl %r14d, %esi
callq 0xdeba7
movq 0x18(%rbx), %r13
movq 0x8(%r15), %rsi
imulq 0x18(%r15), %rsi
cmpl $0x0, 0x10(%rsp)
je 0xa7761
addq 0x20(%rsp), %rbp
movq %rbx, %rdi
movl %r14d, %edx
callq 0xe59cd
movq %rax, 0x10(%rsp)
cmpq %rbp, %r12
jge 0xa7741
leaq 0x1(%r12), %r15
movq %r13, %rdi
movq %r12, %rsi
callq 0xe3eb4
movzbl %al, %r14d
cmpb $-0x7f, %al
jb 0xa7724
addq $-0x7f, %r14
addq $0x2, %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0xe3eb4
movzbl %al, %esi
movq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0xe5e40
jmp 0xa76e2
leaq 0x1(%r14), %rdx
movq %r13, %rdi
movq %r15, %rsi
movq 0x10(%rsp), %rcx
callq 0xe45f4
leaq (%r14,%r15), %r12
incq %r12
jmp 0xa76e2
movq 0x10(%rsp), %rax
movl 0x18(%rax), %ecx
movq %rbx, %rdi
leaq 0x5cc7f(%rip), %rsi     # 0x1043d2
movq 0x38(%rsp), %rdx
xorl %eax, %eax
callq 0xde896
jmp 0xa778f
movq 0x38(%rsp), %r14
cmpq %r14, %rsi
jle 0xa777c
movq %rbx, %rdi
leaq 0x808c3(%rip), %rsi     # 0x128038
xorl %eax, %eax
callq 0xdf05a
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0xe6248
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %r15
movq 0x10(%r15), %rax
cmpq $0x4, %rax
movq 0x18(%rsp), %r13
pushq $0x1
popq %rbp
je 0xa77e8
cmpq $0x2, %rax
je 0xa77e8
cmpq $0x1, %rax
jne 0xa7850
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq 0x18(%r15), %r8
movq 0x20(%r15), %rax
movl 0x28(%r15), %esi
movl %esi, 0x8(%rsp)
movq %rax, (%rsp)
movq 0x10(%rsp), %rdi
xorl %esi, %esi
movl %ebp, %r9d
movq %rdi, %rbp
callq 0xe7804
xorl %r12d, %r12d
jmp 0xa7849
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movl %ebp, %ecx
callq 0xe7437
movq %rax, %r12
movb 0x10(%r15), %cl
pushq $0x1
popq %rsi
shlq %cl, %rsi
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movl %ebp, %edx
callq 0xe87a8
movq 0x10(%r15), %rdx
movq 0x18(%r15), %rcx
andl $0x0, (%rsp)
movq 0x10(%rsp), %rbp
movq %rbp, %rdi
xorl %esi, %esi
movq %r14, %r8
movq %r12, %r9
callq 0xe7cbc
movq 0x20(%r15), %rsi
movl 0x28(%r15), %edx
movq %r12, %rdi
callq 0xe70ab
movq 0x20(%rsp), %r14
jmp 0xa785d
xorl %r12d, %r12d
movq 0x20(%rsp), %r14
movq 0x10(%rsp), %rbp
movq %r12, %rdi
callq 0xe7084
movq %rbp, %rdi
callq 0xe5591
movq %rbx, %rdi
pushq $-0x1
popq %r12
movl %r12d, %esi
callq 0xdeba7
movq %rbx, %rdi
movl %r12d, %esi
callq 0xdeba7
movq 0x48(%rsp), %rdi
callq 0xeaf3c
movq 0x20(%r15), %rsi
movq %rbx, %rdi
callq 0xdfd24
movq %rbx, %rdi
movq %r15, %rsi
callq 0xded32
andl $0x0, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq 0x28(%rsp), %rdx
leaq 0x60(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xa8105
movq %rbx, %rdi
pushq $-0x1
popq %rsi
callq 0xdeba7
movq 0x50(%rsp), %rdi
callq 0xeaf3c
movq 0x58(%rsp), %rcx
incq %rcx
pushq $0x1
popq %r12
jmp 0xa6dbd
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x90(%r13), %rdx
testq %rdx, %rdx
je 0xa7c23
leaq 0x80cf2(%rip), %rsi     # 0x128601
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x98(%r13), %r15
testq %r15, %r15
je 0xa798d
subq 0x90(%r13), %r15
jmp 0xa79ce
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq %r15, %rdi
callq 0xeaf3c
movq %r12, %rdi
callq 0xeaf3c
jmp 0xa7cbf
leaq 0x80a44(%rip), %rsi     # 0x1283a7
movq %rbx, %rdi
movl %r15d, %edx
jmp 0xa79b7
cmpl $0x56696577, 0x54(%r13) # imm = 0x56696577
jne 0xa6b37
movl $0x2, 0x4(%r13)
leaq 0x807dc(%rip), %rsi     # 0x128164
jmp 0xa6b37
cmpq $0x0, 0xa0(%r13)
movq 0x90(%r13), %rax
jle 0xa79c3
movq 0xa8(%r13), %rcx
movl (%rcx), %r15d
jmp 0xa79cb
leaq 0x80a26(%rip), %rsi     # 0x1283d7
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xdf2a5
jmp 0xa7cb4
movq 0x18(%rbx), %rcx
movq 0x18(%rcx), %r15
subq %rax, %r15
leaq 0x80a53(%rip), %rsi     # 0x128428
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
testq %r15, %r15
jle 0xa7c18
movq 0x90(%r13), %rsi
andl $0x0, (%rsp)
leaq 0x80c19(%rip), %rcx     # 0x128616
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
movl %ebp, %r9d
callq 0xa8105
cmpl $0x1, 0x4(%r13)
jne 0xa7c18
movq 0x90(%r13), %rax
leaq 0x60(%rsp), %rsi
movq %rax, (%rsi)
movq 0x18(%rbx), %rdi
callq 0xe4071
cmpl $0x6c6e6368, %eax       # imm = 0x6C6E6368
jne 0xa7c18
leaq 0x80bdc(%rip), %rsi     # 0x128622
movq %rbx, %rdi
movl $0x6c6e6368, %edx       # imm = 0x6C6E6368
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
leaq 0x60(%rsp), %r15
movq %r15, %rsi
callq 0xe3f6e
leaq 0x80bc5(%rip), %rsi     # 0x128632
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3f6e
leaq 0x80bb9(%rip), %rsi     # 0x128645
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3f6e
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq (%r15), %rsi
addq %rax, %r13
pushq $0x13
popq %r14
movl %r14d, (%rsp)
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r13, %rdx
movq %r12, %r8
movl %ebp, %r9d
callq 0xe4ced
movq %r12, %rdi
callq 0xeb7e4
leaq 0x80b72(%rip), %rsi     # 0x128658
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
callq 0xeac85
addq %r13, (%r15)
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3f6e
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq (%r15), %rsi
addq %rax, %r13
movl %r14d, (%rsp)
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r13, %rdx
movq %r12, %r8
movl %ebp, %r9d
callq 0xe4ced
movq %r12, %rdi
callq 0xeb7e4
leaq 0x80b28(%rip), %rsi     # 0x128665
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
callq 0xeac85
addq %r13, (%r15)
leaq 0x7027e(%rip), %rsi     # 0x117dda
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %ebp, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3f6e
movq %rax, %r14
movq (%r15), %rsi
addq %rax, %r14
movl %ebp, (%rsp)
leaq 0x80aee(%rip), %rcx     # 0x12867d
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl %ebp, %r9d
callq 0xa8105
addq %r14, (%r15)
pushq $-0x1
popq %r13
movq %rbx, %rdi
movl %r13d, %esi
callq 0xdeba7
leaq 0x80abb(%rip), %rsi     # 0x128674
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
movl %ebp, %esi
callq 0xdeba7
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xe3f6e
movq %rax, %r14
movq (%r15), %rsi
addq %rax, %r14
movl %ebp, (%rsp)
leaq 0x80a8f(%rip), %rcx     # 0x12867b
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl %ebp, %r9d
callq 0xa8105
addq %r14, (%r15)
movq %rbx, %rdi
movl %r13d, %esi
movq 0x18(%rsp), %r13
callq 0xdeba7
movq %r12, %rdi
callq 0xeaf3c
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x98(%r13), %rdx
testq %rdx, %rdx
je 0xa7cbf
leaq 0x80a4d(%rip), %rsi     # 0x128687
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
cmpq $0x0, 0xa0(%r13)
movq 0x98(%r13), %rax
jle 0xa7c6c
movq 0xa8(%r13), %rcx
movl (%rcx), %r15d
jmp 0xa7c74
movq 0x18(%rbx), %rcx
movq 0x18(%rcx), %r15
subq %rax, %r15
leaq 0x807aa(%rip), %rsi     # 0x128428
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
testq %r15, %r15
jle 0xa7cb4
movq 0x98(%r13), %rsi
andl $0x0, (%rsp)
leaq 0x809fb(%rip), %rcx     # 0x12869d
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
callq 0xa8105
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0xa8(%r13), %rsi
movq %rbx, %rdi
callq 0xded32
movq 0xb0(%r13), %rsi
movq %rbx, %rdi
callq 0xded32
movq 0xc0(%r13), %rdi
callq 0xeaf3c
movq %rbx, %rdi
movq %r13, %rsi
callq 0xded32
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq