Function at 0x40f9f0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x453b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
push 0x465094
lea ecx, [esp + 0x68]
call fcn.004526b0
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
xor eax, eax
cmp ebp, 1
mov dword [esp + 0x88], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], al
jle 0x40fa61
mov edx, dword [esi + 4]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x90]
not ecx
dec ecx
push eax
add ecx, edx
push ecx
push edx
mov ecx, 0x463bb8
call fcn.00412190
cmp ebp, 2
jle 0x40fa7f
add esi, 8
lea edi, [ebp - 2]
mov ecx, dword [esi]
push ecx
mov ecx, 0x463b98
call fcn.00411740
add esi, 4
dec edi
jne 0x40fa6c
mov eax, dword [0x463bb8]
mov esi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor bl, bl
test eax, eax
jne 0x40fab6
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str.No_compile_output_format_specified
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
push str.No_compile_output_format_specified
call edi
mov bl, 1
mov al, byte [0x463b9f]
test al, al
je 0x40fac6
push str.inplace
jmp 0x40facb
push str.input
mov ecx, 0x463b98
call fcn.004116f0
test eax, eax
jne 0x40faf9
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str.No_input_file_specified
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
push str.No_input_file_specified
call edi
mov bl, 1
mov al, byte [0x463b9f]
test al, al
jne 0x40fb35
push str.output
mov ecx, 0x463b98
call fcn.004116f0
test eax, eax
jne 0x40fb35
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str.No_output_file_specified
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
push str.No_output_file_specified
call edi
jmp 0x40fb3d
test bl, bl
je 0x40fd04
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push str.Usage:
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str.Model_Packer_CONVERSION_DIRECTIVE__input_filename.lta__output_outputfilename.ltb__verbose
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str.Model_Packer_CONVERSION_DIRECTIVE__inplace_filename.lta__verbose
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str.Packer_Conversion_Directives_:
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._nd3d_:
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._tCompiles_lta_to_an_ltb_with_d3d__DirectX__optimizations.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._tOptions_:
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._tMaxBonesPerVert__MaxBonesPerTri__n_MinBoneWeight__ReIndexBones
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._tUseMatrixPalettes
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_inplace_will_change_the_lta_ltc_into_ltb_as_the_out_put_name.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_ac0_____forces_packer_to_not_compress.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_ac1_____compress_animations__saving_only_relevant_info.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_ac2_____compress_animations_even_more._Possibly_losing_float_precision.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_acpv____animation_compression_16_bit__for_rotations_only___plus_rle.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._t_nogeom__dont_put_geometry_into_ltb_file.__space_saving_.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
add esp, 4
push str._n_tnote:_dont_forget_to_convert_child_models_as_well.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov edx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push edx
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov edi, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push edi
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 0xc
mov ecx, edi
push str.__Jupiter__
push 0x460828
push str.Mar_28_2003
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
mov al, byte [0x463b9e]
test al, al
je 0x40fd88
mov al, byte [0x463b9f]
mov dword [0x4644f0], 0x410570
test al, al
mov byte [esp + 0x13], 1
je 0x40fd2c
push str.inplace
jmp 0x40fd31
push str.input
mov ecx, 0x463b98
call fcn.004116f0
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push eax
push str.processing_:
call esi
mov ecx, eax
call esi
mov al, byte [0x463b9f]
test al, al
jne 0x40fd79
push str.output
mov ecx, 0x463b98
call fcn.004116f0
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push eax
push str.____
call esi
mov ecx, eax
call esi
jmp 0x40fd7e
mov eax, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov al, byte [0x463b9f]
test al, al
je 0x40fd98
push str.inplace
jmp 0x40fd9d
push str.input
mov ecx, 0x463b98
call fcn.004116f0
mov ebp, eax
mov al, byte [0x463b9f]
test al, al
je 0x40fdd5
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
call dword [sym.imp.MSVCRT.dll__strdup]
add esp, 4
mov dword [esp + 0x30], eax
mov byte [eax + edi - 1], 0x62
jmp 0x40fde8
push str.output
mov ecx, 0x463b98
call fcn.004116f0
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x64]
push 1
push ecx
push ebp
call fcn.00419db0
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x38], edi
jne 0x40fe5e
mov al, byte [0x463b9f]
test al, al
je 0x40fe12
push str.inplace
jmp 0x40fe17
push str.input
mov ecx, 0x463b98
call fcn.004116f0
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str._exiting
push eax
push str.could_open_or_process
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
mov eax, dword [0x463bb8]
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
push str.compile_ltb_d3d
push eax
call ebp
add esp, 8
test eax, eax
je 0x40feb2
mov eax, dword [0x463bb8]
push 0x4607cc
push eax
call ebp
add esp, 8
test eax, eax
je 0x40feb2
mov eax, dword [0x463bb8]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str._is_an_unknown_command
push eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
jmp 0x4104ce
mov eax, dword [0x463b98]
mov dl, byte [0x463ba5]
mov dword [esp + 0x28], eax
mov al, byte [0x463b9c]
test al, al
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0x63
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3d4ccccd
mov byte [esp + 0x34], 1
mov byte [esp + 0x90], 0
mov byte [esp + 0x24], dl
jne 0x40ff02
mov ecx, dword [edi + 0x150]
mov dword [esp + 0x28], ecx
mov al, byte [0x463b9d]
test al, al
jne 0x40ff18
mov al, byte [edi + 0x154]
test al, al
sete byte [esp + 0x24]
xor eax, eax
lea edx, [esp + 0x94]
push eax
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.0040a310
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 2
call fcn.0040a090
mov eax, dword [esp + 0x4c]
mov byte [eax], 0
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
cmp edi, eax
mov byte [esp + 0x88], 3
je 0x40ffd1
mov eax, dword [edi]
push str.MaxBonesPerVert
push eax
call ebp
add esp, 8
test eax, eax
je 0x40ff92
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x40ff73
jmp 0x40ffd1
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40ffd1
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x40ffc5
mov eax, dword [edi]
push str.MaxBonesPerVert
push eax
call ebp
add esp, 8
test eax, eax
je 0x40ffff
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x40ffa8
xor edi, edi
push edi
call ebx
add esp, 4
mov dword [esp + 0x18], eax
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x410043
mov eax, dword [edi]
push str.MaxBonesPerTri
push eax
call ebp
add esp, 8
test eax, eax
je 0x410004
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x40ffe0
jmp 0x410043
mov edi, dword [edi + 0xc]
jmp 0x40ffc7
mov eax, dword [edi + 0xc]
test eax, eax
je 0x410043
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x410037
mov eax, dword [edi]
push str.MaxBonesPerTri
push eax
call ebp
add esp, 8
test eax, eax
je 0x410071
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x41001a
xor edi, edi
push edi
call ebx
add esp, 4
mov dword [esp + 0x14], eax
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x4100b9
mov eax, dword [edi]
push str.MinBoneWeight
push eax
call ebp
add esp, 8
test eax, eax
je 0x410076
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x410052
jmp 0x4100b9
mov edi, dword [edi + 0xc]
jmp 0x410039
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4100b9
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x4100a9
mov eax, dword [edi]
push str.MinBoneWeight
push eax
call ebp
add esp, 8
test eax, eax
je 0x4100e7
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x41008c
xor edi, edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x20]
add esp, 4
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x41012e
mov eax, dword [edi]
push str.UseMatrixPalettes
push eax
call ebp
add esp, 8
test eax, eax
je 0x4100ec
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x4100c8
jmp 0x41012e
mov edi, dword [edi + 0xc]
jmp 0x4100ab
mov eax, dword [edi + 0xc]
test eax, eax
je 0x41012e
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x41011f
mov eax, dword [edi]
push str.UseMatrixPalettes
push eax
call ebp
add esp, 8
test eax, eax
je 0x41015c
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x410102
xor edi, edi
push edi
call ebx
add esp, 4
test eax, eax
setne byte [esp + 0x20]
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x4101a5
mov eax, dword [edi]
push str.ReIndexBones
push eax
call ebp
add esp, 8
test eax, eax
je 0x410161
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x41013d
jmp 0x4101a5
mov edi, dword [edi + 0xc]
jmp 0x410121
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4101a5
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x410194
mov eax, dword [edi]
push str.ReIndexBones
push eax
call ebp
add esp, 8
test eax, eax
je 0x4101d7
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x410177
xor edi, edi
push edi
call ebx
add esp, 4
test eax, eax
setne cl
mov byte [esp + 0x34], cl
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x41023a
mov eax, dword [edi]
push str.ExportJustRenderObject
push eax
call ebp
add esp, 8
test eax, eax
je 0x4101dc
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x4101b8
jmp 0x41023a
mov edi, dword [edi + 0xc]
jmp 0x410196
mov eax, dword [edi + 0xc]
test eax, eax
je 0x41023a
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
mov byte [esp + 0x90], 1
je 0x410217
mov eax, dword [edi]
push str.ExportJustRenderObject
push eax
call ebp
add esp, 8
test eax, eax
je 0x410253
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x4101fa
xor edx, edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x90]
not ecx
dec ecx
push eax
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00412190
mov al, byte [esp + 0x20]
mov edi, 4
test al, al
je 0x410258
cmp dword [esp + 0x18], edi
jl 0x410262
mov dword [esp + 0x18], edi
jmp 0x410262
mov edx, dword [edi + 0xc]
jmp 0x410219
cmp dword [esp + 0x14], edi
jl 0x410262
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x54]
mov eax, 0x10
mov edx, dword [eax + 0x463b98]
add eax, edi
mov dword [ecx], edx
add ecx, edi
cmp eax, 0x20
jb 0x41026b
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0x458190
mov byte [esp + 0x45], 0
mov edi, dword [esp + 0x30]
push 0x460744
push edi
mov byte [esp + 0x90], 4
call fcn.004409c0
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4102d4
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push edi
push str.Error_opening_file.
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
jmp 0x41047b
mov al, byte [esp + 0x13]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
test al, al
je 0x4103eb
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push 0x46071c
call esi
mov edi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___int_]
mov ecx, eax
call edi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov edx, dword [esp + 0x18]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
add esp, 4
push edx
push 0x46070c
call esi
mov ecx, eax
call edi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
add esp, 4
push 0x4606fc
call esi
fld dword [esp + 0x1c]
sub esp, 8
mov ecx, eax
mov dword [eax + 4], 1
fstp qword [esp]
call dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___double_]
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
mov eax, ebp
add esp, 4
and eax, 0xff
push eax
push 0x4606e8
call esi
mov ecx, eax
call edi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, ebx
add esp, 4
and ecx, 0xff
push ecx
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str.ReIndexBones
call esi
mov ecx, eax
call edi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov al, byte [esp + 0x28]
add esp, 4
test al, al
jne 0x4103c4
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str.Excluding_Geometry
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov edx, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
mov eax, dword [edx*4 + 0x4605f8]
push eax
push str.AnimCompressionType_:
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov al, byte [esp + 0x90]
test al, al
je 0x41042a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push edx
mov edx, dword [esp + 0x54]
push ebp
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00401be0
test al, al
jne 0x41047b
push str.Error_render_object_file.
jmp 0x410461
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x58]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00401460
test al, al
jne 0x41047b
push str.Error_exporting_file.
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov dword [esp + 0x2c], 2
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x88], 3
test ecx, ecx
mov dword [esp + 0x3c], 0x458188
je 0x4104a0
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
sub eax, ecx
mov byte [esp + 0x88], 5
test ecx, ecx
je 0x4104c0
push eax
push ecx
call fcn.0040d4d0
add esp, 8
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov byte [esp + 0x88], 0
mov al, byte [esp + 0x13]
test al, al
je 0x4104e4
mov eax, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push eax
call fcn.00437df0
add esp, 4
mov edi, dword [0x463bc4]
mov eax, dword [0x463bc8]
cmp edi, eax
je 0x410555
mov eax, dword [edi]
push str.stall
push eax
call ebp
add esp, 8
test eax, eax
je 0x410512
mov eax, dword [0x463bc8]
add edi, 0x18
cmp edi, eax
jne 0x4104f3
jmp 0x410555
mov edi, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
push edi
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov ecx, edi
push str.Press_Enter_to_continue.
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_istream_withassign_cin]
mov esi, dword [sym.imp.MSVCIRT.dll_public:_int___thiscall_istream::peek_void_]
add esp, 4
call esi
cmp eax, 0xffffffff
jne 0x410555
mov ecx, dword [sym.imp.MSVCIRT.dll_class_istream_withassign_cin]
call esi
cmp eax, 0xffffffff
je 0x410548
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret