// File: malcolmyeh[P]CC3K/orc.cc
// Function: Orc::dealDamage[abi:cxx11](Character*)
std::string Orc::dealDamage(Character *opponent)
{
    double amount;
    double lifesteal;
    std::string combatMsg;
    std::string defender = opponent->getRace();
    int attack = this->Atk;
    int defense = opponent->getDef();

    amount = ceil((100.0 / (100.0 + defense)) * attack);

    int chance = rand() % 8;
    if (chance == 0)
    {
        //BESERK
        amount *= 1.5;
        lifesteal = amount * 0.25;
        this->heal((int)lifesteal);
        opponent->takeDamage((int)amount);
        combatMsg = "BESERK! You deal " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + "). You lifesteal for " + std::to_string((int)lifesteal) + " HP (HP: " + std::to_string(this->HP) + "). ";

    }
    else if (chance == 1 || chance == 2)
    {
        //lifesteal
        lifesteal = amount * 0.25;
        this->heal((int)lifesteal);
        opponent->takeDamage((int)amount);
        combatMsg = "You deal " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + "). You lifesteal for " + std::to_string((int)lifesteal) + " HP (HP: " + std::to_string(this->HP) + "). ";
    }
    else if (chance == 3 || chance == 4)
    {
        //critical hit
        amount *= 1.5;
        opponent->takeDamage((int)amount);
        combatMsg = "You deal " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + "). ";
    }
    else
    {
        opponent->takeDamage((int)amount);
        combatMsg = "You deal " + std::to_string((int)amount) + " damage to " + defender + " (HP: " + std::to_string(opponent->getHP()) + "). ";
    }

    if (opponent->getHP() == 0)
    {
        combatMsg += defender + " has been slain. You have earned " + std::to_string(opponent->getGold()) + " gold. ";
        this->updateGold(opponent->getGold());
    }
    return combatMsg;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x6a0, %rsp            # imm = 0x6A0
movq %rdi, -0x680(%rbp)
movq %rdi, %rax
movq %rax, -0x678(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x670(%rbp)
movb $0x0, -0x29(%rbp)
callq 0x4280
movq -0x18(%rbp), %rsi
movq (%rsi), %rax
movq 0x28(%rax), %rax
leaq -0x50(%rbp), %rdi
callq *%rax
jmp 0x12dbf
movq -0x670(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movl %eax, -0x684(%rbp)
jmp 0x12de1
movl -0x684(%rbp), %eax
movl %eax, -0x64(%rbp)
cvtsi2sdl -0x64(%rbp), %xmm0
movsd 0xba71(%rip), %xmm1     # 0x1e868
addsd %xmm0, %xmm1
movsd 0xba65(%rip), %xmm0     # 0x1e868
divsd %xmm1, %xmm0
cvtsi2sdl -0x60(%rbp), %xmm1
mulsd %xmm1, %xmm0
callq 0x4050
movsd %xmm0, -0x20(%rbp)
callq 0x4090
movl $0x8, %ecx
cltd
idivl %ecx
movl %edx, -0x68(%rbp)
cmpl $0x0, -0x68(%rbp)
jne 0x13252
movq -0x670(%rbp), %rdi
movsd -0x20(%rbp), %xmm0
movsd 0xbac8(%rip), %xmm1     # 0x1e910
mulsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movsd -0x20(%rbp), %xmm0
movsd 0xbaba(%rip), %xmm1     # 0x1e918
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
cvttsd2si -0x28(%rbp), %esi
callq 0x11c80
jmp 0x12e73
movq -0x18(%rbp), %rdi
cvttsd2si -0x20(%rbp), %esi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
jmp 0x12e87
cvttsd2si -0x20(%rbp), %esi
leaq -0x1c8(%rbp), %rdi
callq 0xdbe0
jmp 0x12e9a
leaq 0xba83(%rip), %rsi      # 0x1e924
leaq -0x1a8(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
callq 0xdb90
jmp 0x12eb6
leaq 0xb9b3(%rip), %rdx      # 0x1e870
leaq -0x188(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0xdb40
jmp 0x12ed2
leaq -0x168(%rbp), %rdi
leaq -0x188(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x11e00
jmp 0x12eeb
leaq 0xbca0(%rip), %rdx      # 0x1eb92
leaq -0x148(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0xdb40
jmp 0x12f07
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, -0x688(%rbp)
jmp 0x12f1c
movl -0x688(%rbp), %esi
leaq -0x1e8(%rbp), %rdi
callq 0xdbe0
jmp 0x12f30
leaq -0x128(%rbp), %rdi
leaq -0x148(%rbp), %rsi
leaq -0x1e8(%rbp), %rdx
callq 0x11d30
jmp 0x12f4c
leaq 0xb9e3(%rip), %rdx      # 0x1e936
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0xdb40
jmp 0x12f68
cvttsd2si -0x28(%rbp), %esi
leaq -0x208(%rbp), %rdi
callq 0xdbe0
jmp 0x12f7b
leaq -0xe8(%rbp), %rdi
leaq -0x108(%rbp), %rsi
leaq -0x208(%rbp), %rdx
callq 0x11d30
jmp 0x12f97
leaq 0xb5ba(%rip), %rdx      # 0x1e558
leaq -0xc8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0xdb40
jmp 0x12fb3
movq -0x670(%rbp), %rax
movl 0x10(%rax), %esi
leaq -0x228(%rbp), %rdi
callq 0xdbe0
jmp 0x12fcb
leaq -0xa8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0x228(%rbp), %rdx
callq 0x11d30
jmp 0x12fe7
leaq 0xbb1f(%rip), %rdx      # 0x1eb0d
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0xdb40
jmp 0x13003
movq -0x680(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x4220
leaq -0x88(%rbp), %rdi
callq 0x4130
leaq -0xa8(%rbp), %rdi
callq 0x4130
leaq -0x228(%rbp), %rdi
callq 0x4130
leaq -0xc8(%rbp), %rdi
callq 0x4130
leaq -0xe8(%rbp), %rdi
callq 0x4130
leaq -0x208(%rbp), %rdi
callq 0x4130
leaq -0x108(%rbp), %rdi
callq 0x4130
leaq -0x128(%rbp), %rdi
callq 0x4130
leaq -0x1e8(%rbp), %rdi
callq 0x4130
leaq -0x148(%rbp), %rdi
callq 0x4130
leaq -0x168(%rbp), %rdi
callq 0x4130
leaq -0x188(%rbp), %rdi
callq 0x4130
leaq -0x1a8(%rbp), %rdi
callq 0x4130
leaq -0x1c8(%rbp), %rdi
callq 0x4130
jmp 0x13aca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13c7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13c58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13241
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13235
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13229
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1321d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13211
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13205
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131f9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131ed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131e1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x131bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x4130
leaq -0x228(%rbp), %rdi
callq 0x4130
leaq -0xc8(%rbp), %rdi
callq 0x4130
leaq -0xe8(%rbp), %rdi
callq 0x4130
leaq -0x208(%rbp), %rdi
callq 0x4130
leaq -0x108(%rbp), %rdi
callq 0x4130
leaq -0x128(%rbp), %rdi
callq 0x4130
leaq -0x1e8(%rbp), %rdi
callq 0x4130
leaq -0x148(%rbp), %rdi
callq 0x4130
leaq -0x168(%rbp), %rdi
callq 0x4130
leaq -0x188(%rbp), %rdi
callq 0x4130
leaq -0x1a8(%rbp), %rdi
callq 0x4130
leaq -0x1c8(%rbp), %rdi
callq 0x4130
jmp 0x13c58
cmpl $0x1, -0x68(%rbp)
je 0x13262
cmpl $0x2, -0x68(%rbp)
jne 0x13648
movq -0x670(%rbp), %rdi
movsd -0x20(%rbp), %xmm0
movsd 0xb6a2(%rip), %xmm1     # 0x1e918
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
cvttsd2si -0x28(%rbp), %esi
callq 0x11c80
jmp 0x1328b
movq -0x18(%rbp), %rdi
cvttsd2si -0x20(%rbp), %esi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
jmp 0x1329f
cvttsd2si -0x20(%rbp), %esi
leaq -0x388(%rbp), %rdi
callq 0xdbe0
jmp 0x132b2
leaq 0xb673(%rip), %rsi      # 0x1e92c
leaq -0x368(%rbp), %rdi
leaq -0x388(%rbp), %rdx
callq 0xdb90
jmp 0x132ce
leaq 0xb59b(%rip), %rdx      # 0x1e870
leaq -0x348(%rbp), %rdi
leaq -0x368(%rbp), %rsi
callq 0xdb40
jmp 0x132ea
leaq -0x328(%rbp), %rdi
leaq -0x348(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x11e00
jmp 0x13303
leaq 0xb888(%rip), %rdx      # 0x1eb92
leaq -0x308(%rbp), %rdi
leaq -0x328(%rbp), %rsi
callq 0xdb40
jmp 0x1331f
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, -0x68c(%rbp)
jmp 0x13334
movl -0x68c(%rbp), %esi
leaq -0x3a8(%rbp), %rdi
callq 0xdbe0
jmp 0x13348
leaq -0x2e8(%rbp), %rdi
leaq -0x308(%rbp), %rsi
leaq -0x3a8(%rbp), %rdx
callq 0x11d30
jmp 0x13364
leaq 0xb5cb(%rip), %rdx      # 0x1e936
leaq -0x2c8(%rbp), %rdi
leaq -0x2e8(%rbp), %rsi
callq 0xdb40
jmp 0x13380
cvttsd2si -0x28(%rbp), %esi
leaq -0x3c8(%rbp), %rdi
callq 0xdbe0
jmp 0x13393
leaq -0x2a8(%rbp), %rdi
leaq -0x2c8(%rbp), %rsi
leaq -0x3c8(%rbp), %rdx
callq 0x11d30
jmp 0x133af
leaq 0xb1a2(%rip), %rdx      # 0x1e558
leaq -0x288(%rbp), %rdi
leaq -0x2a8(%rbp), %rsi
callq 0xdb40
jmp 0x133cb
movq -0x670(%rbp), %rax
movl 0x10(%rax), %esi
leaq -0x3e8(%rbp), %rdi
callq 0xdbe0
jmp 0x133e3
leaq -0x268(%rbp), %rdi
leaq -0x288(%rbp), %rsi
leaq -0x3e8(%rbp), %rdx
callq 0x11d30
jmp 0x133ff
leaq 0xb707(%rip), %rdx      # 0x1eb0d
leaq -0x248(%rbp), %rdi
leaq -0x268(%rbp), %rsi
callq 0xdb40
jmp 0x1341b
movq -0x680(%rbp), %rdi
leaq -0x248(%rbp), %rsi
callq 0x4220
leaq -0x248(%rbp), %rdi
callq 0x4130
leaq -0x268(%rbp), %rdi
callq 0x4130
leaq -0x3e8(%rbp), %rdi
callq 0x4130
leaq -0x288(%rbp), %rdi
callq 0x4130
leaq -0x2a8(%rbp), %rdi
callq 0x4130
leaq -0x3c8(%rbp), %rdi
callq 0x4130
leaq -0x2c8(%rbp), %rdi
callq 0x4130
leaq -0x2e8(%rbp), %rdi
callq 0x4130
leaq -0x3a8(%rbp), %rdi
callq 0x4130
leaq -0x308(%rbp), %rdi
callq 0x4130
leaq -0x328(%rbp), %rdi
callq 0x4130
leaq -0x348(%rbp), %rdi
callq 0x4130
leaq -0x368(%rbp), %rdi
callq 0x4130
leaq -0x388(%rbp), %rdi
callq 0x4130
jmp 0x13ac8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13637
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1362b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1361f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13613
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13607
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x135b3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x268(%rbp), %rdi
callq 0x4130
leaq -0x3e8(%rbp), %rdi
callq 0x4130
leaq -0x288(%rbp), %rdi
callq 0x4130
leaq -0x2a8(%rbp), %rdi
callq 0x4130
leaq -0x3c8(%rbp), %rdi
callq 0x4130
leaq -0x2c8(%rbp), %rdi
callq 0x4130
leaq -0x2e8(%rbp), %rdi
callq 0x4130
leaq -0x3a8(%rbp), %rdi
callq 0x4130
leaq -0x308(%rbp), %rdi
callq 0x4130
leaq -0x328(%rbp), %rdi
callq 0x4130
leaq -0x348(%rbp), %rdi
callq 0x4130
leaq -0x368(%rbp), %rdi
callq 0x4130
leaq -0x388(%rbp), %rdi
callq 0x4130
jmp 0x13c58
cmpl $0x3, -0x68(%rbp)
je 0x13658
cmpl $0x4, -0x68(%rbp)
jne 0x1389a
movsd -0x20(%rbp), %xmm0
movsd 0xb2ab(%rip), %xmm1     # 0x1e910
mulsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rdi
cvttsd2si -0x20(%rbp), %esi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
jmp 0x13682
cvttsd2si -0x20(%rbp), %esi
leaq -0x4c8(%rbp), %rdi
callq 0xdbe0
jmp 0x13695
leaq 0xb290(%rip), %rsi      # 0x1e92c
leaq -0x4a8(%rbp), %rdi
leaq -0x4c8(%rbp), %rdx
callq 0xdb90
jmp 0x136b1
leaq 0xb1b8(%rip), %rdx      # 0x1e870
leaq -0x488(%rbp), %rdi
leaq -0x4a8(%rbp), %rsi
callq 0xdb40
jmp 0x136cd
leaq -0x468(%rbp), %rdi
leaq -0x488(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x11e00
jmp 0x136e6
leaq 0xb4a5(%rip), %rdx      # 0x1eb92
leaq -0x448(%rbp), %rdi
leaq -0x468(%rbp), %rsi
callq 0xdb40
jmp 0x13702
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, -0x690(%rbp)
jmp 0x13717
movl -0x690(%rbp), %esi
leaq -0x4e8(%rbp), %rdi
callq 0xdbe0
jmp 0x1372b
leaq -0x428(%rbp), %rdi
leaq -0x448(%rbp), %rsi
leaq -0x4e8(%rbp), %rdx
callq 0x11d30
jmp 0x13747
leaq 0xb3bf(%rip), %rdx      # 0x1eb0d
leaq -0x408(%rbp), %rdi
leaq -0x428(%rbp), %rsi
callq 0xdb40
jmp 0x13763
movq -0x680(%rbp), %rdi
leaq -0x408(%rbp), %rsi
callq 0x4220
leaq -0x408(%rbp), %rdi
callq 0x4130
leaq -0x428(%rbp), %rdi
callq 0x4130
leaq -0x4e8(%rbp), %rdi
callq 0x4130
leaq -0x448(%rbp), %rdi
callq 0x4130
leaq -0x468(%rbp), %rdi
callq 0x4130
leaq -0x488(%rbp), %rdi
callq 0x4130
leaq -0x4a8(%rbp), %rdi
callq 0x4130
leaq -0x4c8(%rbp), %rdi
callq 0x4130
jmp 0x13ac6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13889
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1387d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13871
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13865
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13859
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1384d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x428(%rbp), %rdi
callq 0x4130
leaq -0x4e8(%rbp), %rdi
callq 0x4130
leaq -0x448(%rbp), %rdi
callq 0x4130
leaq -0x468(%rbp), %rdi
callq 0x4130
leaq -0x488(%rbp), %rdi
callq 0x4130
leaq -0x4a8(%rbp), %rdi
callq 0x4130
leaq -0x4c8(%rbp), %rdi
callq 0x4130
jmp 0x13c58
movq -0x18(%rbp), %rdi
cvttsd2si -0x20(%rbp), %esi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
jmp 0x138ae
cvttsd2si -0x20(%rbp), %esi
leaq -0x5c8(%rbp), %rdi
callq 0xdbe0
jmp 0x138c1
leaq 0xb064(%rip), %rsi      # 0x1e92c
leaq -0x5a8(%rbp), %rdi
leaq -0x5c8(%rbp), %rdx
callq 0xdb90
jmp 0x138dd
leaq 0xaf8c(%rip), %rdx      # 0x1e870
leaq -0x588(%rbp), %rdi
leaq -0x5a8(%rbp), %rsi
callq 0xdb40
jmp 0x138f9
leaq -0x568(%rbp), %rdi
leaq -0x588(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x11e00
jmp 0x13912
leaq 0xb279(%rip), %rdx      # 0x1eb92
leaq -0x548(%rbp), %rdi
leaq -0x568(%rbp), %rsi
callq 0xdb40
jmp 0x1392e
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, -0x694(%rbp)
jmp 0x13943
movl -0x694(%rbp), %esi
leaq -0x5e8(%rbp), %rdi
callq 0xdbe0
jmp 0x13957
leaq -0x528(%rbp), %rdi
leaq -0x548(%rbp), %rsi
leaq -0x5e8(%rbp), %rdx
callq 0x11d30
jmp 0x13973
leaq 0xb193(%rip), %rdx      # 0x1eb0d
leaq -0x508(%rbp), %rdi
leaq -0x528(%rbp), %rsi
callq 0xdb40
jmp 0x1398f
movq -0x680(%rbp), %rdi
leaq -0x508(%rbp), %rsi
callq 0x4220
leaq -0x508(%rbp), %rdi
callq 0x4130
leaq -0x528(%rbp), %rdi
callq 0x4130
leaq -0x5e8(%rbp), %rdi
callq 0x4130
leaq -0x548(%rbp), %rdi
callq 0x4130
leaq -0x568(%rbp), %rdi
callq 0x4130
leaq -0x588(%rbp), %rdi
callq 0x4130
leaq -0x5a8(%rbp), %rdi
callq 0x4130
leaq -0x5c8(%rbp), %rdi
callq 0x4130
jmp 0x13ac6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13ab5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13aa9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13a9d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13a91
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13a85
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13a79
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x528(%rbp), %rdi
callq 0x4130
leaq -0x5e8(%rbp), %rdi
callq 0x4130
leaq -0x548(%rbp), %rdi
callq 0x4130
leaq -0x568(%rbp), %rdi
callq 0x4130
leaq -0x588(%rbp), %rdi
callq 0x4130
leaq -0x5a8(%rbp), %rdi
callq 0x4130
leaq -0x5c8(%rbp), %rdi
callq 0x4130
jmp 0x13c58
jmp 0x13ac8
jmp 0x13aca
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, -0x698(%rbp)
jmp 0x13adf
movl -0x698(%rbp), %eax
cmpl $0x0, %eax
jne 0x13c43
leaq 0xad87(%rip), %rdx      # 0x1e87c
leaq -0x648(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xdac0
jmp 0x13b07
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movl %eax, -0x69c(%rbp)
jmp 0x13b1c
movl -0x69c(%rbp), %esi
leaq -0x668(%rbp), %rdi
callq 0xdbe0
jmp 0x13b30
leaq -0x628(%rbp), %rdi
leaq -0x648(%rbp), %rsi
leaq -0x668(%rbp), %rdx
callq 0x11d30
jmp 0x13b4c
leaq 0xa763(%rip), %rdx      # 0x1e2b6
leaq -0x608(%rbp), %rdi
leaq -0x628(%rbp), %rsi
callq 0xdb40
jmp 0x13b68
movq -0x680(%rbp), %rdi
leaq -0x608(%rbp), %rsi
callq 0x4240
jmp 0x13b7d
leaq -0x608(%rbp), %rdi
callq 0x4130
leaq -0x628(%rbp), %rdi
callq 0x4130
leaq -0x668(%rbp), %rdi
callq 0x4130
leaq -0x648(%rbp), %rdi
callq 0x4130
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movl %eax, -0x6a0(%rbp)
jmp 0x13bc2
movl -0x6a0(%rbp), %esi
movq -0x670(%rbp), %rdi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x13bd9
jmp 0x13c43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13c35
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13c29
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x13c1d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x608(%rbp), %rdi
callq 0x4130
leaq -0x628(%rbp), %rdi
callq 0x4130
leaq -0x668(%rbp), %rdi
callq 0x4130
leaq -0x648(%rbp), %rdi
callq 0x4130
jmp 0x13c58
movb $0x1, -0x29(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4130
testb $0x1, -0x29(%rbp)
jne 0x13c6f
jmp 0x13c63
leaq -0x50(%rbp), %rdi
callq 0x4130
jmp 0x13c7f
movq -0x680(%rbp), %rdi
callq 0x4130
movq -0x678(%rbp), %rax
addq $0x6a0, %rsp            # imm = 0x6A0
popq %rbp
retq
movq -0x680(%rbp), %rdi
callq 0x4130
movq -0x58(%rbp), %rdi
callq 0x42f0
nopw %cs:(%rax,%rax)
nop