Function at 0x6142b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x783047
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov eax, dword [esp + 0x268]
push 4
mov esi, ecx
push eax
mov dword [esp + 0x4c], esi
call fcn.004df260
xor ebp, ebp
mov dword [esi], vtable.CRegionPropertiesDialog.0
mov dword [esp + 0x25c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
lea ebx, [esi + 0x78]
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], ebp
mov eax, dword [esp + 0x264]
mov dword [esi + 0x98], ebp
mov ecx, dword [esi + 4]
push ebp
mov edx, 0x7dff54
mov byte [esp + 0x260], 3
mov dword [esi + 0x74], eax
mov dword [esi + 0x9c], ebp
call fcn.005b0170
mov ecx, dword [esi + 4]
call fcn.004bf860
push ebp
push 0x104
lea edx, [esp + 0x50]
mov ecx, str.WESTRING_REGIONPROPS
call fcn.004da2f0
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 4]
call fcn.004131e0
mov edi, 1
push edi
mov ecx, esi
call fcn.004df3f0
push ebp
push 0x31
push 0x7dff70
push 0x34
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 4
je 0x6143d6
mov edx, dword [esi + 4]
push ebp
push 0xffffffffffffffff
push edx
mov ecx, eax
call fcn.004138c0
jmp 0x6143d8
xor eax, eax
push str.Icon
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x40], eax
call fcn.005b0220
push ebp
push 0x104
lea eax, [esp + 0x154]
push eax
mov edx, str.RegionIcon
mov ecx, str.WorldEditArt
call fcn.004b8a70
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x150]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.004dcd60
push ebp
push 0x3b
push 0x7dff70
push 0x38
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 5
je 0x614470
mov edx, dword [esi + 4]
push ebp
push 0xffffffffffffffff
push edx
mov ecx, eax
call fcn.00413800
jmp 0x614472
xor eax, eax
push str.NameText
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x44], eax
call fcn.005b0220
mov ecx, dword [esi + 0x44]
push ebp
call fcn.0040acb0
push ebp
push 0x3f
push 0x7dff70
push 0x40
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 6
je 0x6144ca
mov ecx, dword [esi + 4]
push ebp
push 0xc
push ecx
mov ecx, eax
call fcn.004156c0
jmp 0x6144cc
xor eax, eax
push str.NameEdit
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x48], eax
call fcn.005b0220
mov ecx, dword [esi + 0x48]
push 0x7f
call fcn.0040b090
mov ecx, dword [esi + 0x48]
push edi
call fcn.0040b1c0
mov ecx, dword [esi + 0x48]
push edi
push 0x13
call fcn.0040b1d0
push str.WESTRING_REGIONPROPS_MINX
push 0xe
push 0xd
push str.MinX
mov ecx, esi
call fcn.00613730
push str.WESTRING_REGIONPROPS_MAXX
push 0x10
push 0xf
push str.MaxX
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.00613730
push str.WESTRING_REGIONPROPS_MINY
push 0x12
push 0x11
push str.MinY
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.00613730
push str.WESTRING_REGIONPROPS_MAXY
push 0x14
push 0x13
push str.MaxY
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00613730
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.006133e0
push ebp
push 0x5d
push 0x7dff70
push 0x34
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 7
je 0x6145a0
mov edx, dword [esi + 4]
push ebp
push 0x19
push edx
mov ecx, eax
call fcn.00413580
jmp 0x6145a2
xor eax, eax
push str.ColorButton
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x6c], eax
call fcn.005b0220
push ebp
push 0x104
lea edx, [esp + 0x50]
mov ecx, str.WESTRING_REGIONPROPS_EDITCOLOR
call fcn.004da2f0
mov ecx, dword [esi + 0x6c]
lea eax, [esp + 0x48]
push eax
call fcn.00413280
push ebp
push 0x62
push 0x7dff70
push 0x34
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 8
je 0x614612
mov ecx, dword [esi + 4]
push ebp
push 0xffffffffffffffff
push ecx
mov ecx, eax
call fcn.004138c0
jmp 0x614614
xor eax, eax
push str.ColorImage
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x70], eax
call fcn.005b0220
mov edx, dword [0x861718]
push ebp
push 0x67
push 0x7dff70
push 0x3c
mov dword [esi + 0x98], edx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 9
je 0x61466e
mov ecx, dword [esi + 4]
push 0x15
push ecx
mov ecx, eax
call fcn.00415720
jmp 0x614670
xor eax, eax
push str.WeatherCheck
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x5c], eax
call fcn.005b01f0
push ebp
push 0x104
lea edx, [esp + 0x50]
mov ecx, str.WESTRING_REGIONPROPS_HASWEATHER
call fcn.004da2f0
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x48]
push edx
call fcn.00413280
push ebp
push 0x6c
push 0x7dff70
push 0x3c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 0xa
je 0x6146df
mov ecx, dword [esi + 4]
push 0x16
push ecx
mov ecx, eax
call fcn.004139e0
jmp 0x6146e1
xor eax, eax
push str.WeatherMenu
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x60], eax
call fcn.005b0220
mov ecx, dword [esi + 0x60]
push ebp
call fcn.0040ee40
call fcn.004b8600
mov dword [esp + 0x24], eax
call fcn.004ba670
mov edi, eax
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00500bd0
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
jle 0x6147d7
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00502db0
push eax
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004f4030
cmp eax, dword [esp + 0x24]
jg 0x6147c2
mov ecx, dword [esp + 0x20]
push 0x104
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.004f3dd0
mov ecx, dword [esi + 0x60]
push 0xffffffffffffffff
lea edx, [esp + 0x4c]
push edx
call fcn.00413a60
mov edi, dword [ebx + 4]
add edi, 1
cmp edi, dword [ebx]
jbe 0x6147a9
mov ecx, dword [ebx + 0xc]
cmp ecx, ebp
jne 0x61478f
push edi
mov ecx, ebx
call fcn.004231d0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
cmp edx, ebp
je 0x61479f
sub ecx, edx
add ecx, edi
jmp 0x6147a1
mov ecx, edi
push ecx
mov ecx, ebx
call fcn.004232e0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ebx + 4], eax
mov dword [ecx], edx
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jl 0x614731
push ebp
push 0x81
push 0x7dff70
push 0x3c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 0xb
je 0x61480c
mov ecx, dword [esi + 4]
push 0x17
push ecx
mov ecx, eax
call fcn.00415720
jmp 0x61480e
xor eax, eax
push str.SoundCheck
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x64], eax
call fcn.005b01f0
push ebp
push 0x104
lea edx, [esp + 0x50]
mov ecx, str.WESTRING_REGIONPROPS_HASSOUND
call fcn.004da2f0
mov ecx, dword [esi + 0x64]
lea edx, [esp + 0x48]
push edx
call fcn.00413280
push ebp
push 0x86
push 0x7dff70
push 0x3c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x25c], 0xc
je 0x614880
mov ecx, dword [esi + 4]
push 0x18
push ecx
mov ecx, eax
call fcn.004139e0
jmp 0x614882
xor eax, eax
push str.SoundMenu
mov edx, 0x7dff54
mov ecx, eax
mov byte [esp + 0x260], 3
mov dword [esi + 0x68], eax
call fcn.005b0220
mov ecx, esi
call fcn.00613fc0
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00735f58
add esp, 0x24c
ret 8