Function at 0x6c260398
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x9f0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x6c482fc0
call sub.msvcrt.dll_strcpy
mov eax, ebx
and eax, 1
mov dword [0x6c32f198], eax
mov edx, ebx
and edx, 2
mov dword [0x6c483040], edx
mov eax, ebx
and eax, 4
mov dword [0x6c483044], eax
and ebx, 8
mov dword [0x6c483048], ebx
test eax, eax
je 0x6c26103a
mov dword [0x6c483040], 0
mov eax, dword [0x6c48304c]
test eax, eax
je 0x6c261059
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x6c453eb0]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 0x44], eax
cmp eax, 4
je 0x6c261032
mov dword [0x6c483050], 0
mov dword [esp], 0x18
call fcn.6c2df72c
mov ebx, eax
mov dword [esp], eax
call fcn.6c221fa0
mov dword [0x6c483054], ebx
mov dword [esp + 4], 0x6c36ab13
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6c21008c
mov dword [esp + 0x40], eax
test eax, eax
je 0x6c261018
mov dword [esp + 4], 1
mov dword [esp], 0x6c487500
call fcn.6c269188
mov esi, eax
mov dword [esp + 4], 0
mov dword [esp], 0x6c487500
call fcn.6c269188
mov ecx, 0x39
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], 0x2f
mov edx, dword [ebp + 8]
mov dword [esp], edx
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x6c2618b9
lea ebx, [eax + 1]
sub ebx, dword [ebp + 8]
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x6c483060
call sub.msvcrt.dll_strncpy
mov byte [ebx + 0x6c483060], 0
mov byte [0x6c483460], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.__FBX_6.1.0_project_file_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x22
mov dword [esp + 4], 1
mov dword [esp], str.__________________________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], 0x17d4
mov dword [esp + 8], 0x3eb
mov dword [esp + 4], str.FBXHeaderExtension:___n_tFBXHeaderVersion:__d_n_tFBXVersion:__d_n_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], str.Time.new.strftime___Y__m__d__H:_M:_S:000__
call sub.msvcrt_ruby200.dll_rb_eval_string
mov eax, dword [eax]
mov dword [esp], str.Time.new.strftime___Y__m__d__H:_M:_S:000__
test ah, 0x20
je 0x6c261248
call sub.msvcrt_ruby200.dll_rb_eval_string
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.CreationTime:___s__n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 0x6c36abd8
call sub.msvcrt.dll_atol
mov dword [esp + 8], eax
mov dword [esp + 4], str.Creator:__LightUp_for_SketchUp__build__ld___n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
lea eax, [esp + 0x9e8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x9e4]
mov dword [esp + 8], eax
lea eax, [esp + 0x9e0]
mov dword [esp + 4], eax
mov dword [esp], 0x6c487500
call fcn.6c268820
dec dword [esp + 0x9e8]
mov dword [esp], 0x10
call fcn.6c2df72c
mov ebx, eax
mov dword [eax], 0x200
mov dword [eax + 4], 0
mov dword [eax + 8], 0x20
mov dword [esp], 0x4013
call sub.msvcrt.dll_malloc
lea edx, [eax + 0x13]
and edx, 0xfffffff0
mov dword [edx - 4], eax
mov dword [ebx + 0xc], edx
mov dword [0x6c483860], ebx
mov edi, dword [0x6c483044]
test edi, edi
jne 0x6c261236
mov eax, dword [esp + 0x9e8]
mov edx, dword [esp + 0x9e0]
lea ecx, [edx + eax]
lea eax, [eax + edx*2]
lea eax, [eax + ecx*2 + 1]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Definitions:__n_tVersion:_100_n_tCount:__d_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x9e0]
mov dword [esp + 8], eax
mov dword [esp + 4], str._tObjectType:__Model___n_t_tCount:__d_n_t_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x9e0]
mov dword [esp + 8], eax
mov dword [esp + 4], str._tObjectType:__Geometry___n_t_tCount:__d_n_t_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x9e8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._tObjectType:__Material___n_t_tCount:__d_n_t_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x9e8]
add eax, dword [esp + 0x9e0]
mov dword [esp + 8], eax
mov dword [esp + 4], str._tObjectType:__Texture___n_t_tCount:__d_n_t_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x9e8]
add eax, dword [esp + 0x9e0]
mov dword [esp + 8], eax
mov dword [esp + 4], str._tObjectType:__Video___n_t_tCount:__d_n_t_n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 1
mov dword [esp], str._tObjectType:__GlobalSettings___n_t_tCount:_1_n_t_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
mov eax, dword [0x6c483864]
test eax, eax
je 0x6c261615
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 0x9ec], eax
lea edx, [esp + 0x9ec]
mov dword [esp], edx
call sub.msvcrt_ruby200.dll_rb_gc_register_address
mov eax, dword [esp + 0x9ec]
call fcn.6c25c018
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.Objects:__n
call sub.msvcrt.dll_fwrite
movss xmm0, dword [0x6c36b790]
movaps xmmword [esp + 0x950], xmm0
movaps xmm0, xmmword [0x6c36b780]
movaps xmmword [esp + 0x960], xmm0
movaps xmm0, xmmword [0x6c36b770]
movaps xmmword [esp + 0x970], xmm0
movaps xmm2, xmmword [0x6c36b760]
movaps xmmword [esp + 0x980], xmm2
lea ebx, [esp + 0x850]
mov ecx, dword [esp + 0x44]
mov edx, 1
mov eax, ebx
call fcn.6c25b844
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea esi, [esp + 0x950]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], str.Scene
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.6c25c984
mov dword [esp + 0x10], fcn.6c25c984
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
mov ecx, dword [esp + 0x44]
mov edx, 1
mov eax, dword [esp + 0x40]
call fcn.6c25ead0
mov esi, dword [0x6c483044]
test esi, esi
je 0x6c26132e
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0xc]
mov eax, dword [eax - 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.6c2df6f4
lea edx, [esp + 0x9ec]
mov dword [esp], edx
call sub.msvcrt_ruby200.dll_rb_gc_unregister_address
mov ebx, dword [0x6c483d24]
test ebx, ebx
je 0x6c26130e
mov eax, dword [0x6c483d28]
test eax, eax
je 0x6c2612f0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x6c453eb0]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 0x2c], eax
mov eax, dword [0x6c483d2c]
test eax, eax
je 0x6c2612d2
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
sar eax, 1
mov dword [esp + 0x30], eax
test eax, eax
jle 0x6c260d6f
mov dword [esp + 0x44], 0
lea edx, [esp + 0x9b0]
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x9d0]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x40]
jmp 0x6c260cee
mov eax, dword [0x6c483d34]
test eax, eax
je 0x6c2611da
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
add eax, 8
mov dword [esp + 4], eax
lea edx, [esp + 0x450]
mov dword [esp], edx
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x450]
call fcn.6c258a84
mov eax, dword [0x6c483d3c]
test eax, eax
je 0x6c261140
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov esi, eax
lea ecx, [esp + 0x450]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Scene__s
lea eax, [esp + 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea edx, [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Model:__Model::_s____GenericNode___n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov dword [esp + 8], 0xe8
mov dword [esp + 4], str._tVersion:__d_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str._tProperties60:___n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__Show____bool______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [0x6c483d40]
test eax, eax
je 0x6c261100
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
xor ecx, ecx
cmp eax, 2
sete cl
mov edi, ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str._t_tProperty:__Perspective____bool_______d_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
test edi, edi
je 0x6c261078
mov edi, dword [0x6c483d44]
test edi, edi
je 0x6c26119c
mov eax, dword [0x6c483d48]
test eax, eax
je 0x6c26117e
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str._t_tProperty:__FOV____double_______f_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov eax, dword [0x6c483d54]
test eax, eax
je 0x6c2610e1
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax + 0x10]
fld qword [eax]
fstp dword [esp + 0x3c]
fld qword [eax + 8]
fstp dword [esp + 0x38]
fld qword [eax + 0x10]
fstp dword [esp + 0x34]
mov eax, dword [0x6c483d58]
test eax, eax
je 0x6c261160
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax + 0x10]
fld qword [eax]
fstp dword [esp + 0x9d0]
fld qword [eax + 8]
fstp dword [esp + 0x9d4]
fld qword [eax + 0x10]
fstp dword [esp + 0x9d8]
mov dword [esp + 0x9dc], 0
movaps xmm3, xmmword [esp + 0x9d0]
movaps xmm1, xmmword [0x6c36b780]
mulps xmm1, xmm3
movaps xmm4, xmm3
shufps xmm4, xmm3, 0xc9
movaps xmm0, xmmword [0x6c36b770]
mulps xmm0, xmm4
subps xmm0, xmm1
shufps xmm0, xmm0, 0xc9
movaps xmm2, xmm0
mulps xmm2, xmm0
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xc9
addps xmm1, xmm2
shufps xmm2, xmm2, 0xd2
addps xmm1, xmm2
rsqrtps xmm1, xmm1
mulps xmm1, xmm0
xorps xmm2, xmm2
cmpneqps xmm2, xmm0
andps xmm1, xmm2
mulps xmm4, xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xc9
mulps xmm0, xmm3
subps xmm0, xmm4
shufps xmm0, xmm0, 0xc9
movaps xmm3, xmm0
mulps xmm3, xmm0
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xc9
addps xmm2, xmm3
shufps xmm3, xmm3, 0xd2
addps xmm2, xmm3
rsqrtps xmm2, xmm2
mulps xmm2, xmm0
xorps xmm3, xmm3
cmpneqps xmm3, xmm0
andps xmm2, xmm3
movaps xmm0, xmmword [0x6c36b760]
movaps xmmword [esp + 0x9c0], xmm0
movaps xmmword [esp + 0x990], xmm1
movaps xmmword [esp + 0x9a0], xmm2
mov ecx, 4
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x3c]
fstp dword [esp + 0x9c0]
fld dword [esp + 0x38]
fstp dword [esp + 0x9c4]
fld dword [esp + 0x34]
fstp dword [esp + 0x9c8]
mov dword [esp + 0x9cc], 0
lea edx, [esp + 0x990]
mov eax, ebx
call fcn.6c25bc70
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x6c369796
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
mov dword [esp], str.Model
mov ecx, str.Model
lea edx, [esp + 0x50]
mov eax, ecx
call fcn.6c25c190
inc dword [esp + 0x44]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], eax
je 0x6c260d6f
mov eax, dword [esp + 0x44]
shl eax, 1
or eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov eax, dword [0x6c453e84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
mov esi, eax
mov eax, dword [0x6c483d30]
test eax, eax
je 0x6c261120
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax]
test ah, 0x20
je 0x6c260970
mov eax, dword [0x6c483d38]
test eax, eax
je 0x6c2611bc
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax + 0xc]
jmp 0x6c260994
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.GlobalSettings:__n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xf
mov dword [esp + 4], 1
mov dword [esp], str._tVersion:_1000_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str._tProperties60:___n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov edx, dword [0x6c32f198]
test edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x23
mov dword [esp + 4], 1
jne 0x6c261255
mov dword [esp], str._t_tProperty:__UpAxis____int_______2_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__UpAxisSign____int_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__FrontAxis____int_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2b
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__FrontAxisSign____int________1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__CoordAxis____int_______0_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__CoordAxisSign____int_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2f
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__UnitScaleFactor____double_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x6c369796
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xf
mov dword [esp + 4], 1
mov dword [esp], str.Connections:__n
call sub.msvcrt.dll_fwrite
mov edx, dword [0x6c483860]
mov eax, dword [edx + 4]
test eax, eax
je 0x6c260fc8
mov ecx, dword [edx]
xor eax, eax
xor ebx, ebx
mov esi, dword [esp + 0x40]
jmp 0x6c260f96
mov ecx, dword [edx]
imul eax, ecx
add eax, dword [edx + 0xc]
lea edx, [eax + 0x100]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str._tConnect:__OO_____s_____s__n
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
inc ebx
mov eax, ebx
mov edx, dword [0x6c483860]
cmp ebx, dword [edx + 4]
jb 0x6c260f94
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
mov ebx, dword [0x6c483860]
test ebx, ebx
je 0x6c26100c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax - 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], ebx
call fcn.6c2df6f4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_fclose
mov ebx, dword [0x6c483054]
test ebx, ebx
je 0x6c261032
mov dword [esp], ebx
call fcn.6c22262c
mov dword [esp], ebx
call fcn.6c2df6f4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x6c2603f7
mov dword [0x6c483044], 1
mov eax, dword [0x6c48304c]
test eax, eax
jne 0x6c260404
mov dword [esp + 4], 0xc
mov dword [esp], str.active_model
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c48304c], eax
jmp 0x6c260404
mov edi, dword [0x6c483d4c]
test edi, edi
je 0x6c261216
mov eax, dword [0x6c483d50]
test eax, eax
je 0x6c2611f8
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt_ruby200.dll_rb_funcall
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt_ruby200.dll_rb_funcall
fld qword [eax + 8]
fchs
fstp qword [esp + 8]
mov dword [esp + 4], str._t_tProperty:__FOV____double_______f_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov eax, dword [0x6c483d54]
test eax, eax
jne 0x6c260b1a
mov dword [esp + 4], 3
mov dword [esp], 0x6c36a93e
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d54], eax
jmp 0x6c260b1a
mov dword [esp + 4], 0xc
mov dword [esp], str.perspective_
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d40], eax
jmp 0x6c260a72
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d30], eax
jmp 0x6c260d27
mov dword [esp + 4], 6
mov dword [esp], str.camera
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d3c], eax
jmp 0x6c2609c0
mov dword [esp + 4], 9
mov dword [esp], str.direction
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d58], eax
jmp 0x6c260b52
mov dword [esp + 4], 3
mov dword [esp], 0x6c369aa0
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d48], eax
jmp 0x6c260ac7
mov dword [esp + 4], 4
mov dword [esp], str.to_f
call sub.msvcrt_ruby200.dll_rb_intern2
mov edi, eax
mov dword [0x6c483d44], eax
jmp 0x6c260aba
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d38], eax
jmp 0x6c260d53
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d34], eax
jmp 0x6c26097d
mov dword [esp + 4], 6
mov dword [esp], str.height
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d50], eax
jmp 0x6c261093
mov dword [esp + 4], 4
mov dword [esp], str.to_f
call sub.msvcrt_ruby200.dll_rb_intern2
mov edi, eax
mov dword [0x6c483d4c], eax
jmp 0x6c261086
mov dword [esp + 0x9e8], 0
xor eax, eax
jmp 0x6c26063f
call sub.msvcrt_ruby200.dll_rb_eval_string
add eax, 8
jmp 0x6c26057a
mov dword [esp], str._t_tProperty:__UpAxis____int_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__UpAxisSign____int_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__FrontAxis____int_______2_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__FrontAxisSign____int_______1_n
call sub.msvcrt.dll_fwrite
jmp 0x6c260e79
mov dword [esp + 4], 5
mov dword [esp], str.count
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d2c], eax
jmp 0x6c260923
mov dword [esp + 4], 0xc
mov dword [esp], str.active_model
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d28], eax
jmp 0x6c2608e5
mov dword [esp + 4], 5
mov dword [esp], str.pages
call sub.msvcrt_ruby200.dll_rb_intern2
mov ebx, eax
mov dword [0x6c483d24], eax
jmp 0x6c2608d8
mov dword [esp + 4], 1
mov dword [esp], 0x6c487500
call fcn.6c269188
mov ebx, eax
mov ecx, str.WHITE.png
mov edx, str.WHITE
mov eax, dword [esp + 0x40]
call fcn.6c2586d4
mov ecx, str.WHITE.png
mov edx, str.WHITE
mov eax, dword [esp + 0x40]
call fcn.6c25c270
lea edx, [ebx + 0xc]
mov eax, str.WHITE.png
call fcn.6c25a544
cmp dword [esp + 0x9e8], 1
jle 0x6c26089d
mov dword [esp + 0x44], 2
lea ecx, [esp + 0x450]
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + eax*4]
cmp ebx, 4
je 0x6c26154f
mov dword [esp + 4], eax
mov dword [esp], 0x6c487500
call fcn.6c269188
mov dword [esp + 0x38], eax
mov eax, dword [0x6c483d08]
test eax, eax
je 0x6c2615bb
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax]
test ah, 0x20
jne 0x6c261569
mov eax, dword [0x6c483d0c]
test eax, eax
je 0x6c261649
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
add eax, 8
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp], ecx
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x50]
call fcn.6c258a84
mov eax, dword [0x6c483d14]
test eax, eax
je 0x6c2615d9
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
mov ebx, eax
cmp eax, 4
je 0x6c261685
mov eax, dword [0x6c483d18]
test eax, eax
je 0x6c2615f7
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax]
test ah, 0x20
jne 0x6c261592
mov eax, dword [0x6c483d1c]
test eax, eax
je 0x6c26187d
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
add eax, 8
mov dword [esp], eax
call fcn.6c22d028
mov ebx, eax
xor esi, esi
xor edx, edx
nop
mov al, byte [ebx + esi]
cmp al, 0x2e
mov ecx, 0x5f
cmove eax, ecx
mov byte [esp + edx + 0x450], al
inc edx
mov esi, edx
xor eax, eax
mov ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x6c2614b4
mov ecx, 0xffffffff
mov edi, dword [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + ecx + 0x44f]
mov dword [eax], 0x676e702e
mov byte [eax + 4], 0
lea ecx, [esp + 0x450]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x40]
call fcn.6c2586d4
lea ecx, [esp + 0x450]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x40]
call fcn.6c25c270
mov edx, dword [esp + 0x38]
add edx, 0xc
lea eax, [esp + 0x450]
call fcn.6c25a544
mov ebx, dword [0x6c483048]
test ebx, ebx
je 0x6c26154f
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x6c261633
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x9e8], ecx
jge 0x6c261398
jmp 0x6c26089d
mov eax, dword [0x6c483d10]
test eax, eax
je 0x6c261667
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax + 0xc]
jmp 0x6c261410
mov eax, dword [0x6c483d20]
test eax, eax
je 0x6c26189b
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt_ruby200.dll_rb_funcall
mov eax, dword [eax + 0xc]
jmp 0x6c2614a5
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d08], eax
jmp 0x6c2613cd
mov dword [esp + 4], 7
mov dword [esp], str.texture
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d14], eax
jmp 0x6c261436
mov dword [esp + 4], 8
mov dword [esp], str.filename
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d18], eax
jmp 0x6c261462
mov dword [esp + 4], 9
mov dword [esp], 0x6c36ad3f
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483864], eax
jmp 0x6c260766
mov edx, eax
add edx, 0x30
lea eax, [esp + 0x450]
call fcn.6c259bcc
jmp 0x6c26154f
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d0c], eax
jmp 0x6c2613f9
mov dword [esp + 4], 4
mov dword [esp], str.name
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d10], eax
jmp 0x6c261576
lea edx, [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Texture:__Texture::_s____TextureVideoClip___n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1a
mov dword [esp + 4], 1
mov dword [esp], str._tType:__TextureVideoClip__n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str._tVersion:_202_n
call sub.msvcrt.dll_fwrite
lea edx, [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], str._tTextureName:__Texture::_s__n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str._tProperties60:___n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp], str._t_tProperty:__UseMaterial____bool_______1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x6c369796
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
mov dword [esp], str._tMedia:__Video::WHITE__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 8], 0x6c483060
mov dword [esp + 4], str._tFilename:___sWHITE.png__n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 8], 0x6c483460
mov dword [esp + 4], str._tRelativeFilename:___sWHITE.png__n
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str._tScaling:_1_1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str._tTexture_Mapping_Type:__UV__n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x11
mov dword [esp + 4], 1
mov dword [esp], str._tMaterialMode:_1_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x6c36981b
call sub.msvcrt.dll_fwrite
lea edx, [esp + 0x50]
mov dword [esp], edx
mov ecx, str.Texture
mov edx, str.WHITE
mov eax, str.Video
call fcn.6c25c190
jmp 0x6c26154f
mov dword [esp + 4], 8
mov dword [esp], str.filename
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d1c], eax
jmp 0x6c26148e
mov dword [esp + 4], 8
mov dword [esp], str.filename
call sub.msvcrt_ruby200.dll_rb_intern2
mov dword [0x6c483d20], eax
jmp 0x6c26159f
mov dword [esp + 4], 0x5c
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call sub.msvcrt.dll_strrchr
test eax, eax
jne 0x6c2604bd
mov word [0x6c483060], 0x2f2e
mov byte [0x6c483062], 0
jmp 0x6c2604e1