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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x5c], ecx
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x4c]
imul edx, eax, 0x160c
mov dword [esp + 0x1c], ebx
mov ecx, dword [edx + ecx + 0x15d0]
xor edx, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
div dword [ecx + 0x18]
mov ebx, eax
mov eax, ecx
mov esi, dword [eax + 0xc]
imul esi, edx
mov edx, dword [edi]
add esi, dword [eax + 4]
cmp esi, edx
jbe 0x4b1bf8
mov edx, esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
xor ecx, ecx
mov eax, dword [eax + 0xc]
add eax, esi
mov esi, dword [edi + 8]
adc ecx, ecx
neg ecx
or ecx, eax
cmp ecx, esi
jb 0x4b1c14
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ecx
test edx, edx
js 0x4b280f
cmp ecx, edx
jle 0x4b280f
mov eax, dword [esp + 0x5c]
mov esi, dword [edi + 4]
mov edx, dword [eax + 0x10]
imul edx, ebx
add edx, dword [eax + 8]
cmp edx, esi
jbe 0x4b1c41
mov esi, edx
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [ebx + 4], esi
mov eax, dword [eax + 0x10]
add eax, edx
mov edx, dword [edi + 0xc]
adc ecx, ecx
neg ecx
or ecx, eax
cmp ecx, edx
jb 0x4b1c5e
mov ecx, edx
mov dword [ebx + 0xc], ecx
test esi, esi
js 0x4b2808
cmp ecx, esi
jle 0x4b2808
mov edi, dword [esp + 0x3c]
cmp dword [edi + 4], 0
jne 0x4b1c85
push str.tiles_require_at_least_one_resolution_n
jmp 0x4b2814
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x6c], 0
jbe 0x4b2712
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
nop
mov dword [eax + 0x24], 0
mov eax, dword [eax]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.00416320
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 4]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.00416320
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 8]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.00416320
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0xc]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.00416320
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 4]
mov ecx, dword [ecx + 0x50]
cmp eax, ecx
jae 0x4b1d6b
mov dword [ebx + 0x18], 1
jmp 0x4b1d70
sub eax, ecx
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub esi, dword [ebx]
sub ecx, dword [ebx + 4]
je 0x4b1d8c
or eax, 0xffffffff
xor edx, edx
div ecx
cmp esi, eax
ja 0x4b271e
imul ecx, esi
cmp ecx, 0x3fffffff
ja 0x4b271e
push dword [ebx + 0x34]
imul esi, dword [ebx + 0x14], 0x98
lea eax, [ecx*4]
mov dword [ebx + 0x2c], eax
call fcn.0049c3c0
mov eax, dword [ebx + 0x1c]
add esp, 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
test eax, eax
jne 0x4b1e03
push esi
call fcn.0049d4d0
add esp, 4
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x4b2821
push esi
push 0
push eax
mov dword [ebx + 0x20], esi
call sub.MSVCRT.dll_memset
jmp 0x4b1e31
cmp esi, dword [ebx + 0x20]
jbe 0x4b1e34
push esi
push eax
call fcn.0049d4f0
add esp, 8
test eax, eax
je 0x4b273a
mov ecx, esi
mov dword [ebx + 0x1c], eax
sub ecx, dword [ebx + 0x20]
add eax, dword [ebx + 0x20]
push ecx
push 0
push eax
call sub.MSVCRT.dll_memset
mov dword [ebx + 0x20], esi
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x24], esi
cmp dword [ecx + 0x14], 0
lea eax, [ecx + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x8c], 0x4b9190
je 0x4b1e65
mov dword [esp + 0x8c], 0x4b9170
mov dword [esp + 0x54], 0
test edi, edi
je 0x4b26dc
dec edi
mov eax, 1
xor edx, edx
mov dword [esp + 0x18], edi
mov ecx, edi
call fcn.00416430
mov ecx, eax
mov dword [esp + 0x20], edx
mov eax, dword [ebx]
cdq
add eax, ecx
mov dword [esp + 0x34], ecx
mov ecx, edi
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov dword [esi], eax
mov ecx, edi
mov eax, dword [ebx + 4]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov dword [esi + 4], eax
mov ecx, edi
mov eax, dword [ebx + 8]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov dword [esi + 8], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov edx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x54]
mov ebx, dword [esi]
mov dword [esi + 0xc], edi
mov ecx, dword [edx + eax*4 + 0x32c]
mov edx, dword [edx + eax*4 + 0x3b0]
mov eax, ebx
sar eax, cl
shl eax, cl
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x50], ecx
mov ecx, edx
sar eax, cl
shl eax, cl
mov dword [esp + 0x30], edx
xor edx, edx
mov dword [esp + 0x60], eax
mov eax, 1
call fcn.00416430
mov ecx, eax
mov esi, edx
mov eax, edi
cdq
add eax, ecx
mov ecx, dword [esp + 0x30]
adc edx, esi
sub eax, 1
sbb edx, 0
call fcn.00416400
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
shl eax, cl
mov dword [esp + 0x48], eax
mov edi, dword [edx + 8]
cmp ebx, edi
jne 0x4b1f76
xor esi, esi
jmp 0x4b1fb4
mov ebx, dword [esp + 0x50]
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.00416430
mov ecx, eax
mov esi, edx
mov eax, edi
cdq
add eax, ecx
mov ecx, ebx
adc edx, esi
sub eax, 1
sbb edx, 0
call fcn.00416400
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov esi, eax
shl esi, cl
sub esi, dword [esp + 0x58]
sar esi, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0x60]
mov dword [edx + 0x10], esi
cmp eax, dword [edx + 0xc]
jne 0x4b1fc7
xor edi, edi
jmp 0x4b1fcf
mov edi, dword [esp + 0x48]
sub edi, ebx
sar edi, cl
mov dword [edx + 0x14], edi
test esi, esi
je 0x4b1fe9
or eax, 0xffffffff
xor edx, edx
div esi
cmp eax, edi
jb 0x4b271e
mov edx, dword [esp + 0x24]
imul edi, esi
mov dword [esp + 0x48], edi
cmp edi, 0x6666666
ja 0x4b271e
lea esi, [edi + edi*4]
shl esi, 3
cmp dword [esp + 0x54], 0
mov dword [esp + 0x88], esi
jne 0x4b201d
mov eax, dword [esp + 0x50]
mov dword [edx + 0x18], 1
jmp 0x4b2060
mov eax, dword [esp + 0x58]
cdq
add eax, 1
adc edx, 0
shrd eax, edx, 1
sar edx, 1
mov dword [esp + 0x58], eax
mov eax, ebx
cdq
mov ebx, eax
mov eax, dword [esp + 0x50]
add ebx, 1
adc edx, 0
dec eax
shrd ebx, edx, 1
mov dword [esp + 0x50], eax
sar edx, 1
dec ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], ecx
mov dword [edx + 0x18], 3
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x44], ecx
cmp ecx, eax
jb 0x4b2073
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
cmp eax, ecx
jb 0x4b2086
mov dword [esp + 0x40], ecx
cmp dword [edx + 0x18], 0
lea ebx, [edx + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x74], 0
jbe 0x4b26b6
mov ecx, 1
mov dword [esp + 0x7c], ecx
jmp 0x4b20b0
cmp dword [esp + 0x54], 0
jne 0x4b214a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x10], 0
mov eax, dword [eax]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
cdq
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
call fcn.00416400
jmp 0x4b224d
mov eax, ecx
mov dword [ebx + 0x10], ecx
and eax, 1
mov esi, ecx
mov ecx, dword [esp + 0x18]
cdq
shr esi, 1
call fcn.00416430
mov ecx, dword [esp + 0x18]
mov edi, edx
mov ebx, eax
mov dword [esp + 0x2c], edi
mov eax, 1
xor edx, edx
lea ecx, [ecx + 1]
call fcn.00416430
mov ecx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax]
cdq
sub eax, ebx
sbb edx, edi
mov edi, dword [esp + 0x18]
add eax, ecx
adc edx, dword [esp + 0x28]
sub eax, 1
lea ecx, [edi + 1]
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, esi
cdq
mov ecx, edi
call fcn.00416430
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], esi
mov eax, dword [eax + 4]
cdq
sub eax, esi
mov esi, dword [esp + 0x18]
sbb edx, edi
add eax, dword [esp + 0x4c]
adc edx, dword [esp + 0x28]
lea ecx, [esi + 1]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea ecx, [esi + 1]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
cdq
sub eax, ebx
sbb edx, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
adc edx, dword [esp + 0x28]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], eax
mov ecx, esi
mov eax, dword [esp + 0x10]
lea ecx, [ecx + 1]
mov eax, dword [eax + 0xc]
cdq
sub eax, dword [esp + 0x68]
sbb edx, edi
add eax, dword [esp + 0x4c]
adc edx, dword [esp + 0x28]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x88]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
je 0x4b2680
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
je 0x4b2680
push dword [ebx + 0x10]
call dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, dword [esp + 0x64]
mov ecx, dword [ecx + 0x18]
sub ecx, dword [edx]
add ecx, eax
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fstp qword [esp + 0x80]
fld qword [0x50ab68]
fld qword [esp + 0x80]
call sub.MSVCRT.dll__CIpow
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
fild dword [eax + 4]
fstp qword [esp + 0x80]
fld qword [esp + 0x80]
fmul qword [0x54a3e0]
fld1
faddp st(1)
fmulp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [ebx + 0x20]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x324]
dec eax
add eax, ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4b2304
test edi, edi
je 0x4b2304
push esi
call fcn.0049d4d0
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x4b276c
push esi
jmp 0x4b2327
cmp dword [ebx + 0x18], esi
jae 0x4b2335
push esi
push eax
call fcn.0049d4f0
add esp, 8
test eax, eax
je 0x4b2788
mov ecx, esi
mov dword [ebx + 0x14], eax
sub ecx, dword [ebx + 0x18]
add eax, dword [ebx + 0x18]
push ecx
push 0
push eax
call sub.MSVCRT.dll_memset
mov dword [ebx + 0x18], esi
add esp, 0xc
mov edi, dword [ebx + 0x14]
xor esi, esi
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x48], esi
jbe 0x4b2680
mov ecx, dword [esp + 0x50]
mov ebx, 1
shl ebx, cl
mov eax, 1
mov ecx, dword [esp + 0x30]
xor edx, edx
shl eax, cl
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xb4], eax
lea eax, [esi + 1]
mov dword [esp + 0x80], ebx
call fcn.00416430
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], eax
lea eax, [esi + 1]
mov dword [esp + 0xa8], edx
xor edx, edx
call fcn.00416430
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb0], edx
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, esi
div dword [ecx + 0x10]
mov ecx, dword [esp + 0xb4]
mov esi, edx
mov edx, eax
imul esi, ebx
imul edx, ecx
add esi, dword [esp + 0x58]
add edx, dword [esp + 0x60]
lea eax, [ebx + esi]
lea ebx, [ecx + edx]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp esi, ecx
jg 0x4b23da
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov ecx, dword [ecx + 4]
cmp edx, ecx
jg 0x4b23e9
mov edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], edx
mov ecx, dword [ecx + 8]
cmp eax, ecx
jl 0x4b23f9
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov ecx, dword [ecx + 0xc]
cmp ebx, ecx
jl 0x4b2409
mov ebx, ecx
mov ecx, dword [esp + 0x44]
sar esi, cl
shl esi, cl
mov ecx, dword [esp + 0x40]
sar edx, cl
shl edx, cl
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], edx
cdq
add eax, dword [esp + 0x94]
mov dword [edi + 0xc], ebx
adc edx, dword [esp + 0xa8]
sub eax, 1
mov dword [esp + 0x4c], esi
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x44]
mov esi, eax
shl esi, cl
mov eax, ebx
sub esi, dword [esp + 0x4c]
sar esi, cl
mov ecx, dword [esp + 0x40]
cdq
add eax, dword [esp + 0xa0]
mov dword [edi + 0x10], esi
adc edx, dword [esp + 0xb0]
sub eax, 1
sbb edx, 0
call fcn.00416400
mov ecx, dword [esp + 0x40]
mov ebx, eax
shl ebx, cl
sub ebx, dword [esp + 0x70]
sar ebx, cl
mov dword [edi + 0x14], ebx
imul ebx, esi
mov dword [esp + 0xa4], ebx
cmp ebx, 0x4ec4ec4
ja 0x4b27ec
mov eax, dword [edi + 0x18]
imul esi, ebx, 0x34
test eax, eax
jne 0x4b24bf
test ebx, ebx
je 0x4b24bf
push esi
call fcn.0049d4d0
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x4b2821
push esi
jmp 0x4b24e2
cmp esi, dword [edi + 0x1c]
jbe 0x4b24f0
push esi
push eax
call fcn.0049d4f0
add esp, 8
test eax, eax
je 0x4b27ba
mov ecx, esi
mov dword [edi + 0x18], eax
sub ecx, dword [edi + 0x1c]
add eax, dword [edi + 0x1c]
push ecx
push 0
push eax
call sub.MSVCRT.dll_memset
mov dword [edi + 0x1c], esi
add esp, 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push esi
push dword [edi + 0x14]
push dword [edi + 0x10]
test eax, eax
jne 0x4b250b
call fcn.004bbd90
add esp, 0xc
jmp 0x4b2514
push eax
call fcn.004bc0d0
add esp, 0x10
push esi
push dword [edi + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x24]
push dword [edi + 0x10]
test eax, eax
jne 0x4b252f
call fcn.004bbd90
add esp, 0xc
jmp 0x4b2538
push eax
call fcn.004bc0d0
add esp, 0x10
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [esp + 0x68], eax
test ebx, ebx
je 0x4b265f
mov ecx, dword [esp + 0x44]
mov esi, 1
shl esi, cl
mov edx, 1
mov ecx, dword [esp + 0x40]
shl edx, cl
mov dword [esp + 0xac], esi
mov dword [esp + 0x98], edx
mov dword [esp + 0x28], eax
xor edx, edx
mov ebx, esi
div dword [edi + 0x10]
imul ebx, edx
mov edx, dword [esp + 0x98]
mov ecx, edx
imul ecx, eax
add ebx, dword [esp + 0x4c]
add ecx, dword [esp + 0x70]
mov dword [esp + 0x9c], ecx
lea eax, [esi + ebx]
mov esi, dword [edi + 0x18]
add esi, dword [esp + 0x28]
mov dword [esp + 0x90], eax
lea eax, [edx + ecx]
mov dword [esp + 0x78], eax
cmp dword [esi + 4], 0
jne 0x4b25cb
push 0x18
push 0x64
call fcn.0049d4a0
add esp, 8
mov dword [esi + 4], eax
test eax, eax
je 0x4b2821
cmp dword [esi + 8], 0
jne 0x4b25e8
push 0x18
push 0x64
call fcn.0049d4a0
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x4b2821
mov eax, dword [edi]
cmp ebx, eax
jg 0x4b25f0
mov ebx, eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 4]
cmp eax, ecx
jg 0x4b2603
mov eax, ecx
mov dword [esi + 0x10], eax
mov eax, dword [edi + 8]
cmp dword [esp + 0x90], eax
jge 0x4b2619
mov eax, dword [esp + 0x90]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0xc]
cmp dword [esp + 0x78], eax
jge 0x4b2629
mov eax, dword [esp + 0x78]
push esi
mov dword [esi + 0x18], eax
call fcn.004afda0
add esp, 4
test eax, eax
je 0x4b2821
mov eax, dword [esp + 0x68]
add dword [esp + 0x28], 0x34
inc eax
mov esi, dword [esp + 0xac]
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0xa4]
jb 0x4b2571
mov esi, dword [esp + 0x2c]
add edi, 0x28
mov ebx, dword [esp + 0x80]
inc esi
mov dword [esp + 0x2c], esi
cmp esi, dword [esp + 0x48]
jb 0x4b23a4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
add ebx, 0x24
mov edx, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x7c]
add dword [esp + 0x64], 8
inc ecx
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x14], ebx
cmp eax, dword [edx + 0x18]
jb 0x4b20b0
mov eax, dword [esp + 0x54]
add edx, 0x98
mov ebx, dword [esp + 0x10]
inc eax
mov edi, dword [esp + 0x18]
mov esi, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
cmp eax, dword [ebx + 0x14]
jb 0x4b1e75
mov edx, dword [esp + 0x6c]
add ebx, 0x4c
mov ecx, dword [esp + 0x1c]
inc edx
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add edi, 0x438
add eax, 0x34
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], edx
cmp edx, dword [ecx + 0x10]
jb 0x4b1ca0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push str.Size_of_tile_data_exceeds_system_limits_n
push 1
push eax
call fcn.004ac940
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push str.Not_enough_memory_for_tile_resolutions_n
push 1
push eax
call fcn.004ac940
push dword [ebx + 0x1c]
call fcn.0049d4c0
add esp, 0x10
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push eax
call fcn.004ac940
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push eax
call fcn.004ac940
push dword [ebx + 0x14]
call fcn.0049d4c0
add esp, 0x10
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x18]
call fcn.0049d4c0
mov eax, dword [ebp + 0x10]
push str.Not_enough_memory_for_current_precinct_codeblock_element_n
push 1
push eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.004ac940
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push str.Size_of_code_block_data_exceeds_system_limits_n
push 1
push eax
call fcn.004ac940
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Tile_Y_coordinates_are_not_supported_n
jmp 0x4b2814
push str.Tile_X_coordinates_are_not_supported_n
push 1
push dword [ebp + 0x10]
call fcn.004ac940
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret