[Question] Not initialized asm var menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    backtrack1's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Not initialized asm var

    Hey everyone,
    I'm trying to learn reversing with IDA and some other tools, and a got some simple "hackme.exe", which are simple programs with an "username" and "password" field i had to solve.

    I got crackme-1.rar from https://sites.google.com/site/hacking1now/crackmes and after disassembling it i understand the asm code quite well, except that there is one problem:

    I got a not initialized variable, and i don't know how to handle it (or if i misread something)

    Here is a picture of the relevant source code:
    [Question] Not initialized asm var-ida-png
    There is no previous occurrence of "var_8" (not even with an hard-coded %ebp+$offset or smth) and in the bottom left box, "some" value is load in %eax, depending on what was at this address before, because afair asm does not initialize variables automatically with "zero".

    can someone give me a hint or tell me what I'm doing wrong?

    thanks
    Last edited by backtrack1; 12-12-2011 at 05:48 PM.

    [Question] Not initialized asm var
  2. #2
    Aftiagouras's Avatar Member
    Reputation
    2
    Join Date
    Mar 2008
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lea eax, [ebp+var_8] only loads a pointer to var_8 into eax, not its current value.

Similar Threads

  1. [Misc] General question.. not sure if this is the right spot for it.
    By amarus13 in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 02-28-2011, 11:23 PM
  2. [Question] Not posible to swap mount models anymore?
    By Brouwer1993 in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 11-04-2008, 03:22 PM
  3. [Question] Not all of my custom patches load! =(
    By Teri928 in forum WoW ME Questions and Requests
    Replies: 8
    Last Post: 12-16-2007, 05:40 PM
  4. Fraps question (not asking for cracked version)
    By 0-0-7 in forum World of Warcraft General
    Replies: 2
    Last Post: 01-14-2007, 11:15 AM
All times are GMT -5. The time now is 02:19 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search