intent
stringlengths 4
313
| snippet
stringlengths 2
271
|
---|---|
subtract 1768009314 from the edi register and save the result in edi
|
sub edi, 1768009314
|
move the byte at the address 2ah into al
|
mov al, byte 2ah
|
make the syscall to terminate the program
|
int 80h
|
declare _start as global label
|
global _start
|
declare the two label
|
two:
|
move esi into ebx
|
mov ebx, esi
|
pop doublewords from the stack into the 32 bit registers
|
popad
|
move 0x3734b117 into edi
|
mov edi, 0x3734b117
|
move the contents of the ebx register into the long starting at the address [esi+22]
|
mov long [esi+22], ebx
|
add 0x2 to the contents of ebp
|
add ebp, 0x2
|
subtract 5e5d7722 from the contents of the eax register
|
sub eax, 5e5d7722
|
make the system call
|
int 0x80
|
jump short to the four label
|
jmp short four
|
move eax into the address [esi+47]
|
mov [esi+47], eax
|
call the iprintlf function
|
call iprintlf
|
jump to next_addr if not zero
|
jnz next_addr
|
system call sigaction
|
mov eax, 67
|
move al into the byte at address [ebx + 35]
|
mov byte [ebx + 35], al
|
declare an uninitialized byte referred to as location var2
|
var2 db ?
|
subtract the byte in esi from the bl register
|
sub bl,byte [esi]
|
move 20 into al
|
mov al, 20
|
push 0x74756f2f onto the stack
|
push 0x74756f2f
|
invoke sys_close
|
mov eax, 6
|
push the doubleword 0x62732f2f to the stack
|
push dword 0x62732f2f
|
push the doubleword 0x73656c62 to the stack
|
push dword 0x73656c62
|
push the dword eax onto the stack
|
push dword eax
|
jump to 0x86 if the carry flag is zero
|
jnc 0x86
|
define the _child label
|
_child:
|
negate all the bits of ax register
|
not ax
|
put the syscall 17h into the eax register
|
push byte 17h \n pop eax
|
add the contents of the eax register to the contents of edx register
|
add edx, eax
|
push the word 0xb315 onto the stack
|
push word 0xb315
|
negate all the bits of the edi register
|
not edi
|
push byte 0 onto stack
|
push byte 0
|
call the esi function
|
call esi
|
if the contents of the eax register is equal to the contents of the ebx register then jump to the L1 label
|
cmp eax, ebx \n je L1
|
define my_var word variable and initialize it to 0abcdh
|
my_var dw 0abcdh
|
if the contents of the eax register is not equal to the contents of the edi register then jump to the infinite label
|
cmp eax, edi \n jne infinite
|
move the value 0x72702f2f into the double word starting at the address [esp-0x28]
|
mov dword [esp-0x28], 0x72702f2f
|
push the byte 54 onto the stack
|
push byte 54
|
move 3 into cl
|
mov cl, 3
|
push the 0x74756873 onto the stack
|
push 0x74756873
|
subtract the contents of esi from the 32-bit integer stored at memory location var
|
sub [var], esi
|
right shift the contents of bl register by 4 bit positions
|
shr bl, 4
|
jump to the next_address label if the doubleword starting at the address contained in the eax register is not equal to the contents of the ebx regoster else jump to the eax register
|
cmp dword [eax], ebx \n jne next_addr \n jmp eax
|
push the word 0x3636 onto the stack
|
push word 0x3636
|
push the contents of esi register onto the stack
|
push esi
|
push 0x74652f2f onto the stack
|
push 0x74652f2f
|
jump short to 0x34
|
jmp short 0x34
|
add 2 to the eax register
|
add eax, 2
|
right shift the value of register edx by 4 bits
|
sar edx, 4
|
push edx on the stack
|
push edx
|
move 0x7f into the byte at address [esp]
|
mov byte [esp], 0x7f
|
push 0x4 onto the stack
|
push 0x4
|
if the byte starting at the address contained in the esi register is lower than or equal to the byte value 0x7 then jump to the lowbound label
|
cmp BYTE [esi], 0x7 \n jle lowbound
|
declare the path label
|
path:
|
jump to incpage if equal
|
jz incpage
|
compare eax to zero
|
cmp eax, 0
|
push 0x65782e2f to the stack
|
push 0x65782e2f
|
make the system call kill
|
mov eax, 37
|
call the _build function
|
call _build
|
move the byte at the address [edi] into bl
|
mov bl, byte [edi]
|
jump short to the rotate label
|
jmp short rotate
|
subtract the byte 3 from the contents of the ebx register
|
sub ebx, byte 3
|
right shift the contents of dl register by 4 bit positions
|
shr dl, 4
|
right rotate the byte in esi 1 time
|
ror byte [esi], 0x1
|
declare the one label
|
one:
|
load the effective address of the result of the operation [esi + 12] into the edx register
|
lea edx, [esi + 12]
|
push the byte 0x5 onto the stack and point ebx to the stack register
|
push byte 0x5 \n mov ebx, esp
|
push the contents of the edi register onto the stack and point ecx to the stack register
|
push edi \n mov ecx, esp
|
if the byte starting at the address contained in the esi register is lower than the byte value 0x7 then jump to the lowbound label
|
cmp BYTE [esi], 0x7 \n jl lowbound
|
declare the main_push label
|
main_push:
|
increment esi
|
inc esi
|
define an array of 5 initialized word
|
array word 5
|
decrement the counter and jump to the fill label if the count is not zero
|
loop fill
|
put the syscall 0x1f into the eax register
|
push byte 0x1f \n pop eax
|
move 0x3 into al
|
mov al, 0x3
|
move 0x2e323931 into eax
|
mov eax, 0x2e323931
|
increment the contents of the esi register
|
inc esi
|
lseek
|
mov eax, 19
|
perform the or operation between the eax register and 0xffffffff
|
or eax, 0xffffffff
|
multiply eax by the contents of the edx register
|
mul edx
|
push the word 0x7365 onto the stack
|
push word 0x7365
|
decrement the ecx register and jump to the decode label if the contents of the ecx register is not zero else jump to the EncodedShellcode label
|
loop decode \n jmp EncodedShellcode
|
push 0x10 to the stack
|
push 0x10
|
move eax into esi
|
mov esi, eax
|
swap the contents of eax and ebx
|
xchg eax, ebx
|
push ecx onto the stack
|
push ecx
|
call jmp_search
|
call jmp_search
|
decrement the contents of the eax register
|
dec eax
|
jump to the init label if the contents of the cl register is equal to the contents of the dl register else increment the contents of the cl register
|
cmp cl, dl \n je init \n inc cl
|
define number variable of a word and initialize to 12345
|
number dw 12345
|
define the byte 0xcd
|
db 0xcd
|
move the contents of esp into ecx
|
mov ecx, [esp]
|
place hexstr into edi
|
mov edi, hexstr
|
push the contents of ebx onto the stack
|
push ebx
|
call the writestring function
|
call writestring
|
if the contents of the eax register is not zero then jump to the label _recv_http_request else subtract the value 0x6 from the contents of the ecx register
|
test eax, eax \n jnz _recv_http_request \n sub ecx, 0x6
|
perform the xor operation between the ax register and the value 0x4f73
|
xor ax, 0x4f73
|
push the dword 0x5f657a69 onto the stack
|
push dword 0x5f657a69
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.