Function at 0x525ce0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
push str.CParkManager::read_from_compressed_map_buffer__
mov edi, ecx
call fcn.00405b60
push 1
push str.Ed_Save_Map
call fcn.00419e70
push str.Sk4Ed_Dead
mov dword [esp + 0x2c], eax
call fcn.00413eb0
mov esi, dword [edi + 0x5150]
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
cmp word [esi + 6], 0x4e21
je 0x525d35
mov ecx, edi
call fcn.00525fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov al, byte [esi + 0xc]
mov byte [edi + 0x1c1c], al
mov cl, byte [esi + 0xd]
mov byte [edi + 0x1c1e], cl
mov dl, byte [esi + 0xe]
mov byte [edi + 0x1c1f], dl
mov al, byte [esi + 0xf]
xor ecx, ecx
mov byte [edi + 0x1c21], al
mov cx, word [esi + 8]
lea edx, [esi + 0x54]
mov dword [edi + 0x1c18], ecx
xor ecx, ecx
xor eax, eax
mov ebp, dword [edi + 0x1c28]
add eax, 0x10
movsx ebx, byte [edx]
mov ebp, dword [ecx + ebp]
inc edx
cmp eax, 0x2a0
mov dword [eax + ebp - 0x10], ebx
mov ebx, dword [edi + 0x1c28]
mov ebx, dword [ebx + ecx]
mov dword [ebx + eax - 0xc], 0
jl 0x525d6c
add ecx, 4
cmp ecx, 0xa8
jl 0x525d6a
cmp word [esi + 0x10], 0
mov ebp, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], 0
jbe 0x525e7b
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 4]
mov edx, ebx
and edx, 0x3ff
push edx
call fcn.00408850
cmp eax, dword [esp + 0x20]
je 0x525e57
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x525df0
mov edx, dword [ecx + 4]
cmp dword [edx + 0x38], eax
je 0x525df2
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x525de1
xor edx, edx
push 0
push edx
mov ecx, edi
call fcn.005215d0
mov ecx, esi
mov ebp, eax
shr ecx, 2
and cl, 0x1f
mov eax, ebx
sub cl, 0x10
and esi, 3
shr eax, 0xa
shr ebx, 0x12
mov byte [esp + 0x25], cl
push esi
mov ecx, ebp
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x28], al
mov byte [esp + 0x2a], bl
call fcn.0051e800
mov eax, dword [esp + 0x24]
push ebp
mov cx, word [esp + 0x2c]
sub esp, 8
mov edx, esp
mov dword [edx], eax
mov word [edx + 4], cx
mov ecx, edi
call fcn.00521d80
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor edx, edx
add ebp, 8
mov dx, word [ecx + 0x10]
inc eax
cmp eax, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jl 0x525dbc
mov esi, ecx
cmp word [esi + 0x12], 0
mov dword [esp + 0x1c], 0
jbe 0x525f7f
mov eax, 0xfffffffe
lea edx, [ebp + 2]
sub eax, ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jmp 0x525ea6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2e]
mov ecx, 2
mov byte [eax - 2], 0
mov byte [eax - 1], 0
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 0
add eax, 6
dec ecx
jne 0x525eaf
xor eax, eax
xor ebx, ebx
mov al, byte [edx + 6]
mov esi, eax
mov eax, edx
lea edx, [esp + 0x2d]
mov cl, byte [eax - 2]
mov ebp, esi
mov byte [edx - 1], cl
mov cl, byte [eax]
sub cl, 8
mov byte [edx], cl
mov cl, byte [eax + 2]
mov byte [edx + 1], cl
mov cl, bl
shr ebp, cl
xor ecx, ecx
add edx, 6
mov cl, byte [eax + 4]
add ebx, 4
and ebp, 0xf
mov dword [esp + ebx + 0x34], ebp
mov ebp, ecx
shr ebp, 4
mov dword [esp + ebx + 0x3c], ebp
mov ebp, dword [esp + 0x18]
and ecx, 0xf
inc eax
mov dword [esp + ebx + 0x44], ecx
lea ecx, [eax + ebp]
cmp ecx, 2
jl 0x525edb
mov esi, dword [esp + 0x10]
lea edx, [esp + ebp + 0x48]
lea eax, [esi + 8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x525f2e
xor edx, edx
lea eax, [esp + 0x2c]
mov dx, word [esi + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 2
call fcn.00522eb0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
add esi, 0x2c
mov cx, word [edx + 0x12]
sub ebp, 0x2c
inc eax
mov dword [esp + 0x10], esi
cmp eax, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
jl 0x525ea2
mov eax, dword [edi + 0x5154]
push str.end_CParkManager::read_from_compressed_map_buffer__
and al, 0xfb
or al, 1
mov dword [edi + 0x5154], eax
call fcn.00405b60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret