Function at 0x4d97a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x776832
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.006d10f0
xor ebx, ebx
lea edi, [esi + 0x180]
push ebx
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.00521170
mov dword [esi], vtable.CWorldEditFrame.2.0
mov dword [esi + 0xb4], vtable.CWorldEditFrame.1.0
mov dword [edi], vtable.CWorldEditFrame.0
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1ac], ebx
lea edi, [esi + 0x1e4]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x200], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x228], ebx
lea ebp, [esi + 0x38c]
mov ecx, ebp
mov byte [esp + 0x24], 4
call fcn.0075b930
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x188], eax
mov eax, 2
mov byte [esp + 0x24], 5
mov dword [esi + 0x1b0], 0xffffffff
mov dword [esi + 0x280], ebx
mov dword [esi + 0x274], ebx
mov byte [esi + 0x284], bl
mov dword [esi + 0x3ac], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x3ec], eax
mov dword [esi + 0x3f8], 1
mov dword [esi + 0x3fc], eax
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x268], ebx
call fcn.00747c70
fstp dword [esi + 0x3b4]
mov edx, esi
mov ecx, 0x4d9780
call fcn.00419ca0
call fcn.00412680
mov ecx, dword [esp + 0x30]
call fcn.00409fe0
mov edx, esi
mov ecx, 0x4d9790
call fcn.0040a000
mov edx, esi
mov ecx, 0x4cf450
call fcn.0040a010
xor ecx, ecx
call fcn.00417c60
mov ecx, esi
call fcn.004cdc30
push ebx
push 0xa4
push str..CWorldEditFrame.cpp
push 0xc
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 6
je 0x4d998a
mov ecx, eax
call fcn.00417370
jmp 0x4d998c
xor eax, eax
push str.Warcraft_III_World_Editor_File
push 0x104
mov ecx, eax
mov byte [esp + 0x2c], 5
mov dword [esi + 0x388], eax
call fcn.00417380
fld dword [0x7ab584]
push 1
push esi
push 0x57456569
push ecx
mov ecx, ebp
fstp dword [esp]
call fcn.0075ba60
mov ecx, ebp
call fcn.0075bac0
xor ecx, ecx
call fcn.004bf3e0
xor ecx, ecx
call fcn.0040cb20
push ebx
push 0xb3
push str..CWorldEditFrame.cpp
push 0x14
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 7
je 0x4d9a03
push esi
mov ecx, eax
call fcn.0054ad20
jmp 0x4d9a05
xor eax, eax
push ebx
push 0xb6
push str..CWorldEditFrame.cpp
push 0x68
mov dword [esi + 0x18c], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x4d9a37
mov ecx, eax
call fcn.00520410
jmp 0x4d9a39
xor eax, eax
push eax
lea ecx, [esi + 0x180]
mov byte [esp + 0x28], 5
mov dword [esi + 0x190], eax
call fcn.00520a20
mov eax, dword [esi + 0x190]
push ebx
push 0xbc
mov dword [eax + 0x20], esi
mov eax, dword [esi + 0x190]
push str..CWorldEditFrame.cpp
push 0x1c
mov dword [eax + 0xc], 1
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x4d9a99
mov ecx, dword [esi + 0x190]
push ecx
mov ecx, eax
call fcn.0051efa0
jmp 0x4d9a9b
xor eax, eax
push ebx
push 0xbd
push str..CWorldEditFrame.cpp
push 0x18
mov dword [esi + 0x194], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x4d9acd
mov ecx, eax
call fcn.00576570
jmp 0x4d9acf
xor eax, eax
push ebx
push 0xbe
push str..CWorldEditFrame.cpp
push 0x4c0
mov dword [esi + 0x198], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xb
je 0x4d9b04
mov ecx, eax
call fcn.005a89e0
jmp 0x4d9b06
xor eax, eax
push ebx
mov edx, str.Width
mov ecx, 0x7ad338
mov byte [esp + 0x28], 5
mov dword [esi + 0x19c], eax
call fcn.004b8a40
push ebx
push 0xc3
push str..CWorldEditFrame.cpp
push 0x40
mov dword [esp + 0x3c], eax
call sub.Storm.dll_Ordinal_401
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x24], 0xc
je 0x4d9b5e
xor ecx, ecx
call fcn.0040cc60
push ebx
push 0xb
push eax
mov ecx, ebp
call fcn.00414e50
jmp 0x4d9b60
xor eax, eax
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esi + 0x24c], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
mov byte [esp + 0x2c], 5
call eax
mov ecx, dword [esi + 0x24c]
push esi
push 0x4d6600
call fcn.0040abf0
push ebx
push 0xc7
push str..CWorldEditFrame.cpp
push 0x40
call sub.Storm.dll_Ordinal_401
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x24], 0xd
je 0x4d9bc8
xor ecx, ecx
call fcn.0040cc60
push 0x10000
push 0xc
push eax
mov ecx, ebp
call fcn.00414e50
jmp 0x4d9bca
xor eax, eax
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esi + 0x250], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
mov byte [esp + 0x2c], 5
call eax
mov ecx, dword [esi + 0x250]
push esi
push 0x4d6600
call fcn.0040abf0
push ebx
push 0xcc
push str..CWorldEditFrame.cpp
push 0x3c
call sub.Storm.dll_Ordinal_401
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x24], 0xe
je 0x4d9c2e
xor ecx, ecx
call fcn.0040cc60
push ebx
push 0xa
push eax
mov ecx, ebp
call fcn.004118c0
jmp 0x4d9c30
xor eax, eax
push 0x10
push 0x10
mov ecx, eax
mov byte [esp + 0x2c], 5
mov dword [esi + 0x1e0], eax
call fcn.0040c560
mov ecx, dword [esi + 0x1e0]
push ebx
push ebx
call fcn.0040ad70
mov ecx, esi
call fcn.004cfc90
mov ecx, dword [esi + 0x1e0]
push esi
push 0x4d6600
call fcn.0040abf0
mov ecx, dword [esi + 0x190]
push ebx
push 0xfffffffffffffffe
mov ebp, 0x17
push str.._AUWE_TOOLBAR_ITEM__
mov dword [edi], ecx
mov dword [esi + 0x1e8], ebp
mov edx, dword [esi + 0x1f4]
push 0x114
push edx
mov dword [esi + 0x1ec], ebp
call sub.Storm.dll_Ordinal_405
mov dword [esi + 0x1f4], eax
xor eax, eax
mov ecx, dword [esi + 0x1f4]
add ecx, eax
je 0x4d9cc9
mov edx, dword [eax + 0x7ab470]
mov dword [ecx], edx
mov edx, dword [eax + 0x7ab474]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x7ab478]
mov dword [ecx + 8], edx
add eax, 0xc
cmp eax, 0x114
jb 0x4d9ca5
mov ecx, edi
mov dword [esi + 0x1f0], ebp
call fcn.00585e70
mov ecx, dword [esi + 0x1e0]
mov edx, edi
call fcn.00585c50
push ebx
push 0xda
push str..CWorldEditFrame.cpp
push 0x414
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xf
je 0x4d9d1c
mov ecx, eax
call fcn.00522c50
jmp 0x4d9d1e
xor eax, eax
push 0x1c
mov ecx, eax
mov byte [esp + 0x28], 5
mov dword [esi + 0x1c0], eax
call fcn.005223e0
push ebx
push 0xde
push str..CWorldEditFrame.cpp
push 0x178
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x10
je 0x4d9d69
mov ecx, dword [esi + 0x190]
push ecx
push esi
mov ecx, eax
call fcn.00590800
jmp 0x4d9d6b
xor eax, eax
mov dword [esi + 0x1b4], eax
mov edx, dword [eax + 0x10]
or edx, 2
or dword [eax + 0xc], edx
mov ecx, esi
mov byte [esp + 0x24], 5
call fcn.006d0f40
cmp eax, ebx
je 0x4d9dac
mov ecx, dword [esi + 0x1b4]
cmp ecx, ebx
je 0x4d9d9c
add ecx, 0xb4
jmp 0x4d9d9e
xor ecx, ecx
push 1
push ecx
lea ecx, [eax + 0xb4]
call fcn.006caab0
push ebx
push 0xe9
push str..CWorldEditFrame.cpp
push 0x6c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x11
je 0x4d9dd8
mov ecx, eax
call fcn.00521760
jmp 0x4d9dda
xor eax, eax
mov dword [esi + 0x1bc], eax
mov dword [eax + 4], esi
mov ecx, dword [esi + 0x1bc]
push 1
mov byte [esp + 0x28], 5
call fcn.005211e0
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b4]
push eax
call fcn.00590750
push ebx
xor edx, edx
mov ecx, esi
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
call fcn.006aa9b0
mov dword [esi + 0x1cc], eax
mov ecx, dword [eax + 0x10]
or ecx, 2
or dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x1cc]
push 2
call fcn.006a9b30
mov ecx, dword [esi + 0x1cc]
push ebx
call fcn.006a9b50
fld dword [0x7addc0]
push ecx
mov ecx, dword [esi + 0x1cc]
fstp dword [esp]
call fcn.006a09a0
mov ecx, dword [esi + 0x1cc]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0xffff8080
call fcn.006a9d50
mov eax, dword [esi + 0x1b4]
cmp eax, ebx
je 0x4d9e89
add eax, 0xb4
jmp 0x4d9e8b
xor eax, eax
mov ecx, dword [esi + 0x1cc]
push 1
push eax
add ecx, 0xb4
call fcn.006caab0
mov ecx, dword [esi + 0x1cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
xor edx, edx
lea ecx, [edx + 0x13]
call fcn.004df5b0
cmp eax, 0x12c
mov dword [esi + 0x1d4], eax
jl 0x4d9ecb
mov eax, 0x12c
cmp eax, 0x64
mov dword [esi + 0x1d4], eax
jg 0x4d9edb
mov eax, 0x64
push ebx
push 0x100
push str..CWorldEditFrame.cpp
push 0x1dc
mov dword [esi + 0x1d4], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x12
je 0x4d9f13
push ebx
push ebx
push esi
mov ecx, eax
call fcn.006b06b0
jmp 0x4d9f15
xor eax, eax
push ebx
push ecx
xor edx, edx
mov ecx, esp
mov byte [esp + 0x2c], 5
mov dword [esi + 0x1d0], eax
mov dword [esp + 0x38], esp
call fcn.00411ce0
mov ecx, dword [esi + 0x1d0]
call fcn.006aeeb0
push ebx
push 0x104
push str..CWorldEditFrame.cpp
push 0x31c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x13
je 0x4d9f6c
push 0x12
push esi
mov ecx, eax
call fcn.00526790
jmp 0x4d9f6e
xor eax, eax
mov ecx, dword [esi + 0x1b4]
push ebx
push 0x108
push str..CWorldEditFrame.cpp
mov dword [esi + 0x1b8], eax
push 0x17c
mov dword [eax + 0x1b4], ecx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x14
je 0x4d9fb2
push 0x1c
push esi
mov ecx, eax
call fcn.005249f0
jmp 0x4d9fb4
xor eax, eax
push ebx
push 0x10c
push str..CWorldEditFrame.cpp
mov dword [esi + 0x1c4], eax
push 0x19c
mov dword [eax + 0x168], esi
call sub.Storm.dll_Ordinal_401
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 0x15
je 0x4d9ffb
xor ecx, ecx
call fcn.0040cc60
push 0xd
push eax
mov ecx, edi
call fcn.0051e6a0
jmp 0x4d9ffd
xor eax, eax
push ebx
push 0x110
push str..CWorldEditFrame.cpp
mov dword [esi + 0x1c8], eax
push 0x5c
mov dword [eax + 8], esi
call sub.Storm.dll_Ordinal_401
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 0x16
je 0x4da03f
xor ecx, ecx
call fcn.0040cc60
push ebx
push 0xe
push eax
mov ecx, edi
call fcn.00415be0
jmp 0x4da041
xor eax, eax
push esi
push 0x4d6600
mov ecx, eax
mov byte [esp + 0x2c], 5
mov dword [esi + 0x254], eax
call fcn.0040abf0
push ebx
push 0x113
push str..CWorldEditFrame.cpp
push 0x5c
call sub.Storm.dll_Ordinal_401
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 0x17
je 0x4da096
xor ecx, ecx
call fcn.0040cc60
push 0x10000
push 0xf
push eax
mov ecx, edi
call fcn.00415be0
jmp 0x4da098
xor eax, eax
push esi
push 0x4d6600
mov ecx, eax
mov byte [esp + 0x2c], 5
mov dword [esi + 0x258], eax
call fcn.0040abf0
push ebx
push 0x11a
push str..CWorldEditFrame.cpp
push 0x5c
call sub.Storm.dll_Ordinal_401
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 0x18
je 0x4da0ed
xor ecx, ecx
call fcn.0040cc60
push 0x10000
push 0x10
push eax
mov ecx, edi
call fcn.00415be0
jmp 0x4da0ef
xor eax, eax
push esi
push 0x4d6600
mov ecx, eax
mov byte [esp + 0x2c], 5
mov dword [esi + 0x25c], eax
call fcn.0040abf0
push ebx
push 0x122
push str..CWorldEditFrame.cpp
push 0x34
call sub.Storm.dll_Ordinal_401
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 0x19
je 0x4da140
xor ecx, ecx
call fcn.0040cc60
push ebx
push 0x11
push eax
mov ecx, edi
call fcn.00411170
jmp 0x4da142
xor eax, eax
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esi + 0x3dc], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
mov byte [esp + 0x2c], 5
call eax
mov ecx, dword [esi + 0x3dc]
push esi
push 0x4d6600
call fcn.0040abf0
mov ecx, esi
mov dword [esi + 0x3e0], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
call fcn.004d2640
push ebx
xor edx, edx
mov ecx, esi
call fcn.006aa9b0
mov edi, eax
mov ecx, dword [edi + 0x10]
or ecx, 2
or dword [edi + 0xc], ecx
mov eax, dword [esi + 0x1b4]
cmp eax, ebx
je 0x4da1ac
add eax, 0xb4
jmp 0x4da1ae
xor eax, eax
fldz
push 1
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
lea ecx, [edi + 0xb4]
push ebx
push eax
push ebx
call fcn.006caa30
fld dword [0x7addbc]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.006a09a0
mov ecx, edi
call fcn.004b9020
xor ecx, ecx
call fcn.0040cc60
mov edx, eax
xor ecx, ecx
call fcn.005910b0
xor ecx, ecx
call fcn.00591360
mov dword [esi + 0x278], ebx
mov dword [esi + 0x3a8], ebx
or eax, 0xffffffff
mov dword [esi + 0x270], eax
mov dword [esi + 0x27c], eax
mov ecx, esi
mov dword [esi + 0x3bc], ebx
mov dword [esi + 0x3c0], ebx
mov dword [esi + 0x3c4], ebx
mov dword [esi + 0x3c8], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
call fcn.004d1620
mov ecx, esi
call fcn.004d2d80
mov ecx, esi
call fcn.004cdb50
call fcn.004df900
push ebx
mov ecx, esi
call fcn.004d4130
mov ecx, esi
call fcn.004cfcd0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8