Function at 0x527d10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec29f
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x36c], ebx
call fcn.005158e0
xor eax, eax
cmp eax, dword [ebx + 0x30]
sbb eax, eax
and eax, 0x18
add eax, 8
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x527d62
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x110]
push str._s_regen.txt
push eax
call fcn.004115d0
add esp, 0xc
lea ecx, [ebp - 0x348]
call fcn.004a4fa0
mov ecx, dword [0x6d7a3c]
lea eax, [ebp - 0x364]
push 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.004da3d0
test al, al
jne 0x527db6
xor bl, bl
jmp 0x52845e
lea ecx, [ebp - 0x384]
call fcn.004a5520
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
push dword [ebp - 0x364]
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 2
push 0
call fcn.004a54e0
push eax
lea ecx, [ebp - 0x384]
call fcn.004a5590
xor esi, esi
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x358], esi
call fcn.004a5970
test eax, eax
je 0x528446
nop dword [eax]
push 0x5f4f90
lea eax, [ebp - 0x354]
push eax
push esi
lea ecx, [ebp - 0x384]
call fcn.004a5e20
test al, al
je 0x528427
push dword [ebp - 0x354]
call fcn.004a91d0
mov esi, dword [ebp - 0x354]
add esp, 4
mov eax, esi
mov edi, eax
mov ebx, dword [esi + 0x14]
cmp ebx, 0x10
jb 0x527e62
mov eax, dword [esi]
push 1
push 0x5fc050
push dword [esi + 0x10]
push eax
call fcn.004168a0
add esp, 0x10
test eax, eax
je 0x527e9d
mov eax, edi
cmp ebx, 0x10
jb 0x527e82
mov eax, dword [esi]
push 1
push 0x622668
push dword [esi + 0x10]
push eax
call fcn.004168a0
add esp, 0x10
test eax, eax
jne 0x528427
mov ecx, dword [ebp - 0x350]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
jae 0x527ec5
push str.CMapOutdoorAccessor::LoadMonsterAreaInfo_Get_MonsterInfo_File_Format_ERROR__continue....
jmp 0x52841f
mov eax, edi
cmp ebx, 0x10
jb 0x527ece
mov eax, dword [esi]
push 1
push 0x5fc050
push dword [esi + 0x10]
push eax
call fcn.004168a0
add esp, 0x10
test eax, eax
jne 0x527ef1
mov dword [ebp - 0x35c], 1
jmp 0x527f1d
cmp ebx, 0x10
jb 0x527ef8
mov edi, dword [esi]
push 1
push 0x622668
push dword [esi + 0x10]
push edi
call fcn.004168a0
add esp, 0x10
test eax, eax
jne 0x52841a
mov dword [ebp - 0x35c], 2
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x527f28
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0xf
mov byte [ebp - 0x200], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527f48
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x200]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0x30
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x527f73
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527f93
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1e8]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0x48
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x527fbe
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527fe0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d0]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0x60
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0x10
jb 0x52800b
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528030
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1b8]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0x78
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x52805b
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528080
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1a0]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0x90
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x5280ae
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5280d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x188]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0xa8
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x5280fe
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528120
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x170]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0xc0
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 0x10
jb 0x52814e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528170
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0xd8
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 0x10
jb 0x52819e
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5281c0
sub eax, esi
lea ecx, [ebp - 0x140]
push eax
push edx
call fcn.00406cf0
mov edx, dword [ebp - 0x354]
add edx, 0xf0
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 0x10
jb 0x5281ee
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528210
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.00406cf0
cmp dword [ebp - 0x1ec], 0x10
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x200]
push eax
call fcn.005a39cf
cmp dword [ebp - 0x1d4], 0x10
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x368], eax
cmovae ecx, dword [ebp - 0x1e8]
push ecx
call fcn.005a39cf
cmp dword [ebp - 0x1bc], 0x10
lea ecx, [ebp - 0x1d0]
mov ebx, eax
cmovae ecx, dword [ebp - 0x1d0]
push ecx
call fcn.005a39cf
cmp dword [ebp - 0x1a4], 0x10
lea ecx, [ebp - 0x1b8]
mov edi, eax
cmovae ecx, dword [ebp - 0x1b8]
push ecx
call fcn.005a39cf
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x1a0]
mov esi, eax
cmovae ecx, dword [ebp - 0x1a0]
push ecx
call fcn.005a39cf
cmp dword [ebp - 0x174], 0x10
lea eax, [ebp - 0x188]
cmovae eax, dword [ebp - 0x188]
push eax
call fcn.005a3989
cmp dword [ebp - 0x15c], 0x10
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x374], eax
cmovae ecx, dword [ebp - 0x170]
push ecx
call fcn.005a39cf
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.005a39cf
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push eax
call fcn.005a3989
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x370], eax
cmovae ecx, dword [ebp - 0x128]
push ecx
call fcn.005a3989
mov ecx, dword [ebp - 0x36c]
add esp, 0x28
mov dword [ebp - 0x360], eax
push esi
push edi
push ebx
push dword [ebp - 0x368]
call fcn.00513a30
mov esi, eax
mov eax, dword [ebp - 0x35c]
mov dword [esi + 4], eax
cmp eax, 1
jne 0x52837e
mov eax, dword [ebp - 0x360]
mov dword [esi + 0x40], eax
jmp 0x52838c
cmp eax, 2
jne 0x52838c
mov eax, dword [ebp - 0x360]
mov dword [esi + 8], eax
push dword [ebp - 0x370]
mov ecx, esi
call fcn.0053bdc0
push dword [ebp - 0x374]
mov ecx, esi
call fcn.0053be70
lea ecx, [ebp - 0x128]
call fcn.00406ed0
lea ecx, [ebp - 0x140]
call fcn.00406ed0
lea ecx, [ebp - 0x158]
call fcn.00406ed0
lea ecx, [ebp - 0x170]
call fcn.00406ed0
lea ecx, [ebp - 0x188]
call fcn.00406ed0
lea ecx, [ebp - 0x1a0]
call fcn.00406ed0
lea ecx, [ebp - 0x1b8]
call fcn.00406ed0
lea ecx, [ebp - 0x1d0]
call fcn.00406ed0
lea ecx, [ebp - 0x1e8]
call fcn.00406ed0
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.00406ed0
jmp 0x528427
push str.CMapOutdoorAccessor::LoadMonsterAreaInfo_Get_MonsterInfo_Data_ERROR__continue....
call fcn.004a4c60
add esp, 4
inc dword [ebp - 0x358]
lea ecx, [ebp - 0x384]
call fcn.004a5970
mov esi, dword [ebp - 0x358]
cmp esi, eax
jb 0x527e20
lea ecx, [ebp - 0x354]
mov bl, 1
call fcn.0040f430
lea ecx, [ebp - 0x384]
call fcn.004a5550
lea ecx, [ebp - 0x348]
call fcn.004a5030
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552bec
mov esp, ebp
pop ebp
ret