StormStartup
function · unassigned
- Address
0x645010· 10 bytes, up to0x645019- Meaning
- Starts Storm: its locks through 0x65aa20 and its allocator through 0x646280
- Confidence
- verified, proof one
- Finding
- core/threads#process-entry
Finding: Process entry in core: process entry and threads
The PE entry point 0x401000 calls 0x645010, then jumps to the C runtime start-up 0x4098c0.
0x645010 starts Storm: 0x65aa20 initializes five critical sections once, and 0x646280 runs
SMemInitialize once. The start-up reads the OS version, runs the runtime's set-up, takes the
command line and the startup info, and calls WinMain(GetModuleHandleA(0), 0, command line, show)
at 0x40999b, show being the startup info's wShowWindow when its flag bit 0 is set, else 10,
and exits with the return value. WinMain (0x404100, ret 0x10) clears the x87 status, sets
the control word with __control87(0x9001f, -1), calls 0x42a1c0, and then the application body
0x402120.
The derivation is in the doc.
Callers 1
- ProcessEntry unassigned
Callees 2
- SMemInitialize storm
- InitStormLocks storm
Calls and jumps by a bare address, from tables/calls.tsv.