// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/tools/translator/translator.cpp
// Function: Translator::OpenFileName(smooth::String const&)
Void Translator::OpenFileName(const String &openFile)
{
	/* Open document and check format.
	 */
	XML::Document	 doc;

	if (doc.LoadFile(openFile) == Error())
	{
		QuickMessage(String("Invalid file format: ").Append(GetShortFileName(openFile)), "smooth Translator", Message::Buttons::Ok, Message::Icon::Error);

		return;
	}

	/* Setup new file and load document.
	 */
	NewFile();

	fileName = openFile;

	wnd->SetText(String("smooth Translator v").Append(SMOOTH_VERSION).Append(" - ").Append(GetShortFileName(fileName)));

	XML::Node	*info = doc.GetRootNode()->GetNodeByName("info");

	for (Int k = 0; k < info->GetNOfNodes(); k++)
	{
		String		 property = info->GetNthNode(k)->GetAttributeByName("name")->GetContent();
		InfoItem	*entry = NULL;

		if	(property == "program")	    entry = (InfoItem *) entries.GetNth(0);
		else if (property == "version")	    entry = (InfoItem *) entries.GetNth(1);
		else if (property == "language")    entry = (InfoItem *) entries.GetNth(2);
		else if (property == "righttoleft") entry = (InfoItem *) entries.GetNth(3);

		else if (property == "template")
		{
			templateName = info->GetNthNode(k)->GetContent();

			if (OpenTemplate(File(fileName).GetFilePath().Append(Directory::GetDirectoryDelimiter()).Append(templateName)) != Success())
			{
				templateName = NIL;
			}

			entry = (InfoItem *) entries.GetNth(4);
		}

		else if (property == "author")	    entry = (InfoItem *) entries.GetNth(5);
		else if (property == "url")	    entry = (InfoItem *) entries.GetNth(6);

		if (entry != NIL)
		{
			entry->SetValue(info->GetNthNode(k)->GetContent());
		}
	}

	XML::Node	*data = doc.GetRootNode()->GetNodeByName("data");

	dataSection->Parse(data, list_entries, entries);

	/* Look for entries with the same original text and suggest a translation.
	 */
	for (Int i = 0; i < entries.Length(); i++)
	{
		if (entries.GetNthIndex(i) < 0) continue;

		StringItem	*item = (StringItem *) entries.GetNth(i);

		if (item->GetTranslation() != NIL) continue;

		for (Int j = 0; j < entries.Length(); j++)
		{
			if (entries.GetNthIndex(j) < 0 || i == j) continue;

			StringItem	*item2 = (StringItem *) entries.GetNth(j);

			if (item->GetOriginal() == item2->GetOriginal() && item2->GetTranslation() != NIL)
			{
				item->SetTranslation(item2->GetTranslation());

				break;
			}
		}
	}

	list_entries->SelectNthEntry(0);

	SelectEntry(entries.GetFirst());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3f0, %rsp            # imm = 0x3F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x248(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x240(%rbp)
callq 0x8310
movq -0x240(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x80c0
movl %eax, -0x234(%rbp)
jmp 0x16686
leaq -0x58(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x9230
jmp 0x16696
leaq -0x58(%rbp), %rdi
callq 0x8ef0
movl %eax, -0x24c(%rbp)
jmp 0x166a7
leaq -0x58(%rbp), %rdi
callq 0x9260
movl -0x24c(%rbp), %ecx
movl -0x234(%rbp), %eax
cmpl %ecx, %eax
jne 0x167e2
leaq 0x6dce(%rip), %rsi      # 0x1d499
leaq -0x70(%rbp), %rdi
callq 0x8800
jmp 0x166d6
movq -0x248(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x17980
jmp 0x166ef
leaq -0x70(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x8170
movq %rax, -0x258(%rbp)
jmp 0x16708
leaq 0x6bd8(%rip), %rsi      # 0x1d2e7
leaq -0xa0(%rbp), %rdi
callq 0x8800
jmp 0x1671d
movq -0x258(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
xorl %edx, %edx
movl $0x7f01, %ecx           # imm = 0x7F01
callq 0x8350
jmp 0x16739
leaq -0xa0(%rbp), %rdi
callq 0x8990
leaq -0x88(%rbp), %rdi
callq 0x8990
leaq -0x70(%rbp), %rdi
callq 0x8990
movl $0x1, -0xa4(%rbp)
jmp 0x173d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x173e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x9260
jmp 0x173e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x167d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x167c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x8990
leaq -0x88(%rbp), %rdi
callq 0x8990
leaq -0x70(%rbp), %rdi
callq 0x8990
jmp 0x173e9
movq -0x248(%rbp), %rdi
callq 0x14a20
jmp 0x167f0
movq -0x248(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x688, %rdi            # imm = 0x688
callq 0x8560
jmp 0x16809
movq -0x248(%rbp), %rax
movq 0x5b8(%rax), %rax
movq %rax, -0x260(%rbp)
leaq 0x6ad4(%rip), %rsi      # 0x1d2f9
leaq -0xc0(%rbp), %rdi
callq 0x8800
jmp 0x16833
leaq 0x6ad3(%rip), %rsi      # 0x1d30d
leaq -0xd8(%rbp), %rdi
callq 0x8800
jmp 0x16848
leaq -0xc0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x8170
movq %rax, -0x268(%rbp)
jmp 0x16864
leaq 0x6c44(%rip), %rsi      # 0x1d4af
leaq -0xf0(%rbp), %rdi
callq 0x8800
jmp 0x16879
movq -0x268(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x8170
movq %rax, -0x270(%rbp)
jmp 0x16895
movq -0x248(%rbp), %rsi
movq %rsi, %rdx
addq $0x688, %rdx            # imm = 0x688
leaq -0x108(%rbp), %rdi
callq 0x17980
jmp 0x168b4
movq -0x270(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8170
movq %rax, -0x278(%rbp)
jmp 0x168d0
movq -0x278(%rbp), %rsi
movq -0x260(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x168ec
leaq -0x108(%rbp), %rdi
callq 0x8990
leaq -0xf0(%rbp), %rdi
callq 0x8990
leaq -0xd8(%rbp), %rdi
callq 0x8990
leaq -0xc0(%rbp), %rdi
callq 0x8990
leaq -0x38(%rbp), %rdi
callq 0x8260
movq %rax, -0x280(%rbp)
jmp 0x1692e
leaq 0x6b7e(%rip), %rsi      # 0x1d4b3
leaq -0x128(%rbp), %rdi
callq 0x8800
jmp 0x16943
movq -0x280(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x86b0
movq %rax, -0x288(%rbp)
jmp 0x1695f
leaq -0x128(%rbp), %rdi
callq 0x8990
movq -0x288(%rbp), %rax
movq %rax, -0x110(%rbp)
movl $0x0, -0x12c(%rbp)
movl -0x12c(%rbp), %eax
movl %eax, -0x290(%rbp)
movq -0x110(%rbp), %rdi
callq 0x8600
movl %eax, -0x28c(%rbp)
jmp 0x169a3
movl -0x290(%rbp), %eax
movl -0x28c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x17054
movq -0x110(%rbp), %rdi
movl -0x12c(%rbp), %esi
callq 0x8860
movq %rax, -0x298(%rbp)
jmp 0x169d2
leaq 0x6657(%rip), %rsi      # 0x1d030
leaq -0x160(%rbp), %rdi
callq 0x8800
jmp 0x169e7
movq -0x298(%rbp), %rdi
leaq -0x160(%rbp), %rsi
callq 0x8050
movq %rax, -0x2a0(%rbp)
jmp 0x16a03
movq -0x2a0(%rbp), %rdi
callq 0x8110
movq %rax, -0x2a8(%rbp)
jmp 0x16a18
movq -0x2a8(%rbp), %rsi
leaq -0x148(%rbp), %rdi
callq 0x8730
jmp 0x16a2d
leaq -0x160(%rbp), %rdi
callq 0x8990
movq $0x0, -0x168(%rbp)
leaq 0x6a6d(%rip), %rsi      # 0x1d4b8
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x2a9(%rbp)
jmp 0x16a5f
movb -0x2a9(%rbp), %al
testb $0x1, %al
jne 0x16a6e
jmp 0x16b58
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
xorl %esi, %esi
callq 0x1a500
movq %rax, -0x2b8(%rbp)
jmp 0x16a8c
movq -0x2b8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fc4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16afc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16af0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16ae4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x8990
leaq -0xf0(%rbp), %rdi
callq 0x8990
leaq -0xd8(%rbp), %rdi
callq 0x8990
leaq -0xc0(%rbp), %rdi
callq 0x8990
jmp 0x173e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x8990
jmp 0x173e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x160(%rbp), %rdi
callq 0x8990
jmp 0x173e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x17043
leaq 0x6961(%rip), %rsi      # 0x1d4c0
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x2b9(%rbp)
jmp 0x16b73
movb -0x2b9(%rbp), %al
testb $0x1, %al
jne 0x16b7f
jmp 0x16bb6
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x1, %esi
callq 0x1a500
movq %rax, -0x2c8(%rbp)
jmp 0x16ba0
movq -0x2c8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fc2
leaq 0x690b(%rip), %rsi      # 0x1d4c8
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x2c9(%rbp)
jmp 0x16bd1
movb -0x2c9(%rbp), %al
testb $0x1, %al
jne 0x16bdd
jmp 0x16c14
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x2, %esi
callq 0x1a500
movq %rax, -0x2d8(%rbp)
jmp 0x16bfe
movq -0x2d8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fc0
leaq 0x68b6(%rip), %rsi      # 0x1d4d1
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x2d9(%rbp)
jmp 0x16c2f
movb -0x2d9(%rbp), %al
testb $0x1, %al
jne 0x16c3b
jmp 0x16c72
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x3, %esi
callq 0x1a500
movq %rax, -0x2e8(%rbp)
jmp 0x16c5c
movq -0x2e8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fbe
leaq 0x6864(%rip), %rsi      # 0x1d4dd
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x2e9(%rbp)
jmp 0x16c8d
movb -0x2e9(%rbp), %al
testb $0x1, %al
jne 0x16c9c
jmp 0x16f04
movq -0x110(%rbp), %rdi
movl -0x12c(%rbp), %esi
callq 0x8860
movq %rax, -0x2f8(%rbp)
jmp 0x16cb7
movq -0x2f8(%rbp), %rdi
callq 0x8030
movq %rax, -0x300(%rbp)
jmp 0x16ccc
movq -0x300(%rbp), %rsi
movq -0x248(%rbp), %rdi
addq $0x6a0, %rdi            # imm = 0x6A0
callq 0x8560
jmp 0x16ce8
movq -0x248(%rbp), %rax
addq $0x688, %rax            # imm = 0x688
movq %rax, -0x308(%rbp)
leaq -0x1c8(%rbp), %rdi
xorl %esi, %esi
callq 0x8490
jmp 0x16d0c
movq -0x308(%rbp), %rsi
leaq -0x1b0(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
callq 0x8670
jmp 0x16d28
leaq -0x1b0(%rbp), %rdi
callq 0x83b0
movq %rax, -0x310(%rbp)
jmp 0x16d3d
callq 0x80d0
movq %rax, -0x318(%rbp)
jmp 0x16d4b
movq -0x318(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
callq 0x8800
jmp 0x16d60
movq -0x310(%rbp), %rsi
leaq -0x180(%rbp), %rdi
leaq -0x1e0(%rbp), %rdx
callq 0x88b0
jmp 0x16d7c
movq -0x248(%rbp), %rsi
addq $0x6a0, %rsi            # imm = 0x6A0
leaq -0x180(%rbp), %rdi
callq 0x8170
movq %rax, -0x320(%rbp)
jmp 0x16d9f
movq -0x320(%rbp), %rsi
movq -0x248(%rbp), %rdi
callq 0x17af0
movl %eax, -0x324(%rbp)
jmp 0x16dba
leaq -0x1f0(%rbp), %rdi
callq 0x8eb0
jmp 0x16dc8
leaq -0x1f0(%rbp), %rdi
callq 0x8ef0
movl %eax, -0x328(%rbp)
jmp 0x16ddc
leaq -0x1f0(%rbp), %rdi
callq 0x8f10
leaq -0x180(%rbp), %rdi
callq 0x8990
leaq -0x1e0(%rbp), %rdi
callq 0x8990
leaq -0x1b0(%rbp), %rdi
callq 0x8250
leaq -0x1c8(%rbp), %rdi
callq 0x8990
movl -0x328(%rbp), %ecx
movl -0x324(%rbp), %eax
cmpl %ecx, %eax
je 0x16ecd
movq -0x248(%rbp), %rdi
addq $0x6a0, %rdi            # imm = 0x6A0
xorl %esi, %esi
callq 0x87d0
jmp 0x16e43
jmp 0x16ecd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16ebc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16eb0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16ea4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x16e98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1f0(%rbp), %rdi
callq 0x8f10
leaq -0x180(%rbp), %rdi
callq 0x8990
leaq -0x1e0(%rbp), %rdi
callq 0x8990
leaq -0x1b0(%rbp), %rdi
callq 0x8250
leaq -0x1c8(%rbp), %rdi
callq 0x8990
jmp 0x17043
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x4, %esi
callq 0x1a500
movq %rax, -0x330(%rbp)
jmp 0x16eee
movq -0x330(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fbc
leaq 0x65db(%rip), %rsi      # 0x1d4e6
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x331(%rbp)
jmp 0x16f1f
movb -0x331(%rbp), %al
testb $0x1, %al
jne 0x16f2b
jmp 0x16f5f
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x5, %esi
callq 0x1a500
movq %rax, -0x340(%rbp)
jmp 0x16f4c
movq -0x340(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fba
leaq 0x6587(%rip), %rsi      # 0x1d4ed
leaq -0x148(%rbp), %rdi
callq 0x8850
movb %al, -0x341(%rbp)
jmp 0x16f7a
movb -0x341(%rbp), %al
testb $0x1, %al
jne 0x16f86
jmp 0x16fb8
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl $0x6, %esi
callq 0x1a500
movq %rax, -0x350(%rbp)
jmp 0x16fa7
movq -0x350(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x168(%rbp)
jmp 0x16fba
jmp 0x16fbc
jmp 0x16fbe
jmp 0x16fc0
jmp 0x16fc2
jmp 0x16fc4
cmpq $0x0, -0x168(%rbp)
je 0x17023
movq -0x168(%rbp), %rax
movq %rax, -0x360(%rbp)
movq -0x110(%rbp), %rdi
movl -0x12c(%rbp), %esi
callq 0x8860
movq %rax, -0x358(%rbp)
jmp 0x16ff7
movq -0x358(%rbp), %rdi
callq 0x8030
movq %rax, -0x368(%rbp)
jmp 0x1700c
movq -0x368(%rbp), %rsi
movq -0x360(%rbp), %rdi
callq 0x1a620
jmp 0x17021
jmp 0x17023
leaq -0x148(%rbp), %rdi
callq 0x8990
movl -0x12c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x12c(%rbp)
jmp 0x16983
leaq -0x148(%rbp), %rdi
callq 0x8990
jmp 0x173e9
leaq -0x38(%rbp), %rdi
callq 0x8260
movq %rax, -0x370(%rbp)
jmp 0x17066
leaq 0x6427(%rip), %rsi      # 0x1d494
leaq -0x210(%rbp), %rdi
callq 0x8800
jmp 0x1707b
movq -0x370(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x86b0
movq %rax, -0x378(%rbp)
jmp 0x17097
leaq -0x210(%rbp), %rdi
callq 0x8990
movq -0x378(%rbp), %rax
movq -0x248(%rbp), %rcx
movq %rax, -0x1f8(%rbp)
movq 0x600(%rcx), %rdx
movq 0x768(%rcx), %rdi
movq -0x1f8(%rbp), %rsi
addq $0x6b8, %rcx            # imm = 0x6B8
callq 0x95f0
jmp 0x170db
movl $0x0, -0x214(%rbp)
movq -0x248(%rbp), %rdi
movl -0x214(%rbp), %eax
movl %eax, -0x380(%rbp)
addq $0x6b8, %rdi            # imm = 0x6B8
callq 0xb410
movl %eax, -0x37c(%rbp)
jmp 0x1710c
movl -0x380(%rbp), %eax
movl -0x37c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x17382
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl -0x214(%rbp), %esi
callq 0x82c0
movl %eax, -0x384(%rbp)
jmp 0x17141
movl -0x384(%rbp), %eax
cmpl $0x0, %eax
jge 0x1716e
jmp 0x1736e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x8990
jmp 0x173e9
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl -0x214(%rbp), %esi
callq 0x1a500
movq %rax, -0x390(%rbp)
jmp 0x17190
movq -0x390(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x220(%rbp)
movq -0x220(%rbp), %rdi
callq 0xb5c0
movq %rax, -0x398(%rbp)
jmp 0x171b6
movq -0x398(%rbp), %rdi
xorl %esi, %esi
callq 0x8700
movb %al, -0x399(%rbp)
jmp 0x171cc
movb -0x399(%rbp), %al
testb $0x1, %al
jne 0x171d8
jmp 0x171dd
jmp 0x1736e
movl $0x0, -0x224(%rbp)
movq -0x248(%rbp), %rdi
movl -0x224(%rbp), %eax
movl %eax, -0x3a4(%rbp)
addq $0x6b8, %rdi            # imm = 0x6B8
callq 0xb410
movl %eax, -0x3a0(%rbp)
jmp 0x1720e
movl -0x3a4(%rbp), %eax
movl -0x3a0(%rbp), %ecx
cmpl %ecx, %eax
jge 0x1736c
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl -0x224(%rbp), %esi
callq 0x82c0
movl %eax, -0x3a8(%rbp)
jmp 0x17243
movl -0x3a8(%rbp), %eax
cmpl $0x0, %eax
jl 0x1725c
movl -0x214(%rbp), %eax
cmpl -0x224(%rbp), %eax
jne 0x17261
jmp 0x17358
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl -0x224(%rbp), %esi
callq 0x1a500
movq %rax, -0x3b0(%rbp)
jmp 0x17283
movq -0x3b0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x230(%rbp)
movq -0x220(%rbp), %rdi
callq 0xb5e0
movq %rax, -0x3b8(%rbp)
jmp 0x172a9
movq -0x230(%rbp), %rdi
callq 0xb5e0
movq %rax, -0x3c0(%rbp)
jmp 0x172be
movq -0x3c0(%rbp), %rsi
movq -0x3b8(%rbp), %rdi
callq 0x8590
movb %al, -0x3c1(%rbp)
jmp 0x172d9
movb -0x3c1(%rbp), %al
testb $0x1, %al
jne 0x172e5
jmp 0x17356
movq -0x230(%rbp), %rdi
callq 0xb5c0
movq %rax, -0x3d0(%rbp)
jmp 0x172fa
movq -0x3d0(%rbp), %rdi
xorl %esi, %esi
callq 0x8700
movb %al, -0x3d1(%rbp)
jmp 0x17310
movb -0x3d1(%rbp), %al
testb $0x1, %al
jne 0x1731c
jmp 0x17356
movq -0x220(%rbp), %rax
movq %rax, -0x3e8(%rbp)
movq -0x230(%rbp), %rdi
callq 0xb5c0
movq %rax, -0x3e0(%rbp)
jmp 0x1733f
movq -0x3e0(%rbp), %rsi
movq -0x3e8(%rbp), %rdi
callq 0xb580
jmp 0x17354
jmp 0x1736c
jmp 0x17358
movl -0x224(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x224(%rbp)
jmp 0x171e7
jmp 0x1736e
movl -0x214(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x214(%rbp)
jmp 0x170e5
movq -0x248(%rbp), %rax
movq 0x600(%rax), %rdi
xorl %esi, %esi
callq 0x8750
jmp 0x17399
movq -0x248(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
callq 0x1a4e0
movq %rax, -0x3f0(%rbp)
jmp 0x173b5
movq -0x248(%rbp), %rdi
movq -0x3f0(%rbp), %rax
movq (%rax), %rsi
callq 0x12750
jmp 0x173cd
movl $0x0, -0xa4(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x8510
addq $0x3f0, %rsp            # imm = 0x3F0
popq %rbp
retq
leaq -0x38(%rbp), %rdi
callq 0x8510
movq -0x40(%rbp), %rdi
callq 0x8290
nopl (%rax,%rax)