Function at 0x416110
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3f0], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x416157
push str.FOR__IS_DEBUGGER_PRESENT
call fcn.004320e0
add esp, 4
test eax, eax
jne 0x416157
push str.FOR_DEBUGGER_IS_PRESENT
call fcn.004320e0
add esp, 4
test eax, eax
je 0x41615e
mov esi, 1
jmp 0x416160
xor esi, esi
push str.FOR_DISABLE_STACK_TRACE
call fcn.004320e0
xor edx, edx
test eax, eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4000
setne dl
mov dword [ebp - 0x444], edx
call fcn.0040fe90
add esp, 0x10
xor ebx, ebx
test eax, eax
movzx eax, word [ebp - 0x3f0]
mov dword [ebp - 8], eax
sete bl
cmp dword [0x4ff820], 0
je 0x4162b5
mov dword [0x4ff820], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.ifcore_msg.dll
push eax
push str._lu__s
lea edx, [ebp - 0x8e]
push edx
call fcn.00470040
add esp, 0x10
lea eax, [ebp - 0x8e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x50c758], eax
test eax, eax
je 0x41668a
mov dword [0x4ff824], 0
xor eax, eax
mov edi, 0x1c2
mov dword [ebp - 0x44c], ebx
mov ebx, eax
mov dword [ebp - 0x448], esi
mov eax, edi
mov edx, 0x5026c0
lea ecx, [ebp - 0x1c]
call fcn.00416fa0
mov ecx, dword [ebp - 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416234
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41621f
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x4ff828]
push edx
push 0
inc esi
push esi
call fcn.0040fe90
push esi
push dword [ebp - 0x1c]
push dword [ebx*4 + 0x4ff828]
call fcn.004703d0
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x41620b
mov eax, 0x1c7
mov edx, 0x5026c0
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x448]
call fcn.00416fa0
push 0x10
push dword [ebp - 0x1c]
push str.forrtl
call fcn.004703d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5026c0
lea ecx, [ebp - 0x1c]
call fcn.00416fa0
push 0x40
push dword [ebp - 0x1c]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.004703d0
add esp, 0xc
mov ecx, dword [ebp - 8]
xor edx, edx
lea eax, [edx*8]
cmp ecx, dword [eax + edx*4 + 0x4fe260]
je 0x416cdb
inc edx
cmp edx, 0x1d0
jl 0x4162ba
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 0
jle 0x4162fc
lea eax, [ebp + 0x10]
push eax
push edi
lea edx, [ebp - 0x3a0]
push edx
call fcn.004709e0
add esp, 0xc
lea edi, [ebp - 0x3a0]
mov eax, dword [0x5026d8]
test eax, eax
mov dword [ebp - 0x3ec], eax
je 0x41637d
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416324
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41630f
dec eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x3ec]
jb 0x416349
push dword [ebp - 0x3ec]
push edi
push dword [0x5026d4]
call fcn.004b5710
add esp, 0xc
jmp 0x41637d
push dword [ebp - 0x450]
push edi
push dword [0x5026d4]
call fcn.004b5710
mov eax, dword [ebp - 0x450]
mov edx, dword [0x5026d8]
sub edx, eax
push edx
mov ecx, dword [0x5026d4]
push 0x20
add ecx, eax
push ecx
call fcn.004b5770
add esp, 0x18
push 0x5026c8
call fcn.0040f9b0
add esp, 4
mov eax, dword [0x5026cc]
test eax, eax
jne 0x4163d5
push str.FORT0
mov dword [0x5026cc], 1
call fcn.0046f3d0
mov dword [ebp - 0x450], eax
add esp, 4
cmp dword [ebp - 0x450], 0
je 0x4163d5
call fcn.00470b60
add eax, 0x40
push eax
push 0x4d59a0
push dword [ebp - 0x450]
call fcn.004710e0
add esp, 0xc
mov eax, dword [ebp - 4]
test ebx, ebx
mov dword [0x5026c8], 0
mov edx, dword [eax*4 + 0x4ff828]
mov dword [ebp - 0x3ec], edx
je 0x416421
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x5024c0
call fcn.00470040
push edi
push 0x5024c0
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.00470040
add esp, 0x1c
jmp 0x416642
mov ecx, edx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41643a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416425
dec eax
mov ecx, edi
mov dword [ebp - 0x450], eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416459
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416444
dec eax
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea eax, [edx + eax + 0x15]
push eax
call fcn.0040fe90
add esp, 0xc
test eax, eax
je 0x416614
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x30], 0x1f6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
cmp dword [0x4ff820], 0
je 0x4165ab
mov dword [0x4ff820], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.ifcore_msg.dll
push eax
push str._lu__s
lea edx, [ebp - 0x3f0]
push edx
call fcn.00470040
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x50c758], eax
test eax, eax
je 0x41669c
mov dword [0x4ff824], 0
xor eax, eax
mov edi, 0x1c2
mov dword [ebp - 0x44c], ebx
mov ebx, eax
mov dword [ebp - 0x448], esi
mov eax, edi
mov edx, 0x5026c0
lea ecx, [ebp - 0x24]
call fcn.00416fa0
mov ecx, dword [ebp - 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41652a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416515
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x4ff828]
push edx
push 0
inc esi
push esi
call fcn.0040fe90
push esi
push dword [ebp - 0x24]
push dword [ebx*4 + 0x4ff828]
call fcn.004703d0
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x416501
mov eax, 0x1c7
mov edx, 0x5026c0
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x448]
call fcn.00416fa0
push 0x10
push dword [ebp - 0x24]
push str.forrtl
call fcn.004703d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5026c0
lea ecx, [ebp - 0x24]
call fcn.00416fa0
push 0x40
push dword [ebp - 0x24]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.004703d0
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x4fe260], 0x1f6
je 0x4166c8
inc edx
cmp edx, 0x1d0
jl 0x4165ad
xor eax, eax
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x2c], 0
jle 0x4166ae
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x450]
push 0x5025c0
call fcn.004709e0
add esp, 0xc
call fcn.00470b60
push 0x5025c0
push 0x4d5908
add eax, 0x40
push eax
call fcn.00471140
add esp, 0xc
jmp 0x416642
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x5024c0
call fcn.00470040
push edi
push 0x5024c0
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.00470040
add esp, 0x1c
mov ebx, 2
cmp dword [ebp - 4], 4
je 0x4169f1
mov eax, dword [0x50c538]
test eax, eax
je 0x416667
cmp dword [ebp - 0x444], 0
jne 0x416667
cmp ebx, 1
je 0x41677a
test ebx, ebx
jne 0x4167b7
test esi, esi
je 0x41667d
cmp dword [ebp - 4], 3
je 0x4169dc
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp dword [0x4ff824], 0
je 0x4161f6
jmp 0x4162b5
cmp dword [0x4ff824], 0
je 0x4164ec
jmp 0x4165ab
push 0x100
push dword [ebp - 0x450]
push 0x5025c0
call fcn.004703d0
jmp 0x4165f4
mov ecx, dword [eax + edx*4 + 0x4fe264]
mov dword [0x5026c0], ecx
cmp dword [0x4ff824], 0
je 0x4166f0
mov eax, dword [eax + edx*4 + 0x4fe268]
mov dword [ebp - 0x450], eax
jmp 0x4165d6
push 0
mov eax, dword [eax + edx*4 + 0x4fe268]
lea edx, [ebp - 0x38]
push 0x200
push edx
push 0x409
mov dword [ebp - 0x450], eax
push 0x800001f6
push dword [0x50c758]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x4165d6
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x450], ecx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41674b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416736
dec eax
cmp eax, 1
jbe 0x4165d6
mov edx, dword [ebp - 0x450]
cmp byte [edx + eax - 2], 0xd
jne 0x4165d6
cmp byte [edx + eax - 1], 0xa
jne 0x4165d6
mov byte [edx + eax - 2], 0
jmp 0x4165d6
cmp dword [eax + 4], 0
jne 0x4167aa
cmp dword [ebp - 4], 3
je 0x4167aa
cmp dword [ebp - 8], 0x197
je 0x4167aa
cmp dword [ebp - 8], 0x196
je 0x4167aa
cmp dword [ebp - 8], 0x195
je 0x4167aa
cmp dword [ebp - 8], 0x194
jne 0x4167b7
push dword [ebp - 0x18]
push dword [eax]
call fcn.00432580
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0046f3d0
add esp, 4
test eax, eax
je 0x4167fc
cmp dword [ebp - 8], 0xaa
je 0x416975
push 0x4d59a0
push eax
call fcn.004716e0
add esp, 8
mov edi, eax
test edi, edi
je 0x4167fc
push edi
push ebx
call fcn.004717a0
push edi
call fcn.00471a40
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.004320e0
add esp, 4
test eax, eax
jne 0x41685e
cmp dword [0x50c480], 0
je 0x41682b
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004bf620
add esp, 0xc
jmp 0x41685e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x4168a5
cmp dword [ebp - 8], 0xaa
je 0x41686e
call fcn.00470b60
add eax, 0x40
push eax
push ebx
call fcn.004717a0
add esp, 8
push dword [ebp - 0x18]
call fcn.0040ff50
add esp, 4
jmp 0x41666f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416891
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41687c
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41685e
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x416843
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4168f3
push 0x4d59a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4168f3
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x41685e
cmp dword [ebp - 8], 0xaa
je 0x416901
jmp 0x41684c
cmp dword [ebp - 8], 0xaa
je 0x41693b
jmp 0x41684c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416924
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41690f
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41685e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41695e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416949
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41685e
xor edx, edx
push edx
push 0x80
push 4
push edx
push edx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4167fc
push 2
xor eax, eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4169be
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4169a9
dec eax
push 0
lea edx, [ebp - 0x444]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4167fc
mov eax, dword [0x50c538]
cmp dword [eax + 4], 0
jne 0x41667d
int3
cmp dword [ebp - 0x444], 0
jne 0x416a08
mov eax, dword [0x50c538]
test eax, eax
je 0x416a08
cmp ebx, 1
je 0x416a30
test ebx, ebx
jne 0x416a3d
mov eax, dword [0x50c538]
test eax, eax
je 0x416c62
cmp dword [eax + 4], 0
je 0x416c62
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
push dword [eax]
call fcn.00432580
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0046f3d0
add esp, 4
test eax, eax
je 0x416a82
cmp dword [ebp - 8], 0xaa
je 0x416bfb
push 0x4d59a0
push eax
call fcn.004716e0
add esp, 8
mov edi, eax
test edi, edi
je 0x416a82
push edi
push ebx
call fcn.004717a0
push edi
call fcn.00471a40
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.004320e0
add esp, 4
test eax, eax
jne 0x416ae4
cmp dword [0x50c480], 0
je 0x416ab1
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004bf620
add esp, 0xc
jmp 0x416ae4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x416b2b
cmp dword [ebp - 8], 0xaa
je 0x416af4
call fcn.00470b60
add eax, 0x40
push eax
push ebx
call fcn.004717a0
add esp, 8
push dword [ebp - 0x18]
call fcn.0040ff50
add esp, 4
jmp 0x416a0c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416b17
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416b02
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x416ae4
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x416ac9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x416b79
push 0x4d59a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416b79
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x416ae4
cmp dword [ebp - 8], 0xaa
je 0x416b87
jmp 0x416ad2
cmp dword [ebp - 8], 0xaa
je 0x416bc1
jmp 0x416ad2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416baa
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416b95
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x416ae4
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416be4
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416bcf
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x416ae4
xor edx, edx
push edx
push 0x80
push 4
push edx
push edx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x416a82
push 2
xor eax, eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416c44
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416c2f
dec eax
push 0
lea edx, [ebp - 0x444]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416a82
call fcn.00432820
mov eax, dword [0x50c538]
test eax, eax
je 0x416c83
push eax
call fcn.0040ff50
add esp, 4
mov dword [0x50c538], 0
test esi, esi
je 0x416c88
int3
push str.f77_dump_flag
call fcn.004320e0
add esp, 4
test eax, eax
jne 0x416cd6
push str.decfort_dump_flag
call fcn.004320e0
add esp, 4
test eax, eax
jne 0x416cd6
cmp dword [0x5026d0], 0
jne 0x416cd6
cmp dword [0x50c480], 0
je 0x416ccb
push 1
call fcn.004bf760
add esp, 4
jmp 0x41667d
push dword [ebp - 8]
call fcn.00471cf0
add esp, 4
call fcn.00472440
mov ecx, dword [eax + edx*4 + 0x4fe264]
mov dword [ebp - 4], ecx
cmp dword [0x4ff824], 0
je 0x416cf7
mov edi, dword [eax + edx*4 + 0x4fe268]
jmp 0x416d59
push 0
mov edi, dword [eax + edx*4 + 0x4fe268]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
push 0x200
push edx
push 0x409
lea ecx, [eax - 0x80000000]
push ecx
push dword [0x50c758]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x416d59
mov edi, dword [ebp - 0x20]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416d49
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416d34
dec eax
cmp eax, 1
jbe 0x416d59
cmp byte [edi + eax - 2], 0xd
je 0x416ee5
xor edx, edx
lea eax, [ebp - 0x217]
push edx
push 0x189
push eax
push edx
push edx
push edi
push 0x600
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x4162dc
cmp dword [0x4ff820], 0
je 0x416ea6
mov dword [0x4ff820], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.ifcore_msg.dll
push eax
push str._lu__s
lea edx, [ebp - 0x440]
push edx
call fcn.00470040
add esp, 0x10
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x50c758], eax
test eax, eax
je 0x416efa
mov dword [0x4ff824], 0
xor edx, edx
mov eax, 0x1c2
mov dword [ebp - 0x450], edi
mov edi, eax
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], esi
mov esi, edx
mov eax, edi
mov edx, 0x5026c0
lea ecx, [ebp - 0x34]
call fcn.00416fa0
mov ecx, dword [ebp - 0x34]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416e1f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416e0a
dec eax
mov ebx, eax
lea ecx, [esi*4 + 0x4ff828]
push ecx
push 0
inc ebx
push ebx
call fcn.0040fe90
push ebx
push dword [ebp - 0x34]
push dword [esi*4 + 0x4ff828]
call fcn.004703d0
add esp, 0x18
inc esi
inc edi
cmp esi, 5
jl 0x416df6
mov eax, 0x1c7
mov edx, 0x5026c0
mov edi, dword [ebp - 0x450]
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
call fcn.00416fa0
push 0x10
push dword [ebp - 0x34]
push str.forrtl
call fcn.004703d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5026c0
lea ecx, [ebp - 0x34]
call fcn.00416fa0
push 0x40
push dword [ebp - 0x34]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.004703d0
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x4fe260], 0x1f4
je 0x416f09
inc edx
cmp edx, 0x1d0
jl 0x416ea8
push edi
push 0x4d5908
lea eax, [ebp - 0x217]
push eax
call fcn.00470040
add esp, 0xc
lea edi, [ebp - 0x217]
jmp 0x4162dc
cmp byte [edi + eax - 1], 0xa
jne 0x416d59
mov byte [edi + eax - 2], 0
jmp 0x416d59
cmp dword [0x4ff824], 0
je 0x416dd9
jmp 0x416ea6
mov ecx, dword [eax + edx*4 + 0x4fe264]
mov dword [ebp - 4], ecx
cmp dword [0x4ff824], 0
je 0x416f25
mov edi, dword [eax + edx*4 + 0x4fe268]
jmp 0x416ec5
push 0
mov edi, dword [eax + edx*4 + 0x4fe268]
lea eax, [ebp - 0x3c]
push 0x200
push eax
push 0x409
push 0x800001f4
push dword [0x50c758]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x416ec5
mov edi, dword [ebp - 0x3c]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416f76
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416f61
dec eax
cmp eax, 1
jbe 0x416ec5
cmp byte [edi + eax - 2], 0xd
jne 0x416ec5
cmp byte [edi + eax - 1], 0xa
jne 0x416ec5
mov byte [edi + eax - 2], 0
jmp 0x416ec5