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

Disassembly:
sub esp, 0xa0
mov ecx, dword [edx + 0x1c]
push ebx
mov ebx, dword [ecx + 0x44]
push ebp
push esi
mov esi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
push edi
mov edi, dword [esi]
mov esi, eax
imul esi, esi, 0x1600
mov esi, dword [esi + ebx + 0x15c8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], esi
mov esi, dword [edx + 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov ebp, dword [ecx + 0xc]
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], esi
imul ebp, edx
add ebp, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
mov edx, dword [eax]
cmp ebp, edx
jle 0x56a49d
mov edx, ebp
mov dword [edi], edx
mov ebp, dword [ecx + 0x10]
imul ebp, dword [esp + 0x34]
add ebp, dword [ecx + 8]
mov edx, dword [eax + 4]
cmp ebp, edx
jle 0x56a4b3
mov edx, ebp
mov dword [edi + 4], edx
mov edx, dword [esp + 0x24]
mov ebp, dword [eax + 8]
inc edx
imul edx, dword [ecx + 0xc]
add edx, dword [ecx + 4]
cmp edx, ebp
jl 0x56a4cb
mov edx, ebp
mov dword [edi + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
inc eax
imul eax, dword [ecx + 0x10]
add eax, dword [ecx + 8]
cmp eax, edx
jl 0x56a4e3
mov eax, edx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x2c]
cmp dword [eax + 4], 0
jne 0x56a513
push str.tiles_require_at_least_one_resolution_n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
cmp dword [edi + 0x10], 0
mov dword [esp + 0x4c], 0
jbe 0x56af70
mov ebp, dword [esi]
mov edx, dword [edi]
lea eax, [edx + ebp - 1]
cdq
idiv ebp
mov dword [ebx], eax
mov ebp, dword [esi + 4]
mov eax, dword [edi + 4]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov dword [ebx + 4], eax
mov ebp, dword [esi]
mov edx, dword [edi + 8]
lea eax, [edx + ebp - 1]
cdq
idiv ebp
mov dword [ebx + 8], eax
mov esi, dword [esi + 4]
mov eax, dword [edi + 0xc]
lea eax, [esi + eax - 1]
cdq
idiv esi
mov esi, dword [ebx + 8]
sub esi, dword [ebx]
mov dword [ebx + 0xc], eax
sub eax, dword [ebx + 4]
imul esi, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
add esi, esi
mov dword [ebx + 0x10], edx
mov ecx, dword [ecx + 0x48]
add esi, esi
cmp dword [eax + 4], ecx
jae 0x56a58b
mov dword [ebx + 0x14], 1
jmp 0x56a593
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x56a5b8
cmp esi, 0x7ffdefff
jae 0x56a5ab
push esi
call fcn.00658d9b
add esp, 4
mov dword [ebx + 0x20], eax
test eax, eax
je 0x56a506
jmp 0x56a5f6
cmp esi, dword [ebx + 0x24]
jbe 0x56a5f9
cmp esi, 0x7ffdefff
jb 0x56a5c9
xor ebp, ebp
jmp 0x56a5d5
push esi
push eax
call fcn.00659105
add esp, 8
mov ebp, eax
push str.Not_enough_memory_to_handle_tile_data_n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
add esp, 8
test ebp, ebp
je 0x56aebf
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], esi
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, esi, 0x88
test eax, eax
jne 0x56a633
cmp esi, 0x7ffdefff
jae 0x56a61a
push esi
call fcn.00658d9b
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x56a506
push esi
push 0
push eax
mov dword [ebx + 0x1c], esi
call fcn.0065b340
jmp 0x56a66e
cmp esi, dword [ebx + 0x1c]
jbe 0x56a671
cmp esi, 0x7ffdefff
jae 0x56aede
push esi
push eax
call fcn.00659105
add esp, 8
test eax, eax
je 0x56aede
mov ecx, dword [ebx + 0x1c]
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
mov dword [ebx + 0x18], eax
call fcn.0065b340
mov dword [ebx + 0x1c], esi
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ebp, dword [ebx + 0x18]
lea ecx, [eax - 1]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x14], 0
lea edx, [ecx + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], 0x43d040
je 0x56a6a3
mov dword [esp + 0x68], 0x56bc00
mov dword [esp + 0x3c], 0
test eax, eax
je 0x56ae89
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x38], eax
jmp 0x56a6c4
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, 1
shl eax, cl
mov dword [esp + 0x7c], eax
cdq
mov esi, eax
mov eax, dword [ebx]
mov edi, edx
cdq
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebp], eax
mov eax, dword [ebx + 4]
cdq
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 8]
cdq
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
cdq
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp]
mov dword [ebp + 0xc], eax
mov ebp, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + ecx*4 + 0x32c]
mov esi, dword [eax + ecx*4 + 0x3b0]
mov ecx, ebx
sar edi, cl
mov eax, 1
shl edi, cl
mov ecx, esi
sar ebp, cl
shl eax, cl
shl ebp, cl
cdq
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
mov ebp, edx
cdq
add eax, ecx
adc edx, ebp
sub eax, 1
sbb edx, 0
mov ecx, esi
call fcn.006831f0
mov ebp, dword [esp + 0x20]
mov ecx, edx
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, esi
shl edx, cl
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], edx
cmp dword [ebp], eax
jne 0x56a7b5
xor eax, eax
jmp 0x56a7e9
mov ecx, ebx
mov eax, 1
shl eax, cl
cdq
mov ecx, eax
mov eax, dword [esp + 0x24]
mov ebp, edx
cdq
add eax, ecx
adc edx, ebp
sub eax, 1
sbb edx, 0
mov ecx, ebx
call fcn.006831f0
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov ecx, ebx
shl eax, cl
sub eax, edi
sar eax, cl
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x10], eax
cmp ecx, dword [ebp + 0xc]
jne 0x56a7f8
xor edx, edx
jmp 0x56a800
sub edx, dword [esp + 0x18]
mov ecx, esi
sar edx, cl
mov dword [ebp + 0x14], edx
imul edx, eax
lea eax, [edx + edx*4]
add eax, eax
add eax, eax
add eax, eax
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], eax
jne 0x56a833
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edx
mov dword [ebp + 0x18], 1
jmp 0x56a864
mov eax, edi
cdq
add eax, 1
adc edx, 0
shrd eax, edx, 1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
sar edx, 1
cdq
add eax, 1
adc edx, 0
shrd eax, edx, 1
sar edx, 1
dec ebx
mov dword [esp + 0x74], eax
dec esi
mov dword [ebp + 0x18], 3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x56a87f
mov dword [esp + 0x18], ebx
mov ebp, dword [ecx + 0xc]
cmp ebp, esi
jb 0x56a88a
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 0
lea ebx, [eax + 0x1c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
jbe 0x56ae54
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], 1
cmp dword [esp + 0x3c], 0
jne 0x56a948
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x10], 0
mov eax, dword [esi]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebx], eax
mov eax, dword [esi + 4]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov dword [ebx + 0xc], eax
jmp 0x56aa0f
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x7c]
mov ecx, eax
mov dword [ebp + 0x10], eax
shr eax, 1
mov dword [esp + 0x14], eax
and ecx, 1
imul esi, ecx
mov ecx, dword [esp + 0x38]
mov eax, 1
shl eax, cl
cdq
mov edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
sub eax, esi
mov ebx, edx
cdq
add eax, edi
adc edx, ebx
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x1c]
mov dword [ebp], eax
mov ebp, dword [esp + 0x7c]
imul ebp, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x38]
sub eax, ebp
cdq
add eax, edi
adc edx, ebx
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov edx, dword [esp + 0x28]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, esi
mov esi, dword [esp + 0x38]
cdq
add eax, edi
adc edx, ebx
sub eax, 1
sbb edx, 0
mov ecx, esi
call fcn.006831f0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
sub eax, ebp
cdq
add eax, edi
adc edx, ebx
sub eax, 1
sbb edx, 0
mov ecx, esi
call fcn.006831f0
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov dword [ecx + 0xc], eax
mov ebx, ecx
mov edx, dword [ebx + 0x10]
push edx
call dword [esp + 0x6c]
fld qword [0x9ad7f0]
mov esi, dword [esp + 0x58]
sub eax, dword [esi]
mov ecx, dword [esp + 0x54]
add eax, dword [ecx + 0x18]
add esp, 4
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
call fcn.0065d290
fild dword [esi + 4]
mov eax, dword [esp + 0x2c]
fmul qword [0x9ad8f8]
fadd qword [0x9ad778]
fmulp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x9ad788]
fstp dword [ebx + 0x20]
mov ecx, dword [eax + 0x324]
mov edx, dword [esi]
mov eax, dword [ebx + 0x14]
lea edx, [edx + ecx - 1]
mov dword [ebx + 0x1c], edx
test eax, eax
jne 0x56aa98
cmp edi, 0x7ffdefff
jae 0x56aa87
push edi
call fcn.00658d9b
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x56a506
push edi
push 0
push eax
jmp 0x56aacb
cmp dword [ebx + 0x18], edi
jae 0x56aad6
cmp edi, 0x7ffdefff
jae 0x56af18
push edi
push eax
call fcn.00659105
add esp, 8
test eax, eax
je 0x56af18
mov ecx, dword [ebx + 0x18]
mov edx, edi
sub edx, ecx
push edx
push 0
add ecx, eax
mov dword [ebx + 0x14], eax
push ecx
call fcn.0065b340
mov dword [ebx + 0x18], edi
add esp, 0xc
cmp dword [esp + 0x48], 0
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x64], 0
jbe 0x56ae2e
mov ecx, dword [esp + 0x78]
mov edi, 1
shl edi, cl
mov ecx, dword [esp + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], eax
mov eax, 1
shl eax, cl
mov ecx, ebp
mov dword [esp + 0x80], eax
cdq
mov dword [esp + 0x98], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x9c], edx
mov dword [esp + 0x8c], eax
cdq
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
jmp 0x56ab59
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x64]
xor edx, edx
div ecx
imul edx, edi
add edx, dword [esp + 0x6c]
mov ecx, edx
mov edx, dword [esp + 0x90]
imul eax, edx
add eax, dword [esp + 0x74]
add edi, ecx
mov dword [esp + 0x30], edi
mov edi, dword [ebx]
add edx, eax
mov dword [esp + 0x14], edx
cmp ecx, edi
jle 0x56ab93
mov edi, ecx
mov dword [esi], edi
mov edx, dword [ebx + 4]
cmp eax, edx
jle 0x56ab9e
mov edx, eax
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
cmp dword [esp + 0x30], eax
jge 0x56abae
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
mov ebx, dword [ebx + 0xc]
cmp ecx, ebx
jge 0x56abbe
mov ebx, ecx
mov ecx, dword [esp + 0x18]
sar edi, cl
mov dword [esi + 0xc], ebx
shl edi, cl
mov ecx, ebp
sar edx, cl
mov dword [esp + 0x70], edi
shl edx, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
cdq
add eax, dword [esp + 0x98]
adc edx, dword [esp + 0x9c]
sub eax, 1
sbb edx, 0
call fcn.006831f0
mov ecx, dword [esp + 0x18]
mov edi, eax
shl edi, cl
mov eax, ebx
cdq
sub edi, dword [esp + 0x70]
sar edi, cl
add eax, dword [esp + 0xa8]
mov ecx, ebp
adc edx, dword [esp + 0xac]
sub eax, 1
sbb edx, 0
mov dword [esi + 0x10], edi
call fcn.006831f0
mov ecx, ebp
shl eax, cl
sub eax, dword [esp + 0x14]
sar eax, cl
mov dword [esi + 0x14], eax
imul eax, edi
mov ebx, eax
mov eax, dword [esi + 0x18]
lea edi, [ebx*8]
sub edi, ebx
add edi, edi
add edi, edi
add edi, edi
mov dword [esp + 0xa4], ebx
test eax, eax
jne 0x56ac75
cmp edi, 0x7ffdefff
jae 0x56ac64
push edi
call fcn.00658d9b
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x56a506
push edi
push 0
push eax
jmp 0x56aca8
cmp edi, dword [esi + 0x1c]
jbe 0x56acb3
cmp edi, 0x7ffdefff
jae 0x56af52
push edi
push eax
call fcn.00659105
add esp, 8
test eax, eax
je 0x56af52
mov ecx, dword [esi + 0x1c]
mov edx, edi
sub edx, ecx
push edx
push 0
add ecx, eax
mov dword [esi + 0x18], eax
push ecx
call fcn.0065b340
mov dword [esi + 0x1c], edi
add esp, 0xc
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x10]
test edx, edx
jne 0x56acc8
mov eax, dword [esi + 0x14]
push eax
call fcn.00571990
jmp 0x56acd1
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00571bc0
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
jne 0x56acf1
push str.WARNING:_No_incltree_created._n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
add esp, 8
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x56ad06
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00571990
jmp 0x56ad12
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
call fcn.00571bc0
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
jne 0x56ad32
push str.WARNING:_No_imsbtree_created._n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
add esp, 8
mov edi, dword [esi + 0x18]
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x56ae10
mov eax, dword [esp + 0x30]
xor edx, edx
div dword [esi + 0x10]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x8c]
mov ecx, ebx
imul ecx, edx
add ecx, dword [esp + 0x70]
mov edx, ebp
imul edx, eax
add edx, dword [esp + 0x14]
mov eax, dword [esi]
add ebx, ecx
add ebp, edx
cmp ecx, eax
jle 0x56ad7a
mov eax, ecx
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
cmp edx, eax
jg 0x56ad86
mov edx, eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 8]
cmp ebx, eax
jge 0x56ad92
mov eax, ebx
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
cmp ebp, eax
jge 0x56ad9e
mov eax, ebp
cmp dword [edi], 0
mov dword [edi + 0x14], eax
jne 0x56adf3
push 0x2000
call fcn.00658d9b
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x56a506
push 0x140
mov dword [edi + 0x20], 0x2000
call fcn.00658d9b
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x56a506
push 0x140
push 0
push eax
call fcn.0065b340
add esp, 0xc
mov dword [edi + 0x34], 0xa
mov eax, dword [esp + 0x30]
inc eax
add edi, 0x38
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0xa4]
jb 0x56ad45
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
inc eax
add esi, 0x28
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x48]
jb 0x56ab52
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x54], 8
inc dword [esp + 0x34]
inc eax
add ebx, 0x24
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
cmp eax, dword [ecx + 0x18]
jb 0x56a8b7
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x20], 0x88
mov ecx, 1
sub dword [esp + 0x10], ecx
sub dword [esp + 0x38], ecx
add eax, ecx
mov dword [esp + 0x3c], eax
mov ebx, edx
cmp eax, dword [edx + 0x10]
jb 0x56a6c0
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x2c], 0x438
add dword [esp + 0x50], 0x34
inc eax
add ebx, 0x2c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], eax
cmp eax, dword [edi + 0x10]
jae 0x56af70
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
jmp 0x56a525
mov eax, dword [ebx + 0x20]
push eax
call fcn.00658a01
add esp, 4
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
push str.Not_enough_memory_to_tile_resolutions_n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.00658a01
add esp, 0xc
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
push str.Not_enough_memory_to_handle_band_precints_n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
mov edx, dword [ebx + 0x14]
push edx
call fcn.00658a01
add esp, 0xc
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov eax, dword [esi + 0x18]
push eax
call fcn.00658a01
add esp, 4
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push str.Not_enough_memory_for_current_precinct_codeblock_element_n
jmp 0x56a4f5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa0
ret