Advertisement
Guest User

Virtua Cop 3 PMIO Disassembly

a guest
Mar 30th, 2013
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. .text:000F5E70 sub_F5E70 proc near ; DATA XREF: .data:00215C4Co
  2. .text:000F5E70 mov dx, 4026h
  3. .text:000F5E74 mov ax, 102h
  4. .text:000F5E78 out dx, ax
  5. .text:000F5E7A retn
  6. .text:000F5E7A sub_F5E70 endp
  7. .text:000F5E7A
  8. .text:000F5E7A ; ---------------------------------------------------------------------------
  9. .text:000F5E7B align 10h
  10. .text:000F5E80
  11. .text:000F5E80 ; =============== S U B R O U T I N E =======================================
  12. .text:000F5E80
  13. .text:000F5E80
  14. .text:000F5E80 sub_F5E80 proc near ; DATA XREF: .data:00215C60o
  15. .text:000F5E80 mov dx, 4026h
  16. .text:000F5E84 xor ax, ax
  17. .text:000F5E87 out dx, ax
  18. .text:000F5E89 retn
  19. .text:000F5E89 sub_F5E80 endp
  20. .text:000F5E89
  21. .text:000F5E89 ; ---------------------------------------------------------------------------
  22. .text:000F5E8A align 10h
  23. .text:000F5E90
  24. .text:000F5E90 ; =============== S U B R O U T I N E =======================================
  25. .text:000F5E90
  26. .text:000F5E90
  27. .text:000F5E90 sub_F5E90 proc near ; CODE XREF: sub_F7350+20Ap
  28. .text:000F5E90
  29. .text:000F5E90 arg_0 = dword ptr 4
  30. .text:000F5E90
  31. .text:000F5E90 push offset unk_4EB590
  32. .text:000F5E95 call ds:RtlEnterCriticalSection
  33. .text:000F5E9B mov ecx, [esp+arg_0]
  34. .text:000F5E9F mov dx, 401Eh
  35. .text:000F5EA3 in ax, dx
  36. .text:000F5EA5 mov [ecx], ax
  37. .text:000F5EA8 mov dx, 4020h
  38. .text:000F5EAC in ax, dx
  39. .text:000F5EAE mov dx, 4022h
  40. .text:000F5EB2 mov [ecx+2], ax
  41. .text:000F5EB6 in ax, dx
  42. .text:000F5EB8 mov dx, 4024h
  43. .text:000F5EBC mov [ecx+4], ax
  44. .text:000F5EC0 in ax, dx
  45. .text:000F5EC2 mov [ecx+6], ax
  46. .text:000F5EC6 mov [esp+arg_0], offset unk_4EB590
  47. .text:000F5ECE jmp ds:RtlLeaveCriticalSection
  48. .text:000F5ECE sub_F5E90 endp
  49. .text:000F5ECE
  50. .text:000F5ECE ; ---------------------------------------------------------------------------
  51. .text:000F5ED4 align 10h
  52. .text:000F5EE0
  53. .text:000F5EE0 ; =============== S U B R O U T I N E =======================================
  54. .text:000F5EE0
  55. .text:000F5EE0
  56. .text:000F5EE0 sub_F5EE0 proc near ; CODE XREF: sub_F7350+223p
  57. .text:000F5EE0
  58. .text:000F5EE0 arg_0 = word ptr 4
  59. .text:000F5EE0 arg_4 = word ptr 8
  60. .text:000F5EE0 arg_8 = word ptr 0Ch
  61. .text:000F5EE0 arg_C = word ptr 10h
  62. .text:000F5EE0
  63. .text:000F5EE0 push offset unk_4EB590
  64. .text:000F5EE5 call ds:RtlEnterCriticalSection
  65. .text:000F5EEB mov ax, [esp+arg_C]
  66. .text:000F5EF0 mov dx, 4024h
  67. .text:000F5EF4 out dx, ax
  68. .text:000F5EF6 mov ax, [esp+arg_8]
  69. .text:000F5EFB mov dx, 4022h
  70. .text:000F5EFF out dx, ax
  71. .text:000F5F01 mov ax, [esp+arg_4]
  72. .text:000F5F06 mov dx, 4020h
  73. .text:000F5F0A out dx, ax
  74. .text:000F5F0C mov ax, [esp+arg_0]
  75. .text:000F5F11 mov dx, 401Eh
  76. .text:000F5F15 push offset unk_4EB590
  77. .text:000F5F1A out dx, ax
  78. .text:000F5F1C call ds:RtlLeaveCriticalSection
  79. .text:000F5F22 retn 10h
  80. .text:000F5F22 sub_F5EE0 endp
  81. .text:000F5F22
  82. .text:000F5F22 ; ---------------------------------------------------------------------------
  83. .text:000F5F25 align 10h
  84. .text:000F5F30
  85. .text:000F5F30 ; =============== S U B R O U T I N E =======================================
  86. .text:000F5F30
  87. .text:000F5F30
  88. .text:000F5F30 sub_F5F30 proc near ; DATA XREF: .data:00215C50o
  89. .text:000F5F30 mov dx, 40E0h
  90. .text:000F5F34 mov al, 1
  91. .text:000F5F36 out dx, al
  92. .text:000F5F37 retn
  93. .text:000F5F37 sub_F5F30 endp
  94. .text:000F5F37
  95. .text:000F5F37 ; ---------------------------------------------------------------------------
  96. .text:000F5F38 align 10h
  97. .text:000F5F40
  98. .text:000F5F40 ; =============== S U B R O U T I N E =======================================
  99. .text:000F5F40
  100. .text:000F5F40
  101. .text:000F5F40 sub_F5F40 proc near ; DATA XREF: .data:00215C54o
  102. .text:000F5F40 mov dx, 40E0h
  103. .text:000F5F44 mov al, 4
  104. .text:000F5F46 out dx, al
  105. .text:000F5F47 retn
  106. .text:000F5F47 sub_F5F40 endp
  107. .text:000F5F47
  108. .text:000F5F47 ; ---------------------------------------------------------------------------
  109. .text:000F5F48 align 10h
  110. .text:000F5F50
  111. .text:000F5F50 ; =============== S U B R O U T I N E =======================================
  112. .text:000F5F50
  113. .text:000F5F50
  114. .text:000F5F50 sub_F5F50 proc near ; CODE XREF: sub_F6C70+4Fp
  115. .text:000F5F50 ; DATA XREF: .data:off_215C58o
  116. .text:000F5F50 mov dx, 4026h
  117. .text:000F5F54 mov ax, 102h
  118. .text:000F5F58 out dx, ax
  119. .text:000F5F5A mov dx, 40E0h
  120. .text:000F5F5E mov al, 5
  121. .text:000F5F60 out dx, al
  122. .text:000F5F61 retn
  123. .text:000F5F61 sub_F5F50 endp
  124. .text:000F5F61
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement