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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x1c]
mov edx, dword [edi + 0x4c]
imul esi, eax, 0x160c
mov edx, dword [edx + esi + 0x15d0]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edx]
mov edx, dword [ebx + 0x14]
mov dword [esp], edx
mov esi, dword [ecx]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x34], edx
xor edx, edx
div dword [edi + 0x18]
imul edx, dword [edi + 0xc]
add edx, dword [edi + 4]
cmp edx, esi
cmova esi, edx
mov dword [ebx], esi
mov dword [esp + 0x7c], edi
add edx, dword [edi + 0xc]
mov edi, 0xffffffff
cmovb edx, edi
mov edi, dword [ecx + 8]
cmp edx, edi
cmovae edx, edi
mov dword [esp + 0x4c], ebx
mov dword [ebx + 8], edx
mov edi, dword [ebp + 0x10]
test esi, esi
js 0x10182195
cmp edx, esi
jle 0x10182195
mov esi, dword [esp + 0x7c]
imul eax, dword [esi + 0x10]
add eax, dword [esi + 8]
mov edx, dword [ecx + 4]
cmp eax, edx
cmova edx, eax
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 4], edx
add eax, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
mov esi, 0xffffffff
cmovb eax, esi
cmp eax, ecx
cmovae eax, ecx
mov dword [ebx + 0xc], eax
test edx, edx
js 0x1018219c
cmp eax, edx
jle 0x1018219c
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 4], 0
je 0x101821a3
mov edi, dword [esp + 0x4c]
cmp dword [edi + 0x10], 0
je 0x101821bf
xor edx, edx
mov dword [esp + 0x40], 0
mov ebx, dword [esp]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x24], edx
mov esi, edi
mov ecx, eax
mov eax, dword [eax]
mov edi, ecx
mov dword [esp + 0x34], ecx
mov edx, eax
sar edx, 0x1f
mov ecx, dword [esi]
mov esi, ecx
sar esi, 0x1f
add ecx, eax
adc esi, edx
add ecx, 0xffffffff
adc esi, 0xffffffff
push edx
push eax
push esi
push ecx
call fcn.10237a90
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov edx, eax
sar edx, 0x1f
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi + 4]
mov esi, ecx
sar esi, 0x1f
add ecx, eax
adc esi, edx
add ecx, 0xffffffff
adc esi, 0xffffffff
push edx
push eax
push esi
push ecx
call fcn.10237a90
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov edx, eax
sar edx, 0x1f
mov ecx, dword [edi + 8]
mov esi, ecx
sar esi, 0x1f
add ecx, eax
adc esi, edx
add ecx, 0xffffffff
adc esi, 0xffffffff
push edx
push eax
push esi
push ecx
call fcn.10237a90
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov edx, eax
sar edx, 0x1f
mov ecx, dword [edi + 0xc]
mov esi, ecx
sar esi, 0x1f
add ecx, eax
adc esi, edx
add ecx, 0xffffffff
adc esi, 0xffffffff
push edx
push eax
push esi
push ecx
call fcn.10237a90
mov dword [ebx + 0xc], eax
mov edi, dword [esp + 0x40]
mov dword [ebx + 0x10], edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov dword [ebx + 0x14], eax
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x7c]
sub ecx, dword [edx + 0x50]
mov edx, 1
cmovb ecx, edx
mov dword [ebx + 0x18], ecx
imul esi, eax, 0x98
push dword [ebx + 0x34]
call fcn.1016eb87
xorps xmm0, xmm0
add esp, 4
xor eax, eax
mov dword [ebx + 0x44], eax
movups xmmword [ebx + 0x34], xmm0
mov eax, dword [ebx + 0x1c]
test eax, eax
mov dword [esp], ebx
je 0x1018177e
cmp esi, dword [ebx + 0x20]
jbe 0x101817a9
push esi
push eax
call fcn.1016ebe1
add esp, 8
test eax, eax
je 0x10182213
mov ebx, dword [esp]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x20]
add eax, ecx
mov edx, esi
sub edx, ecx
push edx
push 0
push eax
call fcn.1023abb0
add esp, 0xc
mov dword [ebx + 0x20], esi
jmp 0x101817a9
push esi
call fcn.1016eb90
mov ecx, dword [esp + 4]
add esp, 4
mov dword [ecx + 0x1c], eax
test eax, eax
je 0x101821b3
mov dword [ecx + 0x20], esi
push esi
push 0
push eax
call fcn.1023abb0
mov ebx, dword [esp + 0xc]
add esp, 0xc
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x3c], eax
test eax, eax
mov ecx, dword [esp + 0x18]
je 0x10182163
lea eax, [ecx + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
mov edx, dword [ebx]
mov ebx, edx
sar ebx, 0x1f
xor esi, esi
dec esi
shl esi, cl
test cl, 0x20
mov eax, esi
mov edi, 0
cmovne eax, edi
mov edi, 0xffffffff
cmove esi, edi
not esi
not eax
mov dword [esp + 0x38], eax
add edx, eax
mov eax, ebx
adc eax, esi
shrd edx, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, edx
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x10]
mov dword [ebx], eax
mov edi, dword [esp]
mov eax, dword [edi + 4]
mov edx, eax
sar edx, 0x1f
add eax, dword [esp + 0x38]
adc edx, esi
shrd eax, edx, cl
sar edx, cl
test cl, 0x20
cmove edx, eax
mov dword [esp + 0x20], edx
mov dword [ebx + 4], edx
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 8]
mov edi, eax
sar edi, 0x1f
mov edx, dword [esp + 0x38]
add eax, edx
adc edi, esi
shrd eax, edi, cl
sar edi, cl
test cl, 0x20
cmove edi, eax
mov dword [ebx + 8], edi
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov ebx, eax
sar ebx, 0x1f
add eax, edx
mov dword [esp + 0x68], esi
adc ebx, esi
shrd eax, ebx, cl
sar ebx, cl
mov dword [esp + 0x58], ecx
test cl, 0x20
cmove ebx, eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [eax + ecx*4 + 0x32c]
xor esi, esi
xor eax, eax
inc eax
shld esi, eax, cl
mov edx, edi
sar edx, 0x1f
mov dword [esp + 8], edx
shl eax, cl
test cl, 0x20
cmovne esi, eax
mov edx, 0
cmovne eax, edx
add eax, edi
adc esi, dword [esp + 8]
add eax, 0xffffffff
adc esi, 0xffffffff
shrd eax, esi, cl
sar esi, cl
test cl, 0x20
cmove esi, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xc]
shr eax, cl
shl eax, cl
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + ecx*4 + 0x3b0]
mov edx, dword [esp + 0x20]
mov ecx, eax
shr edx, cl
shl edx, cl
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x30]
shl esi, cl
test esi, esi
js 0x101821cb
mov ecx, ebx
sar ecx, 0x1f
mov dword [esp + 8], ecx
xor edx, edx
dec edx
mov ecx, eax
shl edx, cl
test al, 0x20
mov dword [esp + 0x14], eax
mov eax, edx
mov ecx, 0
cmovne eax, ecx
mov ecx, 0xffffffff
cmove edx, ecx
not edx
not eax
add eax, ebx
adc edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
shrd eax, edx, cl
mov ecx, dword [esp + 0x14]
sar edx, cl
test byte [esp + 0x14], 0x20
cmove edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl edx, cl
test edx, edx
js 0x101821cb
sub esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
sar esi, cl
cmp dword [esp + 0xc], edi
mov edi, 0
cmove esi, edi
sub edx, dword [esp + 0x44]
mov ecx, eax
sar edx, cl
cmp dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
mov dword [ebx + 0x10], esi
cmove edx, edi
mov dword [ebx + 0x14], edx
test esi, esi
je 0x101819a9
mov ecx, edx
mov eax, esi
mul edx
mov edx, ecx
jo 0x101821d2
imul edx, esi
cmp edx, 0x6666667
jae 0x101821d2
lea eax, [edx*8]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], eax
je 0x10181a10
mov edx, dword [esp + 0x48]
mov ecx, edx
sar ecx, 0x1f
add edx, 1
adc ecx, 0
shrd edx, ecx, 1
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x44]
mov ecx, eax
sar ecx, 0x1f
add eax, 1
adc ecx, 0
shrd eax, ecx, 1
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x30]
dec edi
mov esi, dword [esp + 0x14]
dec esi
mov ecx, 3
xor edx, edx
inc edx
jmp 0x10181a1d
xor ecx, ecx
inc ecx
mov edx, ecx
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov ebx, edi
cmp eax, edi
cmovae eax, edi
mov dword [esp + 0x14], esi
cmp ecx, esi
cmovae ecx, esi
mov dword [esp + 0x50], ecx
xor esi, esi
mov ecx, dword [esp + 0x3c]
shld esi, edx, cl
mov edi, edx
shl edi, cl
test cl, 0x20
cmovne esi, edi
mov dword [esp + 0x74], esi
mov ecx, 0
cmovne edi, ecx
mov dword [esp + 0x70], edi
mov esi, edx
mov dword [esp + 0x30], ebx
mov ecx, ebx
shl esi, cl
mov dword [esp + 0x9c], esi
mov ecx, dword [esp + 0x14]
shl edx, cl
mov dword [esp + 0x98], edx
xor edx, edx
dec edx
mov esi, edx
mov ecx, eax
shl esi, cl
mov dword [esp + 0xc], eax
test al, 0x20
mov eax, esi
mov ecx, 0
cmovne eax, ecx
cmove esi, edx
mov edi, edx
mov ebx, dword [esp + 0x50]
mov ecx, ebx
shl edi, cl
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x6c], ecx
not esi
mov dword [esp + 0x94], esi
test bl, 0x20
mov ecx, edi
mov dword [esp + 0x5c], 0
mov esi, 0
cmovne ecx, esi
cmove edi, edx
not eax
mov dword [esp + 0x90], eax
not edi
mov dword [esp + 0x8c], edi
not ecx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x1c]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], esi
je 0x10181be2
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 1]
mov eax, ecx
mov ebx, ecx
mov dword [esp + 0x20], ecx
shr eax, 1
mov esi, eax
mov ecx, dword [esp + 0x58]
shl esi, cl
test cl, 0x20
mov edx, esi
mov edi, 0
cmovne edx, edi
mov dword [esp + 8], edx
xor edi, edi
shld edi, eax, cl
test cl, 0x20
cmovne edi, esi
mov eax, ebx
and eax, 1
mov esi, eax
shl esi, cl
test cl, 0x20
mov ebx, esi
mov edx, 0
cmovne ebx, edx
xor edx, edx
shld edx, eax, cl
test cl, 0x20
cmovne edx, esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov eax, dword [esp]
mov esi, dword [eax]
mov eax, esi
sar eax, 0x1f
not edx
not ebx
add ebx, dword [esp + 0x70]
mov dword [esp + 0x54], ebx
adc edx, dword [esp + 0x74]
add esi, ebx
adc eax, edx
mov ecx, dword [esp + 0x3c]
shrd esi, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, esi
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov eax, dword [esp]
mov esi, dword [eax + 4]
mov eax, esi
sar eax, 0x1f
not edi
mov ebx, dword [esp + 8]
not ebx
add ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
adc edi, dword [esp + 0x74]
add esi, ebx
mov ebx, edx
mov dword [esp + 4], edi
adc eax, edi
mov edi, dword [esp + 8]
shrd esi, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, esi
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp]
mov esi, dword [eax + 8]
mov eax, esi
sar eax, 0x1f
jmp 0x10181c4e
mov dword [esi + 0x10], 0
mov edi, dword [esp]
mov edx, dword [edi]
mov eax, edx
sar eax, 0x1f
add edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
adc eax, ecx
mov ebx, ecx
mov ecx, dword [esp + 0x58]
shrd edx, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, edx
mov dword [esi], eax
mov edx, dword [edi + 4]
mov eax, edx
sar eax, 0x1f
add edx, dword [esp + 0x38]
adc eax, ebx
shrd edx, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, edx
mov dword [esp + 0x20], 0
mov dword [esi + 4], eax
mov ebx, dword [edi + 8]
mov dword [esp + 0x54], ebx
sar ebx, 0x1f
mov edi, dword [esp + 0x38]
mov esi, edi
mov edx, dword [esp + 0x68]
mov eax, edx
mov dword [esp + 4], edx
add esi, dword [esp + 0x54]
adc eax, ebx
shrd esi, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, esi
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [esp]
mov esi, dword [eax + 0xc]
mov eax, esi
sar eax, 0x1f
add edi, esi
adc eax, dword [esp + 4]
shrd edi, eax, cl
sar eax, cl
test cl, 0x20
cmove eax, edi
mov dword [ebx + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, 3
sete al
inc eax
test ecx, ecx
cmove eax, ecx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
test ecx, ecx
cmove eax, ecx
mov ecx, dword [esp + 0x34]
add eax, dword [ecx + 0x18]
mov edi, dword [esp + 0x78]
cvtsi2sd xmm0, dword [edi + 4]
mulsd xmm0, qword [0x1031df30]
addsd xmm0, qword [0x10290a78]
movsd qword [esp + 0x20], xmm0
sub eax, dword [edi]
push eax
push 0x3ff00000
push 0
call fcn.1024e84b
add esp, 0xc
fstp qword [esp + 0xb8]
movsd xmm0, qword [esp + 0x20]
mulsd xmm0, qword [esp + 0xb8]
cvtsd2ss xmm0, xmm0
movss dword [ebx + 0x20], xmm0
mov eax, dword [edi]
mov ecx, dword [esi + 0x324]
add eax, ecx
dec eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x14]
test eax, eax
mov esi, ebx
jne 0x10181d48
cmp dword [esp + 0x60], 0
je 0x10181d48
mov ebx, dword [esp + 0x6c]
push ebx
call fcn.1016eb90
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
je 0x10182209
push ebx
push 0
push eax
call fcn.1023abb0
add esp, 0xc
mov dword [esi + 0x18], ebx
jmp 0x10181d98
mov ebx, dword [esp + 0x6c]
cmp dword [esi + 0x18], ebx
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
jae 0x10181d89
push ebx
push eax
call fcn.1016ebe1
add esp, 8
test eax, eax
je 0x10182240
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x18]
add eax, ecx
mov edx, ebx
sub edx, ecx
push edx
push 0
push eax
call fcn.1023abb0
add esp, 0xc
mov dword [esi + 0x18], ebx
cmp dword [esp + 0x60], 0
mov esi, dword [esp + 0x1c]
je 0x1018211c
mov ebx, dword [esi + 0x14]
xor eax, eax
mov dword [esp + 0xa0], eax
xor edx, edx
div dword [edi + 0x10]
mov edi, esi
mov esi, edx
mov ecx, dword [esp + 0x30]
shl esi, cl
mov ecx, dword [esp + 0x14]
mov edx, eax
shl edx, cl
add esi, dword [esp + 0x48]
add edx, dword [esp + 0x44]
mov eax, dword [esp + 0x9c]
add eax, esi
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
cmp esi, ecx
cmovle esi, ecx
mov ecx, dword [esp + 0x98]
add ecx, edx
mov dword [ebx], esi
mov eax, dword [edi + 4]
cmp edx, eax
cmovle edx, eax
mov dword [esp + 0x64], edx
mov dword [ebx + 4], edx
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x20]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 8], edx
mov eax, dword [edi + 0xc]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0xc]
sar esi, cl
mov ecx, dword [esp + 0x50]
sar dword [esp + 0x64], cl
mov edi, ebx
mov dword [esp + 4], ebx
mov ebx, edx
sar ebx, 0x1f
add edx, dword [esp + 0x90]
adc ebx, dword [esp + 0x94]
mov ecx, dword [esp + 0xc]
shrd edx, ebx, cl
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0xc]
sar ebx, cl
test byte [esp + 0xc], 0x20
cmove ebx, edx
mov edi, eax
sar edi, 0x1f
add eax, dword [esp + 0x88]
adc edi, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov ecx, edx
shrd eax, edi, cl
sar edi, cl
test dl, 0x20
cmove edi, eax
mov dword [esp + 0x20], esi
sub ebx, esi
mov ecx, dword [esp + 0xc]
shl ebx, cl
sar ebx, cl
sub edi, dword [esp + 0x64]
mov ecx, edx
shl edi, cl
sar edi, cl
mov eax, dword [esp + 4]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
test ebx, ebx
je 0x10181e9b
mov eax, ebx
mul edi
jo 0x101821b3
mov ecx, edi
imul ecx, ebx
cmp ecx, 0x4000000
jae 0x101821c4
mov esi, ecx
shl esi, 6
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
test eax, eax
mov dword [esp + 0x80], ecx
jne 0x10181ee2
test ecx, ecx
je 0x10181ee2
push esi
call fcn.1016eb90
add esp, 4
mov edi, dword [esp + 4]
mov dword [edi + 0x18], eax
test eax, eax
je 0x101821b3
push esi
jmp 0x10181f0e
mov ecx, dword [esp + 4]
cmp esi, dword [ecx + 0x1c]
jbe 0x10181f24
push esi
push eax
call fcn.1016ebe1
add esp, 8
test eax, eax
je 0x101821de
mov edi, dword [esp + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 0x1c]
add eax, ecx
mov edx, esi
sub edx, ecx
push edx
push 0
push eax
call fcn.1023abb0
add esp, 0xc
mov dword [edi + 0x1c], esi
mov ecx, edi
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x10181f3b
push dword [ebp + 0x10]
push edi
push ebx
push eax
call fcn.10183a0c
add esp, 0x10
jmp 0x10181f48
push dword [ebp + 0x10]
push edi
push ebx
call fcn.1018378c
add esp, 0xc
mov ebx, dword [esp + 4]
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
test ecx, ecx
je 0x10181f6c
push dword [ebp + 0x10]
push edx
push eax
push ecx
call fcn.10183a0c
add esp, 0x10
jmp 0x10181f79
push dword [ebp + 0x10]
push edx
push eax
call fcn.1018378c
add esp, 0xc
mov dword [ebx + 0x24], eax
cmp dword [esp + 0x80], 0
je 0x101820ff
xor edi, edi
xor eax, eax
mov dword [esp + 0x84], eax
xor edx, edx
div dword [ebx + 0x10]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x20]
lea esi, [edx + ecx]
mov ecx, dword [esp + 0xc]
shl esi, cl
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x64]
lea edx, [eax + esi]
mov ebx, dword [esp + 0x50]
mov ecx, ebx
shl edx, cl
mov dword [esp + 0xb4], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
add edx, ecx
inc edx
mov ecx, dword [esp + 0xc]
shl edx, cl
mov dword [esp + 0xb0], edx
add eax, esi
inc eax
mov ecx, ebx
mov ebx, dword [esp + 4]
shl eax, cl
mov dword [esp + 8], eax
mov esi, dword [ebx + 0x18]
mov eax, dword [esi + edi]
test eax, eax
je 0x10182083
mov ecx, dword [esi + edi + 4]
mov dword [esp + 0xa8], ecx
mov ebx, dword [esi + edi + 0x30]
mov ecx, dword [esi + edi + 0x38]
mov dword [esp + 0xa4], ecx
push dword [esi + edi + 0x3c]
mov dword [esp + 0xb0], eax
call fcn.1016ebbd
mov ecx, dword [esp + 0xb0]
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + edi + 0x28], xmm0
xor eax, eax
mov dword [esi + edi + 0x3c], eax
mov dword [esi + edi + 0x38], eax
movups xmmword [esi + edi + 0x18], xmm0
movups xmmword [esi + edi + 8], xmm0
mov dword [esi + edi], ecx
mov dword [esi + edi + 0x30], ebx
test ebx, ebx
je 0x10182067
shl ebx, 3
lea eax, [ebx + ebx*2]
push eax
push 0
push ecx
call fcn.1023abb0
add esp, 0xc
mov eax, dword [esp + 0xa8]
mov dword [esi + edi + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + edi + 0x38], eax
mov ebx, dword [esp + 4]
jmp 0x101820a2
push 0x18
push 0xa
call fcn.1016eb99
add esp, 8
mov dword [esi + edi], eax
test eax, eax
je 0x101821b3
mov dword [esi + edi + 0x30], 0xa
mov eax, dword [esp + 0x84]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x54]
cmp ecx, edx
cmovg edx, ecx
mov dword [esi + edi + 8], edx
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xb4]
cmp ecx, edx
cmovg edx, ecx
mov dword [esi + edi + 0xc], edx
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0xb0]
cmp ecx, edx
cmovl edx, ecx
mov dword [esi + edi + 0x10], edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 8]
cmp ecx, edx
cmovl edx, ecx
mov dword [esi + edi + 0x14], edx
inc eax
add edi, 0x40
cmp dword [esp + 0x80], eax
jne 0x10181f8e
add ebx, 0x28
mov eax, dword [esp + 0xa0]
inc eax
cmp eax, dword [esp + 0x60]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
jne 0x10181d9d
mov eax, dword [esp + 0x5c]
inc eax
add esi, 0x24
add dword [esp + 0x78], 8
mov dword [esp + 0x5c], eax
cmp eax, dword [edi + 0x18]
mov edi, dword [esp + 0x40]
jb 0x10181af3
add dword [esp + 0x10], 0x98
mov ecx, dword [esp + 0x2c]
inc ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov ebx, dword [esp]
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x18]
jb 0x101817d6
add ecx, 0x438
add ebx, 0x4c
mov eax, dword [esp + 0x34]
add eax, 0x34
inc edi
mov edx, edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
cmp edx, dword [edi + 0x10]
mov edx, 0
mov esi, 1
jb 0x10181649
mov edi, esi
jmp 0x101821b5
push str.Tile_X_coordinates_are_not_supported_n
jmp 0x101821a8
push str.Tile_Y_coordinates_are_not_supported_n
jmp 0x101821a8
push str.tiles_require_at_least_one_resolution_n
push 1
push edi
call fcn.1015c3f4
add esp, 0xc
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
inc edi
jmp 0x101821b5
push str.Size_of_code_block_data_exceeds_system_limits_n
jmp 0x101821d7
push str.Integer_overflow_n
jmp 0x101821d7
push 0x1031df38
push 1
push dword [ebp + 0x10]
jmp 0x101821ab
mov esi, dword [esp + 4]
push dword [esi + 0x18]
call fcn.1016ebea
add esp, 4
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
push str.Not_enough_memory_for_current_precinct_codeblock_element_n
push 1
push dword [ebp + 0x10]
call fcn.1015c3f4
add esp, 0xc
jmp 0x101821b5
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push ecx
jmp 0x101821ab
push str.Not_enough_memory_for_tile_resolutions_n
push 1
push dword [ebp + 0x10]
call fcn.1015c3f4
add esp, 0xc
mov esi, dword [esp]
push dword [esi + 0x1c]
call fcn.1016ebea
add esp, 4
xor edi, edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
jmp 0x101821b5
push str.Not_enough_memory_to_handle_band_precints_n
push 1
push esi
call fcn.1015c3f4
add esp, 0xc
mov esi, dword [esp + 0x1c]
push dword [esi + 0x14]
call fcn.1016ebea
add esp, 4
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
jmp 0x101821b5