Advertisement
Chronos_Ouroboros

For loop disassembly

Sep 9th, 2018
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Function: S7_ServerData.Tick
  2. Function: S7_ServerData.Tick
  3. L0:
  4. mov rax, rsp
  5. mov rcx, qword [rax+40] ; mov exceptinfo, qword [$__args+40]
  6. mov rax, [rdx] ; mov v5, [vmregs]
  7. mov ecx, dword [rax] ; mov regD0, dword [v5]
  8. mov ecx, dword [rax+4] ; mov regD1, dword [v5+4]
  9. mov rax, [rdx+24] ; mov v5, [vmregs+24]
  10. mov rcx, [rax] ; mov regA0, [v5]
  11. L2:
  12. ; S7_ServerData.Tick(line 68): 02000000 LK
  13. mov ecx, 0 ; mov regD0, 0
  14. L3:
  15. ; S7_ServerData.Tick(line 68): 8e000001 LT_RK
  16. xor eax, eax ; xor v9, v9
  17. cmp ecx, 8 ; cmp regD0, 8
  18. setl eax ; setl v9
  19. test eax, eax ; test v9, v9
  20. je L7 ; je L7
  21. L5:
  22. ; S7_ServerData.Tick(line 68): 6c000001 ADDI
  23. mov ecx, 0 ; mov regD0, 0
  24. add ecx, 1 ; add regD0, 1
  25. L6:
  26. ; S7_ServerData.Tick(line 68): 4bfcffff JMP
  27. short jmp L3 ; jmp L3
  28. L7:
  29. ; S7_ServerData.Tick(line -1): 56808000 RET
  30. mov eax, 0 ; mov v10, 0
  31. L1:
  32. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement