Tag: THORChain Exploiter - Contract
Malicious: yes
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x00 DUP1 PUSH2 0x0100 EXP DUP2 SLOAD DUP2 PUSH20 0xffffffffffffffffffffffffffffffffffffffff MUL NOT AND SWAP1 DUP4 PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND MUL OR SWAP1 SSTORE POP PUSH2 0x0392 DUP1 PUSH2 0x0060 PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x04 CALLDATASIZE LT PUSH2 0x002d JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x25999832 EQ PUSH2 0x0039 JUMPI DUP1 PUSH4 0x3ccfd60b EQ PUSH2 0x0112 JUMPI PUSH2 0x0034 JUMP JUMPDEST CALLDATASIZE PUSH2 0x0034 JUMPI STOP JUMPDEST PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x0110 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x004f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x00cc JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x00de JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x01 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x0100 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 POP POP POP PUSH2 0x0129 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x011e JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0127 PUSH2 0x0252 JUMP JUMPDEST STOP JUMPDEST CALLER PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND PUSH2 0x08fc CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x016f JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP DUP5 PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND PUSH4 0x1fece7b4 DUP6 DUP6 CALLVALUE DUP7 DUP7 PUSH1 0x40 MLOAD DUP7 PUSH4 0xffffffff AND PUSH1 0xe0 SHL DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP7 PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x00 DUP2 DUP5 ADD MSTORE PUSH1 0x1f NOT PUSH1 0x1f DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP7 POP POP POP POP POP POP POP PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x00 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x0233 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x0247 JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP POP POP POP POP POP JUMP JUMPDEST CALLER PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND PUSH1 0x00 DUP1 SLOAD SWAP1 PUSH2 0x0100 EXP SWAP1 DIV PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND EQ PUSH2 0x0313 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x01 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x7800000000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND PUSH2 0x08fc SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x0359 JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP JUMP UNKNOWN_0xfe LOG2 PUSH5 0x6970667358 UNKNOWN_0x22 SLT SHA3 UNKNOWN_0x26 LOG2 ADDRESS UNKNOWN_0xc7 UNKNOWN_0xe4 UNKNOWN_0x4c JUMP EXP DIFFICULTY PUSH27 0x1615ec77a7eb00c693042a1c90e015a16196db356a5e64736f6c63 NUMBER STOP SMOD MOD STOP CALLER