Function at 0x52fdc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
call fcn.0042d4e0
test eax, eax
jne 0x52fde6
mov dword [esi + 0x20], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x180]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x20], ebx
je 0x52fe03
push eax
mov ecx, esi
call fcn.0052fb00
mov dword [esi + 0x180], ebx
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x530509
push edi
call fcn.00524e60
mov al, byte [eax + 0x1d0]
lea ecx, [ebp - 0x50]
mov byte [ebp - 5], al
call fcn.005310d0
push str.WESTRING_TERRAIN
push ebx
push ebx
mov ecx, esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.0052fc80
push str.WESTRING_TEXTURE
push 0xffff
push eax
mov ecx, esi
mov dword [esi + 0x180], eax
call fcn.0052fc80
mov edx, dword [0x81ffc0]
mov ecx, 0xdeadbeef
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov edi, eax
mov eax, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], 6
call fcn.004d4e80
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.00524e60
mov ecx, eax
call fcn.0055e6c0
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
jle 0x52ffd0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
push 0x104
lea ecx, [ebp - 0x288]
push ecx
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00508db0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00508dd0
test eax, eax
jne 0x52ff48
push ebx
push 0x104
lea edx, [ebp - 0x38c]
mov ecx, str.WESTRING_UNBUILDABLE
call fcn.004eec20
lea edx, [ebp - 0x38c]
push edx
push str.___s_
lea eax, [ebp - 0x490]
push 0x104
push eax
call fcn.006c4a92
add esp, 0x10
push Ordinal_2
lea ecx, [ebp - 0x490]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.006c4aaa
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
lea eax, [ebp - 0x50]
push eax
push ebx
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x44], edx
call fcn.0052fcf0
mov ecx, dword [ebp - 4]
push ebx
push ebx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + ecx*4]
push edx
push 0x10
mov edx, 0x10
call fcn.004f1560
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1f]
call fcn.00470df0
mov eax, dword [ebp - 0x68]
push 1
lea edx, [ebp - 0x1f]
push edx
push 1
mov edx, 0x10
push eax
mov ecx, edx
call fcn.004f1360
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0x10
push 0x10
push edx
call fcn.0042f840
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
cmp eax, ecx
mov dword [ebp - 4], eax
jl 0x52fec6
push ebx
push 0x104
lea eax, [ebp - 0x288]
push eax
mov edx, str.Blight
mov ecx, str.MiscBrushes
call fcn.004d1ee0
lea ecx, [ebp - 0x50]
push ecx
push ebx
lea edx, [ebp - 0x288]
push edx
push edi
mov ecx, esi
mov dword [ebp - 0x44], 0x424c4947
call fcn.0052fcf0
mov cl, byte [ebp - 5]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0x10
mov edx, 0x10
call fcn.004f1ae0
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xc]
call fcn.00470df0
mov edx, dword [ebp - 0x68]
push 1
lea ecx, [ebp - 0xc]
push ecx
push 1
push edx
mov edx, 0x10
mov ecx, edx
call fcn.004f1360
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x18]
push eax
push 0x10
push 0x10
push ecx
mov ecx, dword [esi + 4]
call fcn.0042f840
push ebx
push 0x104
lea edx, [ebp - 0x288]
push edx
mov edx, str.Nothing
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push 1
push 0x104
lea eax, [ebp - 0x184]
push eax
mov edx, str.Nothing
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea ecx, [ebp - 0x184]
push ecx
call fcn.006c4aaa
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x44], 0x4e4f5448
call fcn.0052fcf0
push ebx
lea edx, [ebp - 0x288]
push 0x104
push edx
mov edx, str.Unnothing
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push 1
push 0x104
lea eax, [ebp - 0x184]
push eax
mov edx, str.Unnothing
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea ecx, [ebp - 0x184]
push ecx
call fcn.006c4aaa
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x44], 0x4e4f5452
call fcn.0052fcf0
call fcn.004d4ec0
mov edi, eax
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.0050a640
xor edx, edx
lea ecx, [ebp - 0x80]
call fcn.004d76d0
mov edx, dword [0x81ffc0]
mov ecx, 0xdeadbeef
mov dword [ebp - 0x44], ecx
mov eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x50], 6
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
jle 0x5303ee
jmp 0x5301b0
mov edi, dword [ebp - 0xc]
nop
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 4]
push ebx
push 0x104
lea eax, [ebp - 0x288]
push eax
mov eax, dword [ecx + edx*4]
push eax
mov ecx, edi
call fcn.0050a580
mov edx, dword [esi + 0x180]
lea ecx, [ebp - 0x288]
push ecx
push 0xffff
push edx
mov ecx, esi
call fcn.0052fc80
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x3c], edx
xor edi, edi
lea esp, [esp]
push edi
push 0x7a98ec
lea eax, [ebp - 0x18]
push 5
push eax
call fcn.006c4a92
add esp, 0x10
push ebx
push 0x104
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x18]
mov ecx, str.CliffBrushes
call fcn.004d1ee0
push 1
push 0x104
lea edx, [ebp - 0x184]
push edx
lea edx, [ebp - 0x18]
mov ecx, str.CliffBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea eax, [ebp - 0x184]
push eax
call fcn.006c4aaa
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x288]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x40], edi
call fcn.0052fcf0
inc edi
cmp edi, 4
jle 0x530200
push ebx
push 0x104
lea edx, [ebp - 0x288]
push edx
mov edx, str.DeepWater
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push 1
push 0x104
lea eax, [ebp - 0x184]
push eax
mov edx, str.DeepWater
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea ecx, [ebp - 0x184]
push ecx
call fcn.006c4aaa
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x40], 5
call fcn.0052fcf0
push ebx
push 0x104
lea edx, [ebp - 0x288]
push edx
mov edx, str.ShallowWater
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push 1
push 0x104
lea eax, [ebp - 0x184]
push eax
mov edx, str.ShallowWater
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea ecx, [ebp - 0x184]
push ecx
call fcn.006c4aaa
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x40], 6
call fcn.0052fcf0
push ebx
push 0x104
lea edx, [ebp - 0x288]
push edx
mov edx, str.Ramp
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push 1
push 0x104
lea eax, [ebp - 0x184]
push eax
mov edx, str.Ramp
mov ecx, str.MiscBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea ecx, [ebp - 0x184]
push ecx
call fcn.006c4aaa
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], 7
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
mov ecx, esi
call fcn.0052fcf0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, ecx
mov dword [ebp - 4], eax
jl 0x5301ac
mov edx, dword [esi + 0x180]
push str.WESTRING_HEIGHT
push 0xffff
push edx
mov ecx, esi
call fcn.0052fc80
mov ecx, dword [0x81ffc0]
mov dword [ebp - 0xc], eax
mov eax, 0xdeadbeef
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], 6
xor edi, edi
push edi
push 0x7a98ec
lea edx, [ebp - 0x20]
push 5
push edx
call fcn.006c4a92
add esp, 0x10
push ebx
push 0x104
lea eax, [ebp - 0x288]
push eax
lea edx, [ebp - 0x20]
mov ecx, str.HeightBrushes
call fcn.004d1ee0
push 1
push 0x104
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x20]
mov ecx, str.HeightBrushes
call fcn.004d1ee0
push Ordinal_2
push str..blp
lea edx, [ebp - 0x184]
push edx
call fcn.006c4aaa
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x288]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x38], edi
call fcn.0052fcf0
inc edi
cmp edi, 5
jl 0x530440
mov eax, dword [ebp - 0x78]
cmp eax, ebx
pop edi
je 0x5304df
push ebx
push 0xfffffffffffffffe
push 0x7acac8
push eax
call fcn.006c4a80
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x5304f4
push ebx
push 0xfffffffffffffffe
push 0x7acac8
push eax
call fcn.006c4a80
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x530509
push ebx
push 0xfffffffffffffffe
push str.._AVCImVector_NTempest__
push eax
call fcn.006c4a80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret