// File: tewalds[P]pentagod/agentab.cpp
// Function: AgentAB::search(double, unsigned long, int)
void AgentAB::search(double time, uint64_t maxiters, int verbose) {
	reset();
	if(rootboard.won() >= 0)
		return;

	if(TT == NULL)
		TT = new Node[maxnodes];

	Alarm timer;
	if (time > 0)
		timer(time/15, std::bind(&AgentAB::timedout, this));

	Time start;

	uint64_t nodes_start, seen, prev_nodes_seen = 0;
	for(unsigned int depth = 2; !timeout && depth < 36 && (maxiters == 0 || depth <= maxiters); depth++){
		maxdepth = depth;
		nodes_start = nodes_seen;
		Time start_depth;
		if (verbose)
			logerr("Depth " + to_str(depth) + "      ");
		negamax(rootboard, SCORE_LOSS, SCORE_WIN, depth);
		seen = nodes_seen - nodes_start;
		if (verbose) {
			logerr("time: " + to_str((Time() - start_depth)*1000, 0) + " msec, ");
			logerr("BF: " + to_str(prev_nodes_seen ? (double)(1.0*seen / prev_nodes_seen) : 0.0, 2) + ", Nodes: " + to_str(seen) + "\n");
		}
		prev_nodes_seen = seen;
	}

	time_used += Time() - start;

	if(verbose){
		logerr("Finished:    " + to_str(nodes_seen) + " nodes in " + to_str(time_used*1000, 0) + " msec: " + to_str((uint64_t)((double)nodes_seen/time_used)) + " Nodes/s\n");

		vector<Move> pv = get_pv();
		string pvstr;
		for(vector<Move>::iterator m = pv.begin(); m != pv.end(); ++m)
			pvstr += " " + m->to_s();
		logerr("PV:         " + pvstr + "\n");

		if(verbose >= 3)
			logerr("Move stats:\n" + move_stats(vector<Move>()));
	}
}

// Assembly:
subq $0x4e8, %rsp            # imm = 0x4E8
movq %rdi, 0x4e0(%rsp)
vmovsd %xmm0, 0x4d8(%rsp)
movq %rsi, 0x4d0(%rsp)
movl %edx, 0x4cc(%rsp)
movq 0x4e0(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x3b870
movq 0x58(%rsp), %rdi
addq $0x10, %rdi
callq 0x15fb0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x39a84
jmp 0x3a892
movq 0x58(%rsp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x39b85
movq 0x58(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x48(%rsp)
movl $0x18, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x4030
movq %rax, %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x50(%rsp)
cmpq $0x0, %rax
je 0x39b52
movq 0x50(%rsp), %rax
movq 0x48(%rsp), %rcx
imulq $0x18, %rcx, %rdx
movq %rax, %rcx
addq %rdx, %rcx
movq %rcx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x4c8(%rsp), %rdi
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
movl $0x8, %edx
callq 0x16890
jmp 0x39b17
movq 0x30(%rsp), %rdi
movl 0x4c8(%rsp), %ecx
movq $-0x1, %rsi
xorl %r9d, %r9d
movl %r9d, %edx
movl %r9d, %r8d
callq 0x3b8a0
jmp 0x39b3a
movq 0x38(%rsp), %rcx
movq 0x30(%rsp), %rax
addq $0x18, %rax
cmpq %rcx, %rax
movq %rax, 0x40(%rsp)
jne 0x39af4
movq 0x58(%rsp), %rax
movq 0x50(%rsp), %rcx
movq %rcx, 0x38(%rax)
jmp 0x39b85
movq 0x50(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
callq 0x44a0
jmp 0x3a8a7
leaq 0x4b8(%rsp), %rdi
callq 0x2cde0
vmovsd 0x4d8(%rsp), %xmm0
vpxor %xmm1, %xmm1, %xmm1
vucomisd %xmm1, %xmm0
jbe 0x39c8a
movq 0x58(%rsp), %rax
vmovsd 0x4d8(%rsp), %xmm0
vmovsd 0x7d81(%rip), %xmm1     # 0x41940
vdivsd %xmm1, %xmm0, %xmm0
vmovsd %xmm0, 0x28(%rsp)
movq $0x0, 0x478(%rsp)
movq $0x59, 0x470(%rsp)
movq %rax, 0x468(%rsp)
leaq 0x480(%rsp), %rdi
leaq 0x470(%rsp), %rsi
leaq 0x468(%rsp), %rdx
callq 0x3b900
jmp 0x39c08
leaq 0x498(%rsp), %rdi
leaq 0x480(%rsp), %rsi
callq 0x3b940
jmp 0x39c1f
vmovsd 0x28(%rsp), %xmm0
leaq 0x4b8(%rsp), %rdi
leaq 0x498(%rsp), %rsi
callq 0x2ce00
jmp 0x39c3c
leaq 0x498(%rsp), %rdi
callq 0x114c0
jmp 0x39c8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a89a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x498(%rsp), %rdi
callq 0x114c0
jmp 0x3a89a
leaq 0x460(%rsp), %rdi
callq 0x5500
jmp 0x39c99
movq $0x0, 0x448(%rsp)
movl $0x2, 0x444(%rsp)
movq 0x58(%rsp), %rax
movb 0x8(%rax), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x27(%rsp)
jne 0x39d02
xorl %eax, %eax
cmpl $0x24, 0x444(%rsp)
movb %al, 0x27(%rsp)
jae 0x39d02
movb $0x1, %al
cmpq $0x0, 0x4d0(%rsp)
movb %al, 0x26(%rsp)
je 0x39cfa
movl 0x444(%rsp), %eax
cmpq 0x4d0(%rsp), %rax
setbe %al
movb %al, 0x26(%rsp)
movb 0x26(%rsp), %al
movb %al, 0x27(%rsp)
movb 0x27(%rsp), %al
testb $0x1, %al
jne 0x39d0f
jmp 0x3a208
movq 0x58(%rsp), %rax
movl 0x444(%rsp), %ecx
movl %ecx, 0x50(%rax)
movq 0x58(%rax), %rax
movq %rax, 0x458(%rsp)
leaq 0x438(%rsp), %rdi
callq 0x5500
jmp 0x39d39
cmpl $0x0, 0x4cc(%rsp)
je 0x39e3d
movl 0x444(%rsp), %esi
leaq 0x3d8(%rsp), %rdi
callq 0xe560
jmp 0x39d5d
leaq 0x7bf4(%rip), %rsi      # 0x41958
leaq 0x3f8(%rsp), %rdi
leaq 0x3d8(%rsp), %rdx
callq 0xe5f0
jmp 0x39d7b
leaq 0x6a36(%rip), %rdx      # 0x407b8
leaq 0x418(%rsp), %rdi
leaq 0x3f8(%rsp), %rsi
callq 0x93b0
jmp 0x39d99
leaq 0x418(%rsp), %rdi
callq 0x15ad0
jmp 0x39da8
leaq 0x418(%rsp), %rdi
callq 0x4210
leaq 0x3f8(%rsp), %rdi
callq 0x4210
leaq 0x3d8(%rsp), %rdi
callq 0x4210
jmp 0x39e3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x39e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x39e1e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x418(%rsp), %rdi
callq 0x4210
leaq 0x3f8(%rsp), %rdi
callq 0x4210
leaq 0x3d8(%rsp), %rdi
callq 0x4210
jmp 0x3a89a
movq 0x58(%rsp), %rdi
movq %rdi, %rsi
addq $0x10, %rsi
movl 0x444(%rsp), %r8d
movl $0xffff8001, %edx       # imm = 0xFFFF8001
movl $0x7fff, %ecx           # imm = 0x7FFF
callq 0x3a8c0
jmp 0x39e62
movq 0x58(%rsp), %rax
movq 0x58(%rax), %rax
subq 0x458(%rsp), %rax
movq %rax, 0x450(%rsp)
cmpl $0x0, 0x4cc(%rsp)
je 0x3a1e2
leaq 0x370(%rsp), %rdi
callq 0x5500
jmp 0x39e98
leaq 0x370(%rsp), %rdi
leaq 0x438(%rsp), %rsi
callq 0x116e0
vmovsd %xmm0, 0x18(%rsp)
jmp 0x39eb5
vmovsd 0x18(%rsp), %xmm0
vmovsd 0x314d(%rip), %xmm1     # 0x3d010
vmulsd %xmm1, %xmm0, %xmm0
leaq 0x378(%rsp), %rdi
xorl %esi, %esi
callq 0x1e870
jmp 0x39ed8
leaq 0x472e(%rip), %rsi      # 0x3e60d
leaq 0x398(%rsp), %rdi
leaq 0x378(%rsp), %rdx
callq 0xe5f0
jmp 0x39ef6
leaq 0x7a62(%rip), %rdx      # 0x4195f
leaq 0x3b8(%rsp), %rdi
leaq 0x398(%rsp), %rsi
callq 0x93b0
jmp 0x39f14
leaq 0x3b8(%rsp), %rdi
callq 0x15ad0
jmp 0x39f23
leaq 0x3b8(%rsp), %rdi
callq 0x4210
leaq 0x398(%rsp), %rdi
callq 0x4210
leaq 0x378(%rsp), %rdi
callq 0x4210
cmpq $0x0, 0x448(%rsp)
je 0x39f83
vcvtusi2sdq 0x450(%rsp), %xmm0, %xmm1
vmovsd 0x7398(%rip), %xmm0     # 0x41300
vmulsd %xmm1, %xmm0, %xmm0
vcvtusi2sdq 0x448(%rsp), %xmm1, %xmm1
vdivsd %xmm1, %xmm0, %xmm0
vmovsd %xmm0, 0x10(%rsp)
jmp 0x39f8f
vpxor %xmm0, %xmm0, %xmm0
vmovsd %xmm0, 0x10(%rsp)
jmp 0x39f8f
vmovsd 0x10(%rsp), %xmm0
leaq 0x2d0(%rsp), %rdi
movl $0x2, %esi
callq 0x1e870
jmp 0x39fa9
leaq 0x79b7(%rip), %rsi      # 0x41967
leaq 0x2f0(%rsp), %rdi
leaq 0x2d0(%rsp), %rdx
callq 0xe5f0
jmp 0x39fc7
leaq 0x799e(%rip), %rdx      # 0x4196c
leaq 0x310(%rsp), %rdi
leaq 0x2f0(%rsp), %rsi
callq 0x93b0
jmp 0x39fe5
movq 0x450(%rsp), %rsi
leaq 0x2b0(%rsp), %rdi
callq 0x161a0
jmp 0x39ffc
leaq 0x330(%rsp), %rdi
leaq 0x310(%rsp), %rsi
leaq 0x2b0(%rsp), %rdx
callq 0xe470
jmp 0x3a01b
leaq 0x3a8e(%rip), %rdx      # 0x3dab0
leaq 0x350(%rsp), %rdi
leaq 0x330(%rsp), %rsi
callq 0x93b0
jmp 0x3a039
leaq 0x350(%rsp), %rdi
callq 0x15ad0
jmp 0x3a048
leaq 0x350(%rsp), %rdi
callq 0x4210
leaq 0x330(%rsp), %rdi
callq 0x4210
leaq 0x2b0(%rsp), %rdi
callq 0x4210
leaq 0x310(%rsp), %rdi
callq 0x4210
leaq 0x2f0(%rsp), %rdi
callq 0x4210
leaq 0x2d0(%rsp), %rdi
callq 0x4210
jmp 0x3a1e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a0f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a0e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x3b8(%rsp), %rdi
callq 0x4210
leaq 0x398(%rsp), %rdi
callq 0x4210
leaq 0x378(%rsp), %rdi
callq 0x4210
jmp 0x3a89a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a1d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a1c3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a1b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a1a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a19c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x350(%rsp), %rdi
callq 0x4210
leaq 0x330(%rsp), %rdi
callq 0x4210
leaq 0x2b0(%rsp), %rdi
callq 0x4210
leaq 0x310(%rsp), %rdi
callq 0x4210
leaq 0x2f0(%rsp), %rdi
callq 0x4210
leaq 0x2d0(%rsp), %rdi
callq 0x4210
jmp 0x3a89a
movq 0x450(%rsp), %rax
movq %rax, 0x448(%rsp)
movl 0x444(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x444(%rsp)
jmp 0x39cb0
leaq 0x2a8(%rsp), %rdi
callq 0x5500
jmp 0x3a217
leaq 0x2a8(%rsp), %rdi
leaq 0x460(%rsp), %rsi
callq 0x116e0
vmovsd %xmm0, 0x8(%rsp)
jmp 0x3a234
movq 0x58(%rsp), %rax
vmovsd 0x8(%rsp), %xmm0
vaddsd 0x60(%rax), %xmm0, %xmm0
vmovsd %xmm0, 0x60(%rax)
cmpl $0x0, 0x4cc(%rsp)
je 0x3a885
movq 0x58(%rsp), %rax
movq 0x58(%rax), %rsi
leaq 0x1c8(%rsp), %rdi
callq 0x161a0
jmp 0x3a26f
leaq 0x64a0(%rip), %rsi      # 0x40716
leaq 0x1e8(%rsp), %rdi
leaq 0x1c8(%rsp), %rdx
callq 0xe5f0
jmp 0x3a28d
leaq 0x76e2(%rip), %rdx      # 0x41976
leaq 0x208(%rsp), %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x93b0
jmp 0x3a2ab
movq 0x58(%rsp), %rax
vmovsd 0x60(%rax), %xmm0
vmovsd 0x2d53(%rip), %xmm1     # 0x3d010
vmulsd %xmm1, %xmm0, %xmm0
leaq 0x1a8(%rsp), %rdi
xorl %esi, %esi
callq 0x1e870
jmp 0x3a2d2
leaq 0x228(%rsp), %rdi
leaq 0x208(%rsp), %rsi
leaq 0x1a8(%rsp), %rdx
callq 0xe470
jmp 0x3a2f1
leaq 0x6436(%rip), %rdx      # 0x4072e
leaq 0x248(%rsp), %rdi
leaq 0x228(%rsp), %rsi
callq 0x93b0
jmp 0x3a30f
movq 0x58(%rsp), %rax
vcvtusi2sdq 0x58(%rax), %xmm0, %xmm0
vmovsd 0x60(%rax), %xmm1
vdivsd %xmm1, %xmm0, %xmm0
vcvttsd2usi %xmm0, %rsi
leaq 0x188(%rsp), %rdi
callq 0x161a0
jmp 0x3a339
leaq 0x268(%rsp), %rdi
leaq 0x248(%rsp), %rsi
leaq 0x188(%rsp), %rdx
callq 0xe470
jmp 0x3a358
leaq 0x7622(%rip), %rdx      # 0x41981
leaq 0x288(%rsp), %rdi
leaq 0x268(%rsp), %rsi
callq 0x93b0
jmp 0x3a376
leaq 0x288(%rsp), %rdi
callq 0x15ad0
jmp 0x3a385
leaq 0x288(%rsp), %rdi
callq 0x4210
leaq 0x268(%rsp), %rdi
callq 0x4210
leaq 0x188(%rsp), %rdi
callq 0x4210
leaq 0x248(%rsp), %rdi
callq 0x4210
leaq 0x228(%rsp), %rdi
callq 0x4210
leaq 0x1a8(%rsp), %rdi
callq 0x4210
leaq 0x208(%rsp), %rdi
callq 0x4210
leaq 0x1e8(%rsp), %rdi
callq 0x4210
leaq 0x1c8(%rsp), %rdi
callq 0x4210
movq 0x58(%rsp), %rsi
movq (%rsi), %rax
movq 0x40(%rax), %rax
leaq 0x170(%rsp), %rdi
callq *%rax
jmp 0x3a412
leaq 0x150(%rsp), %rdi
callq 0x44e0
leaq 0x170(%rsp), %rdi
callq 0x176e0
movq %rax, 0x148(%rsp)
leaq 0x170(%rsp), %rdi
callq 0x17560
movq %rax, 0x140(%rsp)
leaq 0x148(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x2d4b0
testb $0x1, %al
jne 0x3a467
jmp 0x3a698
leaq 0x148(%rsp), %rdi
callq 0x2d4f0
movq %rax, %rsi
leaq 0x100(%rsp), %rdi
xorl %edx, %edx
callq 0xdec0
jmp 0x3a488
leaq 0x632e(%rip), %rsi      # 0x407bd
leaq 0x120(%rsp), %rdi
leaq 0x100(%rsp), %rdx
callq 0xe5f0
jmp 0x3a4a6
leaq 0x150(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x4490
jmp 0x3a4bd
leaq 0x120(%rsp), %rdi
callq 0x4210
leaq 0x100(%rsp), %rdi
callq 0x4210
leaq 0x148(%rsp), %rdi
callq 0x2d500
jmp 0x3a434
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a624
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a617
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a60a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a5fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a5f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a5e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a5d6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a5c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x288(%rsp), %rdi
callq 0x4210
leaq 0x268(%rsp), %rdi
callq 0x4210
leaq 0x188(%rsp), %rdi
callq 0x4210
leaq 0x248(%rsp), %rdi
callq 0x4210
leaq 0x228(%rsp), %rdi
callq 0x4210
leaq 0x1a8(%rsp), %rdi
callq 0x4210
leaq 0x208(%rsp), %rdi
callq 0x4210
leaq 0x1e8(%rsp), %rdi
callq 0x4210
leaq 0x1c8(%rsp), %rdi
callq 0x4210
jmp 0x3a89a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a869
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a686
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0x120(%rsp), %rdi
callq 0x4210
leaq 0x100(%rsp), %rdi
callq 0x4210
jmp 0x3a869
leaq 0x6113(%rip), %rsi      # 0x407b2
leaq 0xc0(%rsp), %rdi
leaq 0x150(%rsp), %rdx
callq 0x9440
jmp 0x3a6b6
leaq 0x33f3(%rip), %rdx      # 0x3dab0
leaq 0xe0(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x93b0
jmp 0x3a6d4
leaq 0xe0(%rsp), %rdi
callq 0x15ad0
jmp 0x3a6e3
leaq 0xe0(%rsp), %rdi
callq 0x4210
leaq 0xc0(%rsp), %rdi
callq 0x4210
cmpl $0x3, 0x4cc(%rsp)
jl 0x3a84d
vpxor %xmm0, %xmm0, %xmm0
vmovdqa %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
leaq 0x60(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xcea0
movq 0x58(%rsp), %rsi
movq (%rsp), %rdx
movq (%rsi), %rax
movq 0x48(%rax), %rax
leaq 0x80(%rsp), %rdi
callq *%rax
jmp 0x3a748
leaq 0x6070(%rip), %rsi      # 0x407bf
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0xe5f0
jmp 0x3a766
leaq 0xa0(%rsp), %rdi
callq 0x15ad0
jmp 0x3a775
leaq 0xa0(%rsp), %rdi
callq 0x4210
leaq 0x80(%rsp), %rdi
callq 0x4210
leaq 0x60(%rsp), %rdi
callq 0xfb50
jmp 0x3a84d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a7d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0x4210
leaq 0xc0(%rsp), %rdi
callq 0x4210
jmp 0x3a869
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a841
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
jmp 0x3a834
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4c0(%rsp)
movl %eax, 0x4bc(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x4210
leaq 0x80(%rsp), %rdi
callq 0x4210
leaq 0x60(%rsp), %rdi
callq 0xfb50
jmp 0x3a869
leaq 0x150(%rsp), %rdi
callq 0x4210
leaq 0x170(%rsp), %rdi
callq 0xfb50
jmp 0x3a885
leaq 0x150(%rsp), %rdi
callq 0x4210
leaq 0x170(%rsp), %rdi
callq 0xfb50
jmp 0x3a89a
leaq 0x4b8(%rsp), %rdi
callq 0x2d540
addq $0x4e8, %rsp            # imm = 0x4E8
retq
leaq 0x4b8(%rsp), %rdi
callq 0x2d540
movq 0x4c0(%rsp), %rdi
callq 0x4660
nopw %cs:(%rax,%rax)