Skip to content

Instantly share code, notes, and snippets.

@luckythandel
Created August 6, 2022 17:32
Show Gist options
  • Save luckythandel/266f0f1c90e10658924b6e78a16cb3cf to your computer and use it in GitHub Desktop.
Save luckythandel/266f0f1c90e10658924b6e78a16cb3cf to your computer and use it in GitHub Desktop.
TN_MouseServer
/* process(char*) */
void process(char *param_1)
{
undefined *puVar1;
int iVar2;
size_t sVar3;
uint uVar4;
int iVar5;
char *pcVar6;
int in_GS_OFFSET;
int iStack1232;
undefined auStack1212 [12];
char *local_4b0;
XKeyboardInterface local_4a8 [4];
int local_4a4;
int local_4a0;
int local_49c;
char *local_498;
char *local_494;
char *local_490;
int local_48c;
int local_488;
int local_484;
undefined *local_480;
char *local_47c;
size_t local_478;
char *local_474;
int local_470;
char *local_46c;
char *local_468;
char *local_464;
char *local_460;
int local_45c;
char *local_458;
char *local_454;
char *local_450;
char *local_44c;
char *local_448;
char *local_444;
allocator<char> local_440 [12];
basic_string<char,std::char_traits<char>,std::allocator<char>> local_434 [27];
char local_419;
char local_418;
char local_417;
char local_416 [6];
char local_410;
undefined local_40f;
int local_10;
local_4b0 = param_1;
local_10 = *(int *)(in_GS_OFFSET + 0x14);
iStack1232 = 0x80502b0;
std::allocator<char>::allocator();
/* try { // try from 080502c9 to 080502cd has its CatchHandler @ 08052576 */
iStack1232 = 0x80502ce;
std::__cxx11::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string
((char *)local_434,(allocator *)&DAT_08054043);
/* try { // try from 080502e2 to 080502e6 has its CatchHandler @ 0805254a */
iStack1232 = 0x80502e7;
XKeyboardInterface::XKeyboardInterface(local_4a8,(basic_string)local_434);
/* try { // try from 080502f4 to 080502f8 has its CatchHandler @ 08052560 */
iStack1232 = 0x80502f9;
std::__cxx11::basic_string<char,std::char_traits<char>,std::allocator<char>>::~basic_string
(local_434);
iStack1232 = 0x805030b;
std::allocator<char>::~allocator(local_440);
if (*local_4b0 != '\0') {
iStack1232 = 0x805033a;
iVar2 = strncmp(local_4b0,"mos",3);
if (iVar2 == 0) {
local_494 = local_4b0 + 3;
iStack1232 = 0x805036b;
strncpy(&local_419,local_494,3);
local_4a0 = 0;
if (local_419 != ' ') {
local_4a0 = (local_419 + -0x30) * 100;
}
if (local_418 != ' ') {
local_4a0 = local_4a0 + (local_418 + -0x30) * 10;
}
if (local_417 != ' ') {
local_4a0 = local_4a0 + local_417 + -0x30;
}
if (2 < iLogLevel) {
iStack1232 = (int)local_418;
/* try { // try from 08050417 to 080506e3 has its CatchHandler @ 080528ac */
printf("data length = %d, %d,%d,%d\n",local_4a0,(int)local_419);
}
if (local_4b0[6] == 'm') {
local_494 = local_494 + 5;
iStack1232 = 0x805044d;
local_490 = strstr(local_494," ");
iStack1232 = 0x8050467;
bzero(local_416,6);
iStack1232 = 0x8050490;
strncpy(local_416,local_494,(int)local_490 - (int)local_494);
iStack1232 = 0x80504a2;
local_48c = atoi(local_416);
if (2 < iLogLevel) {
iStack1232 = 0x80504c8;
printf("x=%d\n");
}
local_490 = local_490 + 1;
iStack1232 = 0x80504e3;
bzero(&local_410,6);
iVar2 = local_4a0;
iStack1232 = 0x80504fb;
sVar3 = strlen(local_416);
iStack1232 = 0x805051b;
strncpy(&local_410,local_490,(iVar2 - sVar3) - 3);
iStack1232 = 0x805052d;
local_488 = atoi(&local_410);
if (2 < iLogLevel) {
iStack1232 = 0x8050553;
printf("y=%d\n");
}
iStack1232 = 0x805056f;
XMouseInterface::MouseMove((XMouseInterface *)&mousePointer,local_48c,local_488);
pcVar6 = local_494;
}
else if (local_4b0[6] == 'R') {
pcVar6 = local_494 + 5;
if (*pcVar6 == 'l') {
if (local_494[7] == 'd') {
iStack1232 = 0x80505be;
local_494 = pcVar6;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,0);
pcVar6 = local_494;
}
else if (local_494[7] == 'u') {
iStack1232 = 0x80505e9;
local_494 = pcVar6;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,1);
pcVar6 = local_494;
}
}
else if (*pcVar6 == 'r') {
if (local_494[7] == 'd') {
iStack1232 = 0x805061d;
local_494 = pcVar6;
XMouseInterface::MouseRight((XMouseInterface *)&mousePointer,0);
pcVar6 = local_494;
}
else if (local_494[7] == 'u') {
iStack1232 = 0x8050648;
local_494 = pcVar6;
XMouseInterface::MouseRight((XMouseInterface *)&mousePointer,1);
pcVar6 = local_494;
}
}
else if (*pcVar6 == 'm') {
if (local_494[7] == 'd') {
iStack1232 = 0x8050680;
local_494 = pcVar6;
XMouseInterface::MouseMid((XMouseInterface *)&mousePointer,0);
pcVar6 = local_494;
}
else if (local_494[7] == 'u') {
iStack1232 = 0x80506ab;
local_494 = pcVar6;
XMouseInterface::MouseMid((XMouseInterface *)&mousePointer,1);
pcVar6 = local_494;
}
}
}
else if (local_4b0[6] == 'c') {
iStack1232 = 0x80506d2;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,0);
iStack1232 = 0x80506e4;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,1);
pcVar6 = local_494;
}
else {
pcVar6 = local_494;
if (local_4b0[6] == 'w') {
local_494 = local_494 + 5;
local_484 = local_4a0 + -2;
uVar4 = (local_4a0 + 0xeU) / 0x10;
iVar2 = uVar4 * -0x10;
local_480 = auStack1212 + iVar2;
*(int *)(local_4a8 + iVar2 + -0x20) = local_4a0 + -1;
*(undefined **)(&stack0xfffffb34 + iVar2) = auStack1212 + iVar2;
(&iStack1232)[uVar4 * -4] = 0x805075e;
bzero(*(void **)(&stack0xfffffb34 + iVar2),*(size_t *)(local_4a8 + iVar2 + -0x20));
puVar1 = local_480;
*(int *)(&stack0xfffffb3c + iVar2) = local_4a0 + -2;
*(char **)(local_4a8 + iVar2 + -0x20) = local_494;
*(undefined **)(&stack0xfffffb34 + iVar2) = puVar1;
(&iStack1232)[uVar4 * -4] = 0x8050782;
strncpy(*(char **)(&stack0xfffffb34 + iVar2),*(char **)(local_4a8 + iVar2 + -0x20),
*(size_t *)(&stack0xfffffb3c + iVar2));
*(undefined **)(&stack0xfffffb34 + iVar2) = local_480;
(&iStack1232)[uVar4 * -4] = 0x8050794;
local_49c = atoi(*(char **)(&stack0xfffffb34 + iVar2));
*(char **)(local_4a8 + iVar2 + -0x20) = local_494;
*(char **)(&stack0xfffffb34 + iVar2) = "p=%s\n";
/* try { // try from 080507ab to 08050897 has its CatchHandler @ 08052595 */
(&iStack1232)[uVar4 * -4] = 0x80507b0;
printf(*(char **)(&stack0xfffffb34 + iVar2));
*(undefined **)(local_4a8 + iVar2 + -0x20) = local_480;
*(char **)(&stack0xfffffb34 + iVar2) = "datax = %s\n";
(&iStack1232)[uVar4 * -4] = 0x80507c7;
printf(*(char **)(&stack0xfffffb34 + iVar2));
*(int *)(local_4a8 + iVar2 + -0x20) = local_49c;
*(char **)(&stack0xfffffb34 + iVar2) = "is w : scroll %d\n";
(&iStack1232)[uVar4 * -4] = 0x80507dd;
printf(*(char **)(&stack0xfffffb34 + iVar2));
if ((local_49c < 0x15) && (-0x15 < local_49c)) {
if ((local_49c < 0xb) && (-0xb < local_49c)) {
if ((local_49c < 3) && (-3 < local_49c)) {
if (local_49c == 0) {
local_49c = -1;
}
}
else {
local_49c = local_49c / 2;
}
}
else {
local_49c = local_49c / 5;
}
}
else {
local_49c = local_49c / 10;
}
*(int *)(local_4a8 + iVar2 + -0x20) = local_49c;
*(undefined4 **)(&stack0xfffffb34 + iVar2) = &mousePointer;
(&iStack1232)[uVar4 * -4] = 0x8050898;
XMouseInterface::MouseWheelY
(*(XMouseInterface **)(&stack0xfffffb34 + iVar2),
*(int *)(local_4a8 + iVar2 + -0x20));
pcVar6 = local_494;
}
}
local_494 = pcVar6;
/* try { // try from 080508b2 to 08050d92 has its CatchHandler @ 080528ac */
iStack1232 = 0x80508b7;
process(local_4b0 + local_4a0 + 6);
}
else {
iStack1232 = 0x80508d4;
iVar2 = strncmp(local_4b0,"key",3);
if (iVar2 == 0) {
local_47c = local_4b0 + 3;
iStack1232 = 0x8050905;
strncpy(local_416,local_47c,3);
iStack1232 = 0x8050917;
local_478 = atoi(local_416);
if (2 < iLogLevel) {
iStack1232 = 0x805093d;
printf("key data length = %d\n");
}
pcVar6 = local_47c + 3;
if (((((int)local_478 < 4) || (*pcVar6 != '[')) || (local_47c[4] != 'R')) ||
(local_47c[5] != ']')) {
iStack1232 = 0x8050ad0;
local_47c = pcVar6;
strncpy(&local_410,pcVar6,local_478);
iStack1232 = 0x8050ae2;
iVar2 = keycodes(&local_410);
if (iVar2 != -1) {
iStack1232 = 0x8050afe;
keycodes(&local_410);
iStack1232 = 0x8050b11;
XKeyboardInterface::SendKey((int)local_4a8);
}
}
else {
local_47c = local_47c + 7;
iStack1232 = 0x80509a7;
local_474 = strstr(local_47c," ");
iStack1232 = 0x80509c1;
bzero(&local_410,0x20);
iStack1232 = 0x80509ea;
strncpy(&local_410,local_47c,(int)local_474 - (int)local_47c);
if (2 < iLogLevel) {
iStack1232 = 0x8050a0b;
printf("key press :%s:\n");
}
iStack1232 = 0x8050a1d;
local_470 = keycodes(&local_410);
if (2 < iLogLevel) {
iStack1232 = 0x8050a4d;
printf("key press state :%c:\n");
}
if (local_470 != -1) {
if (local_474[1] == 'd') {
iStack1232 = 0x8050a82;
XKeyboardInterface::PressKey(local_4a8,local_470);
}
else if (local_474[1] == 'u') {
iStack1232 = 0x8050aaf;
XKeyboardInterface::ReleaseKey(local_4a8,local_470);
}
}
}
iStack1232 = 0x8050b31;
process(local_4b0 + local_478 + 6);
}
else {
iStack1232 = 0x8050b4e;
iVar2 = strncmp(local_4b0,"drag",4);
if (iVar2 == 0) {
local_46c = local_4b0 + 5;
if (*local_46c == 's') {
iStack1232 = 0x8050b84;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,0);
}
else if (*local_46c == 'e') {
iStack1232 = 0x8050ba8;
XMouseInterface::MouseLeft((XMouseInterface *)&mousePointer,1);
}
else {
iStack1232 = 0x8050bc3;
local_468 = strstr(local_46c," ");
iStack1232 = 0x8050bdd;
bzero(local_416,6);
iStack1232 = 0x8050bf1;
bzero(&local_410,6);
iStack1232 = 0x8050c1a;
strncpy(local_416,local_46c,(int)local_468 - (int)local_46c);
local_46c = local_468 + 1;
iStack1232 = 0x8050c3f;
local_468 = strstr(local_46c,"\n");
iStack1232 = 0x8050c6e;
strncpy(&local_410,local_46c,(int)local_468 - (int)local_46c);
iStack1232 = 0x8050c80;
iVar2 = atoi(&local_410);
iStack1232 = 0x8050c94;
iVar5 = atoi(local_416);
iStack1232 = 0x8050ca6;
XMouseInterface::MouseMove((XMouseInterface *)&mousePointer,iVar5,iVar2);
}
iStack1232 = 0x8050cbc;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8050ccb;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8050ce8;
iVar2 = strncmp(local_4b0,"utf8",4);
if (iVar2 == 0) {
local_464 = local_4b0 + 5;
iStack1232 = 0x8050d15;
local_460 = strstr(local_464,"\n");
for (local_498 = local_464; local_498 < local_460; local_498 = local_498 + 1) {
local_410 = *local_498;
local_40f = 0;
iStack1232 = 0x8050d61;
local_45c = keycodes(&local_410);
if (local_45c != -1) {
if (local_45c == 0x7e) {
iStack1232 = 0x8050d93;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08050db1 to 08050df1 has its CatchHandler @ 0805259e */
iStack1232 = 0x8050db6;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x60;
iStack1232 = 0x8050dd9;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8050df2;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08050dff to 08050e27 has its CatchHandler @ 080528ac */
iStack1232 = 0x8050e04;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x21) {
iStack1232 = 0x8050e28;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08050e46 to 08050e86 has its CatchHandler @ 080525b7 */
iStack1232 = 0x8050e4b;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x31;
iStack1232 = 0x8050e6e;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8050e87;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08050e94 to 08050ebc has its CatchHandler @ 080528ac */
iStack1232 = 0x8050e99;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x40) {
iStack1232 = 0x8050ebd;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08050edb to 08050f1b has its CatchHandler @ 080525d0 */
iStack1232 = 0x8050ee0;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x32;
iStack1232 = 0x8050f03;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8050f1c;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08050f29 to 08050f51 has its CatchHandler @ 080528ac */
iStack1232 = 0x8050f2e;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x23) {
iStack1232 = 0x8050f52;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08050f70 to 08050fb0 has its CatchHandler @ 080525e9 */
iStack1232 = 0x8050f75;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x33;
iStack1232 = 0x8050f98;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8050fb1;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08050fbe to 08050fe6 has its CatchHandler @ 080528ac */
iStack1232 = 0x8050fc3;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x24) {
iStack1232 = 0x8050fe7;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051005 to 08051045 has its CatchHandler @ 08052602 */
iStack1232 = 0x805100a;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x34;
iStack1232 = 0x805102d;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051046;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051053 to 0805107b has its CatchHandler @ 080528ac */
iStack1232 = 0x8051058;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x25) {
iStack1232 = 0x805107c;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 0805109a to 080510da has its CatchHandler @ 0805261b */
iStack1232 = 0x805109f;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x35;
iStack1232 = 0x80510c2;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80510db;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080510e8 to 08051110 has its CatchHandler @ 080528ac */
iStack1232 = 0x80510ed;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x5e) {
iStack1232 = 0x8051111;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 0805112f to 0805116f has its CatchHandler @ 08052634 */
iStack1232 = 0x8051134;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x36;
iStack1232 = 0x8051157;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051170;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805117d to 080511a5 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051182;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x26) {
iStack1232 = 0x80511a6;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 080511c4 to 08051204 has its CatchHandler @ 0805264d */
iStack1232 = 0x80511c9;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x37;
iStack1232 = 0x80511ec;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051205;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051212 to 0805123a has its CatchHandler @ 080528ac */
iStack1232 = 0x8051217;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x2a) {
iStack1232 = 0x805123b;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051259 to 08051299 has its CatchHandler @ 08052666 */
iStack1232 = 0x805125e;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x38;
iStack1232 = 0x8051281;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x805129a;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080512a7 to 080512cf has its CatchHandler @ 080528ac */
iStack1232 = 0x80512ac;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x28) {
iStack1232 = 0x80512d0;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 080512ee to 0805132e has its CatchHandler @ 0805267f */
iStack1232 = 0x80512f3;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x39;
iStack1232 = 0x8051316;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x805132f;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805133c to 08051364 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051341;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x29) {
iStack1232 = 0x8051365;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051383 to 080513c3 has its CatchHandler @ 08052698 */
iStack1232 = 0x8051388;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x30;
iStack1232 = 0x80513ab;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80513c4;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080513d1 to 080513f9 has its CatchHandler @ 080528ac */
iStack1232 = 0x80513d6;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x5f) {
iStack1232 = 0x80513fa;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051418 to 08051458 has its CatchHandler @ 080526b1 */
iStack1232 = 0x805141d;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2d;
iStack1232 = 0x8051440;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051459;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051466 to 0805148e has its CatchHandler @ 080528ac */
iStack1232 = 0x805146b;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x2b) {
iStack1232 = 0x805148f;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 080514ad to 080514ed has its CatchHandler @ 080526ca */
iStack1232 = 0x80514b2;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x3d;
iStack1232 = 0x80514d5;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80514ee;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080514fb to 08051523 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051500;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x7b) {
iStack1232 = 0x8051524;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051542 to 08051582 has its CatchHandler @ 080526e3 */
iStack1232 = 0x8051547;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x5b;
iStack1232 = 0x805156a;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051583;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051590 to 080515b8 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051595;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x7d) {
iStack1232 = 0x80515b9;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 080515d7 to 08051617 has its CatchHandler @ 080526fc */
iStack1232 = 0x80515dc;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x5d;
iStack1232 = 0x80515ff;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051618;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051625 to 0805164d has its CatchHandler @ 080528ac */
iStack1232 = 0x805162a;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x3a) {
iStack1232 = 0x805164e;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 0805166c to 080516ac has its CatchHandler @ 08052715 */
iStack1232 = 0x8051671;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x3b;
iStack1232 = 0x8051694;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80516ad;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080516ba to 080516e2 has its CatchHandler @ 080528ac */
iStack1232 = 0x80516bf;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x22) {
iStack1232 = 0x80516e3;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051701 to 08051741 has its CatchHandler @ 0805272e */
iStack1232 = 0x8051706;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x27;
iStack1232 = 0x8051729;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051742;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805174f to 08051777 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051754;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x7c) {
iStack1232 = 0x8051778;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051796 to 080517d6 has its CatchHandler @ 08052747 */
iStack1232 = 0x805179b;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x5c;
iStack1232 = 0x80517be;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80517d7;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080517e4 to 0805180c has its CatchHandler @ 080528ac */
iStack1232 = 0x80517e9;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x3c) {
iStack1232 = 0x805180d;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 0805182b to 0805186b has its CatchHandler @ 08052760 */
iStack1232 = 0x8051830;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2c;
iStack1232 = 0x8051853;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x805186c;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051879 to 080518a1 has its CatchHandler @ 080528ac */
iStack1232 = 0x805187e;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x3e) {
iStack1232 = 0x80518a2;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 080518c0 to 08051900 has its CatchHandler @ 08052779 */
iStack1232 = 0x80518c5;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2e;
iStack1232 = 0x80518e8;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051901;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805190e to 08051936 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051913;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else if (local_45c == 0x3f) {
iStack1232 = 0x8051937;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe1;
/* try { // try from 08051955 to 08051995 has its CatchHandler @ 08052792 */
iStack1232 = 0x805195a;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2f;
iStack1232 = 0x805197d;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051996;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080519a3 to 08051d5a has its CatchHandler @ 080528ac */
iStack1232 = 0x80519a8;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x80519bc;
keycodes(&local_410);
iStack1232 = 0x80519cf;
XKeyboardInterface::SendKey((int)local_4a8);
}
}
}
iStack1232 = 0x80519f1;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8051a00;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8051a1d;
iVar2 = strncmp(local_4b0,"slide",5);
if (iVar2 == 0) {
local_458 = local_4b0 + 5;
if ((*local_458 == ' ') && (local_4b0[6] == 'b')) {
iStack1232 = 0x8051a68;
XKeyboardInterface::PressKey(local_4a8,0xffe9);
}
else if ((*local_458 == ' ') && (local_4b0[6] == 'e')) {
iStack1232 = 0x8051aa1;
XKeyboardInterface::ReleaseKey(local_4a8,0xffe1);
iStack1232 = 0x8051ab8;
XKeyboardInterface::ReleaseKey(local_4a8,0xffe9);
}
else if (*local_458 == 'l') {
iStack1232 = 0x8051ade;
XKeyboardInterface::ReleaseKey(local_4a8,0xffe1);
iStack1232 = 0x8051af5;
XKeyboardInterface::SendKey((int)local_4a8);
}
else {
iStack1232 = 0x8051b0e;
XKeyboardInterface::PressKey(local_4a8,0xffe1);
iStack1232 = 0x8051b25;
XKeyboardInterface::SendKey((int)local_4a8);
}
iStack1232 = 0x8051b3b;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8051b4a;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8051b67;
iVar2 = strncmp(local_4b0,"media",5);
if (iVar2 == 0) {
local_454 = local_4b0 + 6;
iStack1232 = 0x8051b94;
local_450 = strstr(local_454,"\n");
iStack1232 = 0x8051bae;
bzero(&local_410,0x20);
iStack1232 = 0x8051bd7;
strncpy(&local_410,local_454,(int)local_450 - (int)local_454);
iStack1232 = 0x8051bee;
iVar2 = strcmp(&local_410,"play");
if (iVar2 == 0) {
iStack1232 = 0x8051c09;
XKeyboardInterface::SendKey((int)local_4a8);
}
else {
iStack1232 = 0x8051c25;
iVar2 = strcmp(&local_410,"next");
if (iVar2 == 0) {
iStack1232 = 0x8051c40;
XKeyboardInterface::SendKey((int)local_4a8);
}
else {
iStack1232 = 0x8051c5c;
iVar2 = strcmp(&local_410,"prev");
if (iVar2 == 0) {
iStack1232 = 0x8051c77;
XKeyboardInterface::SendKey((int)local_4a8);
}
else {
iStack1232 = 0x8051c90;
iVar2 = strcmp(&local_410,"volumeup");
if (iVar2 == 0) {
iStack1232 = 0x8051cab;
XKeyboardInterface::SendKey((int)local_4a8);
}
else {
iStack1232 = 0x8051cc4;
iVar2 = strcmp(&local_410,"volumedown");
if (iVar2 == 0) {
iStack1232 = 0x8051cdf;
XKeyboardInterface::SendKey((int)local_4a8);
}
}
}
}
}
iStack1232 = 0x8051cf5;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8051d04;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8051d21;
iVar2 = strncmp(local_4b0,"zoom",4);
if (iVar2 == 0) {
local_44c = local_4b0 + 4;
if (*local_44c == 'i') {
iStack1232 = 0x8051d5b;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 08051d79 to 08051db9 has its CatchHandler @ 080527ab */
iStack1232 = 0x8051d7e;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2b;
iStack1232 = 0x8051da1;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051dba;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051dc7 to 08051de2 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051dcc;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x8051de3;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 08051e01 to 08051e41 has its CatchHandler @ 080527c4 */
iStack1232 = 0x8051e06;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x2d;
iStack1232 = 0x8051e29;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051e42;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051e4f to 08051f36 has its CatchHandler @ 080528ac */
iStack1232 = 0x8051e54;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
iStack1232 = 0x8051e6a;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8051e79;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8051e96;
iVar2 = strncmp(local_4b0,"browser",7);
if (iVar2 == 0) {
local_448 = local_4b0 + 8;
iStack1232 = 0x8051ec3;
local_444 = strstr(local_448,"\n");
iStack1232 = 0x8051edd;
bzero(&local_410,0x20);
iStack1232 = 0x8051f06;
strncpy(&local_410,local_448,(int)local_444 - (int)local_448);
iStack1232 = 0x8051f1d;
iVar2 = strcmp(&local_410,"forward");
if (iVar2 == 0) {
iStack1232 = 0x8051f37;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe9;
/* try { // try from 08051f55 to 08051f95 has its CatchHandler @ 080527dd */
iStack1232 = 0x8051f5a;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0xff53;
iStack1232 = 0x8051f7d;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8051f96;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08051fa3 to 08051fdd has its CatchHandler @ 080528ac */
iStack1232 = 0x8051fa8;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x8051fc4;
iVar2 = strcmp(&local_410,"back");
if (iVar2 == 0) {
iStack1232 = 0x8051fde;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe9;
/* try { // try from 08051ffc to 0805203c has its CatchHandler @ 080527f6 */
iStack1232 = 0x8052001;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0xff51;
iStack1232 = 0x8052024;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x805203d;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805204a to 08052084 has its CatchHandler @ 080528ac */
iStack1232 = 0x805204f;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x805206b;
iVar2 = strcmp(&local_410,"home");
if (iVar2 == 0) {
iStack1232 = 0x8052085;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe9;
/* try { // try from 080520a3 to 080520e3 has its CatchHandler @ 0805280f */
iStack1232 = 0x80520a8;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0xff50;
iStack1232 = 0x80520cb;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80520e4;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080520f1 to 0805212b has its CatchHandler @ 080528ac */
iStack1232 = 0x80520f6;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x8052112;
iVar2 = strcmp(&local_410,"search");
if (iVar2 == 0) {
iStack1232 = 0x805212c;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 0805214a to 0805218a has its CatchHandler @ 08052828 */
iStack1232 = 0x805214f;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x6b;
iStack1232 = 0x8052172;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x805218b;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08052198 to 080521d2 has its CatchHandler @ 080528ac */
iStack1232 = 0x805219d;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x80521b9;
iVar2 = strcmp(&local_410,"refresh");
if (iVar2 == 0) {
iStack1232 = 0x80521d3;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 080521f1 to 08052231 has its CatchHandler @ 0805283e */
iStack1232 = 0x80521f6;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x72;
iStack1232 = 0x8052219;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8052232;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805223f to 08052275 has its CatchHandler @ 080528ac */
iStack1232 = 0x8052244;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x8052260;
iVar2 = strcmp(&local_410,"stop");
if (iVar2 == 0) {
iStack1232 = 0x8052276;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xff1b;
/* try { // try from 08052294 to 080522b1 has its CatchHandler @ 08052854 */
iStack1232 = 0x8052299;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80522b2;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 080522bf to 080522f9 has its CatchHandler @ 080528ac */
iStack1232 = 0x80522c4;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x80522e0;
iVar2 = strcmp(&local_410,"favorite");
if (iVar2 == 0) {
iStack1232 = 0x80522fa;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 08052318 to 08052358 has its CatchHandler @ 0805286a */
iStack1232 = 0x805231d;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0x62;
iStack1232 = 0x8052340;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x8052359;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 08052366 to 080523a0 has its CatchHandler @ 080528ac */
iStack1232 = 0x805236b;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
else {
iStack1232 = 0x8052387;
iVar2 = strcmp(&local_410,"newtab");
if (iVar2 == 0) {
iStack1232 = 0x80523a1;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe3;
/* try { // try from 080523bf to 080523ff has its CatchHandler @ 08052880 */
iStack1232 = 0x80523c4;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4
);
local_4a4 = 0x74;
iStack1232 = 0x80523e7;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4
);
iStack1232 = 0x8052400;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
/* try { // try from 0805240d to 0805246d has its CatchHandler @ 080528ac */
iStack1232 = 0x8052412;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
}
}
}
}
}
}
}
iStack1232 = 0x8052428;
pcVar6 = strstr(local_4b0,"\n");
iStack1232 = 0x8052437;
process(pcVar6 + 1);
}
else {
iStack1232 = 0x8052454;
iVar2 = strncmp(local_4b0,"shutdown",8);
if (iVar2 == 0) {
iStack1232 = 0x805246e;
std::__cxx11::list<int,std::allocator<int>>::list
((list<int,std::allocator<int>> *)local_440);
local_4a4 = 0xffe9;
/* try { // try from 0805248c to 08052504 has its CatchHandler @ 08052896 */
iStack1232 = 0x8052491;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0xffe3;
iStack1232 = 0x80524b4;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
local_4a4 = 0xffff;
iStack1232 = 0x80524d7;
std::__cxx11::list<int,std::allocator<int>>::push_back
((list<int,std::allocator<int>> *)local_440,&local_4a4);
iStack1232 = 0x80524f0;
XKeyboardInterface::SendKey(local_4a8,(list *)local_440);
iStack1232 = 0x8052505;
process(local_4b0 + 9);
/* try { // try from 08052512 to 08052516 has its CatchHandler @ 080528ac */
iStack1232 = 0x8052517;
std::__cxx11::list<int,std::allocator<int>>::~list
((list<int,std::allocator<int>> *)local_440);
}
}
}
}
}
}
}
}
}
}
iStack1232 = 0x805252e;
XKeyboardInterface::~XKeyboardInterface(local_4a8);
if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
return;
}
/* WARNING: Subroutine does not return */
__stack_chk_fail();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment