// File: /workspace/github_cpp_makefile_star2_O2/amit-mittal[P]FTP/ftpServer.cpp
// Function: ftpServer::sendResponse()
int ftpServer::sendResponse(){	
	string cmd = recvControl(MAXBUFFSIZE);
	FILE *pf;
	string str, responseControl;
	char output[MAXBUFFSIZE];
	if(DEBUG)
		cout << "Got command from client: " << cmd << endl;

	if(cmd.substr(0, 3) == "pwd"){
		
		pf = popen(cmd.append(" 2>&1").c_str(), "r");
		if(!pf){
			sendData(" ");
      			sendControl("Error occurred while opening pipe for output, calling fork or allocating memory.\n");
			cout << "Command could NOT be successfully executed for client\n";
			return(0); 
		}

		fgets(output, MAXBUFFSIZE-1, pf);
		str = output;
		sendData(str);
		if (pclose(pf) != 0){
			sendControl("Incorrect use of pwd \n");
			cout << "Command could NOT be successfully executed for client\n";
			return(0);
		}

		sendControl("pwd successfully executed in server \n");
		cout << "Command successfully executed for client\n";
	} 

	else if(cmd.substr(0, 2) == "ls"){
		pf = popen(cmd.append(" 2>&1").c_str(), "r");	//popen does not return stderr file handle. Only stdout. So we are redirecting stderr to stdout
		if(!pf){
			sendData(" ");
      			sendControl("Error occurred while opening pipe for output, calling fork or allocating memory.\n");
			cout << "Command could NOT be successfully executed for client\n";
			return(0); 
		}
	
		while(fgets(output, MAXBUFFSIZE-1, pf)){
			if(str.size() + strlen(output) >= MAXBUFFSIZE){
				sendData(str);
				str = "";
			}
			str.append(output);
		}
		
		str.append(" ");
		sendData(str);
		if (pclose(pf) != 0){
			sendControl("Incorrect use of ls \n");
			cout << "Command could NOT be successfully executed for client\n";
			return(0);
		}
		
		sendControl("ls successfully executed in server \n");
		cout << "Command successfully executed for client\n";
	} 

	else if(cmd.substr(0, 2) == "cd"){

		if(cmd.size() == 2){
			char *env = getenv("HOME");
			chdir(env);
			sendControl("Directory successfully changed \n");
			cout << "Command successfully executed for client\n";
			return(0);
		}

		if(cmd.substr(2, 2) == " ~"){
			char *env = getenv("HOME");
			cmd.replace(3, 1, env);
		}

		if(chdir(cmd.substr(3).c_str())){
			str = "Error occurred while changing directory using cd in server\ncd: ";
			str.append(cmd.substr(3)).append(": No such file or directory\n");
			sendControl(str);
			cout << "Command could NOT be successfully executed for client\n";
		}
		else {
			sendControl("Directory successfully changed \n");
			cout << "Command successfully executed for client\n";
		}
	}

	else if(cmd.substr(0, 3) == "put"){
		if(fileExists(cmd.substr(4).c_str())){
			sendControl("EXISTS");
			cout << "Command could NOT be successfully executed for client\n";
			return(0);
		}
		sendControl("DNE");	//Does Not Exist
		responseControl = recvControl(MAXBUFFSIZE);
		if(responseControl == "EMPTY"){
			FILE *fp = fopen(cmd.substr(4).c_str(), "w");
			fclose(fp);
			cout << "Command successfully executed for client\n";
			return 0;
		}
		if(receiveFile(cmd.substr(4))){
			sendControl("Error occurred while receiving file in server \n");
			cout << "Command could NOT be successfully executed for client\n";
		}
		else {
			sendControl("File successfully received in server \n");
			cout << "Command successfully executed for client\n";
		}
	}

	else if(cmd.substr(0, 3) == "get"){
		if(!fileExists(cmd.substr(4).c_str())){
			sendControl("DNE");
			cout << "Command could NOT be successfully executed for client\n";
			return(0);
		}
		sendControl("EXISTS");	//File Exists
		if(isEmpty(cmd.substr(4))){
			sendControl("EMPTY");	//Empty File
			cout << "Command could NOT be successfully executed for client\n";
			return(0);
		}
		sendControl("NEF");	//Not Empty File (NEF)
		if(transferFile(cmd.substr(4)) < 0){
			sendControl("Error occurred while sending file from server \n");
			cout << "Command could NOT be successfully executed for client\n";
		}
		else {
			sendControl("File successfully sent from server \n");
			cout << "Command successfully executed for client\n";
		}
	}

	else if(cmd == "quit"){
		d_socket.close();
		c_socket.close();
		cout << "Child Process exiting ... \n";
		cout << "Command successfully executed for client\n";
		exit(0);
	}

	else {
		sendControl("Invalid command sent to server \n");
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7e8, %rsp            # imm = 0x7E8
movq %rdi, %r15
leaq -0x68(%rbp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x400, %edx            # imm = 0x400
callq 0x2d06
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq -0x3e0(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq -0x48(%rbp), %rdi
pushq $0x3
popq %rcx
movq %rbx, %rsi
xorl %edx, %edx
callq 0x21f0
leaq 0x2141(%rip), %rsi      # 0x50e3
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x3083
leaq 0x211e(%rip), %rsi      # 0x50e7
leaq -0x68(%rbp), %rdi
callq 0x23a0
movq (%rax), %rdi
leaq 0x2111(%rip), %rsi      # 0x50ed
callq 0x20b0
testq %rax, %rax
je 0x3208
movq %rax, %rbx
leaq -0x810(%rbp), %r14
movq %r14, %rdi
movl $0x3ff, %esi            # imm = 0x3FF
movq %rax, %rdx
callq 0x2320
leaq -0x90(%rbp), %rdi
movq %r14, %rsi
callq 0x23b0
leaq -0x390(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x2290
leaq -0x390(%rbp), %rsi
movq %r15, %rdi
callq 0x2c40
leaq -0x390(%rbp), %rdi
callq 0x2100
movq %rbx, %rdi
callq 0x22b0
testl %eax, %eax
je 0x3389
leaq 0x2120(%rip), %rsi      # 0x5178
leaq -0x370(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x370(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x370(%rbp), %rdi
jmp 0x382d
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x2
popq %rcx
xorl %edx, %edx
callq 0x21f0
leaq 0x2143(%rip), %rsi      # 0x51df
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x316a
leaq 0x2028(%rip), %rsi      # 0x50e7
leaq -0x68(%rbp), %rdi
callq 0x23a0
movq (%rax), %rdi
leaq 0x201b(%rip), %rsi      # 0x50ed
callq 0x20b0
testq %rax, %rax
je 0x33bb
movq %rax, %r14
movq %r15, -0x70(%rbp)
leaq -0x810(%rbp), %r15
leaq -0x410(%rbp), %r12
leaq -0x90(%rbp), %r13
movq %r15, %rdi
movl $0x3ff, %esi            # imm = 0x3FF
movq %r14, %rdx
callq 0x2320
testq %rax, %rax
je 0x326c
movq -0x88(%rbp), %rbx
movq %r15, %rdi
callq 0x20f0
addq %rbx, %rax
cmpq $0x400, %rax            # imm = 0x400
jb 0x315d
movq %r12, %rdi
movq %r13, %rsi
callq 0x2290
movq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x2c40
movq %r12, %rdi
callq 0x2100
movq %r13, %rdi
leaq 0x22d2(%rip), %rsi      # 0x542a
callq 0x23b0
movq %r13, %rdi
movq %r15, %rsi
callq 0x23a0
jmp 0x30fc
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x2
popq %rcx
xorl %edx, %edx
callq 0x21f0
leaq 0x209a(%rip), %rsi      # 0x521d
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x32f3
cmpq $0x2, -0x60(%rbp)
jne 0x341f
leaq 0x206f(%rip), %rdi      # 0x5220
callq 0x2260
movq %rax, %rdi
callq 0x22d0
leaq 0x2060(%rip), %rsi      # 0x5225
leaq -0x290(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x290(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x290(%rbp), %rdi
callq 0x2100
movq 0x4dd9(%rip), %rdi      # 0x7fd0
leaq 0x1fb7(%rip), %rsi      # 0x51b5
callq 0x21d0
jmp 0x3915
leaq 0x228e(%rip), %rsi      # 0x549d
leaq -0x3d0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x3d0(%rbp), %rsi
movq %r15, %rdi
callq 0x2c40
leaq -0x3d0(%rbp), %rdi
callq 0x2100
leaq 0x1eae(%rip), %rsi      # 0x50ef
leaq -0x3b0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x3b0(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x3b0(%rbp), %rdi
jmp 0x382d
leaq 0x222a(%rip), %rsi      # 0x549d
leaq -0x90(%rbp), %rdi
callq 0x23a0
movq -0x70(%rbp), %rbx
leaq -0x2f0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x2290
leaq -0x2f0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2c40
leaq -0x2f0(%rbp), %rdi
callq 0x2100
movq %r14, %rdi
callq 0x22b0
testl %eax, %eax
je 0x361a
leaq 0x1f1a(%rip), %rsi      # 0x51e2
leaq -0x2d0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x2d0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2cae
leaq -0x2d0(%rbp), %rdi
jmp 0x382d
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x3
popq %rcx
xorl %edx, %edx
callq 0x21f0
leaq 0x1f9a(%rip), %rsi      # 0x52a6
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x351a
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
movq (%rbx), %rsi
callq 0x3bdc
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testl %r14d, %r14d
je 0x369b
leaq 0x1f4c(%rip), %rsi      # 0x52aa
leaq -0x230(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x230(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x230(%rbp), %rdi
jmp 0x382d
leaq 0x1dff(%rip), %rsi      # 0x518f
leaq -0x350(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x350(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x350(%rbp), %rdi
jmp 0x38fd
leaq 0x20db(%rip), %rsi      # 0x549d
leaq -0x330(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x330(%rbp), %rsi
movq %r15, %rdi
callq 0x2c40
leaq -0x330(%rbp), %rdi
callq 0x2100
leaq 0x1cfb(%rip), %rsi      # 0x50ef
leaq -0x310(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x310(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x310(%rbp), %rdi
jmp 0x382d
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x2
popq %rcx
movq %rcx, %rdx
callq 0x21f0
leaq 0x1e0d(%rip), %rsi      # 0x5246
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x346f
leaq 0x1dc8(%rip), %rdi      # 0x5220
callq 0x2260
leaq -0x68(%rbp), %rdi
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
movq %rax, %rcx
callq 0x2140
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x3
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
movq (%rbx), %rdi
callq 0x22d0
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testl %r14d, %r14d
je 0x3764
leaq 0x1da4(%rip), %rsi      # 0x5249
leaq -0x90(%rbp), %rdi
callq 0x23b0
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x3
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x90(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x23d0
leaq 0x1dae(%rip), %rsi      # 0x5289
movq %rax, %rdi
callq 0x23a0
leaq -0x48(%rbp), %rdi
callq 0x2100
leaq -0x270(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x2290
leaq -0x270(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x270(%rbp), %rdi
jmp 0x382d
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x3
popq %rcx
xorl %edx, %edx
callq 0x21f0
leaq 0x1de1(%rip), %rsi      # 0x5314
movq %rbx, %rdi
callq 0x4151
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testb %r14b, %r14b
je 0x364c
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
movq (%rbx), %rsi
callq 0x3bdc
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2100
testl %r14d, %r14d
je 0x3796
leaq 0x1d25(%rip), %rsi      # 0x52aa
leaq -0x170(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x170(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x170(%rbp), %rdi
callq 0x2100
leaq -0x150(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x150(%rbp), %rsi
callq 0x3d08
movl %eax, %ebx
leaq -0x150(%rbp), %rdi
callq 0x2100
testl %ebx, %ebx
je 0x383e
leaq 0x1cc6(%rip), %rsi      # 0x52b5
leaq -0x130(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x130(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x130(%rbp), %rdi
jmp 0x382d
leaq 0x1bd7(%rip), %rsi      # 0x51f8
leaq -0x2b0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x2b0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2cae
leaq -0x2b0(%rbp), %rdi
jmp 0x38fd
leaq 0x1cee(%rip), %rsi      # 0x5341
leaq -0x68(%rbp), %rdi
callq 0x4151
testb %al, %al
jne 0x394a
leaq 0x1cf7(%rip), %rsi      # 0x5362
leaq -0xb0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0xb0(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0xb0(%rbp), %rdi
callq 0x2100
jmp 0x3915
leaq 0x1c0f(%rip), %rsi      # 0x52b1
leaq -0x210(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x210(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x210(%rbp), %rdi
callq 0x2100
leaq -0x48(%rbp), %rdi
movq %r15, %rsi
movl $0x400, %edx            # imm = 0x400
callq 0x2d06
leaq -0x3f0(%rbp), %rbx
leaq -0x48(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2270
movq %r14, %rdi
callq 0x2100
leaq 0x1bb2(%rip), %rsi      # 0x52b5
movq %rbx, %rdi
callq 0x4151
testb %al, %al
je 0x37c5
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x48(%rbp), %rbx
movq (%rbx), %rdi
leaq 0x1b87(%rip), %rsi      # 0x52bb
callq 0x2240
movq %rax, %r14
movq %rbx, %rdi
callq 0x2100
movq %r14, %rdi
callq 0x21e0
movq 0x487d(%rip), %rdi      # 0x7fd0
leaq 0x1a5b(%rip), %rsi      # 0x51b5
callq 0x21d0
jmp 0x3915
leaq 0x1aba(%rip), %rsi      # 0x5225
leaq -0x250(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x250(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x250(%rbp), %rdi
jmp 0x38fd
leaq 0x1b14(%rip), %rsi      # 0x52b1
leaq -0x190(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x190(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x190(%rbp), %rdi
jmp 0x382d
leaq -0x1f0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x1f0(%rbp), %rsi
movq %r15, %rdi
callq 0x3c0a
movl %eax, %ebx
leaq -0x1f0(%rbp), %rdi
callq 0x2100
testl %ebx, %ebx
je 0x38d0
leaq 0x1ab6(%rip), %rsi      # 0x52bd
leaq -0x1d0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x1d0(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x1d0(%rbp), %rdi
callq 0x2100
leaq 0x1908(%rip), %rsi      # 0x5141
jmp 0x3909
leaq 0x1ad3(%rip), %rsi      # 0x5318
leaq -0x110(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x110(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x110(%rbp), %rdi
callq 0x2100
leaq -0xf0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x4
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0xf0(%rbp), %rsi
movq %r15, %rdi
callq 0x3d68
leaq -0xf0(%rbp), %rdi
callq 0x2100
leaq 0x1a74(%rip), %rsi      # 0x531c
leaq -0xd0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0xd0(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0xd0(%rbp), %rdi
jmp 0x38fd
leaq 0x1a16(%rip), %rsi      # 0x52ed
leaq -0x1b0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x20e0
leaq -0x1b0(%rbp), %rsi
movq %r15, %rdi
callq 0x2cae
leaq -0x1b0(%rbp), %rdi
callq 0x2100
leaq 0x18ac(%rip), %rsi      # 0x51b5
movq 0x46c0(%rip), %rdi      # 0x7fd0
callq 0x21d0
leaq -0x3f0(%rbp), %rdi
callq 0x2100
leaq -0x90(%rbp), %rdi
callq 0x2100
leaq -0x68(%rbp), %rdi
callq 0x2100
xorl %eax, %eax
addq $0x7e8, %rsp            # imm = 0x7E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1e8(%r15), %rdi
callq 0x2808
addq $0xf8, %r15
movq %r15, %rdi
callq 0x2808
movq 0x4664(%rip), %rdi      # 0x7fd0
leaq 0x19d3(%rip), %rsi      # 0x5346
callq 0x21d0
movq 0x4651(%rip), %rdi      # 0x7fd0
leaq 0x182f(%rip), %rsi      # 0x51b5
callq 0x21d0
xorl %edi, %edi
callq 0x2250
movq %rax, %rbx
leaq -0x1b0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0xf0(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x110(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x1d0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x1f0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x190(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x130(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x150(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x170(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x250(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x210(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x270(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x2b0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
jmp 0x3bb0
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x290(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x310(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x330(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x2d0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x350(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x2f0(%rbp), %rdi
jmp 0x3ba7
movq %rax, %rbx
leaq -0x3b0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x3d0(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
movq %rax, %rbx
leaq -0x370(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x390(%rbp), %rdi
jmp 0x3ba7
jmp 0x3bb0
jmp 0x3bb0
movq %rax, %rbx
leaq -0x410(%rbp), %rdi
callq 0x2100
jmp 0x3bb3
jmp 0x3bb0
movq %rax, %rbx
leaq -0x3f0(%rbp), %rdi
callq 0x2100
leaq -0x90(%rbp), %rdi
callq 0x2100
leaq -0x68(%rbp), %rdi
callq 0x2100
movq %rbx, %rdi
callq 0x2370