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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10e0f958
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x26c]
push str.SELECT
push eax
mov ebx, ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989686
mov ecx, dword [esp + 0x26c]
push ecx
push str.POLY_SELECT__s
push 0x10fac5e0
call fcn.109b8af0
lea edx, [esp + 0x278]
push str.NONE
push edx
call fcn.109baaf0
add esp, 0x14
test eax, eax
je 0x10989187
mov edx, dword [0x10f43370]
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
push edx
push str.SELECT_NONE
call dword [eax]
jmp 0x10989dc2
lea eax, [esp + 0x26c]
push 0x10e5a81c
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109891f4
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
mov ecx, dword [ebx + 0x114]
mov eax, dword [ebx]
push 1
push 0
push ecx
mov ecx, ebx
call dword [eax + 0x138]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x140]
mov eax, dword [ebx + 0x114]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xf8]
jmp 0x10989659
lea eax, [esp + 0x26c]
push str.REVERSE
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098923b
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x168]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.MATCHING
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989342
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
lea eax, [esp + 0x26c]
push str.GROUPS
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098929f
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x144]
jmp 0x10989649
lea edx, [esp + 0x26c]
push str.ITEMS
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109892d4
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x148]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.BRUSH
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989309
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x160]
jmp 0x10989649
lea edx, [esp + 0x26c]
push 0x10e4beb8
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989649
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x164]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.ADJACENT
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109894b3
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
lea eax, [esp + 0x26c]
push 0x10e5a81c
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109893a6
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x150]
jmp 0x10989649
lea edx, [esp + 0x26c]
push str.COPLANARS
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109893db
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x14c]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.WALLS
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989410
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x154]
jmp 0x10989649
lea edx, [esp + 0x26c]
push str.FLOORS
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989445
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x158]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.CEILINGS
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098947a
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x158]
jmp 0x10989649
lea edx, [esp + 0x26c]
push str.SLANTS
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989649
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x15c]
jmp 0x10989649
lea eax, [esp + 0x26c]
push str.MEMORY
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989607
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
lea eax, [esp + 0x26c]
push 0x10e5bcb4
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989517
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x16c]
jmp 0x109895e0
lea edx, [esp + 0x26c]
push str.RECALL
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098954c
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x170]
jmp 0x109895e0
lea eax, [esp + 0x26c]
push str.UNION
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098957e
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + pe_nt_image_headers32]
jmp 0x109895e0
lea edx, [esp + 0x26c]
push str.INTERSECT
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109895b0
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x17c]
jmp 0x109895e0
lea eax, [esp + 0x26c]
push 0x10e5c534
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109895e0
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x174]
mov edx, dword [ebx]
push 0
push 0
push 0x14
mov ecx, ebx
call dword [edx + 0xcc]
mov ebx, dword [ebx + 0x12c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov eax, 1
jmp 0x10989dc2
lea ecx, [esp + 0x26c]
push str.ZONE
push ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989670
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 0
push 0x10fac5e0
call dword [edx + 0x74]
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x180]
mov eax, dword [ebx]
push 0
push 0
push 0x14
mov ecx, ebx
call dword [eax + 0xcc]
mov ebx, dword [ebx + 0x12c]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x78]
mov eax, 1
jmp 0x10989dc2
mov ecx, dword [ebx + 0x114]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xf0]
jmp 0x10989dc0
lea edx, [esp + 0x26c]
push str.DEFAULT
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x109896cd
lea eax, [ebx + 0x11c]
push 0xffffffffffffffff
push eax
mov dword [eax], 0
mov eax, dword [esp + 0x274]
push str.TEXTURE
push eax
call fcn.1093cd50
add esp, 0x10
mov eax, 1
jmp 0x10989dc2
lea ecx, [esp + 0x26c]
push str.EXTRUDE
push ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989ddd
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 1
push str.Poly_Extrude
call dword [edx + 0x74]
mov ecx, dword [esp + 0x26c]
lea eax, [esp + 0x18]
push eax
push str.DEPTH
push ecx
call fcn.109b98d0
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx]
add esp, 0xc
xor edi, edi
push edi
call dword [edx + 0x70]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x264], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov eax, dword [ecx + 0xa0]
xor esi, esi
cmp eax, edi
mov byte [esp + 0x264], 1
mov dword [esp + 0x14], esi
jle 0x10989839
mov dword [esp + 0x10], edi
nop
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ebp, dword [eax + 0x9c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + ecx + 0x1c]
add ebp, ecx
cmp eax, edi
jne 0x109897a7
push 0xd53
push str..UnEdSrv.cpp
push str.Surf__Actor
call fcn.109bb190
add esp, 0xc
test dword [ebp + 4], 0x2000000
je 0x10989815
mov ecx, dword [ebx + 0x114]
mov edx, dword [ebx]
lea eax, [esp + 0x114]
push eax
mov eax, dword [ecx + 0x90]
push esi
push eax
mov ecx, ebx
call dword [edx + 0x11c]
test eax, eax
je 0x10989815
lea ecx, [esp + 0x48]
push ecx
push 0x148
call fcn.1097de00
add esp, 8
cmp eax, edi
je 0x10989800
mov ecx, 0x52
lea esi, [esp + 0x114]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
xor edi, edi
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], edx
call fcn.10973e80
add dword [esp + 0x10], 0x40
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0xa0]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x10989770
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x28], edi
jle 0x10989d7e
xor ebp, ebp
mov dword [esp + 0x24], ebp
lea ecx, [ecx]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + eax]
mov edx, dword [ecx + 0x258]
mov eax, dword [edx + 0x58]
mov ecx, dword [0x10fcccb4]
xor esi, esi
add eax, 0x2c
cmp ecx, esi
je 0x10989899
mov edx, dword [eax + 4]
push 0x109210b0
push 0x109210a0
push 0x148
push esi
mov dword [esp + 0x30], edx
push dword [esp + 0x30]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [eax + 0xc]
push eax
call dword [edx + 4]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 0x48]
mov edx, dword [ebx]
lea eax, [esp + 0x78]
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [edi + ecx]
push eax
mov ecx, ebx
mov byte [esp + 0x270], 2
call dword [edx + 0x124]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov edx, dword [ebx]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
mov byte [esp + 0x26c], 3
call dword [edx + 0x128]
cmp dword [esp + 0x88], esi
mov dword [esp + 0x14], esi
jle 0x10989b43
mov dword [esp + 0x10], 0
lea esp, [esp]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, eax
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
add eax, 0xc
mov ecx, dword [eax]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call fcn.10a101b0
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x70]
fld st(0)
mov edx, dword [esp + 0x6c]
fld st(0)
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x150], edx
mov dword [esp + 0x158], ecx
mov dword [esp + 0x214], 4
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], edi
fmul dword [eax + ebp + 0x14]
fstp dword [esp + 0x20]
fld st(0)
fmul dword [eax + ebp + 0x10]
fstp dword [esp + 0x2c]
fmul dword [eax + ebp + 0xc]
fstp dword [esp + 0x9c]
fld dword [esp + 0x20]
fadd dword [esp + 0x74]
fld dword [esp + 0x2c]
fadd dword [esp + 0x70]
fld dword [esp + 0x6c]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x15c], edx
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x160], ecx
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x164], edx
fld st(0)
fmul dword [eax + ebp + 0x14]
fstp dword [esp + 0x20]
fld st(0)
fmul dword [eax + ebp + 0x10]
fstp dword [esp + 0x2c]
fmul dword [eax + ebp + 0xc]
fstp dword [esp + 0xa8]
fld dword [esp + 0x20]
fadd dword [esp + 0x98]
fld dword [esp + 0x2c]
fadd dword [esp + 0x94]
fld dword [esp + 0x90]
fadd dword [esp + 0xa8]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x170], edx
mov edx, dword [ecx + eax]
mov eax, dword [edx + 0x258]
mov esi, dword [eax + 0x58]
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
add esi, 0x2c
lea ecx, [edi + 1]
cmp ecx, eax
mov dword [esi + 4], ecx
jle 0x10989ade
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [eax + ecx + 0x20]
mov dword [esi + 8], ecx
push 0x148
mov ecx, esi
call fcn.109b8e40
mov ecx, dword [0x10fcccb4]
test ecx, ecx
je 0x10989b06
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push 0x109210b0
push 0x109210a0
push 0x148
push 1
push 1
push edi
push esi
push eax
call dword [edx + 4]
mov eax, dword [esi]
imul edi, edi, 0x148
add edi, eax
je 0x10989b20
mov ecx, 0x52
lea esi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x10989920
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
jle 0x10989c6f
mov dword [esp + 0x38], eax
lea esp, [esp]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + ecx]
mov eax, dword [edx + 0x258]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 0x30]
test ecx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], ecx
jle 0x10989c4c
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
sub esp, 0x148
mov edi, esp
mov ecx, 0x52
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x168]
call fcn.1097d830
test eax, eax
jne 0x10989be8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc eax
add edx, 0x148
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jl 0x10989ba4
jmp 0x10989c4c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
imul esi, esi, 0x148
mov eax, dword [esi + ecx + 0x100]
add esi, ecx
xor edx, edx
test eax, eax
jle 0x10989c4c
lea eax, [esi + 0x38]
jmp 0x10989c10
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
inc edx
add eax, 0xc
fld st(0)
fmul dword [ecx + ebp + 0x14]
fld st(1)
fmul dword [ecx + ebp + 0x10]
fxch st(2)
fmul dword [ecx + ebp + 0xc]
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
fxch st(1)
fadd dword [eax - 0x10]
fstp dword [eax - 0x10]
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
mov ecx, dword [esi + 0x100]
cmp edx, ecx
jl 0x10989c10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
inc eax
add edx, 0x148
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edx
jl 0x10989b60
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + ecx]
mov edx, dword [eax + 0x258]
mov eax, dword [edx + 0x58]
mov edx, dword [eax + 0x30]
xor edi, edi
test edx, edx
jle 0x10989d25
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0x10], edi
lea esp, [esp]
mov esi, dword [eax + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb4]
add esi, edx
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
push 0
mov ecx, esi
mov dword [esi + 0x104], edi
call fcn.10a11bc0
lea edx, [esi + 0x30]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + ecx]
mov eax, dword [edx + 0x258]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + 0x58]
mov edx, dword [eax + 0x30]
inc edi
add esi, 0x148
cmp edi, edx
mov dword [esp + 0x10], esi
jl 0x10989cb0
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + ecx]
mov ecx, dword [ecx + 0x258]
call fcn.10a2c780
lea ecx, [esp + 0x84]
mov byte [esp + 0x264], 2
call fcn.10981cd0
lea ecx, [esp + 0x78]
mov byte [esp + 0x264], 1
call fcn.10927fd0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
inc eax
add esi, 4
add ebp, 0x148
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
jl 0x10989850
mov edx, dword [ebx]
push 0
push 0
push 0x32
mov ecx, ebx
call dword [edx + 0xcc]
mov ebx, dword [ebx + 0x12c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x264], 0
call fcn.10982560
mov dword [esp + 0x264], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10927fd0
xor eax, eax
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x258
ret 8
lea ecx, [esp + 0x26c]
push str.BEVEL
push ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098a7bc
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 1
push str.Poly_Bevel
call dword [edx + 0x74]
mov ecx, dword [esp + 0x26c]
lea eax, [esp + 0x2c]
push eax
push str.DEPTH
push ecx
call fcn.109b98d0
mov eax, dword [esp + 0x278]
lea edx, [esp + 0x40]
push edx
push 0x10e5c49c
push eax
call fcn.109b98d0
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx]
add esp, 0x18
xor edi, edi
push edi
call dword [edx + 0x70]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x264], 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov eax, dword [ecx + 0xa0]
xor esi, esi
cmp eax, edi
mov byte [esp + 0x264], 5
mov dword [esp + 0x28], esi
jle 0x10989f69
mov dword [esp + 0x10], edi
lea ebx, [ebx]
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ebp, dword [eax + 0x9c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + ecx + 0x1c]
add ebp, ecx
cmp eax, edi
jne 0x10989ed7
push 0xdae
push str..UnEdSrv.cpp
push str.Surf__Actor
call fcn.109bb190
add esp, 0xc
test dword [ebp + 4], 0x2000000
je 0x10989f45
mov ecx, dword [ebx + 0x114]
mov edx, dword [ebx]
lea eax, [esp + 0x114]
push eax
mov eax, dword [ecx + 0x90]
push esi
push eax
mov ecx, ebx
call dword [edx + 0x11c]
test eax, eax
je 0x10989f45
lea ecx, [esp + 0x6c]
push ecx
push 0x148
call fcn.1097de00
add esp, 8
cmp eax, edi
je 0x10989f30
mov ecx, 0x52
lea esi, [esp + 0x114]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
xor edi, edi
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], edx
call fcn.10973e80
add dword [esp + 0x10], 0x40
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0xa0]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jl 0x10989ea0
cmp dword [esp + 0x70], edi
mov dword [esp + 0x20], edi
jle 0x1098a77a
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
mov ecx, dword [eax + edi]
mov edx, dword [ecx + 0x258]
mov eax, dword [edx + 0x58]
mov ecx, dword [0x10fcccb4]
xor esi, esi
add eax, 0x2c
cmp ecx, esi
je 0x10989fc3
mov edx, dword [eax + 4]
mov ebp, dword [ecx]
push 0x109210b0
push 0x109210a0
push 0x148
push esi
push edx
push esi
push eax
mov eax, dword [eax + 0xc]
push eax
call dword [ebp + 4]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x70]
add eax, ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [ecx + edi]
push eax
mov ecx, ebx
mov byte [esp + 0x270], 6
call dword [edx + 0x124]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov edx, dword [ebx]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebx
mov byte [esp + 0x26c], 7
call dword [edx + 0x128]
fld dword [0x10e4500c]
fld dword [0x10e4500c]
mov ecx, dword [esp + 0x7c]
cmp ecx, esi
fld dword [0x10e4500c]
fst dword [esp + 0x5c]
jle 0x1098a07d
mov eax, dword [esp + 0x78]
add eax, 8
mov edx, ecx
lea ebx, [ebx]
fxch st(2)
add eax, 0x18
dec edx
fadd dword [eax - 0x20]
fxch st(2)
fxch st(1)
fadd dword [eax - 0x1c]
fxch st(1)
fadd dword [eax - 0x18]
jne 0x1098a060
fstp dword [esp + 0x5c]
jmp 0x1098a07f
fstp st(0)
cmp ecx, esi
fild dword [esp + 0x7c]
mov dword [esp + 0x28], esi
fdivr dword [0x10e45008]
fst dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x58]
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x5c]
jle 0x1098a4a4
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
add eax, edx
mov ecx, eax
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebp, dword [ecx + 8]
add eax, 0xc
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x44], edx
call fcn.10a101b0
fld dword [esp + 0x5c]
fsub dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x10]
mov dword [esp + 0x150], eax
fld dword [esp + 0x58]
mov dword [esp + 0x214], 4
fsub dword [esp + 0x40]
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], edi
mov dword [esp + 0x14c], ebp
fstp dword [esp + 0x1c]
mov dword [esp + 0x154], ecx
fld dword [esp + 0x54]
mov dword [esp + 0x158], edx
fsub dword [esp + 0x3c]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(2)
fmul st(3)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fst dword [esp + 0x18]
fcomp qword [0x10e49258]
fnstsw ax
test ah, 1
jne 0x1098a1c5
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fsqrt
fdivr dword [0x10e45008]
fst dword [esp + 0x18]
fmulp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x18]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
fst dword [esp + 0x30]
fst dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fmul dword [esp + 0x18]
fstp dword [esp + 0xcc]
fild dword [esp + 0x2c]
fld st(0)
fld st(0)
fmul dword [edx + ecx + 0x14]
fld st(1)
fmul dword [edx + ecx + 0x10]
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [edx + ecx + 0xc]
fstp dword [esp + 0xf0]
fadd dword [esp + 0x44]
fld dword [esp + 0x18]
fadd dword [esp + 0x40]
fstp dword [esp + 0x18]
fld dword [esp + 0xf0]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x108]
fadd dword [esp + 0x10]
fld dword [esp + 0x18]
fadd dword [esp + 0x1c]
fld dword [esp + 0x108]
fadd dword [esp + 0xcc]
fstp dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x15c], eax
fstp dword [esp + 0xb8]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x160], eax
fstp dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
fld dword [esp + 0x5c]
mov dword [esp + 0x164], eax
fsub dword [esp + 0x98]
fld dword [esp + 0x58]
fsub dword [esp + 0x94]
fld dword [esp + 0x54]
fsub dword [esp + 0x90]
fstp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x60], eax
fstp dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x64], eax
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x60]
mov dword [esp + 0x68], eax
fld st(0)
fmul st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esp + 0x64]
faddp st(1)
fcom qword [0x10e49258]
fnstsw ax
test ah, 1
jne 0x1098a336
fsqrt
fdivr dword [0x10e45008]
fld st(0)
fmulp st(2)
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fmul dword [esp + 0x68]
fstp dword [esp + 0x68]
jmp 0x1098a338
fstp st(0)
fld dword [esp + 0x30]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0xfc]
fstp st(0)
fld st(0)
fmul dword [edx + ecx + 0x14]
fld st(1)
fmul dword [edx + ecx + 0x10]
fstp dword [esp + 0x30]
fxch st(1)
fmul dword [edx + ecx + 0xc]
fstp dword [esp + 0xd8]
fadd dword [esp + 0x98]
fld dword [esp + 0x30]
fadd dword [esp + 0x94]
fstp dword [esp + 0x30]
fld dword [esp + 0xd8]
fadd dword [esp + 0x90]
fstp dword [esp + 0xe4]
fadd dword [esp + 0x18]
fld dword [esp + 0x30]
fadd dword [esp + 0x10]
fld dword [esp + 0xe4]
fadd dword [esp + 0xfc]
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x168], ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0xac]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x16c], edx
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x170], eax
mov eax, dword [ecx + edx]
mov ecx, dword [eax + 0x258]
mov esi, dword [ecx + 0x58]
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
add esi, 0x2c
lea ecx, [edi + 1]
cmp ecx, eax
mov dword [esi + 4], ecx
jle 0x1098a442
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ecx + 0x20]
push 0x148
mov ecx, esi
mov dword [esi + 8], edx
call fcn.109b8e40
mov ecx, dword [0x10fcccb4]
test ecx, ecx
je 0x1098a46a
mov edx, dword [esi + 0xc]
mov eax, dword [ecx]
push 0x109210b0
push 0x109210a0
push 0x148
push 1
push 1
push edi
push esi
push edx
call dword [eax + 4]
mov eax, dword [esi]
imul edi, edi, 0x148
add edi, eax
je 0x1098a484
mov ecx, 0x52
lea esi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
jl 0x1098a0c1
mov ecx, dword [esp + 0x88]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
jle 0x1098a66f
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax]
mov edx, dword [ecx + 0x258]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x30]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x10], ecx
jle 0x1098a649
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
sub esp, 0x148
mov edi, esp
mov ecx, 0x52
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x178]
call fcn.1097d830
test eax, eax
jne 0x1098a540
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ebp
add ecx, 0x148
cmp ebp, eax
mov dword [esp + 0x14], ecx
jl 0x1098a501
jmp 0x1098a649
mov ecx, dword [esp + 0x1c]
imul ebp, ebp, 0x148
mov eax, dword [ebp + ecx + 0x100]
add ebp, ecx
xor esi, esi
test eax, eax
jle 0x1098a649
mov edx, dword [esp + 0x38]
lea ecx, [ebp + 0x38]
fld dword [esp + 0x5c]
fsub dword [ecx]
fstp dword [esp + 0x1c]
fld dword [esp + 0x58]
fsub dword [ecx - 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x54]
fsub dword [ecx - 8]
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fld st(2)
fmul st(3)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fst dword [esp + 0x30]
fcomp qword [0x10e49258]
fnstsw ax
test ah, 1
jne 0x1098a5d7
fstp st(0)
fstp st(0)
fld dword [esp + 0x30]
fsqrt
fdivr dword [0x10e45008]
fst dword [esp + 0x14]
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
fild dword [esp + 0x34]
inc esi
add ecx, 0xc
fst dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x30]
fstp st(0)
fmul dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(2)
fadd dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fadd dword [ecx - 0x10]
fstp dword [ecx - 0x10]
fstp st(0)
fld dword [esp + 0x30]
fadd dword [ecx - 0xc]
fstp dword [ecx - 0xc]
mov eax, dword [esp + 0x6c]
fild dword [esp + 0x2c]
fld st(0)
fmul dword [edx + eax + 0x14]
fld st(1)
fmul dword [edx + eax + 0x10]
fxch st(2)
fmul dword [edx + eax + 0xc]
fadd dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fxch st(1)
fadd dword [ecx - 0x10]
fstp dword [ecx - 0x10]
fadd dword [ecx - 0xc]
fstp dword [ecx - 0xc]
mov eax, dword [ebp + 0x100]
cmp esi, eax
jl 0x1098a564
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
inc eax
add edx, 0x148
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
jl 0x1098a4c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + eax]
mov eax, dword [edx + 0x258]
mov eax, dword [eax + 0x58]
mov edx, dword [eax + 0x30]
xor edi, edi
test edx, edx
jle 0x1098a719
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
xor ebp, ebp
jmp 0x1098a6b0
mov esi, dword [eax + 0x2c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
add esi, ebp
lea ecx, [esi + 0xc]
mov dword [ecx], edx
mov edx, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
push 0
mov ecx, esi
mov dword [esi + 0x104], edi
call fcn.10a11bc0
lea eax, [esi + 0x30]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + edx]
mov edx, dword [eax + 0x258]
mov eax, dword [edx + 0x58]
mov edx, dword [eax + 0x30]
inc edi
add ebp, 0x148
cmp edi, edx
jl 0x1098a6b0
mov esi, dword [esp + 0x24]
mov eax, dword [ecx + esi]
mov ecx, dword [eax + 0x258]
call fcn.10a2c780
lea ecx, [esp + 0x78]
mov byte [esp + 0x264], 6
call fcn.10981cd0
lea ecx, [esp + 0x84]
mov byte [esp + 0x264], 5
call fcn.10927fd0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
inc eax
add edi, 0x148
add esi, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], esi
jl 0x10989f81
mov edx, dword [ebx]
push 0
push 0
push 0x32
mov ecx, ebx
call dword [edx + 0xcc]
mov ebx, dword [ebx + 0x12c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
lea ecx, [esp + 0x48]
mov byte [esp + 0x264], 4
call fcn.10982560
mov dword [esp + 0x264], 0xffffffff
lea ecx, [esp + 0x6c]
jmp 0x10989dbb
lea ecx, [esp + 0x26c]
push str.SETTEXTURE
push ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098a8b4
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 1
push str.Poly_SetTexture
call dword [edx + 0x74]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
push 1
call fcn.10a2e6f0
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0xa0]
xor esi, esi
test eax, eax
jle 0x1098a879
xor edi, edi
mov ebp, 0x2000000
lea ecx, [ecx]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x9c]
mov ecx, dword [edx + edi + 4]
test ebp, ecx
lea eax, [edx + edi]
je 0x1098a85f
mov ecx, dword [ebx + 0x11c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push 0
push esi
push ecx
mov ecx, ebx
call dword [edx + 0x120]
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0xa0]
inc esi
add edi, 0x40
cmp esi, ecx
jl 0x1098a820
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x114]
push ecx
mov ecx, dword [edx + 0x90]
call fcn.10a2f140
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [ebx + 0x114]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xf0]
mov eax, 1
jmp 0x10989dc2
lea ecx, [esp + 0x26c]
push 0x10e5bcb4
push ecx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098aa5e
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 1
push str.Poly_Set
call dword [edx + 0x74]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
push 1
call fcn.10a2e6f0
mov edx, dword [esp + 0x26c]
lea ecx, [esp + 0x20]
push ecx
push str.TEXTURE
push edx
call fcn.109b9840
add esp, 0xc
xor esi, esi
test eax, eax
jne 0x1098a91c
mov dword [esp + 0x20], eax
jmp 0x1098a920
mov eax, dword [esp + 0x20]
cmp eax, esi
mov ebp, eax
je 0x1098a996
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
cmp dword [ecx + 0xa0], esi
jle 0x1098a996
xor edi, edi
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0x9c]
lea eax, [ecx + edi]
test dword [eax + 4], 0x2000000
je 0x1098a97a
mov dword [eax], ebp
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push 0
push esi
push ecx
mov ecx, ebx
call dword [edx + 0x120]
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0xa0]
inc esi
add edi, 0x40
cmp esi, ecx
jl 0x1098a940
xor esi, esi
mov edx, dword [esp + 0x26c]
lea ecx, [esp + 0x34]
push ecx
push str.SETFLAGS
push edx
mov word [0x10fab9d0], si
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
call fcn.109b98d0
add esp, 0xc
test eax, eax
je 0x1098a9cc
mov word [0x10fab9d0], 1
mov ecx, dword [esp + 0x26c]
lea eax, [esp + 0x2c]
push eax
push str.CLEARFLAGS
push ecx
call fcn.109b98d0
add esp, 0xc
test eax, eax
je 0x1098a9f5
mov word [0x10fab9d0], 1
jmp 0x1098a9fe
cmp word [0x10fab9d0], si
je 0x1098aa23
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx]
push 1
push 1
push eax
mov eax, dword [ebx + 0x114]
push ecx
mov ecx, dword [eax + 0x90]
push ecx
mov ecx, ebx
call dword [edx + 0x130]
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
push edx
call fcn.10a2f140
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
call dword [edx + 0x78]
mov ecx, dword [ebx + 0x114]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xf0]
mov eax, 1
jmp 0x10989dc2
lea edx, [esp + 0x26c]
push str.TEXSCALE
push edx
call fcn.109baaf0
add esp, 8
xor edi, edi
test eax, eax
je 0x1098aac2
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ecx]
push 1
push str.Poly_Texscale
call dword [eax + 0x74]
mov ecx, dword [ebx + 0x114]
mov ecx, dword [ecx + 0x90]
push 1
call fcn.10a2e6f0
lea edx, [esp + 0x26c]
push str.RELATIVE
push edx
mov word [0x10fab9d4], 1
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098ab0b
jmp 0x1098ab04
lea eax, [esp + 0x26c]
push str.TEXMULT
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098acd2
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
push 1
push str.Poly_Texmult
call dword [edx + 0x74]
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
push 1
call fcn.10a2e6f0
mov word [0x10fab9d4], di
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
cmp dword [edx + 0xa0], edi
mov dword [esp + 0x20], edi
jle 0x1098abfa
jmp 0x1098ab30
mov eax, dword [ebx + 0x114]
mov eax, dword [eax + 0x90]
mov esi, dword [eax + 0x9c]
mov ecx, dword [esi + edi + 4]
add esi, edi
test ecx, 0x2000000
je 0x1098abd4
mov edx, dword [esi + 0x10]
lea edx, [edx + edx*2]
lea ecx, [eax + 0x7c]
mov eax, dword [ecx]
lea edx, [eax + edx*4]
mov ebp, dword [edx]
mov dword [esp + 0x9c], ebp
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0x14]
lea edx, [edx + edx*2]
lea eax, [eax + edx*4]
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xac], edx
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb4], eax
call fcn.10984900
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x114]
mov ecx, dword [ecx + 0x90]
lea eax, [esp + 0xa8]
push eax
add ecx, 0x7c
call fcn.10984900
mov dword [esi + 0x14], eax
mov edx, dword [ebx + 0x114]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 0x90]
mov edx, dword [ecx + 0xa0]
inc eax
add edi, 0x40
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x1098ab30
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x14]
push edx
push 0x10e5c3ec
push eax
mov dword [esp + 0x20], 0x3f800000
call fcn.109b9890
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x34]
push ecx
push 0x10e5c3e4
push edx
mov dword [esp + 0x40], 0
call fcn.109b9890
mov ecx, dword [esp + 0x284]
lea eax, [esp + 0x4c]
push eax
push 0x10e5c3dc
push ecx
mov dword [esp + 0x58], 0
call fcn.109b9890
mov eax, dword [esp + 0x290]
lea edx, [esp + 0x50]
push edx
push 0x10e5c3d4
push eax
mov dword [esp + 0x5c], 0x3f800000
call fcn.109b9890
movzx eax, word [0x10fab9d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx]
add esp, 0x30
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx + 0x114]
push eax
mov eax, dword [ecx + 0x90]
push eax
mov ecx, ebx
call dword [edx + 0x188]
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ecx]
call dword [edx + 0x78]
mov ecx, dword [ebx + 0x114]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xf0]
mov eax, 1
jmp 0x10989dc2
lea edx, [esp + 0x26c]
push str.TEXPAN
push edx
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x10989dc0
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ecx]
push 1
push str.Poly_Texpan
call dword [eax + 0x74]
mov ecx, dword [ebx + 0x114]
mov ecx, dword [ecx + 0x90]
push 1
call fcn.10a2e6f0
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0xa0]
xor ebp, ebp
test ecx, ecx
jle 0x1098adaa
xor edi, edi
mov ecx, dword [ebx + 0x114]
mov eax, dword [ecx + 0x90]
mov esi, dword [eax + 0x9c]
mov ecx, dword [esi + edi + 4]
add esi, edi
test ecx, 0x2000000
je 0x1098ad90
lea ecx, [eax + 0x8c]
mov eax, dword [esi + 8]
lea edx, [eax + eax*2]
mov eax, dword [ecx]
lea edx, [eax + edx*4]
mov eax, dword [edx]
mov dword [esp + 0x9c], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xa8], edx
call fcn.10984900
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x114]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0xa0]
inc ebp
add edi, 0x40
cmp ebp, eax
jl 0x1098ad32
lea eax, [esp + 0x26c]
push str.RESET
push eax
call fcn.109baaf0
add esp, 8
test eax, eax
je 0x1098ade0
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebx]
push 1
push 0
push 0
push ecx
mov ecx, ebx
call dword [edx + 0x184]
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x1c]
push edx
push 0x10e4ad9c
xor esi, esi
push eax
mov dword [esp + 0x28], esi
call fcn.109b98d0
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x1c]
push ecx
push 0x10e4ad94
push edx
mov dword [esp + 0x28], esi
call fcn.109b98d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov eax, dword [ebx]
add esp, 0x18
push esi
push ecx
mov ecx, dword [ebx + 0x114]
push edx
mov edx, dword [ecx + 0x90]
push edx
mov ecx, ebx
call dword [eax + 0x184]
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [ebx + 0x114]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xf0]
mov eax, 1
jmp 0x10989dc2