社区服务 统计排行
  • 3601阅读
  • 0回复
自由自在 离线

级别: 编辑

  • UID3
  • 精华 0
  • 发帖872
  • 铜币936 枚
  • 威望0 点
  • 贡献值177 点
  • 银元0 个
  • 好评度0 点
  • 在线时间87(时)
  • 注册时间2019-02-22
  • 最后登录2019-03-31
正序阅读   只看楼主      0楼 发表于: 2019-02-24
更多操作

[GM技术] 解决挂GS的

本帖被 admin 从 |奇迹|技术研究 移动到本区(2019-08-21)
0047B2F0 /> \55 PUSH EBP
0047B2F1 |. 8BEC MOV EBP,ESP
0047B2F3 |. 83EC 74 SUB ESP,74
0047B2F6 |. 53 PUSH EBX
0047B2F7 |. 56 PUSH ESI
0047B2F8 |. 57 PUSH EDI
0047B2F9 |. 894D FC MOV [LOCAL.1],ECX
0047B2FC |. 8B45 0C MOV EAX,[ARG.2]
0047B2FF |. 50 PUSH EAX
0047B300 |. 8B4D 08 MOV ECX,[ARG.1]
0047B303 |. 51 PUSH ECX
0047B304 |. E8 A379F8FF CALL 00402CAC
0047B309 |. 83C4 08 ADD ESP,8
0047B30C |. 8945 F8 MOV [LOCAL.2],EAX
0047B30F |. 8B55 10 MOV EDX,[ARG.3]
0047B312 |. 2B55 08 SUB EDX,[ARG.1]
0047B315 |. 8955 DC MOV [LOCAL.9],EDX
0047B318 |. 8B45 14 MOV EAX,[ARG.4]
0047B31B |. 2B45 0C SUB EAX,[ARG.2]
0047B31E |. 8945 D8 MOV [LOCAL.10],EAX
0047B321 |. 837D DC 00 CMP [LOCAL.9],0
0047B325 |. 7D 11 JGE SHORT 0047B338
0047B327 |. 8B4D DC MOV ECX,[LOCAL.9]
0047B32A |. F7D9 NEG ECX
0047B32C |. 894D DC MOV [LOCAL.9],ECX
0047B32F |. C745 F4 FFFFFFFF MOV [LOCAL.3],-1
0047B336 |. EB 07 JMP SHORT 0047B33F
0047B338 |> C745 F4 01000000 MOV [LOCAL.3],1
0047B33F |> 837D D8 00 CMP [LOCAL.10],0
0047B343 |. 7D 11 JGE SHORT 0047B356
0047B345 |. 8B55 D8 MOV EDX,[LOCAL.10]

0047B348 |. F7DA NEG EDX
0047B34A |. 8955 D8 MOV [LOCAL.10],EDX
0047B34D |. C745 F0 00FFFFFF MOV [LOCAL.4],-100
0047B354 |. EB 07 JMP SHORT 0047B35D
0047B356 |> C745 F0 00010000 MOV [LOCAL.4],100
0047B35D |> 8B45 DC MOV EAX,[LOCAL.9]
0047B360 |. 3B45 D8 CMP EAX,[LOCAL.10]
0047B363 |. 7E 1A JLE SHORT 0047B37F
0047B365 |. 8B4D DC MOV ECX,[LOCAL.9]
0047B368 |. 894D E4 MOV [LOCAL.7],ECX
0047B36B |. 8B55 D8 MOV EDX,[LOCAL.10]
0047B36E |. 8955 E0 MOV [LOCAL.8],EDX
0047B371 |. 8B45 F0 MOV EAX,[LOCAL.4]
0047B374 |. 8945 EC MOV [LOCAL.5],EAX
0047B377 |. 8B4D F4 MOV ECX,[LOCAL.3]
0047B37A |. 894D E8 MOV [LOCAL.6],ECX
0047B37D |. EB 18 JMP SHORT 0047B397
0047B37F |> 8B55 D8 MOV EDX,[LOCAL.10]
0047B382 |. 8955 E4 MOV [LOCAL.7],EDX
0047B385 |. 8B45 DC MOV EAX,[LOCAL.9]
0047B388 |. 8945 E0 MOV [LOCAL.8],EAX
0047B38B |. 8B4D F4 MOV ECX,[LOCAL.3]
0047B38E |. 894D EC MOV [LOCAL.5],ECX
0047B391 |. 8B55 F0 MOV EDX,[LOCAL.4]
0047B394 |. 8955 E8 MOV [LOCAL.6],EDX
0047B397 |> C745 D4 00000000 MOV [LOCAL.11],0
0047B39E |. C745 D0 00000000 MOV [LOCAL.12],0
0047B3A5 |. C745 CC 00000000 MOV [LOCAL.13],0
0047B3AC |> 8B45 FC /MOV EAX,[LOCAL.1]
0047B3AF |. 8B48 10 |MOV ECX,[EAX+10]
test ecx,ecx
jz 0047B40D
0047B3B2 |. 8B55 F8 |MOV EDX,[LOCAL.2]
0047B3B5 |. 33C0 |XOR EAX,EAX
0047B3B7 |. 8A0411 |MOV AL,[ECX+EDX] 这里引起的挂GS
0047B3BA |. 83E0 04 |AND EAX,4
0047B3BD |. 83F8 04 |CMP EAX,4
0047B3C0 |. 75 04 |JNZ SHORT 0047B3C6
0047B3C2 |. 33C0 |XOR EAX,EAX
0047B3C4 |. EB 47 |JMP SHORT 0047B40D
0047B3C6 |> 8B4D D4 |MOV ECX,[LOCAL.11]
0047B3C9 |. 034D E0 |ADD ECX,[LOCAL.8]
0047B3CC |. 894D D4 |MOV [LOCAL.11],ECX
0047B3CF |. 8B45 E4 |MOV EAX,[LOCAL.7]
0047B3D2 |. 99 |CDQ
0047B3D3 |. 2BC2 |SUB EAX,EDX
0047B3D5 |. D1F8 |SAR EAX,1
0047B3D7 |. 3945 D4 |CMP [LOCAL.11],EAX
0047B3DA |. 7E 12 |JLE SHORT 0047B3EE
0047B3DC |. 8B55 F8 |MOV EDX,[LOCAL.2]
0047B3DF |. 0355 EC |ADD EDX,[LOCAL.5]
0047B3E2 |. 8955 F8 |MOV [LOCAL.2],EDX
0047B3E5 |. 8B45 D4 |MOV EAX,[LOCAL.11]
0047B3E8 |. 2B45 E4 |SUB EAX,[LOCAL.7]
0047B3EB |. 8945 D4 |MOV [LOCAL.11],EAX
0047B3EE |> 8B4D F8 |MOV ECX,[LOCAL.2]
0047B3F1 |. 034D E8 |ADD ECX,[LOCAL.6]
0047B3F4 |. 894D F8 |MOV [LOCAL.2],ECX
0047B3F7 |. 8B55 D0 |MOV EDX,[LOCAL.12]
0047B3FA |. 83C2 01 |ADD EDX,1
0047B3FD |. 8955 D0 |MOV [LOCAL.12],EDX
0047B400 |. 8B45 D0 |MOV EAX,[LOCAL.12]
0047B403 |. 3B45 E4 |CMP EAX,[LOCAL.7]
0047B406 |.^ 7E A4 \JLE SHORT 0047B3AC
0047B408 |. B8 01000000 MOV EAX,1
0047B40D |> 5F POP EDI
0047B40E |. 5E POP ESI
0047B40F |. 5B POP EBX
0047B410 |. 8BE5 MOV ESP,EBP
0047B412 |. 5D POP EBP
0047B413 \. C2 1000 RETN 10
描述
快速回复

如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:

验证问题:
本站地址是? 正确答案:1opk.com
 回复后跳转到最后一页