// File: /workspace/github_c_makefile_star2_O3/rsa9000[P]regfanalysistools/regfdump.c
// Function: main
int main(int argc, char *argv[])
{
	FILE *fp;
	int res = 0;
	unsigned off;

	if (argc < 2) {
		fprintf(stderr, "Registry file not specified, exit.\n");
		return EXIT_FAILURE;
	}

	rbtree_init(&st.cells);

	st.icd = iconv_open("WCHAR_T", "UTF-16");
	if (st.icd == (iconv_t)-1) {
		fprintf(stderr, "Could not create iconv descriptor to convert UTF-16BE to WCHAR_T\n");
		return EXIT_FAILURE;
	}

	setlocale(LC_CTYPE, "");

	fp = fopen(argv[1], "rb");
	if (!fp) {
		fprintf(stderr, "Could not open registry file %s: %s\n", argv[1], strerror(errno));
		return EXIT_FAILURE;
	}

	res = regf_parse_fheader(fp);
	if (res) {
		fprintf(stderr, "Could not parse file header!\n");
		goto exit;
	}

	st.__data = mmap(NULL, st.data_sz, PROT_READ, MAP_SHARED, fileno(fp),
			 0x1000);
	if (st.__data == MAP_FAILED) {
		fprintf(stderr, "Could mmap hbin data: %s\n",
			strerror(errno));
		goto exit;
	}
	st.data = st.__data;

	res = regf_scan_data(st.data, st.data_sz);
	if (res) {
		fprintf(stderr, "Could not scan hbin data\n");
		goto exit;
	}

	for (off = 0; off < st.data_sz; off += res) {
		res = regf_parse_hbin(off);
		if (res <= 0) {
			PR_WARN(off, "hbin", "could not parse hbin\n");
			goto exit;
		}
	}
	res = 0;

	regf_cells_stat();

exit:
	if (st.data != NULL)
		munmap(st.__data, st.data_sz);

	fclose(fp);

	return res ? EXIT_FAILURE : EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
cmpl $0x1, %edi
jle 0x281c
movq %rsi, %rbx
leaq 0x5c18(%rip), %rdi      # 0x7108
callq 0x2a0c
leaq 0x2b88(%rip), %rdi      # 0x4084
leaq 0x2b89(%rip), %rsi      # 0x408c
callq 0x1170
movq %rax, 0x5bd1(%rip)      # 0x70e0
cmpq $-0x1, %rax
je 0x2823
leaq 0x2d9a(%rip), %rsi      # 0x42ba
xorl %edi, %edi
callq 0x1120
movq 0x8(%rbx), %rdi
leaq 0x2ba3(%rip), %rsi      # 0x40d5
callq 0x1130
testq %rax, %rax
je 0x282a
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1100
testl %eax, %eax
movq %r14, %rbx
jne 0x2841
leaq 0x50(%rsp), %rdi
movl $0x1, %esi
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rcx
callq 0x1060
cmpl $0x200, %eax            # imm = 0x200
jne 0x2848
cmpl $0x66676572, 0x50(%rsp) # imm = 0x66676572
jne 0x284f
xorl %eax, %eax
xorl %edx, %edx
movl %edx, %ecx
movl 0x50(%rsp,%rax,4), %esi
movl %esi, %edx
xorl %ecx, %edx
incq %rax
cmpl $0x80, %eax
jne 0x158e
cmpl %ecx, %esi
jne 0x2875
movq %rbx, 0x28(%rsp)
movl 0x54(%rsp), %ebx
movl 0x58(%rsp), %ebp
leaq 0x2c76(%rip), %rdi      # 0x4234
movl %ebx, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x1090
movq 0x60(%rsp), %rsi
leaq 0x2c85(%rip), %rdi      # 0x425a
xorl %eax, %eax
callq 0x1090
cmpl $0x0, 0x70(%rsp)
leaq 0x2ca5(%rip), %rax      # 0x428d
leaq 0x2c99(%rip), %rsi      # 0x4288
cmoveq %rax, %rsi
leaq 0x2c7b(%rip), %rdi      # 0x4275
xorl %eax, %eax
callq 0x1090
cmpl %ebp, %ebx
jne 0x287c
movl 0x68(%rsp), %esi
movl 0x6c(%rsp), %edx
movl %esi, %eax
shll $0x4, %eax
orl %edx, %eax
movl %eax, 0x5ada(%rip)      # 0x70f8
movl 0x78(%rsp), %ebx
movl %ebx, 0x5ad4(%rip)      # 0x70fc
movl 0x7c(%rsp), %ebp
movl %ebp, 0x5ace(%rip)      # 0x7100
leaq 0x2c82(%rip), %rdi      # 0x42bb
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x1090
leaq 0x2c87(%rip), %rdi      # 0x42d1
movl %ebx, %esi
xorl %eax, %eax
callq 0x1090
leaq 0x2c8f(%rip), %rdi      # 0x42e9
movl %ebp, %esi
xorl %eax, %eax
callq 0x1090
movl 0x5a97(%rip), %ebx      # 0x7100
movq 0x28(%rsp), %rdi
callq 0x10e0
movl $0x1000, %r9d           # imm = 0x1000
xorl %edi, %edi
movq %rbx, %rsi
movl $0x1, %edx
movl $0x1, %ecx
movl %eax, %r8d
callq 0x1080
movq %rax, 0x5a51(%rip)      # 0x70e8
cmpq $-0x1, %rax
je 0x2898
movq %rax, %rbx
movq %rax, 0x5a45(%rip)      # 0x70f0
movl 0x5a4f(%rip), %ebp      # 0x7100
testl %ebp, %ebp
je 0x26bb
xorl %r14d, %r14d
leaq 0x2c96(%rip), %r15      # 0x4359
movq %rbx, %r12
movl %ebp, 0x48(%rsp)
movl $0x4, %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x1040
testl %eax, %eax
jne 0x289f
movl 0x8(%r12), %eax
cmpq $0x25, %rax
jb 0x176a
movl %r14d, 0x38(%rsp)
leaq 0x24(%r12), %rbp
movl (%rbp), %eax
movl %eax, %r14d
negl %r14d
cmovsl %eax, %r14d
movl %ebp, %r15d
subl %ebx, %r15d
movl $0x1, %edi
movl $0x30, %esi
callq 0x10b0
movq %rax, %r13
movl %r15d, 0x18(%rax)
movl %r14d, 0x20(%rax)
leaq 0x59dd(%rip), %rdi      # 0x7108
movq %rax, %rsi
callq 0x2b8f
cmpl $0x0, (%rbp)
jle 0x1741
movl $0x1, 0x28(%r13)
movl %r14d, %eax
addq %rax, %rbp
movl 0x8(%r12), %eax
leaq (%r12,%rax), %rcx
cmpq %rcx, %rbp
jb 0x16f7
movq %rcx, %r12
movl 0x48(%rsp), %ebp
movl 0x38(%rsp), %r14d
leaq 0x2bf1(%rip), %r15      # 0x4359
jmp 0x176d
addq %rax, %r12
addl %eax, %r14d
cmpl %ebp, %r14d
jb 0x16ca
cmpl $0x0, 0x5980(%rip)      # 0x7100
je 0x26bb
leaq 0x2bcc(%rip), %r14      # 0x4359
leaq 0x2bca(%rip), %r15      # 0x435e
xorl %r12d, %r12d
movl %r12d, %ebx
addq 0x594f(%rip), %rbx      # 0x70f0
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1040
testl %eax, %eax
jne 0x28ee
movl 0x4(%rbx), %esi
movl 0x8(%rbx), %edx
movq 0x18(%rbx), %rcx
movq %r15, %rdi
xorl %eax, %eax
callq 0x1090
movq %rbx, 0x48(%rsp)
movl 0x8(%rbx), %eax
leal (%rax,%r12), %ebx
movb $0x0, 0x14(%rsp)
movl $0x20202020, 0x10(%rsp) # imm = 0x20202020
movq %r12, 0x38(%rsp)
leal 0x28(%r12), %ebp
cmpl %ebx, %ebp
jae 0x26a0
movq 0x58f1(%rip), %rsi      # 0x70f0
movl %ebp, %r15d
movl (%rsi,%r15), %eax
movl %eax, %edx
negl %edx
movl %eax, %ebp
cmovnsl %edx, %ebp
testl %eax, %eax
jle 0x1832
leaq 0x2b7d(%rip), %rdi      # 0x4397
movl %r15d, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x1090
addl %r15d, %ebp
cmpl %ebx, %ebp
jb 0x17f8
jmp 0x268a
movzbl 0x4(%rsi,%r15), %ecx
leal -0x6c(%rcx), %eax
cmpl $0xa, %eax
ja 0x18bd
leaq 0x27bd(%rip), %rdi      # 0x4004
movslq (%rdi,%rax,4), %rax
addq %rdi, %rax
jmpq *%rax
movzbl 0x5(%rsi,%r15), %eax
cmpl $0x69, %eax
je 0x1b91
cmpl $0x68, %eax
je 0x1b48
cmpl $0x66, %eax
jne 0x1bdd
leaq 0x2b87(%rip), %rdi      # 0x43ff
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5867(%rip), %r14      # 0x70f0
movzwl 0x6(%r14,%r15), %ecx
leaq 0x8(,%rcx,8), %rax
movslq (%r14,%r15), %rdx
negq %rdx
cmpq %rdx, %rax
jbe 0x21de
leaq 0x3075(%rip), %rdi      # 0x4923
movl %r15d, %esi
leaq 0x2b44(%rip), %rdx      # 0x43fc
jmp 0x1bd8
cmpl $0x64, %ecx
jne 0x199f
movb 0x5(%rsi,%r15), %al
movl $0x64, %ecx
cmpb $0x62, %al
jne 0x1be2
leaq 0x2be5(%rip), %rdi      # 0x44c4
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5800(%rip), %r12      # 0x70f0
movzwl 0x6(%r12,%r15), %edx
leaq 0x3331(%rip), %rdi      # 0x4c2e
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
cmpw $0x0, 0x6(%r12,%r15)
je 0x1826
movl 0x8(%r12,%r15), %esi
leaq 0x57e6(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x57e2(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
sete %cl
testq %rax, %rax
sete %dl
orb %cl, %dl
leaq 0x32fc(%rip), %rdi      # 0x4c3f
jne 0x24ac
incl 0x24(%rax)
orb $0x2, 0x29(%rax)
movl $0x10, %esi
leaq 0x50(%rsp), %rdi
leaq 0x2e53(%rip), %rdx      # 0x47b4
leaq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0x10a0
movl 0x8(%r12,%r15), %esi
movq 0x5777(%rip), %r14      # 0x70f0
movl (%r14,%rsi), %eax
testl %eax, %eax
jle 0x2474
leaq 0x3328(%rip), %rdi      # 0x4cb4
leaq 0x3353(%rip), %rdx      # 0x4ce6
xorl %eax, %eax
callq 0x1329
jmp 0x24a5
leal -0x61(%rcx), %eax
cmpb $0x19, %al
ja 0x1c05
movb 0x5(%rsi,%r15), %al
jmp 0x1be2
movb 0x5(%rsi,%r15), %al
movl $0x76, %ecx
cmpb $0x6b, %al
jne 0x1be2
leaq 0x2ad0(%rip), %rdi      # 0x449d
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5712(%rip), %r14      # 0x70f0
movzwl 0x6(%r14,%r15), %edx
addq %r15, %r14
testl %edx, %edx
je 0x1f91
testb $0x1, 0x14(%r14)
jne 0x1fa6
leaq 0x18(%r14), %rdi
movl %edx, %esi
callq 0x291e
leaq 0x30a8(%rip), %rdi      # 0x4ab4
leaq 0x10(%rsp), %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1090
jmp 0x1fbd
movb 0x5(%rsi,%r15), %al
movl $0x72, %ecx
cmpb $0x69, %al
jne 0x1be2
leaq 0x2a3c(%rip), %rdi      # 0x4475
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x56a6(%rip), %r12      # 0x70f0
movzwl 0x6(%r12,%r15), %ecx
leaq 0x8(,%rcx,4), %rax
movslq (%r12,%r15), %rdx
negq %rdx
cmpq %rdx, %rax
jbe 0x1c14
leaq 0x2eb4(%rip), %rdi      # 0x4923
movl %r15d, %esi
leaq 0x29f9(%rip), %rdx      # 0x4472
jmp 0x1bd8
movb 0x5(%rsi,%r15), %al
movl $0x6e, %ecx
cmpb $0x6b, %al
jne 0x1be2
leaq 0x291a(%rip), %rdi      # 0x43b1
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5648(%rip), %rax      # 0x70f0
leaq (%rax,%r15), %r12
testb $0x20, 0x6(%rax,%r15)
jne 0x1cb8
leaq 0x54(%r12), %rdi
movzwl 0x50(%r12), %esi
callq 0x291e
leaq 0x2a77(%rip), %rdi      # 0x4546
leaq 0x10(%rsp), %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1090
jmp 0x1cd6
movb 0x5(%rsi,%r15), %al
movl $0x73, %ecx
cmpb $0x6b, %al
jne 0x1be2
leaq 0x28d9(%rip), %rdi      # 0x43d5
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x55e3(%rip), %r14      # 0x70f0
movl 0x8(%r14,%r15), %edx
movl 0xc(%r14,%r15), %ecx
leaq 0x2dcc(%rip), %rdi      # 0x48ea
leaq 0x10(%rsp), %r12
movq %r12, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x10(%r14,%r15), %edx
leaq 0x2dd4(%rip), %rdi      # 0x490d
movq %r12, %rsi
xorl %eax, %eax
callq 0x1090
jmp 0x1826
leaq 0x28d7(%rip), %rdi      # 0x4426
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5590(%rip), %r14      # 0x70f0
movzwl 0x6(%r14,%r15), %ecx
leaq 0x8(,%rcx,8), %rax
movslq (%r14,%r15), %rdx
negq %rdx
cmpq %rdx, %rax
jbe 0x2088
leaq 0x2d9e(%rip), %rdi      # 0x4923
movl %r15d, %esi
leaq 0x2894(%rip), %rdx      # 0x4423
jmp 0x1bd8
leaq 0x28b5(%rip), %rdi      # 0x444d
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
movq 0x5547(%rip), %r12      # 0x70f0
movzwl 0x6(%r12,%r15), %ecx
leaq 0x8(,%rcx,4), %rax
movslq (%r12,%r15), %rdx
negq %rdx
cmpq %rdx, %rax
jbe 0x213a
leaq 0x2d55(%rip), %rdi      # 0x4923
movl %r15d, %esi
leaq 0x2872(%rip), %rdx      # 0x444a
jmp 0x24bb
movl $0x6c, %ecx
leal -0x61(%rax), %esi
cmpb $0x19, %sil
ja 0x1c05
movzbl %al, %r8d
leaq 0x28f3(%rip), %rdi      # 0x44e9
movl %r15d, %esi
xorl %eax, %eax
callq 0x1090
jmp 0x1826
leaq 0x290a(%rip), %rdi      # 0x4516
movl %r15d, %esi
jmp 0x181f
addq %r15, %r12
leaq 0x2e0a(%rip), %rdi      # 0x4a28
leaq 0x10(%rsp), %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x1090
cmpw $0x0, 0x6(%r12)
je 0x1826
xorl %r14d, %r14d
movl 0x8(%r12,%r14,4), %ecx
leaq 0x2df1(%rip), %rdi      # 0x4a39
leaq 0x10(%rsp), %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x1090
movl 0x8(%r12,%r14,4), %esi
leaq 0x54a5(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x54a1(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x1c9e
movl 0x8(%r12,%r14,4), %ecx
leaq 0x2dca(%rip), %rdi      # 0x4a55
movl %r15d, %esi
leaq 0x27dd(%rip), %rdx      # 0x4472
xorl %eax, %eax
callq 0x1329
jmp 0x1ca5
incl 0x24(%rax)
orb $0x10, 0x28(%rax)
incq %r14
movzwl 0x6(%r12), %eax
cmpq %rax, %r14
jb 0x1c3c
jmp 0x1826
movzwl 0x50(%r12), %edx
leaq 0x54(%r12), %rcx
leaq 0x286a(%rip), %rdi      # 0x4534
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
movzwl 0x6(%r12), %r13d
leaq 0x25d7(%rip), %rcx      # 0x42ba
testl %r13d, %r13d
je 0x1e5b
leaq 0x551d(%rip), %r14      # 0x7210
cmpl $0x80, %r13d
jb 0x1d17
movl $0x6e6b6e, 0x550d(%rip) # imm = 0x6E6B6E
movl $0x6e75202c, 0x5500(%rip) # imm = 0x6E75202C
leaq 0x54ff(%rip), %r14      # 0x7216
testb $0x40, %r13b
je 0x1d44
leaq 0x54ec(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2ac1(%rip), %rdx      # 0x47f9
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
testb $0x20, %r13b
je 0x1d71
leaq 0x54bf(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2a9d(%rip), %rdx      # 0x4802
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
testb $0x10, %r13b
je 0x1d9e
leaq 0x5492(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2a78(%rip), %rdx      # 0x480a
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
testb $0x8, %r13b
je 0x1dcb
leaq 0x5465(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2a55(%rip), %rdx      # 0x4814
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
testb $0x4, %r13b
je 0x1df8
leaq 0x5438(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2a30(%rip), %rdx      # 0x481c
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
testb $0x2, %r13b
je 0x1e25
leaq 0x540b(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x2a0b(%rip), %rdx      # 0x4824
xorl %eax, %eax
callq 0x10a0
cltq
addq %rax, %r14
leaq 0x53e6(%rip), %rcx      # 0x7212
testb $0x1, %r13b
je 0x1e5b
leaq 0x53d7(%rip), %rsi      # 0x7210
subq %r14, %rsi
addq $0x100, %rsi            # imm = 0x100
movq %r14, %rdi
leaq 0x29de(%rip), %rdx      # 0x482b
xorl %eax, %eax
callq 0x10a0
leaq 0x53b7(%rip), %rcx      # 0x7212
leaq 0x26f5(%rip), %rdi      # 0x4557
leaq 0x10(%rsp), %r14
movq %r14, %rsi
movl %r13d, %edx
xorl %eax, %eax
callq 0x1090
movzwl 0x52(%r12), %edx
movl 0x38(%r12), %ecx
leaq 0x26eb(%rip), %rdi      # 0x4571
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movq 0xc(%r12), %rdx
leaq 0x26fa(%rip), %rdi      # 0x4596
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x18(%r12), %edx
leaq 0x26ff(%rip), %rdi      # 0x45b1
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x34(%r12), %edx
leaq 0x26ff(%rip), %rdi      # 0x45c7
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x1c(%r12), %edx
movl 0x24(%r12), %ecx
movl 0x3c(%r12), %r8d
movl 0x40(%r12), %r9d
leaq 0x26f2(%rip), %rdi      # 0x45df
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x20(%r12), %edx
movl 0x28(%r12), %ecx
leaq 0x2722(%rip), %rdi      # 0x462a
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
movl 0x2c(%r12), %edx
movl 0x30(%r12), %ecx
movl 0x44(%r12), %r8d
movl 0x48(%r12), %r9d
leaq 0x2723(%rip), %rdi      # 0x4650
movq %r14, %rsi
xorl %eax, %eax
callq 0x1090
testb $0x4, 0x6(%r12)
jne 0x2298
movl 0x18(%r12), %esi
leaq 0x51b9(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x51b5(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2291
movl 0x18(%r12), %ecx
leaq 0x271e(%rip), %rdi      # 0x4699
movl %r15d, %esi
leaq 0x288c(%rip), %rdx      # 0x4811
xorl %eax, %eax
callq 0x1329
jmp 0x2298
leaq 0x2af3(%rip), %rdi      # 0x4a8b
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
jmp 0x1fbd
leaq 0x18(%r14), %rcx
leaq 0x2af1(%rip), %rdi      # 0x4aa2
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
movl 0x10(%r14), %edx
movl 0x8(%r14), %r8d
movl 0xc(%r14), %ecx
leaq 0x2c56(%rip), %r9       # 0x4c26
cmpq $0xb, %rdx
ja 0x1fe4
leaq 0x2053(%rip), %rax      # 0x4030
movslq (%rax,%rdx,4), %r9
addq %rax, %r9
leaq 0x2ada(%rip), %rdi      # 0x4ac5
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
movl 0x8(%r14), %ecx
testl %ecx, %ecx
js 0x2033
movl 0xc(%r14), %esi
leaq 0x50fe(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x50fa(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2058
movl 0xc(%r14), %ecx
leaq 0x2b0a(%rip), %rdi      # 0x4b3b
jmp 0x2049
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl $0x5, %ecx
jb 0x1826
leaq 0x2ab4(%rip), %rdi      # 0x4afd
movl %r15d, %esi
leaq 0x2447(%rip), %rdx      # 0x449a
jmp 0x24bb
movl 0x8(%r14), %esi
movl 0x5096(%rip), %edx      # 0x70f8
incl 0x24(%rax)
movl 0x28(%rax), %ecx
cmpl $0x3fd9, %esi           # imm = 0x3FD9
jb 0x241d
cmpl $0x14, %edx
jbe 0x241d
orl $0x100, %ecx            # imm = 0x100
jmp 0x2423
leaq (%r14,%r15), %r12
leaq 0x292d(%rip), %rdi      # 0x49c0
leaq 0x10(%rsp), %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x1090
cmpw $0x0, 0x6(%r12)
je 0x1826
leaq (%r14,%r15), %r13
addq $0x8, %r13
xorl %r14d, %r14d
movl (%r13,%r14,8), %ecx
movl 0x4(%r13,%r14,8), %r8d
leaq 0x2907(%rip), %rdi      # 0x49d1
leaq 0x10(%rsp), %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x1090
movl (%r13,%r14,8), %esi
leaq 0x5023(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x501f(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2120
movl (%r13,%r14,8), %ecx
leaq 0x2883(%rip), %rdi      # 0x4990
movl %r15d, %esi
leaq 0x230c(%rip), %rdx      # 0x4423
xorl %eax, %eax
callq 0x1329
jmp 0x2127
incl 0x24(%rax)
orb $0x2, 0x28(%rax)
incq %r14
movzwl 0x6(%r12), %eax
cmpq %rax, %r14
jb 0x20b9
jmp 0x1826
addq %r15, %r12
leaq 0x28b7(%rip), %rdi      # 0x49fb
leaq 0x10(%rsp), %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x1090
cmpw $0x0, 0x6(%r12)
je 0x1826
xorl %r14d, %r14d
movl 0x8(%r12,%r14,4), %ecx
leaq 0x289e(%rip), %rdi      # 0x4a0c
leaq 0x10(%rsp), %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x1090
movl 0x8(%r12,%r14,4), %esi
leaq 0x4f7f(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4f7b(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x21c4
movl 0x8(%r12,%r14,4), %ecx
leaq 0x27df(%rip), %rdi      # 0x4990
movl %r15d, %esi
leaq 0x228f(%rip), %rdx      # 0x444a
xorl %eax, %eax
callq 0x1329
jmp 0x21cb
incl 0x24(%rax)
orb $0x2, 0x28(%rax)
incq %r14
movzwl 0x6(%r12), %eax
cmpq %rax, %r14
jb 0x2162
jmp 0x1826
leaq (%r14,%r15), %r12
leaq 0x276e(%rip), %rdi      # 0x4957
leaq 0x10(%rsp), %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x1090
cmpw $0x0, 0x6(%r12)
je 0x1826
addq %r15, %r14
addq $0xc, %r14
xorl %r13d, %r13d
movl 0x8(%r12,%r13,8), %ecx
leaq 0x274e(%rip), %rdi      # 0x4968
leaq 0x10(%rsp), %rsi
movl %r13d, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x1090
movl 0x8(%r12,%r13,8), %esi
leaq 0x4ed0(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4ecc(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2273
movl 0x8(%r12,%r13,8), %ecx
leaq 0x2730(%rip), %rdi      # 0x4990
movl %r15d, %esi
leaq 0x2192(%rip), %rdx      # 0x43fc
xorl %eax, %eax
callq 0x1329
jmp 0x227a
incl 0x24(%rax)
orb $0x2, 0x28(%rax)
incq %r13
movzwl 0x6(%r12), %eax
addq $0x8, %r14
cmpq %rax, %r13
jb 0x220e
jmp 0x1826
incl 0x24(%rax)
orb $0x2, 0x28(%rax)
movl 0x38(%r12), %esi
cmpl $-0x1, %esi
je 0x22eb
leaq 0x4e5f(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4e5b(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x22e4
movl 0x38(%r12), %ecx
leaq 0x23fb(%rip), %rdi      # 0x46cc
movl %r15d, %esi
leaq 0x2536(%rip), %rdx      # 0x4811
xorl %eax, %eax
callq 0x1329
jmp 0x22eb
incl 0x24(%rax)
orb $0x8, 0x28(%rax)
movl 0x34(%r12), %esi
leaq 0x4e11(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4e0d(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2332
movl 0x34(%r12), %ecx
leaq 0x23e4(%rip), %rdi      # 0x4703
movl %r15d, %esi
leaq 0x24e8(%rip), %rdx      # 0x4811
xorl %eax, %eax
callq 0x1329
jmp 0x2339
incl 0x24(%rax)
orb $0x4, 0x28(%rax)
cmpl $0x0, 0x1c(%r12)
je 0x238f
movl 0x24(%r12), %esi
leaq 0x4dbb(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4db7(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
setne %cl
testq %rax, %rax
setne %dl
testb %dl, %cl
jne 0x2388
movl 0x24(%r12), %ecx
leaq 0x23ce(%rip), %rdi      # 0x4743
movl %r15d, %esi
leaq 0x2492(%rip), %rdx      # 0x4811
xorl %eax, %eax
callq 0x1329
jmp 0x238f
incl 0x24(%rax)
orb $0x10, 0x28(%rax)
cmpl $0x0, 0x2c(%r12)
je 0x1826
movl 0x30(%r12), %esi
leaq 0x4d61(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4d5d(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
sete %cl
testq %rax, %rax
sete %dl
orb %cl, %dl
leaq 0x23b4(%rip), %rdi      # 0x477c
jne 0x2463
incl 0x24(%rax)
orb $0x20, 0x28(%rax)
movl $0x10, %esi
leaq 0x50(%rsp), %rdi
leaq 0x23ce(%rip), %rdx      # 0x47b4
leaq 0x10(%rsp), %rcx
xorl %eax, %eax
callq 0x10a0
movl 0x30(%r12), %esi
movq 0x4cf2(%rip), %r14      # 0x70f0
movl (%r14,%rsi), %eax
testl %eax, %eax
jle 0x242b
leaq 0x2429(%rip), %rdi      # 0x4836
leaq 0x2452(%rip), %rdx      # 0x4866
xorl %eax, %eax
callq 0x1329
jmp 0x245c
orl $0x80, %ecx
movl %ecx, 0x28(%rax)
jmp 0x1826
movl 0x2c(%r12), %ecx
leaq (,%rcx,4), %rdx
negl %eax
addq $-0x4, %rax
cmpq %rax, %rdx
jbe 0x24c7
leaq 0x241d(%rip), %rdi      # 0x486b
leaq 0x2411(%rip), %rdx      # 0x4866
xorl %eax, %eax
callq 0x1329
leaq 0x2356(%rip), %rdi      # 0x47b9
movl 0x30(%r12), %ecx
movl %r15d, %esi
leaq 0x239f(%rip), %rdx      # 0x4811
jmp 0x24bb
movzwl 0x6(%r12,%r15), %ecx
leal (,%rcx,4), %edx
negl %eax
addq $-0x4, %rax
cmpq %rax, %rdx
jbe 0x258e
leaq 0x2854(%rip), %rdi      # 0x4ceb
leaq 0x2848(%rip), %rdx      # 0x4ce6
xorl %eax, %eax
callq 0x1329
leaq 0x27cd(%rip), %rdi      # 0x4c79
movl 0x8(%r12,%r15), %ecx
movl %r15d, %esi
leaq 0x2006(%rip), %rdx      # 0x44c1
xorl %eax, %eax
callq 0x1329
jmp 0x1826
testq %rcx, %rcx
je 0x1826
movl %ebx, 0x30(%rsp)
movq %rsi, 0x40(%rsp)
addq %rsi, %r14
negq %rcx
movb $0x1, %al
movl %eax, 0xc(%rsp)
xorl %r13d, %r13d
incq %r13
movq %rcx, %rbx
movl (%r14,%r13,4), %ecx
leal -0x1(%r13), %edx
leaq 0x23a6(%rip), %rdi      # 0x48a3
leaq 0x50(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
movl (%r14,%r13,4), %esi
leaq 0x4bf4(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4bf0(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
je 0x2549
testq %rax, %rax
je 0x2549
incl 0x24(%rax)
orb $0x40, 0x28(%rax)
movq %rbx, %rcx
leaq (%rbx,%r13), %rax
incq %rax
incq %r13
cmpq $0x1, %rax
jne 0x24eb
jmp 0x2653
movl (%r14,%r13,4), %ecx
movl $0x0, 0xc(%rsp)
leaq 0x235c(%rip), %rdi      # 0x48b8
movq 0x40(%rsp), %rsi
leaq 0x22fe(%rip), %rdx      # 0x4866
xorl %eax, %eax
callq 0x1329
movq %rbx, %rcx
movq %rbx, %rax
addq %r13, %rax
jne 0x24e8
leaq 0x2234(%rip), %rdi      # 0x47b9
movl 0x30(%rsp), %ebx
jmp 0x2463
testl %ecx, %ecx
je 0x1826
movq %r12, 0x30(%rsp)
movq %rsi, 0x40(%rsp)
addq %rsi, %r14
negq %rcx
movb $0x1, %al
movl %eax, 0xc(%rsp)
xorl %r13d, %r13d
incq %r13
movq %rcx, %r12
movl (%r14,%r13,4), %ecx
leal -0x1(%r13), %edx
leaq 0x2761(%rip), %rdi      # 0x4d25
leaq 0x50(%rsp), %rsi
xorl %eax, %eax
callq 0x1090
movl (%r14,%r13,4), %esi
leaq 0x4b2d(%rip), %rdi      # 0x7108
callq 0x2fb9
leaq 0x4b29(%rip), %rcx      # 0x7110
cmpq %rcx, %rax
je 0x260d
testq %rax, %rax
je 0x260d
incl 0x24(%rax)
orb $0x4, 0x29(%rax)
movq %r12, %rcx
leaq (%r12,%r13), %rax
incq %rax
incq %r13
cmpq $0x1, %rax
jne 0x25b2
jmp 0x266e
movl (%r14,%r13,4), %ecx
movl $0x0, 0xc(%rsp)
leaq 0x271a(%rip), %rdi      # 0x4d3a
movq 0x40(%rsp), %rsi
leaq 0x26ba(%rip), %rdx      # 0x4ce6
xorl %eax, %eax
callq 0x1329
movq %r12, %rcx
movq %r12, %rax
addq %r13, %rax
jne 0x25af
leaq 0x2630(%rip), %rdi      # 0x4c79
movq 0x30(%rsp), %r12
jmp 0x24ac
leaq 0x215f(%rip), %rdi      # 0x47b9
testb $0x1, 0xc(%rsp)
movl 0x30(%rsp), %ebx
jne 0x1826
jmp 0x2463
leaq 0x2604(%rip), %rdi      # 0x4c79
testb $0x1, 0xc(%rsp)
movq 0x30(%rsp), %r12
jne 0x1826
jmp 0x24ac
movq 0x48(%rsp), %rax
movl 0x8(%rax), %eax
leaq 0x1cc0(%rip), %r14      # 0x4359
leaq 0x1cbe(%rip), %r15      # 0x435e
testl %eax, %eax
jle 0x27f3
addl 0x38(%rsp), %eax
movl %eax, %r12d
cmpl 0x4a4b(%rip), %eax      # 0x7100
jb 0x1797
movq 0x4a46(%rip), %rsi      # 0x7108
leaq 0x4a47(%rip), %r13      # 0x7110
movl $0x0, %r15d
movl $0x0, %ebx
movl $0x0, %ebp
cmpq %r13, %rsi
je 0x27d1
leaq 0x4a1f(%rip), %rdi      # 0x7108
callq 0x2a1f
movl $0x0, %r15d
movl $0x0, %ebx
movl $0x0, %ebp
cmpq %r13, %rax
je 0x27d1
movq %rax, %r12
leaq 0x49f7(%rip), %r14      # 0x7108
xorl %ebp, %ebp
xorl %ebx, %ebx
xorl %r15d, %r15d
movl 0x28(%r12), %ecx
testb $0x1, %cl
jne 0x2773
cmpl $0x0, 0x24(%r12)
jne 0x274b
movl 0x18(%r12), %esi
leaq 0x2684(%rip), %rdi      # 0x4dba
leaq 0x20b7(%rip), %rdx      # 0x47f4
xorl %eax, %eax
callq 0x1329
incl %ebp
movl 0x28(%r12), %ecx
leal -0x1(%rcx), %eax
testl %eax, %ecx
jne 0x2798
testl $0xfffffff9, %ecx       # imm = 0xFFFFFFF9
je 0x27b7
movl 0x24(%r12), %r8d
cmpl $0x2, %r8d
jb 0x27b7
movl 0x18(%r12), %esi
leaq 0x26b5(%rip), %rdi      # 0x4e26
jmp 0x27a9
incl %ebx
cmpl $0x2, %ecx
setb %al
movl 0x24(%r12), %r8d
testl %r8d, %r8d
sete %dl
testb %dl, %al
jne 0x27b7
movl 0x18(%r12), %esi
leaq 0x25dd(%rip), %rdi      # 0x4d73
jmp 0x27a9
movl 0x18(%r12), %esi
movl 0x24(%r12), %r8d
leaq 0x2630(%rip), %rdi      # 0x4dd9
leaq 0x2044(%rip), %rdx      # 0x47f4
xorl %eax, %eax
callq 0x1329
movq %r14, %rdi
movq %r12, %rsi
callq 0x2a72
movq %rax, %r12
incl %r15d
cmpq %r13, %rax
jne 0x2718
leaq 0x2698(%rip), %rdi      # 0x4e70
movl %r15d, %esi
movl %ebx, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1329
movq 0x28(%rsp), %rbx
xorl %r14d, %r14d
jmp 0x28b5
setne %al
movzbl %al, %r14d
movq 0x38(%rsp), %r12
leaq 0x1949(%rip), %rdi      # 0x414f
leaq 0x1b4c(%rip), %rdx      # 0x4359
movl %r12d, %esi
xorl %eax, %eax
callq 0x1329
jmp 0x28b0
callq 0x130d
jmp 0x2836
callq 0x12f1
jmp 0x2836
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x12b6
movl $0x1, %r14d
jmp 0x28d9
callq 0x1190
jmp 0x2886
callq 0x11c3
jmp 0x2886
movq 0x47a2(%rip), %rax      # 0x6ff8
movq (%rax), %rdi
leaq 0x197c(%rip), %rsi      # 0x41dc
leaq 0x1939(%rip), %rdx      # 0x41a0
leaq 0x50(%rsp), %rcx
xorl %eax, %eax
callq 0x10c0
jmp 0x2886
callq 0x11f6
jmp 0x2886
callq 0x1215
movq 0x28(%rsp), %rbx
leaq 0x50(%rsp), %rdi
callq 0x1234
movl $0x1, %r14d
jmp 0x28b5
callq 0x128a
jmp 0x28b0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1256
movl $0x1, %r14d
movq 0x28(%rsp), %rbx
cmpq $0x0, 0x4833(%rip)      # 0x70f0
je 0x28d1
movq 0x4822(%rip), %rdi      # 0x70e8
movl 0x4834(%rip), %esi      # 0x7100
callq 0x1110
movq %rbx, %rdi
callq 0x1070
movl %r14d, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x4703(%rip), %rax      # 0x6ff8
movq (%rax), %rdi
leaq 0x1a22(%rip), %rsi      # 0x4321
leaq 0x1a48(%rip), %rdx      # 0x434e
movl %r12d, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0x10c0
movl $0x1, %r14d
jmp 0x27ff