Skip to content

Instantly share code, notes, and snippets.

@israellot
Last active October 1, 2022 21:05
Show Gist options
  • Save israellot/1586de37f5e6a5fcd740e32c9c9bca87 to your computer and use it in GitHub Desktop.
Save israellot/1586de37f5e6a5fcd740e32c9c9bca87 to your computer and use it in GitHub Desktop.
G_M000_IG06: ;; offset=007BH
mov r15d, r11d
mov r12, qword ptr [rdx+r15]
mov r13, qword ptr [rdx+r15+08H]
mov rdi, qword ptr [rdx+r15+10H]
mov r15, qword ptr [rdx+r15+18H]
mov rcx, 0xFF00FF00FF00FF
and rcx, r12
add rsi, rcx
mov rcx, 0xFF00FF00FF00FF
and rcx, r13
add rsi, rcx
mov rcx, 0xFF00FF00FF00FF
and rcx, rdi
add rsi, rcx
mov rcx, 0xFF00FF00FF00FF
and rcx, r15
add rsi, rcx
mov rcx, 0xFF00FF00FF00FF00
and rcx, r12
shr rcx, 8
add rbx, rcx
mov rcx, 0xFF00FF00FF00FF00
and rcx, r13
shr rcx, 8
add rbx, rcx
mov rcx, 0xFF00FF00FF00FF00
and rcx, rdi
shr rcx, 8
add rbx, rcx
mov rcx, 0xFF00FF00FF00FF00
and rcx, r15
shr rcx, 8
add rbx, rcx
dec ebp
add r11d, 32
test ebp, ebp
jne SHORT G_M000_IG08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment