Function at 0x140004780
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x20
xor r11d, r11d
mov rsi, rcx
lea r8, [0x1400a952c]
mov edx, r11d
lea r10, [0x1400e1260]
nop dword [rax]
movzx eax, word [rdx + r8]
add rdx, 2
mov word [rdx + r10 - 2], ax
test ax, ax
jne 0x1400047a0
mov rcx, r11
lea r9, [0x1400fcac0]
nop
movzx eax, word [rcx + r8]
add rcx, 2
mov word [rcx + r9 - 2], ax
test ax, ax
jne 0x1400047c0
mov rdx, qword [0x140142818]
mov eax, dword [rdx + 0x6a4]
cmp eax, 1
jne 0x14000481c
lea rax, str.Input_problem_name_to_be_converted_to_Nastran_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, [0x1400a9418]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 2
jne 0x140004857
lea rax, str.Input_problem_name_to_be_converted_to_Ansys_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, [0x1400a9398]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 3
jne 0x140004892
lea rax, str.Input_problem_name_to_be_converted_to_Patran_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9320]
mov qword [0x1400fccc0], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
jmp 0x140004be2
cmp eax, 4
jne 0x1400048a3
lea rax, str.Input_problem_name_to_be_converted_to_I_DEAS_Universal_format
jmp 0x140004b06
cmp eax, 5
jne 0x1400048de
lea rax, str.Input_problem_name_to_be_converted_to_ABAQUS_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, str.COS2ABQ
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 6
jne 0x140004919
lea rax, str.Input_problem_name_to_be_converted_to_ADAMS_Universal_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, str.ADAMS_Translator
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 7
jne 0x140004954
lea rax, str.Input_problem_name_to_be_converted_to_EXODUS_format
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, str.EXODUS_Translator
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0xb
jne 0x14000498f
lea rax, str.Input_Nastran_File
lea rcx, str.NASTRAN_Input_Files__.DAT_
mov qword [0x14013d838], rax
lea rax, [0x1400a9038]
mov qword [0x14013d848], rax
lea rax, [0x1400a9028]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0xc
jne 0x1400049ca
lea rax, str.Input_Ansys_File
lea rcx, str.ANSYS_Input_Files__.CDW_
mov qword [0x14013d838], rax
lea rax, [0x1400a8f30]
mov qword [0x14013d848], rax
lea rax, [0x1400a8f20]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0xd
jne 0x140004a05
lea rax, str.Input_Patran_File
lea rcx, str.PATRAN_Neutral_Files__.NEU_
mov qword [0x14013d838], rax
lea rax, [0x1400a8e30]
mov qword [0x14013d848], rax
lea rax, [0x1400a8e20]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0xe
jne 0x140004a40
lea rax, str.Input_I_DEAS_Universal_File
lea rcx, str.Universal_Files__.UNV_
mov qword [0x14013d838], rax
lea rax, [0x1400a8d70]
mov qword [0x14013d848], rax
lea rax, [0x1400a8d48]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0xf
je 0x140004bdd
cmp eax, 0x10
jne 0x140004a84
lea rax, str.Input_name_of_NASTRAN_result_file
lea rcx, str.NASTRAN_Output_file__.F06_
mov qword [0x14013d838], rax
lea rax, [0x1400a8c40]
mov qword [0x14013d848], rax
lea rax, str.POSTNAS_Translator
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0x16
jne 0x140004abf
lea rax, str.Input_Algor_File
lea rcx, str.Algor_Processor_Input_Files__.INP_
mov qword [0x14013d838], rax
lea rax, [0x1400a8b58]
mov qword [0x14013d848], rax
lea rax, str.ALG2COS_Translator
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0x12
jne 0x140004afa
lea rax, str.Input_name_of_ANSYS_result_file
lea rcx, str.ANSYS_Structural_results__.rst_
mov qword [0x14013d838], rax
lea rax, [0x1400a89c8]
mov qword [0x14013d848], rax
lea rax, str.POSTANS_Translator
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0x13
jne 0x140004b35
lea rax, str.Input_problem_name_to_be_converted_to_Universal_format
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d848], rax
lea rax, [0x1400a8d48]
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0x14
jne 0x140004b6d
lea rax, str.Input_COSMOS_Problem_name._Output_file_extension_is_.GED
lea rcx, str.COSMOS_DATABASE_Files__.MAS_
mov qword [0x14013d838], rax
lea rax, [0x1400a9428]
mov qword [0x14013d848], rax
lea rax, reloc.LMGR10.dll_Ordinal_32
mov qword [0x1400fccc0], rax
jmp 0x140004be2
cmp eax, 0x15
jne 0x140004ba5
lea rax, str.Input_name_of_NASTRAN_result_file
lea rcx, str.MSC_NASTRAN_Output_Files__.F06_
mov qword [0x14013d838], rax
lea rax, str.POSTNAS_Translator
mov qword [0x1400fccc0], rax
lea rax, [0x1400a8c40]
mov qword [0x14013d848], rax
jmp 0x140004be2
cmp eax, 0x21
jne 0x140004bdd
lea rax, str.Input_name_of_Crosslight_file
lea rcx, str.Crosslight_Software_Mesh_Files__.TM0_
mov qword [0x14013d838], rax
lea rax, [0x1400a8730]
mov qword [0x14013d848], rax
lea rax, reloc.LMGR10.dll_Ordinal_32
mov qword [0x1400fccc0], rax
jmp 0x140004be2
mov rcx, qword [rsp + 0x30]
mov dword [0x14013d7e0], 0x98
mov qword [0x14013d7e8], rsi
mov rax, qword [rdx + 0x6b0]
mov qword [0x14013d7f8], rcx
mov qword [rsp + 0x38], rbx
lea rcx, [0x14013d7e0]
mov qword [rsp + 0x40], rbp
mov qword [0x14013d7f0], rax
mov qword [0x14013d800], r11
mov qword [rsp + 0x48], rdi
mov dword [0x14013d808], r11d
mov dword [0x14013d80c], 1
mov qword [0x14013d810], r10
mov dword [0x14013d818], 0x200
mov qword [0x14013d820], r9
mov dword [0x14013d828], 0x200
mov qword [0x14013d830], r11
mov qword [0x14013d850], r11
mov qword [0x14013d840], 4
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x140004cf5
lea rbp, [0x14013d560]
mov rcx, qword [0x14013d810]
lea rdx, [0x1400a8728]
call fcn.14002c3d8
mov rbx, rax
test rax, rax
jne 0x140004ca6
lea rdx, str.File_open_failed.
jmp 0x140004cd1
mov r9, rax
mov edx, 1
mov r8d, 0x100
mov rcx, rbp
call fcn.14002c1a8
mov qword [0x1400c8008], rbp
mov rdi, rax
test eax, eax
jg 0x140004d42
lea rdx, str.Zero_bytes_read.
mov r8, qword [0x1400fccc0]
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [0x14013d7e0]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
jne 0x140004c82
mov r8, qword [0x1400fccc0]
lea rdx, str.Translation_Terminated
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [0x1400e1258], 1
je 0x140004d2b
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rcx, rbx
call fcn.14002be60
mov dword [0x14013d544], edi
mov eax, 1
jmp 0x140004d2d