读取资源字符串(/!.NXX⑤棺?):
00407F00 push ebx
00407F01 push esi ; 请改窗口.00407F00
00407F02 add esp, -400
00407F08 mov esi, eax
00407F0A mov ebx, edx
00407F0C push 400 ; /Count = 400 (1024.)
00407F11 lea eax, dword ptr [esp+4] ; |
00407F15 push eax ; |Buffer
00407F16 mov eax, dword ptr [ebx] ; |
00407F18 push eax ; |RsrcID=1
00407F19 push esi ; |hInst
00407F1A call <jmp.&user32.LoadStringA> ; \LoadStringA
00407F1F mov ecx, eax
00407F21 mov edx, esp
00407F23 lea eax, dword ptr [ebx+4]
00407F26 call 00403F00
00407F2B cmp dword ptr [ebx+4], 0
00407F2F sete al
00407F32 add esp, 400
00407F38 pop esi
00407F39 pop ebx
00407F3A retn
0044F483 mov edx, 0044F4DC ; 传入密钥:linux
0044F488 call 0044F390 ; 解密字符串
{
0044F390 push ebp
0044F391 mov ebp, esp
0044F393 add esp, -10
0044F396 push ebx
0044F397 push esi
0044F398 push edi
0044F399 xor ebx, ebx
0044F39B mov dword ptr [ebp-10], ebx
0044F39E mov edi, ecx
0044F3A0 mov dword ptr [ebp-8], edx
0044F3A3 mov dword ptr [ebp-4], eax
0044F3A6 mov eax, dword ptr [ebp-4]
0044F3A9 call 004042C0
0044F3AE mov eax, dword ptr [ebp-8]
0044F3B1 call 004042C0
0044F3B6 xor eax, eax
0044F3B8 push ebp
0044F3B9 push 0044F44A
0044F3BE push dword ptr fs:[eax]
0044F3C1 mov dword ptr fs:[eax], esp
0044F3C4 mov ebx, 1
0044F3C9 mov eax, edi
0044F3CB call 00403E10
0044F3D0 mov eax, dword ptr [ebp-4]
0044F3D3 call 004040D0
0044F3D8 mov esi, eax
0044F3DA test esi, esi
0044F3DC jle short 0044F427
0044F3DE mov dword ptr [ebp-C], 1
0044F3E5 /lea eax, dword ptr [ebp-10]
0044F3E8 |mov edx, dword ptr [ebp-4]
0044F3EB |mov ecx, dword ptr [ebp-C]
0044F3EE |mov dl, byte ptr [edx+ecx-1] ; 逐位取出加密的字符
0044F3F2 |mov ecx, dword ptr [ebp-8]
0044F3F5 |mov cl, byte ptr [ecx+ebx-1] ; 逐位和密钥xor运算
0044F3F9 |xor dl, cl
0044F3FB |call 00403FF8
0044F400 |mov edx, dword ptr [ebp-10]
0044F403 |mov eax, edi
0044F405 |call 004040D8
0044F40A |mov eax, dword ptr [ebp-8]
0044F40D |call 004040D0
0044F412 |lea edx, dword ptr [ebx+1]
0044F415 |cmp eax, edx
0044F417 |jl short 0044F41C
0044F419 |inc ebx
0044F41A |jmp short 0044F421
0044F41C |mov ebx, 1
0044F421 |inc dword ptr [ebp-C]
0044F424 |dec esi
0044F425 \jnz short 0044F3E5
0044F427 xor eax, eax
0044F429 pop edx
0044F42A pop ecx
0044F42B pop ecx
0044F42C mov dword ptr fs:[eax], edx
0044F42F push 0044F451
0044F434 lea eax, dword ptr [ebp-10]
0044F437 call 00403E10
0044F43C lea eax, dword ptr [ebp-8]
0044F43F mov edx, 2
0044F444 call 00403E34
0044F449 retn
}
修改资源字符串为 /!.NXX靖棺? 即可!