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

Disassembly:
sub esp, 0xc0
mov edx, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
mov ebp, dword [edx + 0x1c]
mov eax, dword [edx + 0x14]
imul ecx, ebx, 0x160c
push esi
push edi
mov esi, dword [eax]
mov edi, dword [edx + 0x18]
xor edx, edx
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + eax + 0x15d0]
mov ecx, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
mov ebp, dword [ecx + 0x18]
mov dword [esp + 0x68], eax
mov eax, ebx
div ebp
mov esi, dword [edi]
imul edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x1c]
add edx, dword [ecx + 4]
cmp edx, esi
cmova esi, edx
mov dword [eax], esi
mov eax, dword [ecx + 0xc]
xor ecx, ecx
add eax, edx
mov edx, dword [edi + 8]
adc ecx, ecx
neg ecx
or ecx, eax
mov eax, dword [esp + 0x1c]
cmp ecx, edx
cmovb edx, ecx
mov dword [eax + 8], edx
test esi, esi
js 0x100a1a2a
cmp edx, esi
jle 0x100a1a2a
xor edx, edx
mov esi, dword [edi + 4]
mov eax, ebx
div ebp
mov ebp, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x70]
imul edx, dword [eax + 0x10]
add edx, dword [eax + 8]
cmp edx, esi
cmova esi, edx
xor ecx, ecx
mov dword [ebp + 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
cmovb edx, ecx
mov dword [ebp + 0xc], edx
test esi, esi
js 0x100a1a23
cmp edx, esi
jle 0x100a1a23
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 4], 0
jne 0x100a0ec6
push str.tiles_require_at_least_one_resolution_n
jmp 0x100a1a2f
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x74], 0
jbe 0x100a191b
movsd xmm0, qword [0x101e6310]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x68]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x101a7930]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x101e62f8]
movsd qword [esp + 0xc8], xmm0
mov eax, dword [edi]
cdq
mov esi, eax
mov dword [edi + 0x24], 0
mov eax, dword [esp + 0x1c]
mov ecx, edx
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.10104cb0
mov dword [ebp], eax
mov eax, dword [edi + 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.10104cb0
mov dword [ebp + 4], eax
mov eax, dword [edi]
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.10104cb0
mov dword [ebp + 8], eax
mov eax, dword [edi + 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.10104cb0
mov dword [ebp + 0xc], eax
mov ecx, 1
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x70]
mov esi, dword [ebx + 4]
mov dword [ebp + 0x14], esi
mov edx, dword [eax + 0x50]
mov eax, dword [ebx + 4]
sub eax, edx
cmp dword [ebx + 4], edx
cmovb eax, ecx
mov dword [ebp + 0x18], eax
push dword [ebp + 0x34]
imul esi, esi, 0x98
call fcn.1008a2b0
mov eax, dword [ebp + 0x1c]
add esp, 4
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
test eax, eax
jne 0x100a1033
push esi
call fcn.1008aa70
add esp, 4
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x100a1a40
push esi
push 0
push eax
mov dword [ebp + 0x20], esi
call sub.VCRUNTIME140.dll_memset
jmp 0x100a1061
cmp esi, dword [ebp + 0x20]
jbe 0x100a1064
push esi
push eax
call fcn.1008aa90
add esp, 8
test eax, eax
je 0x100a192b
mov ecx, esi
mov dword [ebp + 0x1c], eax
sub ecx, dword [ebp + 0x20]
add eax, dword [ebp + 0x20]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp + 0x20], esi
add esp, 0xc
mov esi, dword [ebp + 0x14]
lea eax, [ebx + 0x1c]
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], 0
test esi, esi
je 0x100a18e9
nop word [eax + eax]
xor ecx, ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], esi
xor ebx, ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x78], esi
dec esi
mov eax, esi
mov dword [esp + 0x10], esi
bts ecx, eax
cmp eax, 0x20
cmovae ebx, ecx
xor ecx, ebx
cmp eax, 0x40
mov eax, dword [ebp]
cmovae ebx, ecx
cdq
add eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
adc edx, ebx
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ebx, eax
mov ecx, esi
mov dword [edi], ebx
mov eax, dword [ebp + 4]
cdq
add eax, dword [esp + 0x20]
mov dword [esp + 0x60], ebx
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [edi + 4], esi
mov eax, dword [ebp + 8]
cdq
add eax, dword [esp + 0x20]
mov dword [esp + 0x5c], esi
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], edi
mov dword [eax + 8], edi
mov eax, dword [ebp + 0xc]
cdq
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov edx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + edx*4 + 0x32c]
mov eax, dword [eax + edx*4 + 0x3b0]
mov edx, ebx
sar edx, cl
shl edx, cl
mov dword [esp + 0x18], ecx
mov ecx, eax
mov dword [esp + 0x44], edx
mov edx, esi
sar edx, cl
xor esi, esi
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
bts ecx, eax
mov dword [esp + 0x48], edx
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, edi
cmovae esi, ecx
cdq
add eax, ecx
mov ecx, dword [esp + 0x18]
adc edx, esi
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x18]
mov ebx, eax
shl ebx, cl
cmp ebx, 0x7fffffff
ja 0x100a1a12
mov ecx, dword [esp + 0x28]
xor esi, esi
bts esi, ecx
xor edi, edi
cmp ecx, 0x20
mov eax, ebp
cdq
cmovae edi, esi
xor esi, edi
cmp ecx, 0x40
cmovae edi, esi
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov edx, dword [esp + 0x28]
mov esi, eax
mov ecx, edx
shl esi, cl
cmp esi, 0x7fffffff
ja 0x100a1a12
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x60], eax
jne 0x100a121e
xor ebx, ebx
jmp 0x100a1228
sub ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
sar ebx, cl
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x10], ebx
cmp dword [esp + 0x5c], ebp
jne 0x100a1239
xor esi, esi
jmp 0x100a1241
sub esi, dword [esp + 0x48]
mov ecx, edx
sar esi, cl
mov dword [edi + 0x14], esi
test ebx, ebx
je 0x100a125b
or eax, 0xffffffff
xor edx, edx
div ebx
cmp eax, esi
jb 0x100a1965
mov edx, dword [esp + 0x28]
imul esi, ebx
mov dword [esp + 0x5c], esi
cmp esi, 0x6666666
ja 0x100a1965
lea ebp, [esi + esi*4]
shl ebp, 3
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x60], ebp
jne 0x100a1286
mov eax, 1
jmp 0x100a12be
mov eax, dword [esp + 0x44]
cdq
add eax, 1
adc edx, 0
shrd eax, edx, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
cdq
add eax, 1
adc edx, 0
dec dword [esp + 0x18]
shrd eax, edx, 1
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edx
mov eax, 3
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov dword [esp + 0x64], 0
mov eax, dword [ebx + 8]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebx + 0xc], edx
mov dword [esp + 0x4c], ecx
mov ecx, edx
cmovb ecx, dword [ebx + 0xc]
mov edx, 1
add edi, 0x1c
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edx
nop word [eax + eax]
cmp dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x10]
jne 0x100a1393
mov ebx, dword [esp + 0x14]
mov dword [edi + 0x10], 0
mov eax, dword [ebx]
cdq
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [ebx + 4]
cdq
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
cdq
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
cdq
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, 1
sbb edx, ebx
call fcn.10104d60
jmp 0x100a1494
mov eax, edx
mov dword [edi + 0x10], edx
and eax, 1
xor edx, edx
call fcn.10104c00
mov ecx, dword [esp + 0x78]
xor esi, esi
bts esi, ecx
xor edi, edi
mov ebx, eax
cmp ecx, 0x20
mov eax, dword [esp + 0x14]
mov ebp, edx
cmovae edi, esi
xor esi, edi
cmp ecx, 0x40
mov dword [esp + 0x38], esi
mov eax, dword [eax]
cmovae edi, esi
cdq
sub eax, ebx
mov dword [esp + 0x40], edi
sbb edx, ebp
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
shr eax, 1
call fcn.10104c00
mov ecx, dword [esp + 0x88]
mov esi, eax
mov eax, dword [esp + 0x14]
mov edi, edx
mov eax, dword [eax + 4]
cdq
sub eax, esi
sbb edx, edi
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x40]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
mov eax, dword [eax + 8]
cdq
sub eax, ebx
sbb edx, ebp
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x40]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
cdq
sub eax, esi
sbb edx, edi
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x40]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov dword [edi + 0xc], eax
xor ecx, ecx
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], ecx
je 0x100a14ad
test ebx, ebx
je 0x100a14ad
cmp ebx, 3
sete cl
inc ecx
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0xb8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebx]
add eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movd xmm1, dword [ebx + 4]
mov eax, dword [esp + 0x30]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [esp + 0xc0]
addsd xmm1, qword [esp + 0xc8]
mulsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [edi + 0x20], xmm0
mov ecx, dword [eax + 0x324]
mov eax, dword [ebx]
dec eax
add eax, ecx
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x100a1545
test esi, esi
je 0x100a1545
push ebp
call fcn.1008aa70
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
je 0x100a1979
push ebp
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [edi + 0x14]
add esp, 0xc
xor edx, edx
mov dword [edi + 0x18], ebp
mov dword [esp + 0x38], edx
jmp 0x100a1587
cmp dword [edi + 0x18], ebp
jae 0x100a1576
push ebp
push eax
call fcn.1008aa90
add esp, 8
test eax, eax
je 0x100a198d
mov ecx, ebp
mov dword [edi + 0x14], eax
sub ecx, dword [edi + 0x18]
add eax, dword [edi + 0x18]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x18], ebp
mov ebx, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x38], edx
test esi, esi
je 0x100a188a
mov ecx, dword [esp + 0x18]
mov esi, 1
shl esi, cl
xor ebp, ebp
mov ecx, dword [esp + 0x28]
mov eax, 1
shl eax, cl
xor ecx, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
bts ecx, eax
cmp eax, 0x20
mov dword [esp + 0x94], esi
cmovae ebp, ecx
xor ecx, ebp
cmp eax, 0x40
mov eax, dword [esp + 0x50]
cmovae ebp, ecx
mov dword [esp + 0x9c], ecx
xor ecx, ecx
mov dword [esp + 0xa0], ebp
xor ebp, ebp
bts ecx, eax
cmp eax, 0x20
cmovae ebp, ecx
xor ecx, ebp
cmp eax, 0x40
mov dword [esp + 0xa4], ecx
cmovae ebp, ecx
mov dword [esp + 0xa8], ebp
jmp 0x100a1607
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov eax, edx
xor edx, edx
mov ebp, dword [esp + 0x98]
div dword [ecx + 0x10]
imul edx, esi
imul eax, ebp
add edx, dword [esp + 0x44]
add eax, dword [esp + 0x48]
lea ecx, [edx + esi]
lea esi, [eax + ebp]
mov ebp, dword [edi]
cmp edx, ebp
cmovg ebp, edx
mov dword [ebx], ebp
mov edx, dword [edi + 4]
cmp eax, edx
cmovg edx, eax
mov dword [ebx + 4], edx
mov eax, dword [edi + 8]
cmp ecx, eax
cmovl eax, ecx
mov dword [ebx + 8], eax
mov edi, dword [edi + 0xc]
cmp esi, edi
cmovl edi, esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
mov dword [ebx + 0xc], edi
sar ebp, cl
shl ebp, cl
mov ecx, dword [esp + 0x50]
sar edx, cl
shl edx, cl
mov ecx, esi
mov dword [esp + 0x40], edx
cdq
add eax, dword [esp + 0x9c]
mov dword [esp + 0xac], ebp
adc edx, dword [esp + 0xa0]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, dword [esp + 0x4c]
mov esi, eax
shl esi, cl
mov eax, edi
mov edi, dword [esp + 0x50]
sub esi, ebp
sar esi, cl
mov ecx, edi
cdq
add eax, dword [esp + 0xa4]
mov dword [ebx + 0x10], esi
adc edx, dword [esp + 0xa8]
sub eax, 1
sbb edx, 0
call fcn.10104d60
mov ecx, edi
mov ebp, eax
shl ebp, cl
sub ebp, dword [esp + 0x40]
sar ebp, cl
mov dword [ebx + 0x14], ebp
imul ebp, esi
mov dword [esp + 0xb0], ebp
cmp ebp, 0x3ffffff
ja 0x100a1a01
mov eax, dword [ebx + 0x18]
mov esi, ebp
shl esi, 6
test eax, eax
jne 0x100a170d
test ebp, ebp
je 0x100a170d
push esi
call fcn.1008aa70
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x100a1a40
push esi
jmp 0x100a1730
cmp esi, dword [ebx + 0x1c]
jbe 0x100a173e
push esi
push eax
call fcn.1008aa90
add esp, 8
test eax, eax
je 0x100a19c7
mov ecx, esi
mov dword [ebx + 0x18], eax
sub ecx, dword [ebx + 0x1c]
add eax, dword [ebx + 0x1c]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebx + 0x1c], esi
add esp, 0xc
mov edi, dword [esp + 0xdc]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x10]
push edi
push ecx
push edx
test eax, eax
jne 0x100a175f
call fcn.100aac10
add esp, 0xc
jmp 0x100a1768
push eax
call fcn.100aafe0
add esp, 0x10
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x10]
push edi
push eax
push ecx
test edx, edx
jne 0x100a1785
call fcn.100aac10
add esp, 0xc
jmp 0x100a178e
push edx
call fcn.100aafe0
add esp, 0x10
mov dword [ebx + 0x24], eax
xor eax, eax
mov dword [esp + 0x7c], eax
test ebp, ebp
je 0x100a186a
mov ecx, dword [esp + 0x4c]
mov ebp, 1
shl ebp, cl
mov edx, 1
mov ecx, dword [esp + 0x50]
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], ecx
nop dword [eax]
xor edx, edx
div dword [ebx + 0x10]
mov esi, edx
mov edi, eax
imul edi, dword [esp + 0x84]
imul esi, ebp
mov ebp, dword [ebx + 0x18]
add ebp, ecx
push ebp
add edi, dword [esp + 0x44]
add esi, dword [esp + 0xb0]
call fcn.1009f270
add esp, 4
test eax, eax
je 0x100a1a40
mov eax, dword [ebx]
cmp esi, eax
mov ecx, dword [esp + 0x6c]
cmovg eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
cmp edi, eax
cmovg eax, edi
add ecx, esi
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x10], eax
add ecx, edi
mov eax, dword [ebx + 0xc]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [ebp + 0x14], eax
add ecx, 0x40
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
cmp eax, dword [esp + 0xb0]
jb 0x100a17d0
mov edx, dword [esp + 0x38]
add ebx, 0x28
mov esi, dword [esp + 0x5c]
inc edx
mov edi, dword [esp + 0x34]
mov dword [esp + 0x38], edx
cmp edx, esi
jb 0x100a1600
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
add edi, 0x24
mov ecx, dword [esp + 0x2c]
inc ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
inc edx
add eax, 8
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
cmp ebx, dword [ecx + 0x18]
jb 0x100a1300
mov ebp, dword [esp + 0x14]
mov edi, ecx
mov ecx, dword [esp + 0x3c]
add edi, 0x98
mov esi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
cmp ecx, dword [ebp + 0x14]
jb 0x100a1090
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
add ebx, 0x438
mov eax, dword [esp + 0x1c]
inc ecx
mov edi, dword [esp + 0x68]
add ebp, 0x4c
add edi, 0x34
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x74], ecx
cmp ecx, dword [eax + 0x10]
jb 0x100a0f13
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc0
ret
mov eax, dword [esp + 0xdc]
push str.Not_enough_memory_for_tile_resolutions_n
push 1
push eax
call fcn.1008aab0
push dword [ebp + 0x1c]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0x10
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
mov eax, dword [esp + 0xdc]
push str.Size_of_tile_data_exceeds_system_limits_n
push 1
push eax
jmp 0x100a1a38
mov eax, dword [esp + 0xdc]
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push eax
jmp 0x100a1a38
mov eax, dword [esp + 0xdc]
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push eax
call fcn.1008aab0
push dword [edi + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0x10
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
push dword [ebx + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [esp + 0xe0]
push str.Not_enough_memory_for_current_precinct_codeblock_element_n
push 1
push eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
call fcn.1008aab0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
mov eax, dword [esp + 0xdc]
push str.Size_of_code_block_data_exceeds_system_limits_n
push 1
push eax
jmp 0x100a1a38
mov eax, dword [esp + 0xdc]
push str.Integer_overflow_n
push 1
push eax
jmp 0x100a1a38
push str.Tile_Y_coordinates_are_not_supported_n
jmp 0x100a1a2f
push str.Tile_X_coordinates_are_not_supported_n
push 1
push dword [esp + 0xe4]
call fcn.1008aab0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc0
ret