Function at 0x424582
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x52108a
call fcn.004e66c0
sub esp, 0x244
test byte [0x59f388], 1
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], esp
jne 0x4245e4
mov al, byte [ebp + 0xb]
or byte [0x59f388], 1
xor ebx, ebx
mov edi, 0x59f298
push ebx
mov ecx, edi
mov byte [0x59f298], al
call fcn.004016d9
mov esi, 0x584b40
push esi
call fcn.004e68b0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00401a6a
push 0x4257f5
call fcn.004e7063
pop ecx
jmp 0x4245e6
xor ebx, ebx
test byte [0x59f388], 2
jne 0x42462b
mov al, byte [ebp + 0xb]
or byte [0x59f388], 2
mov edi, 0x59f2c8
push ebx
mov ecx, edi
mov byte [0x59f2c8], al
call fcn.004016d9
mov esi, 0x584b38
push esi
call fcn.004e68b0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00401a6a
push 0x4257e8
call fcn.004e7063
pop ecx
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.004016d9
mov esi, dword [ebp + 8]
push 0xa
mov dword [ebp - 4], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a2268]
mov edi, 0x59f298
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 1
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x4246de
lea ecx, [ebp - 0x220]
call fcn.004e67d3
lea eax, [ebp - 0x220]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], 0x1e
jbe 0x424710
push dword [0x530940]
lea ecx, [ebp - 0x20]
push 0x1e
call fcn.00401a9f
lea ecx, [ebp - 0x20]
call fcn.00419069
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call fcn.00419069
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x424746
cmp byte [ecx], 9
jne 0x424743
mov byte [ecx], 0x20
inc ecx
jmp 0x424737
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10]
call fcn.0042dbba
push dword [0x530940]
lea ecx, [ebp - 0x20]
push ebx
push ecx
mov ecx, eax
call fcn.0040199c
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x4247aa
lea ecx, [ebp - 0x1cc]
call fcn.004e67d3
lea eax, [ebp - 0x1cc]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a2290]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 3
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x424843
lea ecx, [ebp - 0x1e4]
call fcn.004e67d3
lea eax, [ebp - 0x1e4]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, 0x12c
add esp, 0xc
cmp dword [ebp - 0x18], eax
jbe 0x424878
push dword [0x530940]
lea ecx, [ebp - 0x20]
push eax
call fcn.00401a9f
lea ecx, [ebp - 0x20]
call fcn.00419069
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call fcn.00419069
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x4248ae
cmp byte [ecx], 9
jne 0x4248ab
mov byte [ecx], 0xa
inc ecx
jmp 0x42489f
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.0041fc1d
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x424901
lea ecx, [ebp - 0x1fc]
call fcn.004e67d3
lea eax, [ebp - 0x1fc]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a1c00]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 5
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x42499a
lea ecx, [ebp - 0x178]
call fcn.004e67d3
lea eax, [ebp - 0x178]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10]
call fcn.0042dbba
add eax, 0x30
mov ecx, eax
call fcn.0042d948
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10]
call fcn.0042dbba
add eax, 0x30
mov ecx, eax
call fcn.0042d948
mov ecx, dword [ebp + 8]
push 0xa
cmp ecx, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
je 0x424a62
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x424a1d
lea ecx, [ebp - 0xb8]
call fcn.004e67d3
lea eax, [ebp - 0xb8]
push 0x561978
push eax
mov dword [ebp - 0xb8], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 7
push dword [eax + 4]
push esi
call fcn.004b4774
add dword [ebp + 8], 0x20
mov dword [ebp - 4], ebx
jmp 0x4249b5
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x424aa2
lea ecx, [ebp - 0xd0]
call fcn.004e67d3
lea eax, [ebp - 0xd0]
push 0x561978
push eax
mov dword [ebp - 0xd0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a24dc]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 9
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x424b3b
lea ecx, [ebp - 0x190]
call fcn.004e67d3
lea eax, [ebp - 0x190]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10]
call fcn.0042dbba
add eax, 0x34
mov ecx, eax
call fcn.0042d95e
mov cl, byte [ebp + 0xb]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x54], cl
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 0xb
cmp ecx, ebx
jne 0x424b71
xor eax, eax
jmp 0x424b7f
mov eax, dword [ebp - 0x24]
push 0x4c
mov eax, dword [eax + 8]
sub eax, ecx
pop ecx
cdq
idiv ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0042bdf5
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
cmp eax, dword [ecx + 8]
je 0x424bb4
lea eax, [ebp + 8]
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x4c]
call fcn.004ae478
add dword [ebp + 8], 0x4c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 8]
jne 0x424b96
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], eax
je 0x424bcd
push dword [ebp + 8]
push ebx
push ebx
push eax
push dword [ebp - 0x50]
call fcn.004388e8
add esp, 0x14
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x24], eax
je 0x424c6e
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x424c26
lea ecx, [ebp - 0xe8]
call fcn.004e67d3
lea eax, [ebp - 0xe8]
push 0x561978
push eax
mov dword [ebp - 0xe8], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
push dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
call fcn.004c0522
add dword [ebp - 0x24], 4
mov dword [ebp - 4], 0xb
jmp 0x424bd3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.004adef0
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x424cc0
lea ecx, [ebp - 0x100]
call fcn.004e67d3
lea eax, [ebp - 0x100]
push 0x561978
push eax
mov dword [ebp - 0x100], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 2
jl 0x42517a
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a1dec]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xe
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0xe
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x424d66
lea ecx, [ebp - 0x1a8]
call fcn.004e67d3
lea eax, [ebp - 0x1a8]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x70], ecx
mov eax, dword [eax]
mov edi, dword [eax + 0x7c]
mov eax, dword [0x5867d4]
add edi, ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + eax]
mov ecx, dword [edi]
add eax, 4
add ecx, 4
push eax
call fcn.00404159
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov eax, dword [0x5867d4]
setne byte [ebp + 0xb]
mov eax, dword [ecx + eax]
mov ecx, dword [edi]
add eax, 0x14
add ecx, 0x14
push eax
call fcn.00404159
test eax, eax
setne byte [ebp - 0x2d]
cmp byte [ebp + 0xb], bl
jne 0x424dce
cmp byte [ebp - 0x2d], bl
je 0x42507b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jne 0x4250dd
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10]
call fcn.0042dbba
add eax, 0x78
mov ecx, eax
call fcn.0042d974
add eax, dword [ebp - 0x24]
cmp byte [ebp + 0xb], bl
mov dword [ebp - 0x34], eax
je 0x424f79
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a2840]
add esp, 0xc
lea ecx, [ebp - 0x54]
mov edi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
mov byte [ebp - 0x54], al
call fcn.004016d9
push edi
call fcn.004e68b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401a6a
lea eax, [ebp - 0x54]
push 0x3a
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x10
call fcn.004341a8
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0x10
call fcn.004016d9
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
jne 0x425103
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], 0xc
jbe 0x424ed9
push dword [0x530940]
lea ecx, [ebp - 0x20]
push 0xc
call fcn.00401a9f
lea ecx, [ebp - 0x20]
call fcn.00419069
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00419069
mov ecx, dword [ebp - 0x18]
mov eax, edi
add ecx, edi
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x424f0b
cmp byte [ecx], 9
jne 0x424f08
mov byte [ecx], 0x20
inc ecx
jmp 0x424efc
lea ecx, [ebp - 0x20]
call fcn.00419069
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00419069
mov eax, dword [ebp - 0x18]
add eax, edi
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x424f4c
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
push eax
call fcn.004e7177
test eax, eax
pop ecx
je 0x424f4c
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jne 0x424f33
lea ecx, [ebp - 0x20]
call fcn.00419069
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
add eax, edx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [ebp + 8], ecx
je 0x425129
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
call fcn.0044a136
cmp byte [ebp - 0x2d], bl
je 0x42507b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a110c]
add esp, 0xc
lea ecx, [ebp - 0x88]
mov edi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
mov byte [ebp - 0x88], al
call fcn.004016d9
push edi
call fcn.004e68b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x88]
call fcn.00401a6a
lea eax, [ebp - 0x88]
push 0x3a
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x12
call fcn.004341a8
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x44]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
call fcn.004016d9
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
jne 0x42514f
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00419069
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00419069
mov ecx, dword [ebp - 0x18]
mov eax, edi
add ecx, edi
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x42506f
cmp byte [ecx], 9
jne 0x42506c
mov byte [ecx], 0xa
inc ecx
jmp 0x425060
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
call fcn.0044a174
add dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x2c], 0x9c0
mov dword [ebp - 0x24], eax
jl 0x424d6c
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x425175
lea ecx, [ebp - 0x148]
call fcn.004e67d3
lea eax, [ebp - 0x148]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea ecx, [ebp - 0x118]
call fcn.004e67d3
lea eax, [ebp - 0x118]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea ecx, [ebp - 0x94]
call fcn.004e67d3
lea eax, [ebp - 0x94]
push 0x561978
push eax
mov dword [ebp - 0x94], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea ecx, [ebp - 0x130]
call fcn.004e67d3
lea eax, [ebp - 0x130]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea ecx, [ebp - 0x1c0]
call fcn.004e67d3
lea eax, [ebp - 0x1c0]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov edi, 0x59f298
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a2264]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x14
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0x14
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x425213
lea ecx, [ebp - 0x208]
call fcn.004e67d3
lea eax, [ebp - 0x208]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x2c], ebx
mov edi, 0x584b34
mov al, byte [eax + 0xc]
cmp al, bl
setne cl
inc ecx
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x2c], eax
jae 0x4256bd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [0x536228]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.004257cc
test al, al
jne 0x4256b5
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x74]
mov ecx, dword [eax]
add ecx, 4
call fcn.0042a469
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp + 8], eax
call dword [edx + 0x18]
test al, al
je 0x425682
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x4252e2
lea ecx, [ebp - 0x160]
call fcn.004e67d3
lea eax, [ebp - 0x160]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
push dword [ebp - 0x74]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
add ecx, 4
call fcn.0042a48a
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x35], bl
je 0x425318
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
sub dword [ebp - 0x6c], ecx
sub dword [ebp - 0x68], eax
mov ecx, esi
call fcn.0042b960
cmp eax, 0x28
je 0x42534a
lea ecx, [ebp - 0x1d8]
call fcn.004e67d3
lea eax, [ebp - 0x1d8]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0042b841
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x24], eax
je 0x425383
lea ecx, [ebp - 0xa0]
call fcn.004e67d3
lea eax, [ebp - 0xa0]
push 0x561978
push eax
mov dword [ebp - 0xa0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x2c
je 0x4253b5
lea ecx, [ebp - 0xac]
call fcn.004e67d3
lea eax, [ebp - 0xac]
push 0x561978
push eax
mov dword [ebp - 0xac], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x20
je 0x4253e7
lea ecx, [ebp - 0xc4]
call fcn.004e67d3
lea eax, [ebp - 0xc4]
push 0x561978
push eax
mov dword [ebp - 0xc4], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0042b841
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x24], eax
je 0x425420
lea ecx, [ebp - 0xdc]
call fcn.004e67d3
lea eax, [ebp - 0xdc]
push 0x561978
push eax
mov dword [ebp - 0xdc], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x2c
je 0x425452
lea ecx, [ebp - 0xf4]
call fcn.004e67d3
lea eax, [ebp - 0xf4]
push 0x561978
push eax
mov dword [ebp - 0xf4], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x20
je 0x425484
lea ecx, [ebp - 0x10c]
call fcn.004e67d3
lea eax, [ebp - 0x10c]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0042b841
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], eax
je 0x4254bd
lea ecx, [ebp - 0x124]
call fcn.004e67d3
lea eax, [ebp - 0x124]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x29
je 0x4254ef
lea ecx, [ebp - 0x13c]
call fcn.004e67d3
lea eax, [ebp - 0x13c]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov ecx, esi
call fcn.0042b960
cmp eax, 0x20
je 0x425521
lea ecx, [ebp - 0x154]
call fcn.004e67d3
lea eax, [ebp - 0x154]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
push ebx
call fcn.004016d9
push edi
call fcn.004e68b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.00401a6a
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x230]
push edx
mov byte [ebp - 4], 0x16
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
mov byte [ebp - 0x44], al
call fcn.004016d9
push edi
call fcn.004e68b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.00401a6a
push dword [ebp + 8]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0043409a
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0043409a
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x250]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0x19
call fcn.004016d9
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x18
call fcn.004016d9
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
call fcn.004016d9
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x16
call fcn.004016d9
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x425652
lea ecx, [ebp - 0x16c]
call fcn.004e67d3
lea eax, [ebp - 0x16c]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x74]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
call fcn.0042d119
mov ecx, eax
call fcn.0042a33e
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax]
mov byte [ebp - 4], 0x1b
push dword [ecx + 4]
mov ecx, eax
push esi
call dword [edx + 4]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x78]
call fcn.00420f53
jmp 0x425257
inc dword [ebp - 0x2c]
jmp 0x42522c
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x425704
lea ecx, [ebp - 0x19c]
call fcn.004e67d3
lea eax, [ebp - 0x19c]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00436a8f
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004387e5
mov eax, dword [0x5a2260]
push dword [eax]
lea eax, [ebp - 0x240]
push 0x59f298
push eax
call fcn.00434011
push 0x59f2c8
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x1d
push eax
call fcn.0043409a
add esp, 0x24
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call fcn.00404159
test eax, eax
push 1
lea ecx, [ebp - 0x230]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0x1d
call fcn.004016d9
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.004016d9
cmp byte [ebp + 0xb], bl
je 0x4257ad
lea ecx, [ebp - 0x1b4]
call fcn.004e67d3
lea eax, [ebp - 0x1b4]
push 0x561978
push eax
mov dword [ebp - method.TCreateObjFailureTooManyHeroesOnMap.virtual_0], vtable.TGameMap::TImportTextFailure.0
call fcn.004e692b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call fcn.004016d9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4