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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6db3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov edx, dword [ebx + 0x80]
push edi
cmp edx, esi
mov dword [esp + 0x20], ebx
je 0x46a85e
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov al, byte [0x4ffb68]
mov ecx, 0x7f
mov byte [esp + 0x90], al
xor eax, eax
lea edi, [esp + 0x91]
mov dword [esp + 0x298], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebx + 0x74]
test al, al
je 0x46a101
movsx ecx, word [ebx + 0x84]
dec ecx
mov dword [esp + 0x24], edx
test ecx, ecx
mov dword [esp + 0x2c], esi
jle 0x46a85e
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
jmp 0x4699ab
mov ebx, dword [esp + 0x20]
movsx edx, word [ebx + 0x86]
mov dword [esp + 0x28], 0
lea eax, [edx - 1]
test eax, eax
jle 0x46a0b5
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x24]
mov dword [esp + 0xc], eax
lea ecx, [eax - 0x24]
lea edx, [edx + edx*2]
mov dword [esp + 0x10], 0
lea ebx, [ecx + edx*8]
mov dl, byte [eax - 0x18]
cmp dl, 6
jbe 0x469b87
cmp byte [ebx + 0xc], 6
jbe 0x469b87
cmp byte [eax], 6
jbe 0x469b87
add eax, 0xfffffff4
push eax
push ebx
lea eax, [esp + 0x38]
push ecx
push eax
call fcn.00473480
add esp, 0x10
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 1
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
mov byte [esp + 0x2b0], 0
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push edx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x1c]
add eax, 0xffffffdc
lea ecx, [esp + edi + 0x98]
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
fld dword [ebx + 8]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea edx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
fstp qword [esp]
fld dword [eax - 0xc]
add eax, 0xfffffff4
sub esp, 8
lea eax, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push 0x4fdeb0
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x10], 1
cmp byte [ebx + 0xc], 6
jbe 0x469d2b
cmp byte [ebx + 0x24], 6
jbe 0x469d2b
cmp byte [eax], 6
jbe 0x469d2b
add eax, 0xfffffff4
lea ecx, [ebx + 0x18]
push eax
push ecx
lea edx, [esp + 0x5c]
push ebx
push edx
call fcn.00473480
add esp, 0x10
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 2
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2a8], 0
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
lea ecx, [esp + 0xa8]
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
fld dword [ebx + 8]
add esp, 4
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea eax, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
fld dword [ebx + 0x20]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x1c]
sub esp, 8
lea ecx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx + 0x18]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
add eax, 0xfffffff4
fstp qword [esp]
fld dword [eax]
sub esp, 8
lea edx, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x90]
push edx
push 0x4fdeb0
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 2
jge 0x46a08c
cmp byte [eax - 0x18], 6
jbe 0x469ed8
cmp byte [ebx + 0xc], 6
jbe 0x469ed8
cmp byte [ebx + 0x24], 6
jbe 0x469ed8
lea ecx, [ebx + 0x18]
add eax, 0xffffffdc
push ecx
push ebx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0x48]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2a8], 0
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
lea eax, [esp + 0xa8]
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push eax
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x1c]
add eax, 0xffffffdc
lea edx, [esp + edi + 0x98]
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
fld dword [ebx + 8]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea eax, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
fld dword [ebx + 0x20]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x1c]
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x18]
sub esp, 8
lea ecx, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 0x90]
push ecx
push 0x4fdeb0
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 2
jge 0x46a08c
cmp byte [eax - 0x18], 6
jbe 0x46a08c
cmp byte [ebx + 0x24], 6
jbe 0x46a08c
cmp byte [eax], 6
jbe 0x46a08c
lea ecx, [eax - 0xc]
lea edx, [ebx + 0x18]
push ecx
add eax, 0xffffffdc
push edx
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x1c], edx
push eax
call fcn.00473480
add esp, 0x10
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 4
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
mov byte [esp + 0x2b0], 0
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push edx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x1c]
add eax, 0xffffffdc
lea ecx, [esp + edi + 0x98]
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
fld dword [ebx + 0x20]
mov edx, dword [esp + 0x34]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x1c]
sub esp, 8
lea eax, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [edx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
add eax, 0xfffffff4
lea ecx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 0x90]
push ecx
push 0x4fdeb0
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc ecx
add eax, 0x18
movsx edx, word [edx + 0x86]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], eax
movsx ecx, cx
lea edi, [edx - 1]
cmp ecx, edi
jl 0x4699d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
inc edx
movsx eax, word [ecx + 0x86]
movsx ecx, word [ecx + 0x84]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*2]
movsx edx, dx
dec ecx
lea eax, [edi + eax*8]
cmp edx, ecx
mov dword [esp + 0x24], eax
jl 0x4699a7
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movsx eax, word [ebx + 0x84]
dec eax
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x2c], esi
jle 0x46a85e
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
jmp 0x46a125
mov ebx, dword [esp + 0x20]
movsx ebx, word [ebx + 0x86]
mov dword [esp + 0x28], 0
lea ecx, [ebx - 1]
test ecx, ecx
jle 0x46a82a
lea eax, [edx + 0x1c]
mov dword [esp + 0xc], eax
mov dl, byte [eax - 0x10]
lea ecx, [eax - 0x1c]
shl ebx, 4
add ebx, ecx
cmp dl, 6
mov dword [esp + 0x10], 0
jbe 0x46a2fc
cmp byte [ebx + 0xc], 6
jbe 0x46a2fc
cmp byte [eax], 6
jbe 0x46a2fc
add eax, 0xfffffff4
lea edx, [esp + 0x78]
push eax
push ebx
push ecx
push edx
call fcn.00473330
add esp, 0x10
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 5
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2a8], 0
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
lea ecx, [esp + 0xa8]
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x14]
add eax, 0xffffffe4
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
lea eax, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
fld dword [ebx + 8]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea ecx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
fstp qword [esp]
fld dword [eax - 0xc]
add eax, 0xfffffff4
sub esp, 8
lea edx, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x90]
push edx
push 0x4fdeb0
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x10], 1
cmp byte [ebx + 0xc], 6
jbe 0x46a49d
cmp byte [ebx + 0x1c], 6
jbe 0x46a49d
cmp byte [eax], 6
jbe 0x46a49d
add eax, 0xfffffff4
lea ecx, [ebx + 0x10]
push eax
push ecx
lea ecx, [esp + 0x50]
push ebx
push ecx
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 6
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2a8], 0
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
lea eax, [esp + 0xa8]
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push eax
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
fld dword [ebx + 8]
add esp, 4
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea edx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
fld dword [ebx + 0x18]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x14]
sub esp, 8
lea eax, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx + 0x10]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
add eax, 0xfffffff4
fstp qword [esp]
fld dword [eax]
sub esp, 8
lea ecx, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 0x90]
push ecx
push 0x4fdeb0
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 2
jge 0x46a801
cmp byte [eax - 0x10], 6
jbe 0x46a64d
cmp byte [ebx + 0xc], 6
jbe 0x46a64d
cmp byte [ebx + 0x1c], 6
jbe 0x46a64d
lea ecx, [ebx + 0x10]
add eax, 0xffffffe4
push ecx
push ebx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00473330
add esp, 0x10
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 7
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
mov byte [esp + 0x2b0], 0
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push edx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea eax, [esp + edi + 0x94]
push 0x4fd1ac
push eax
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x14]
add eax, 0xffffffe4
lea ecx, [esp + edi + 0x98]
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push ecx
call esi
fld dword [ebx + 8]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 4]
sub esp, 8
lea edx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
fld dword [ebx + 0x18]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x14]
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x10]
sub esp, 8
lea eax, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push 0x4fdeb0
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 2
jge 0x46a801
cmp byte [eax - 0x10], 6
jbe 0x46a801
cmp byte [ebx + 0x1c], 6
jbe 0x46a801
cmp byte [eax], 6
jbe 0x46a801
lea ecx, [eax - 0xc]
lea edx, [ebx + 0x10]
push ecx
mov dword [esp + 0x14], edx
push edx
add eax, 0xffffffe4
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00473330
add esp, 0x10
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 8
call fcn.004051b0
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x98]
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2a8], 0
rep stosd dword es:[edi], eax
fstp qword [esp]
fld dword [esp + 0x24]
sub esp, 8
lea ecx, [esp + 0xa8]
fstp qword [esp]
push str._facet_normal
push str._s__f__f__f_n
push ecx
call esi
add esp, 0x24
mov edi, eax
push str.___outer_loop
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
add edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [eax - 0x14]
add eax, 0xffffffe4
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
lea eax, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
fld dword [ebx + 0x18]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
add edi, eax
fstp qword [esp]
fld dword [ebx + 0x14]
sub esp, 8
lea edx, [esp + edi + 0xa0]
fstp qword [esp]
fld dword [ecx]
sub esp, 8
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push edx
call esi
add edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
fld dword [eax - 4]
fstp qword [esp]
fld dword [eax - 8]
sub esp, 8
add eax, 0xfffffff4
fstp qword [esp]
fld dword [eax]
sub esp, 8
lea eax, [esp + edi + 0xa8]
fstp qword [esp]
push str.__vertex
push str._s__f__f__f_n
push eax
call esi
add esp, 0x24
add edi, eax
push str.___endloop
lea ecx, [esp + edi + 0x94]
push 0x4fd1ac
push ecx
call esi
add esp, 0xc
add edi, eax
push str._endfacet
lea edx, [esp + edi + 0x94]
push 0x4fd1ac
push edx
call esi
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push 0x4fdeb0
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc ecx
add eax, 0x10
movsx ebx, word [edx + 0x86]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], eax
movsx ecx, cx
lea edx, [ebx - 1]
cmp ecx, edx
jl 0x46a146
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
inc ecx
movsx edi, word [eax + 0x86]
movsx eax, word [eax + 0x84]
mov dword [esp + 0x2c], ecx
shl edi, 4
movsx ecx, cx
add edx, edi
dec eax
cmp ecx, eax
mov dword [esp + 0x24], edx
jl 0x46a121
mov ecx, dword [esp + 0x290]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4