Assembly

10/29/2016 05:37 derleyvolt#1
Hi peoples , I have a doubt , well , my doubt is in assembly ,I'm studying assembly so I wanted to know if it ''function'' was found ready in OllyDBG or someone did it step by step ? Will be that it was found ready in OllyDBG/IDA/Dasm Or someone that understand of assembly , made it ?

--------------------------------------------------
asm
pushad
mov eax, BaseAddr
mov eax, dword ptr [eax]
mov eax, dword ptr [eax+$1C]
mov edi, dword ptr [eax+$28] //20
mov ecx, dword ptr [edi+$14F0]
push 1
call CallAddress1
lea edx, dword ptr [esp+$1C] //18
mov esi, eax
push edx
push flying
mov ecx, esi
call CallAddress2
mov ecx, dword ptr [edi+$14F0]
mov eax, x
mov dword ptr[esi+$20], eax
mov eax, z
mov dword ptr[esi+$24], eax
mov eax, y
mov dword ptr[esi+$28], eax
push 0
push esi
push 1
call CallAddress3
popad

----------------------------------------------------
11/04/2016 12:16 gnitargetnisid#2
yes, it was assembled by someone. in general, eax is not used to obtain pointers like here
(mov eax, BaseAddr
mov eax, dword ptr [eax]
mov eax, dword ptr [eax+$1C])

also, pushad and popad are never generated by compilers used for pw client/server, so whenever you see either of those it was manually assembled.
11/05/2016 04:32 derleyvolt#3
THX dude