Skip to content

Instantly share code, notes, and snippets.

@kos0ng
Created May 23, 2024 08:34
Show Gist options
  • Save kos0ng/e9b6fd0e9b880d9738aff2652163337e to your computer and use it in GitHub Desktop.
Save kos0ng/e9b6fd0e9b880d9738aff2652163337e to your computer and use it in GitHub Desktop.
SAS CTF Quals 2024 - check.c
/* DISPLAY WARNING: Type casts are NOT being printed */
undefined4 export::check6(uint *param1)
{
int local_c;
local_c = 0x2d;
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
while( true ) {
if (local_c == 0) {
return 0;
}
if (local_c != 1) break;
if (((((*(param1 + 10) - *(param1 + 1)) * 0x1000000 >>
0x18) + 0x5a >> 0x1f) -
(((*(param1 + 10) - *(param1 + 1)) * 0x1000000 >>
0x18) + 0x5a) ^
((*(param1 + 10) - *(param1 + 1)) * 0x1000000 >> 0x18)
+ 0x5a >> 0x1f) < 0) {
local_c = 0x52;
}
else {
local_c = 0x1c;
}
}
if (local_c != 2) break;
if ((((*(param1 + 6) + *(param1 + 0x1e) ^
*(param1 + 1) - (*(param1 + 0x1d) & *(param1 + 0x19)))
+ 0xb >> 0x1f) -
((*(param1 + 6) + *(param1 + 0x1e) ^
*(param1 + 1) - (*(param1 + 0x1d) & *(param1 + 0x19)))
+ 0xb) ^ (*(param1 + 6) + *(param1 + 0x1e) ^
*(param1 + 1) -
(*(param1 + 0x1d) & *(param1 + 0x19))) + 0xb
>> 0x1f) < 0) {
local_c = 0x41;
}
else {
local_c = 0x61;
}
}
if (local_c != 3) break;
if (((*(param1 + 2) + *(param1 + 0) ^ (*(param1 + 7) | *(param1 + 3))) +
0x56cb0106 >> 0x1f) -
((*(param1 + 2) + *(param1 + 0) ^ (*(param1 + 7) | *(param1 + 3))) +
0x56cb0106 ^
(*(param1 + 2) + *(param1 + 0) ^ (*(param1 + 7) | *(param1 + 3))) +
0x56cb0106 >> 0x1f) < 0) {
local_c = 0x4a;
}
else {
local_c = 0x48;
}
}
if (local_c != 4) break;
if (((*(param1 + 10) ^ *(param1 + 1) ^
*(param1 + 0x11) & (*(param1 + 0x17) ^ *(param1 + 7))) +
(*(param1 + 10) ^ *(param1 + 1) ^
*(param1 + 0x11) & (*(param1 + 0x17) ^ *(param1 + 7))) +
0xd0d747cc &
(*(param1 + 10) ^ *(param1 + 1) ^
*(param1 + 0x11) & (*(param1 + 0x17) ^ *(param1 + 7))) +
0x686ba3e6 >> 0x1f) -
((*(param1 + 10) ^ *(param1 + 1) ^
*(param1 + 0x11) & (*(param1 + 0x17) ^ *(param1 + 7))) +
0x686ba3e6) < 0) {
local_c = 0x23;
}
else {
local_c = 0x11;
}
}
if (local_c != 5) break;
if (((*(param1 + 0xe) + *(param1 + 0x1d) &
*(param1 + 0x12) - (*(param1 + 0x13) | *(param1 + 0x1a))) -
0x2258 |
0x2258 - (*(param1 + 0xe) + *(param1 + 0x1d) &
*(param1 + 0x12) -
(*(param1 + 0x13) | *(param1 + 0x1a)))) < 0) {
local_c = 0x37;
}
else {
local_c = 0x14;
}
}
if (local_c != 6) break;
if ((((*(param1 + 0x13) ^ *(param1 + 0x12)) -
(*(param1 + 6) + *(param1 + 0x11) & (*(param1 + 7) ^ *(param1 + 5)))) +
-0x66d6ff0b >> 0x1f) -
(((*(param1 + 0x13) ^ *(param1 + 0x12)) -
(*(param1 + 6) + *(param1 + 0x11) & (*(param1 + 7) ^ *(param1 + 5)))) +
0x992900f5 ^
((*(param1 + 0x13) ^ *(param1 + 0x12)) -
(*(param1 + 6) + *(param1 + 0x11) & (*(param1 + 7) ^ *(param1 + 5)))) +
-0x66d6ff0b >> 0x1f) < 0) {
local_c = 0x4f;
}
else {
local_c = 0x15;
}
}
if (local_c == 7) {
return 0;
}
if (local_c != 8) break;
if (((*(param1 + 0xd) & *(param1 + 0x12) & *(param1 + 0x16) & *(param1 + 0))
+ 0xdfffff80 |
0x20000080 -
(*(param1 + 0xd) & *(param1 + 0x12) & *(param1 + 0x16) & *(param1 + 0)))
< 0) {
local_c = 0x69;
}
else {
local_c = 0x55;
}
}
if (local_c != 9) break;
if ((((*(param1 + 5) & *(param1 + 6)) + 0xccedf7f7 >> 0x1f) -
((*(param1 + 5) & *(param1 + 6)) + 0xccedf7f7) ^
(*(param1 + 5) & *(param1 + 6)) + 0xccedf7f7 >> 0x1f) < 0) {
local_c = 0x1b;
}
else {
local_c = 1;
}
}
if (local_c == 10) {
return 0;
}
if (local_c == 0xb) {
return 0;
}
if (local_c == 0xc) {
return 0;
}
if (local_c == 0xd) {
return 0;
}
if (local_c != 0xe) break;
if (((*(param1 + 3) | *(param1 + 0x11) |
*(param1 + 0x11) | *(param1 + 0x15)) + 0x3005 |
-(*(param1 + 3) | *(param1 + 0x11) |
*(param1 + 0x11) | *(param1 + 0x15)) - 0x3005) < 0) {
local_c = 0x38;
}
else {
local_c = 0x2e;
}
}
if (local_c != 0xf) break;
if (((((*(param1 + 0x1e) & *(param1 + 6)) +
(*(param1 + 5) & *(param1 + 0x1d))) * 0x10000 >> 0x10) - 0x1018 |
0x1018 - (((*(param1 + 0x1e) & *(param1 + 6)) +
(*(param1 + 5) & *(param1 + 0x1d))) * 0x10000 >> 0x10)) < 0)
{
local_c = 0x58;
}
else {
local_c = 0x59;
}
}
if (local_c != 0x10) break;
if ((((((*(param1 + 9) | *(param1 + 6)) +
((*(param1 + 0x1e) ^ *(param1 + 1)) & *(param1 + 1) - *(param1 + 0x1f))
) * 0x1000000 >> 0x18) + -7 >> 0x1f) -
((((*(param1 + 9) | *(param1 + 6)) +
((*(param1 + 0x1e) ^ *(param1 + 1)) & *(param1 + 1) - *(param1 + 0x1f))
) * 0x1000000 >> 0x18) + -7) ^
(((*(param1 + 9) | *(param1 + 6)) +
((*(param1 + 0x1e) ^ *(param1 + 1)) & *(param1 + 1) - *(param1 + 0x1f)))
* 0x1000000 >> 0x18) + -7 >> 0x1f) < 0) {
local_c = 0x40;
}
else {
local_c = 0x35;
}
}
if (local_c != 0x11) break;
if ((((((*(param1 + 10) - *(param1 + 0x17)) +
(*(param1 + 0x19) - *(param1 + 5)) + (*(param1 + 2) & *(param1 + 0xb))) *
0x1000000 >> 0x18) + 0xb >> 0x1f) -
((((*(param1 + 10) - *(param1 + 0x17)) +
(*(param1 + 0x19) - *(param1 + 5)) + (*(param1 + 2) & *(param1 + 0xb))) *
0x1000000 >> 0x18) + 0xb) ^
(((*(param1 + 10) - *(param1 + 0x17)) +
(*(param1 + 0x19) - *(param1 + 5)) + (*(param1 + 2) & *(param1 + 0xb))) *
0x1000000 >> 0x18) + 0xb >> 0x1f) < 0) {
local_c = 0x32;
}
else {
local_c = 0x2f;
}
}
if (local_c == 0x12) {
return 0;
}
if (local_c == 0x13) {
return 0;
}
if (local_c != 0x14) break;
if (((*(param1 + 0) | *(param1 + 3) | *(param1 + 0xb)) + 0x2005 |
-(*(param1 + 0) | *(param1 + 3) | *(param1 + 0xb)) - 0x2005) < 0) {
local_c = 0xc;
}
else {
local_c = 9;
}
}
if (local_c != 0x15) break;
if (((*(param1 + 4) ^ *(param1 + 7)) + 0xe817e6e3 | 0x17e8191d - (*(param1 + 4) ^ *(param1 + 7))) <
0) {
local_c = 99;
}
else {
local_c = 0x46;
}
}
if (local_c == 0x16) {
return 0;
}
if (local_c == 0x17) {
return 0;
}
if (local_c != 0x18) break;
if (((((*(param1 + 0x17) ^ *(param1 + 0)) -
((*(param1 + 0x17) + *(param1 + 0x15)) - (*(param1 + 5) + *(param1 + 0x19)))) *
0x1000000 >> 0x18) - 0x18 |
0x18 - (((*(param1 + 0x17) ^ *(param1 + 0)) -
((*(param1 + 0x17) + *(param1 + 0x15)) -
(*(param1 + 5) + *(param1 + 0x19)))) * 0x1000000 >> 0x18)) < 0) {
local_c = 0x51;
}
else {
local_c = 4;
}
}
if (local_c != 0x19) break;
if (((((*(param1 + 6) - *(param1 + 0x16)) + (*(param1 + 0) | *(param1 + 6) + *(param1 + 0xf)))
* 0x10000 >> 0x10) + 0x6840 |
-(((*(param1 + 6) - *(param1 + 0x16)) + (*(param1 + 0) | *(param1 + 6) + *(param1 + 0xf)))
* 0x10000 >> 0x10) - 0x6840) < 0) {
local_c = 0x5b;
}
else {
local_c = 0xe;
}
}
if (local_c != 0x1a) break;
if ((((*(param1 + 3) - (*(param1 + 0x1e) - *(param1 + 0x1e))) * 0x1000000 >> 0x18) - 0x76
| 0x76 - ((*(param1 + 3) - (*(param1 + 0x1e) - *(param1 + 0x1e))) * 0x1000000 >> 0x18
)) < 0) {
local_c = 0x2a;
}
else {
local_c = 0x3a;
}
}
if (local_c == 0x1b) {
return 0;
}
if (local_c != 0x1c) break;
if ((((*(param1 + 0x1b) ^ *(param1 + 5)) - (*(param1 + 0x11) | *(param1 + 3) | *(param1 + 0x1b))) +
0xe3a3e85c |
0x1c5c17a4 -
((*(param1 + 0x1b) ^ *(param1 + 5)) - (*(param1 + 0x11) | *(param1 + 3) | *(param1 + 0x1b)))) <
0) {
local_c = 0x16;
}
else {
local_c = 0x43;
}
}
if (local_c != 0x1d) break;
if ((((*(param1 + 0x16) + *(param1 + 0x16)) * 0x1000000 >> 0x18) +
((*(param1 + 0x16) + *(param1 + 0x16)) * 0x1000000 >> 0x18) + -0x18 &
((*(param1 + 0x16) + *(param1 + 0x16)) * 0x1000000 >> 0x18) + -0xc >> 0x1f) -
(((*(param1 + 0x16) + *(param1 + 0x16)) * 0x1000000 >> 0x18) + -0xc) < 0) {
local_c = 0x1e;
}
else {
local_c = 0x54;
}
}
if (local_c == 0x1e) {
return 0;
}
if (local_c == 0x1f) {
return 0;
}
if (local_c == 0x20) {
return 0;
}
if (local_c == 0x21) break;
if (local_c == 0x22) {
return 0;
}
if (local_c == 0x23) {
return 0;
}
if (local_c == 0x24) {
if ((((((*(param1 + 7) ^ *(param1 + 5)) -
(*(param1 + 7) + *(param1 + 3) & (*(param1 + 0xf) | *(param1 + 0x1b)))) * 0x10000 >>
0x10) + -0x21c7 >> 0x1f) -
((((*(param1 + 7) ^ *(param1 + 5)) -
(*(param1 + 7) + *(param1 + 3) & (*(param1 + 0xf) | *(param1 + 0x1b)))) * 0x10000 >>
0x10) + -0x21c7) ^
(((*(param1 + 7) ^ *(param1 + 5)) -
(*(param1 + 7) + *(param1 + 3) & (*(param1 + 0xf) | *(param1 + 0x1b)))) * 0x10000 >> 0x10
) + -0x21c7 >> 0x1f) < 0) {
local_c = 0x13;
}
else {
local_c = 0x3d;
}
}
else {
if (local_c == 0x25) {
return 0;
}
if (local_c == 0x26) {
if (((*(param1 + 3) ^ *(param1 + 3)) >> 0x1f) -
(*(param1 + 3) ^ *(param1 + 3) ^ (*(param1 + 3) ^ *(param1 + 3)) >> 0x1f) < 0) {
local_c = 0x1f;
}
else {
local_c = 0x1a;
}
}
else if (local_c == 0x27) {
if (((*(param1 + 9) | *(param1 + 3) ^ *(param1 + 0x17)) + 0x20040281 |
0xdffbfd7f - (*(param1 + 9) | *(param1 + 3) ^ *(param1 + 0x17))) < 0) {
local_c = 7;
}
else {
local_c = 0x4e;
}
}
else if (local_c == 0x28) {
if (((((*(param1 + 0x13) ^ *(param1 + 1)) -
(*(param1 + 0x1d) | *(param1 + 2) ^ *(param1 + 0x11))) * 0x1000000 >> 0x18) + 0x7d |
-(((*(param1 + 0x13) ^ *(param1 + 1)) -
(*(param1 + 0x1d) | *(param1 + 2) ^ *(param1 + 0x11))) * 0x1000000 >> 0x18) - 0x7d) <
0) {
local_c = 0x25;
}
else {
local_c = 0x6a;
}
}
else if (local_c == 0x29) {
if (((*(param1 + 1) ^ *(param1 + 10) & *(param1 + 2)) +
(*(param1 + 1) ^ *(param1 + 10) & *(param1 + 2)) + 0xa966 &
(*(param1 + 1) ^ *(param1 + 10) & *(param1 + 2)) + 0x54b3 >> 0x1f) -
((*(param1 + 1) ^ *(param1 + 10) & *(param1 + 2)) + 0x54b3) < 0) {
local_c = 0x12;
}
else {
local_c = 0x24;
}
}
else {
if (local_c == 0x2a) {
return 0;
}
if (local_c == 0x2b) {
if ((((((*(param1 + 0xd) - *(param1 + 3)) +
(*(param1 + 4) & (*(param1 + 0xe) | *(param1 + 0x1e)))) * 0x10000 >> 0x10) + 0x45e6
>> 0x1f) -
((((*(param1 + 0xd) - *(param1 + 3)) +
(*(param1 + 4) & (*(param1 + 0xe) | *(param1 + 0x1e)))) * 0x10000 >> 0x10) + 0x45e6
) ^ (((*(param1 + 0xd) - *(param1 + 3)) +
(*(param1 + 4) & (*(param1 + 0xe) | *(param1 + 0x1e)))) * 0x10000 >> 0x10) +
0x45e6 >> 0x1f) < 0) {
local_c = 0x60;
}
else {
local_c = 2;
}
}
else if (local_c == 0x2c) {
if ((((*(param1 + 0x17) + (*(param1 + 0x1e) | *(param1 + 6))) * 0x1000000 >> 0x18) + 0x71
| -((*(param1 + 0x17) + (*(param1 + 0x1e) | *(param1 + 6))) * 0x1000000 >> 0x18) -
0x71) < 0) {
local_c = 0x5e;
}
else {
local_c = 0x10;
}
}
else if (local_c == 0x2d) {
if (((((*(param1 + 0x15) ^ *(param1 + 4)) - (*(param1 + 1) - *(param1 + 0x17))) * 0x10000
>> 0x10) - 0x72a6 |
0x72a6 - (((*(param1 + 0x15) ^ *(param1 + 4)) - (*(param1 + 1) - *(param1 + 0x17))) *
0x10000 >> 0x10)) < 0) {
local_c = 0x30;
}
else {
local_c = 0x33;
}
}
else if (local_c == 0x2e) {
if ((((*(param1 + 0x12) | *(param1 + 0x11)) + 0x3031 >> 0x1f) -
((*(param1 + 0x12) | *(param1 + 0x11)) + 0x3031) ^
(*(param1 + 0x12) | *(param1 + 0x11)) + 0x3031 >> 0x1f) < 0) {
local_c = 0x5a;
}
else {
local_c = 0x49;
}
}
else if (local_c == 0x2f) {
if (((*(param1 + 5) | *(param1 + 3)) + (*(param1 + 5) | *(param1 + 3)) + 0x2442 &
(*(param1 + 5) | *(param1 + 3)) + 0x1221 >> 0x1f) -
((*(param1 + 5) | *(param1 + 3)) + 0x1221) < 0) {
local_c = 0x17;
}
else {
local_c = 0x4d;
}
}
else {
if (local_c == 0x30) {
return 0;
}
if (local_c == 0x31) {
return 0;
}
if (local_c == 0x32) {
return 0;
}
if (local_c == 0x33) {
if (((*(param1 + 7) | *(param1 + 2) | *(param1 + 2) - (*(param1 + 2) ^ *(param1 + 10)))
+ 0x4041 |
-(*(param1 + 7) | *(param1 + 2) | *(param1 + 2) - (*(param1 + 2) ^ *(param1 + 10)))
- 0x4041) < 0) {
local_c = 0x3e;
}
else {
local_c = 8;
}
}
else {
if (local_c == 0x34) {
return 0;
}
if (local_c == 0x35) {
if (((((*(param1 + 7) ^ *(param1 + 0xd)) & *(param1 + 4) + *(param1 + 0x16) + *(param1 + 0)) +
0x5f0d37f8) * 2 &
((*(param1 + 7) ^ *(param1 + 0xd)) & *(param1 + 4) + *(param1 + 0x16) + *(param1 + 0)) +
0x5f0d37f8 >> 0x1f) -
(((*(param1 + 7) ^ *(param1 + 0xd)) & *(param1 + 4) + *(param1 + 0x16) + *(param1 + 0)) +
0x5f0d37f8) < 0) {
local_c = 10;
}
else {
local_c = 0x5f;
}
}
else {
if (local_c == 0x36) {
return 0;
}
if (local_c == 0x37) {
return 0;
}
if (local_c == 0x38) {
return 0;
}
if (local_c == 0x39) {
if (((*(param1 + 0x17) & *(param1 + 0)) + 0xbb7dfb00 >> 0x1f) -
((*(param1 + 0x17) & *(param1 + 0)) + 0xbb7dfb00 ^
(*(param1 + 0x17) & *(param1 + 0)) + 0xbb7dfb00 >> 0x1f) < 0) {
local_c = 0x53;
}
else {
local_c = 0x42;
}
}
else if (local_c == 0x3a) {
if ((((*(param1 + 7) - *(param1 + 0xf) ^
(*(param1 + 0x1e) | *(param1 + 1)) - (*(param1 + 7) - *(param1 + 3))) +
-0x7811 >> 0x1f) -
((*(param1 + 7) - *(param1 + 0xf) ^
(*(param1 + 0x1e) | *(param1 + 1)) - (*(param1 + 7) - *(param1 + 3))) +
-0x7811) ^
(*(param1 + 7) - *(param1 + 0xf) ^
(*(param1 + 0x1e) | *(param1 + 1)) - (*(param1 + 7) - *(param1 + 3))) + -0x7811
>> 0x1f) < 0) {
local_c = 0x4b;
}
else {
local_c = 100;
}
}
else if (local_c == 0x3b) {
if ((((((*(param1 + 0x1f) | *(param1 + 0x1e)) -
((*(param1 + 5) ^ *(param1 + 7)) & *(param1 + 1) - *(param1 + 0))) * 0x1000000 >>
0x18) + 0x1c >> 0x1f) -
((((*(param1 + 0x1f) | *(param1 + 0x1e)) -
((*(param1 + 5) ^ *(param1 + 7)) & *(param1 + 1) - *(param1 + 0))) * 0x1000000 >>
0x18) + 0x1c) ^
(((*(param1 + 0x1f) | *(param1 + 0x1e)) -
((*(param1 + 5) ^ *(param1 + 7)) & *(param1 + 1) - *(param1 + 0))) * 0x1000000 >>
0x18) + 0x1c >> 0x1f) < 0) {
local_c = 0x5d;
}
else {
local_c = 0x62;
}
}
else if (local_c == 0x3c) {
if (((((*(param1 + 4) - (*(param1 + 3) & *(param1 + 1))) * 0x1000000 >> 0x18) +
-0x57 >> 0x1f) -
(((*(param1 + 4) - (*(param1 + 3) & *(param1 + 1))) * 0x1000000 >> 0x18) +
-0x57) ^ ((*(param1 + 4) - (*(param1 + 3) & *(param1 + 1))) * 0x1000000 >> 0x18
) + -0x57 >> 0x1f) < 0) {
local_c = 0x31;
}
else {
local_c = 0x19;
}
}
else if (local_c == 0x3d) {
if (((*(param1 + 0xb) + *(param1 + 0x12) |
*(param1 + 2) + *(param1 + 7) ^ *(param1 + 0x1a) ^ *(param1 + 7)) + 0xb |
-(*(param1 + 0xb) + *(param1 + 0x12) |
*(param1 + 2) + *(param1 + 7) ^ *(param1 + 0x1a) ^ *(param1 + 7)) - 0xb) < 0)
{
local_c = 0x67;
}
else {
local_c = 0x3b;
}
}
else {
if (local_c == 0x3e) {
return 0;
}
if (local_c == 0x3f) {
return 0;
}
if (local_c == 0x40) {
return 0;
}
if (local_c == 0x41) {
return 0;
}
if (local_c == 0x42) {
if ((((*(param1 + 0xf) - *(param1 + 2)) * 0x1000000 >> 0x18) + 6 |
-((*(param1 + 0xf) - *(param1 + 2)) * 0x1000000 >> 0x18) - 6) < 0) {
local_c = 0x66;
}
else {
local_c = 0x26;
}
}
else if (local_c == 0x43) {
if ((((*(param1 + 7) - *(param1 + 0xf)) - (*(param1 + 0xf) & *(param1 + 0x11))) +
0x8962d79a |
0x769d2866 -
((*(param1 + 7) - *(param1 + 0xf)) - (*(param1 + 0xf) & *(param1 + 0x11)))) < 0) {
local_c = 0x20;
}
else {
local_c = 0xf;
}
}
else {
if (local_c == 0x44) {
return 0;
}
if (local_c == 0x45) {
if (((*(param1 + 2) ^ *(param1 + 3) & *(param1 + 1)) + 0x4e550331 >> 0x1f) -
((*(param1 + 2) ^ *(param1 + 3) & *(param1 + 1)) + 0x4e550331 ^
(*(param1 + 2) ^ *(param1 + 3) & *(param1 + 1)) + 0x4e550331 >> 0x1f) < 0) {
local_c = 0x68;
}
else {
local_c = 0x28;
}
}
else if (local_c == 0x46) {
if (((((*(param1 + 5) & *(param1 + 0x12)) +
(*(param1 + 0xb) ^ *(param1 + 6) ^ *(param1 + 9) ^ *(param1 + 0x11))) *
0x1000000 >> 0x18) - 0x60 |
0x60 - (((*(param1 + 5) & *(param1 + 0x12)) +
(*(param1 + 0xb) ^ *(param1 + 6) ^ *(param1 + 9) ^ *(param1 + 0x11)
)) * 0x1000000 >> 0x18)) < 0) {
local_c = 0x47;
}
else {
local_c = 0x1d;
}
}
else {
if (local_c == 0x47) {
return 0;
}
if (local_c == 0x48) {
if (((*(param1 + 3) & *(param1 + 5) & *(param1 + 0xb)) >> 1) -
(*(param1 + 3) & *(param1 + 5) & *(param1 + 0xb)) < 0) {
local_c = 0x5c;
}
else {
local_c = 0x45;
}
}
else if (local_c == 0x49) {
if ((((*(param1 + 2) - (*(param1 + 9) - *(param1 + 0xe))) + -0x21a2fc12 >>
0x1f) - ((*(param1 + 2) - (*(param1 + 9) - *(param1 + 0xe))) +
-0x21a2fc12) ^
(*(param1 + 2) - (*(param1 + 9) - *(param1 + 0xe))) + -0x21a2fc12 >> 0x1f)
< 0) {
local_c = 0x44;
}
else {
local_c = 0x2b;
}
}
else {
if (local_c == 0x4a) {
return 0;
}
if (local_c == 0x4b) {
return 0;
}
if (local_c == 0x4c) {
return 0;
}
if (local_c == 0x4d) {
if ((((*(param1 + 0x1b) | *(param1 + 0x1b) |
*(param1 + 0x17) | *(param1 + 0x17) & *(param1 + 0x12)) + 0x10d3) * 2
& (*(param1 + 0x1b) | *(param1 + 0x1b) |
*(param1 + 0x17) | *(param1 + 0x17) & *(param1 + 0x12)) + 0x10d3 >>
0x1f) - ((*(param1 + 0x1b) | *(param1 + 0x1b) |
*(param1 + 0x17) | *(param1 + 0x17) & *(param1 + 0x12)) +
0x10d3) < 0) {
local_c = 0;
}
else {
local_c = 0x27;
}
}
else if (local_c == 0x4e) {
if ((((*(param1 + 0xb) ^ *(param1 + 1) - *(param1 + 7)) + 0x5feba26b) * 2 &
(*(param1 + 0xb) ^ *(param1 + 1) - *(param1 + 7)) + 0x5feba26b >> 0x1f) -
((*(param1 + 0xb) ^ *(param1 + 1) - *(param1 + 7)) + 0x5feba26b) < 0) {
local_c = 0x50;
}
else {
local_c = 0x39;
}
}
else {
if (local_c == 0x4f) {
return 0;
}
if (local_c == 0x50) {
return 0;
}
if (local_c == 0x51) {
return 0;
}
if (local_c == 0x52) {
return 0;
}
if (local_c == 0x53) {
return 0;
}
if (local_c == 0x54) {
if (((*(param1 + 2) - *(param1 + 0xb) & (*(param1 + 6) ^ *(param1 + 9))) +
0x57efe51e |
0xa8101ae2 -
(*(param1 + 2) - *(param1 + 0xb) & (*(param1 + 6) ^ *(param1 + 9)))) <
0) {
local_c = 0xd;
}
else {
local_c = 0x18;
}
}
else if (local_c == 0x55) {
if (((*(param1 + 0x1a) & *(param1 + 1) |
*(param1 + 5) ^ *(param1 + 0x12) ^ *(param1 + 0x1b) ^ *(param1 + 0xe)
) + (*(param1 + 0x1a) & *(param1 + 1) |
*(param1 + 5) ^ *(param1 + 0x12) ^
*(param1 + 0x1b) ^ *(param1 + 0xe)) + 0x8009a0e4 &
(*(param1 + 0x1a) & *(param1 + 1) |
*(param1 + 5) ^ *(param1 + 0x12) ^ *(param1 + 0x1b) ^ *(param1 + 0xe))
+ 0x4004d072 >> 0x1f) -
((*(param1 + 0x1a) & *(param1 + 1) |
*(param1 + 5) ^ *(param1 + 0x12) ^ *(param1 + 0x1b) ^ *(param1 + 0xe)
) + 0x4004d072) < 0) {
local_c = 0x57;
}
else {
local_c = 0x56;
}
}
else if (local_c == 0x56) {
if (((*(param1 + 1) + *(param1 + 6) &
*(param1 + 0xd) & *(param1 + 7) + *(param1 + 7)) + 0x7ffedf80 |
0x80012080 -
(*(param1 + 1) + *(param1 + 6) &
*(param1 + 0xd) & *(param1 + 7) + *(param1 + 7))) < 0) {
local_c = 0x36;
}
else {
local_c = 0x3c;
}
}
else {
if (local_c == 0x57) {
return 0;
}
if (local_c == 0x58) {
return 0;
}
if (local_c == 0x59) {
if (((((*(param1 + 0x1e) ^ *(param1 + 4)) +
(*(param1 + 1) & *(param1 + 0xb) + *(param1 + 2))) * 0x10000 >>
0x10) + -0x55d9 >> 0x1f) -
((((*(param1 + 0x1e) ^ *(param1 + 4)) +
(*(param1 + 1) & *(param1 + 0xb) + *(param1 + 2))) * 0x10000 >>
0x10) - 0x55d9 ^
(((*(param1 + 0x1e) ^ *(param1 + 4)) +
(*(param1 + 1) & *(param1 + 0xb) + *(param1 + 2))) * 0x10000 >>
0x10) + -0x55d9 >> 0x1f) < 0) {
local_c = 0xb;
}
else {
local_c = 3;
}
}
else {
if (local_c == 0x5a) {
return 0;
}
if (local_c == 0x5b) {
return 0;
}
if (local_c == 0x5c) {
return 0;
}
if (local_c == 0x5d) {
return 0;
}
if (local_c == 0x5e) {
return 0;
}
if (local_c == 0x5f) {
if ((((*(param1 + 0x13) | *(param1 + 6) + *(param1 + 6)) + 0x3009) * 2
& (*(param1 + 0x13) | *(param1 + 6) + *(param1 + 6)) + 0x3009 >>
0x1f) - ((*(param1 + 0x13) | *(param1 + 6) + *(param1 + 6)) +
0x3009) < 0) {
local_c = 0x21;
}
else {
local_c = 0x29;
}
}
else {
if (local_c == 0x60) {
return 0;
}
if (local_c == 0x61) {
if ((((*(param1 + 0x15) & *(param1 + 2) |
(*(param1 + 7) | *(param1 + 0x13)) -
(*(param1 + 1) & *(param1 + 0x12))) + 0x2011 >> 0x1f) -
((*(param1 + 0x15) & *(param1 + 2) |
(*(param1 + 7) | *(param1 + 0x13)) -
(*(param1 + 1) & *(param1 + 0x12))) + 0x2011) ^
(*(param1 + 0x15) & *(param1 + 2) |
(*(param1 + 7) | *(param1 + 0x13)) -
(*(param1 + 1) & *(param1 + 0x12))) + 0x2011 >> 0x1f) < 0) {
local_c = 0x34;
}
else {
local_c = 0x65;
}
}
else if (local_c == 0x62) {
if (((((*(param1 + 0x13) ^ *(param1 + 5)) -
(*(param1 + 5) - *(param1 + 0x16))) * 0x10000 >> 0x10) +
(((*(param1 + 0x13) ^ *(param1 + 5)) -
(*(param1 + 5) - *(param1 + 0x16))) * 0x10000 >> 0x10) +
0xb37e & (((*(param1 + 0x13) ^ *(param1 + 5)) -
(*(param1 + 5) - *(param1 + 0x16))) * 0x10000 >> 0x10
) + 0x59bf >> 0x1f) -
((((*(param1 + 0x13) ^ *(param1 + 5)) -
(*(param1 + 5) - *(param1 + 0x16))) * 0x10000 >> 0x10) +
0x59bf) < 0) {
local_c = 0x22;
}
else {
local_c = 5;
}
}
else {
if (local_c == 99) {
return 0;
}
if (local_c == 100) {
return 1;
}
if (local_c == 0x65) {
if (((*(param1 + 1) & *(param1 + 0x12) ^
*(param1 + 0x1e) ^ *(param1 + 7)) + 0x363c |
-(*(param1 + 1) & *(param1 + 0x12) ^
*(param1 + 0x1e) ^ *(param1 + 7)) - 0x363c) < 0) {
local_c = 0x3f;
}
else {
local_c = 0x2c;
}
}
else {
if (local_c == 0x66) {
return 0;
}
if (local_c == 0x67) {
return 0;
}
if (local_c == 0x68) {
return 0;
}
if (local_c == 0x69) {
return 0;
}
if (local_c == 0x6a) {
if (((*(param1 + 0x1f) & (*(param1 + 0) | *(param1 + 5))) + 0x30 |
-(*(param1 + 0x1f) & (*(param1 + 0) | *(param1 + 5))) - 0x30) < 0
) {
local_c = 0x4c;
}
else {
local_c = 6;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment