Contract: BoredApeYachtClub
Etherscan label: phish-hack
Tag: Bored Ape Yacht Club (BAYC)
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x0769 CODESIZE SUB DUP1 PUSH2 0x0769 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x0022 SWAP2 PUSH2 0x033b JUMP JUMPDEST PUSH1 0x00 DUP3 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x0038 SWAP2 SWAP1 PUSH2 0x0312 JUMP JUMPDEST SWAP1 POP PUSH2 0x0065 PUSH1 0x01 PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd PUSH2 0x03ed JUMP JUMPDEST PUSH1 0x00 DUP1 MLOAD PUSH1 0x20 PUSH2 0x0722 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE EQ PUSH2 0x0081 JUMPI PUSH2 0x0081 PUSH2 0x0442 JUMP JUMPDEST PUSH2 0x0094 DUP2 PUSH2 0x0140 PUSH1 0x20 SHL PUSH2 0x004c OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x00d8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x20a2222922a9a99024a99022a92927a9 PUSH1 0x81 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x00fd PUSH1 0x00 DUP1 MLOAD PUSH1 0x20 PUSH2 0x0722 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x00 SHL PUSH2 0x014f PUSH1 0x20 SHL PUSH2 0x005b OR PUSH1 0x20 SHR JUMP JUMPDEST DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE DUP2 MLOAD ISZERO PUSH2 0x0138 JUMPI PUSH2 0x0136 DUP2 DUP4 PUSH2 0x0152 PUSH1 0x20 SHL PUSH2 0x005e OR PUSH1 0x20 SHR JUMP JUMPDEST POP JUMPDEST POP POP POP PUSH2 0x046e JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x0177 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x0742 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x017e JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP5 AND EXTCODESIZE PUSH2 0x01e6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1b9d1c9858dd PUSH1 0xd2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x00cf JUMP JUMPDEST PUSH1 0x00 DUP1 DUP6 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x0201 SWAP2 SWAP1 PUSH2 0x039e JUMP JUMPDEST PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x023c JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1f NOT PUSH1 0x3f RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x00 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x0241 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x0252 DUP3 DUP3 DUP7 PUSH2 0x025c JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x026b JUMPI POP DUP2 PUSH2 0x0177 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x027b JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD PUSH2 0x00cf SWAP2 SWAP1 PUSH2 0x03ba JUMP JUMPDEST PUSH1 0x00 DUP3 PUSH1 0x1f DUP4 ADD SLT PUSH2 0x02a6 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x02c0 JUMPI PUSH2 0x02c0 PUSH2 0x0458 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1f DUP4 ADD PUSH1 0x1f NOT SWAP1 DUP2 AND PUSH1 0x3f ADD AND DUP2 ADD SWAP1 DUP3 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x02e8 JUMPI PUSH2 0x02e8 PUSH2 0x0458 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP7 PUSH1 0x20 DUP6 DUP9 ADD ADD GT ISZERO PUSH2 0x0301 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x0252 DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP10 ADD PUSH2 0x0412 JUMP JUMPDEST PUSH1 0x00 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x0324 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x0177 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x034e JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x0365 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x0371 DUP7 DUP4 DUP8 ADD PUSH2 0x0295 JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x0387 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0394 DUP6 DUP3 DUP7 ADD PUSH2 0x0295 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x00 DUP3 MLOAD PUSH2 0x03b0 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x0412 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x00 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x03d9 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x0412 JUMP JUMPDEST PUSH1 0x1f ADD PUSH1 0x1f NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 DUP3 DUP3 LT ISZERO PUSH2 0x040d JUMPI PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x11 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x042d JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x0415 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x043c JUMPI PUSH1 0x00 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x01 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x41 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH2 0x02a5 DUP1 PUSH2 0x047d PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x0013 JUMPI PUSH2 0x0011 PUSH2 0x0017 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x0011 JUMPDEST PUSH2 0x004a PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x008a JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x0083 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x0249 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x00ae JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST CALLDATASIZE PUSH1 0x00 DUP1 CALLDATACOPY PUSH1 0x00 DUP1 CALLDATASIZE PUSH1 0x00 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x00a9 JUMPI RETURNDATASIZE PUSH1 0x00 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST PUSH1 0x60 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP5 AND EXTCODESIZE PUSH2 0x011b JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1b9d1c9858dd PUSH1 0xd2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x00 DUP1 DUP6 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x0136 SWAP2 SWAP1 PUSH2 0x01c9 JUMP JUMPDEST PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x0171 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1f NOT PUSH1 0x3f RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x00 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x0176 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x0186 DUP3 DUP3 DUP7 PUSH2 0x0190 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x019f JUMPI POP DUP2 PUSH2 0x0083 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x01af JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD PUSH2 0x0112 SWAP2 SWAP1 PUSH2 0x01e5 JUMP JUMPDEST PUSH1 0x00 DUP3 MLOAD PUSH2 0x01db DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x0218 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x00 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x0204 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x0218 JUMP JUMPDEST PUSH1 0x1f ADD PUSH1 0x1f NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x0233 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x021b JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x0242 JUMPI PUSH1 0x00 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP UNKNOWN_0xfe COINBASE PUSH5 0x6472657373 GASPRICE SHA3 PUSH13 0x6f772d6c6576656c2064656c65 PUSH8 0x6174652063616c6c SHA3 PUSH7 0x61696c6564a264 PUSH10 0x70667358221220525819 UNKNOWN_0xe7 MSTORE8 EXP MLOAD UNKNOWN_0xf9 UNKNOWN_0xea SWAP16 DUP11 PUSH28 0x139bf08f773cd91c41e35db8568f47b27015482864736f6c63430008 SMOD STOP CALLER CALLDATASIZE ADDMOD SWAP5 LOG1 EXTCODESIZE LOG1 LOG3 UNKNOWN_0x21 MOD PUSH8 0xc828492db98dca3e SHA3 PUSH23 0xcc3735a920a3ca505d382bbc416464726573733a206c6f PUSH24 0x2d6c6576656c2064656c65676174652063616c6c20666169 PUSH13 0x65640000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP BLOCKHASH STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP DUP1 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP SHA3 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP REVERT LOG0 UNKNOWN_0xd6 UNKNOWN_0xdc UNKNOWN_0xa5 PUSH1 0x86 SHA3 UNKNOWN_0xdc SWAP6 PUSH28 0x99e29beebb50e4e21600000000000000000000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ADD PUSH5 0x5c6d8da100 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP DUP1 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP UNKNOWN_0xc0 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ADD STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP NUMBER SDIV UNOFFICIAL_DUP CALLDATACOPY UNKNOWN_0x2f SHL UNKNOWN_0x24 UNKNOWN_0x4d LOG0 UNKNOWN_0xb3 UNKNOWN_0x2a LOG2 UNKNOWN_0xb6 UNKNOWN_0xf8 UNKNOWN_0xae EXP SLT UNKNOWN_0x4b POP UNKNOWN_0xb8 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP EQ TIMESTAMP PUSH16 0x7265642041706520596163687420436c PUSH22 0x62000000000000000000000000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP DIV TIMESTAMP COINBASE MSIZE NUMBER STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP UNKNOWN_0x29 PUSH9 0x7474703a2f2f617069 UNKNOWN_0x2e PUSH3 0x6f7265 PUSH5 0x6170657961 PUSH4 0x68746e66 PUSH21 0x636c75622e78797a2f697066732f00000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP