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

Disassembly:
push 0xffffffffffffffff
push 0x78315c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24c]
mov esi, ecx
mov ecx, dword [esp + 0x250]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.00661490
xor edi, edi
lea ebp, [esi + 0x64]
mov dword [esi], vtable.CRegionPalette.0
mov dword [esp + 0x244], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edi
push 0x46
push str..CRegionPalette.cpp
push 0x184
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x244], 3
je 0x6155a5
push 0xc
push 6
lea edx, [esi + 0x1c]
push edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.0063fa30
jmp 0x6155a7
xor eax, eax
push edi
push 0x104
lea edx, [esp + 0x38]
mov ecx, str.WESTRING_REGIONS
mov byte [esp + 0x24c], 2
mov dword [esi + 0x58], eax
call fcn.004da2f0
mov ecx, dword [esi + 0x58]
lea eax, [esp + 0x30]
push eax
call fcn.0063f6e0
push edi
push 0x79a340
lea ecx, [esp + 0x30]
push 5
push ecx
call sub.Storm.dll_Ordinal_578
add esp, 0x10
push edi
push 0x104
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x34]
mov ecx, str.RegionBrushes
call fcn.004b8a70
push 1
push 0x104
lea eax, [esp + 0x13c]
push eax
lea edx, [esp + 0x34]
mov ecx, str.RegionBrushes
call fcn.004b8a70
push Ordinal_2
push 0x7a76f0
lea ecx, [esp + 0x13c]
push ecx
call sub.Storm.dll_Ordinal_503
mov ecx, dword [esi + 0x58]
push edi
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00640500
mov ecx, dword [esi + 0x58]
push edi
call fcn.0063f5b0
mov eax, dword [esi + 0x58]
push edi
push 0x5a
push str..CRegionPalette.cpp
push 0x38
mov dword [eax + 0x174], 0x614ce0
mov dword [eax + 0x178], esi
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x244], 4
je 0x61569a
mov ecx, dword [esi + 4]
push edi
push 0xffffffffffffffff
push ecx
mov ecx, eax
call fcn.00413800
jmp 0x61569c
xor eax, eax
mov dword [esi + 0x5c], eax
mov edx, dword [eax]
push 0x12
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0x64
mov byte [esp + 0x24c], 2
call eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x20]
lea eax, [ecx + edx + 0x19]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.0040ad70
mov ecx, dword [esi + 0x5c]
push edi
call fcn.0040acb0
push edi
push 0x104
lea edx, [esp + 0x38]
mov ecx, str.WESTRING_REGIONS
call fcn.004da2f0
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x30]
push edx
call fcn.00413280
push edi
push 0x61
push str..CRegionPalette.cpp
push 0x34
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x244], 5
je 0x61572f
mov ecx, dword [esi + 4]
push 0x10000
push 0xf00
push ecx
mov ecx, eax
call fcn.00413ae0
jmp 0x615731
xor eax, eax
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0xc]
lea edx, [edx + ecx + 0x28]
mov ecx, dword [esi + 8]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x24c], 2
mov dword [esi + 0x60], eax
call fcn.0040ad70
mov ecx, dword [esi + 0x60]
push esi
push 0x6154a0
call fcn.0040abf0
push ebp
mov edx, 8
mov ecx, 0x7e01f8
call fcn.005386b0
mov edx, dword [ebp]
mov ecx, dword [esi + 0x60]
push edx
call fcn.00411090
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 4]
call fcn.00410dd0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.00614ed0
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00735f58
add esp, 0x238
ret 8