Function at 0x560040
Capabilities:
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 0x560087
push str.FOR__IS_DEBUGGER_PRESENT
call fcn.00566e20
add esp, 4
test eax, eax
jne 0x560087
push str.FOR_DEBUGGER_IS_PRESENT
call fcn.00566e20
add esp, 4
test eax, eax
je 0x56008e
mov esi, 1
jmp 0x560090
xor esi, esi
push str.FOR_DISABLE_STACK_TRACE
call fcn.00566e20
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.005586b0
add esp, 0x10
xor ebx, ebx
test eax, eax
movzx eax, word [ebp - 0x3f0]
mov dword [ebp - 8], eax
sete bl
cmp dword [0x5de420], 0
je 0x5601e5
mov dword [0x5de420], 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.0058e246
add esp, 0x10
lea eax, [ebp - 0x8e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5f1538], eax
test eax, eax
je 0x5605ba
mov dword [0x5de424], 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, 0x5e7040
lea ecx, [ebp - 0x1c]
call fcn.00560ed0
mov ecx, dword [ebp - 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560164
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x56014f
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x5de428]
push edx
push 0
inc esi
push esi
call fcn.005586b0
push esi
push dword [ebp - 0x1c]
push dword [ebx*4 + 0x5de428]
call fcn.0058e2d0
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x56013b
mov eax, 0x1c7
mov edx, 0x5e7040
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x448]
call fcn.00560ed0
push 0x10
push dword [ebp - 0x1c]
push str.forrtl
call fcn.0058e2d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5e7040
lea ecx, [ebp - 0x1c]
call fcn.00560ed0
push 0x40
push dword [ebp - 0x1c]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0058e2d0
add esp, 0xc
mov ecx, dword [ebp - 8]
xor edx, edx
lea eax, [edx*8]
cmp ecx, dword [eax + edx*4 + 0x5dce60]
je 0x560c0b
inc edx
cmp edx, 0x1d0
jl 0x5601ea
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 0
jle 0x56022c
lea eax, [ebp + 0x10]
push eax
push edi
lea edx, [ebp - 0x3a0]
push edx
call fcn.0058f0e8
add esp, 0xc
lea edi, [ebp - 0x3a0]
mov eax, dword [0x5e7058]
test eax, eax
mov dword [ebp - 0x3ec], eax
je 0x5602ad
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560254
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x56023f
dec eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x3ec]
jb 0x560279
push dword [ebp - 0x3ec]
push edi
push dword [0x5e7054]
call fcn.0059f8e0
add esp, 0xc
jmp 0x5602ad
push dword [ebp - 0x450]
push edi
push dword [0x5e7054]
call fcn.0059f8e0
mov eax, dword [ebp - 0x450]
mov edx, dword [0x5e7058]
sub edx, eax
push edx
mov ecx, dword [0x5e7054]
push 0x20
add ecx, eax
push ecx
call fcn.0059f940
add esp, 0x18
push 0x5e7048
call fcn.00552330
add esp, 4
mov eax, dword [0x5e704c]
test eax, eax
jne 0x560305
push str.FORT0
mov dword [0x5e704c], 1
call fcn.0058dfb1
mov dword [ebp - 0x450], eax
add esp, 4
cmp dword [ebp - 0x450], 0
je 0x560305
call fcn.0058f102
add eax, 0x40
push eax
push 0x5cb434
push dword [ebp - 0x450]
call fcn.0058f388
add esp, 0xc
mov eax, dword [ebp - 4]
test ebx, ebx
mov dword [0x5e7048], 0
mov edx, dword [eax*4 + 0x5de428]
mov dword [ebp - 0x3ec], edx
je 0x560351
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x5e6e40
call fcn.0058e246
push edi
push 0x5e6e40
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.0058e246
add esp, 0x1c
jmp 0x560572
mov ecx, edx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x56036a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560355
dec eax
mov ecx, edi
mov dword [ebp - 0x450], eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560389
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560374
dec eax
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea eax, [edx + eax + 0x15]
push eax
call fcn.005586b0
add esp, 0xc
test eax, eax
je 0x560544
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x30], 0x1f6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
cmp dword [0x5de420], 0
je 0x5604db
mov dword [0x5de420], 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.0058e246
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5f1538], eax
test eax, eax
je 0x5605cc
mov dword [0x5de424], 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, 0x5e7040
lea ecx, [ebp - 0x24]
call fcn.00560ed0
mov ecx, dword [ebp - 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x56045a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560445
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x5de428]
push edx
push 0
inc esi
push esi
call fcn.005586b0
push esi
push dword [ebp - 0x24]
push dword [ebx*4 + 0x5de428]
call fcn.0058e2d0
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x560431
mov eax, 0x1c7
mov edx, 0x5e7040
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x448]
call fcn.00560ed0
push 0x10
push dword [ebp - 0x24]
push str.forrtl
call fcn.0058e2d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5e7040
lea ecx, [ebp - 0x24]
call fcn.00560ed0
push 0x40
push dword [ebp - 0x24]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0058e2d0
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x5dce60], 0x1f6
je 0x5605f8
inc edx
cmp edx, 0x1d0
jl 0x5604dd
xor eax, eax
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x2c], 0
jle 0x5605de
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x450]
push 0x5e6f40
call fcn.0058f0e8
add esp, 0xc
call fcn.0058f102
push 0x5e6f40
push 0x5cb3c8
add eax, 0x40
push eax
call fcn.0058f3ae
add esp, 0xc
jmp 0x560572
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x5e6e40
call fcn.0058e246
push edi
push 0x5e6e40
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.0058e246
add esp, 0x1c
mov ebx, 2
cmp dword [ebp - 4], 4
je 0x560921
mov eax, dword [0x5f1318]
test eax, eax
je 0x560597
cmp dword [ebp - 0x444], 0
jne 0x560597
cmp ebx, 1
je 0x5606aa
test ebx, ebx
jne 0x5606e7
test esi, esi
je 0x5605ad
cmp dword [ebp - 4], 3
je 0x56090c
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp dword [0x5de424], 0
je 0x560126
jmp 0x5601e5
cmp dword [0x5de424], 0
je 0x56041c
jmp 0x5604db
push 0x100
push dword [ebp - 0x450]
push 0x5e6f40
call fcn.0058e2d0
jmp 0x560524
mov ecx, dword [eax + edx*4 + 0x5dce64]
mov dword [0x5e7040], ecx
cmp dword [0x5de424], 0
je 0x560620
mov eax, dword [eax + edx*4 + 0x5dce68]
mov dword [ebp - 0x450], eax
jmp 0x560506
push 0
mov eax, dword [eax + edx*4 + 0x5dce68]
lea edx, [ebp - 0x38]
push 0x200
push edx
push 0x409
mov dword [ebp - 0x450], eax
push 0x800001f6
push dword [0x5f1538]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x560506
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x450], ecx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x56067b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560666
dec eax
cmp eax, 1
jbe 0x560506
mov edx, dword [ebp - 0x450]
cmp byte [edx + eax - 2], 0xd
jne 0x560506
cmp byte [edx + eax - 1], 0xa
jne 0x560506
mov byte [edx + eax - 2], 0
jmp 0x560506
cmp dword [eax + 4], 0
jne 0x5606da
cmp dword [ebp - 4], 3
je 0x5606da
cmp dword [ebp - 8], 0x197
je 0x5606da
cmp dword [ebp - 8], 0x196
je 0x5606da
cmp dword [ebp - 8], 0x195
je 0x5606da
cmp dword [ebp - 8], 0x194
jne 0x5606e7
push dword [ebp - 0x18]
push dword [eax]
call fcn.00573b40
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0058dfb1
add esp, 4
test eax, eax
je 0x56072c
cmp dword [ebp - 8], 0xaa
je 0x5608a5
push 0x5cb434
push eax
call fcn.0058f576
add esp, 8
mov edi, eax
test edi, edi
je 0x56072c
push edi
push ebx
call fcn.0058f58d
push edi
call fcn.0058f700
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.00566e20
add esp, 4
test eax, eax
jne 0x56078e
cmp dword [0x5ec960], 0
je 0x56075b
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.005b4350
add esp, 0xc
jmp 0x56078e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x5607d5
cmp dword [ebp - 8], 0xaa
je 0x56079e
call fcn.0058f102
add eax, 0x40
push eax
push ebx
call fcn.0058f58d
add esp, 8
push dword [ebp - 0x18]
call fcn.00558770
add esp, 4
jmp 0x56059f
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 0x5607c1
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5607ac
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x56078e
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x560773
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x560823
push str.MessageBoxA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x560823
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x56078e
cmp dword [ebp - 8], 0xaa
je 0x560831
jmp 0x56077c
cmp dword [ebp - 8], 0xaa
je 0x56086b
jmp 0x56077c
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 0x560854
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x56083f
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x56078e
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 0x56088e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560879
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x56078e
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 0x56072c
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 0x5608ee
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5608d9
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 0x56072c
mov eax, dword [0x5f1318]
cmp dword [eax + 4], 0
jne 0x5605ad
int3
cmp dword [ebp - 0x444], 0
jne 0x560938
mov eax, dword [0x5f1318]
test eax, eax
je 0x560938
cmp ebx, 1
je 0x560960
test ebx, ebx
jne 0x56096d
mov eax, dword [0x5f1318]
test eax, eax
je 0x560b92
cmp dword [eax + 4], 0
je 0x560b92
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.00573b40
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0058dfb1
add esp, 4
test eax, eax
je 0x5609b2
cmp dword [ebp - 8], 0xaa
je 0x560b2b
push 0x5cb434
push eax
call fcn.0058f576
add esp, 8
mov edi, eax
test edi, edi
je 0x5609b2
push edi
push ebx
call fcn.0058f58d
push edi
call fcn.0058f700
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.00566e20
add esp, 4
test eax, eax
jne 0x560a14
cmp dword [0x5ec960], 0
je 0x5609e1
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.005b4350
add esp, 0xc
jmp 0x560a14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x560a5b
cmp dword [ebp - 8], 0xaa
je 0x560a24
call fcn.0058f102
add eax, 0x40
push eax
push ebx
call fcn.0058f58d
add esp, 8
push dword [ebp - 0x18]
call fcn.00558770
add esp, 4
jmp 0x56093c
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 0x560a47
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560a32
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x560a14
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x5609f9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x560aa9
push str.MessageBoxA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x560aa9
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x560a14
cmp dword [ebp - 8], 0xaa
je 0x560ab7
jmp 0x560a02
cmp dword [ebp - 8], 0xaa
je 0x560af1
jmp 0x560a02
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 0x560ada
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560ac5
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x560a14
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 0x560b14
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560aff
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x560a14
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 0x5609b2
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 0x560b74
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560b5f
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 0x5609b2
call fcn.005713e0
mov eax, dword [0x5f1318]
test eax, eax
je 0x560bb3
push eax
call fcn.00558770
add esp, 4
mov dword [0x5f1318], 0
test esi, esi
je 0x560bb8
int3
push str.f77_dump_flag
call fcn.00566e20
add esp, 4
test eax, eax
jne 0x560c06
push str.decfort_dump_flag
call fcn.00566e20
add esp, 4
test eax, eax
jne 0x560c06
cmp dword [0x5e7050], 0
jne 0x560c06
cmp dword [0x5ec960], 0
je 0x560bfb
push 1
call fcn.005b4350
add esp, 4
jmp 0x5605ad
push dword [ebp - 8]
call fcn.0058edd2
add esp, 4
call fcn.0058f774
mov ecx, dword [eax + edx*4 + 0x5dce64]
mov dword [ebp - 4], ecx
cmp dword [0x5de424], 0
je 0x560c27
mov edi, dword [eax + edx*4 + 0x5dce68]
jmp 0x560c89
push 0
mov edi, dword [eax + edx*4 + 0x5dce68]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
push 0x200
push edx
push 0x409
lea ecx, [eax - 0x80000000]
push ecx
push dword [0x5f1538]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x560c89
mov edi, dword [ebp - 0x20]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560c79
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560c64
dec eax
cmp eax, 1
jbe 0x560c89
cmp byte [edi + eax - 2], 0xd
je 0x560e15
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 0x56020c
cmp dword [0x5de420], 0
je 0x560dd6
mov dword [0x5de420], 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.0058e246
add esp, 0x10
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5f1538], eax
test eax, eax
je 0x560e2a
mov dword [0x5de424], 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, 0x5e7040
lea ecx, [ebp - 0x34]
call fcn.00560ed0
mov ecx, dword [ebp - 0x34]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560d4f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560d3a
dec eax
mov ebx, eax
lea ecx, [esi*4 + 0x5de428]
push ecx
push 0
inc ebx
push ebx
call fcn.005586b0
push ebx
push dword [ebp - 0x34]
push dword [esi*4 + 0x5de428]
call fcn.0058e2d0
add esp, 0x18
inc esi
inc edi
cmp esi, 5
jl 0x560d26
mov eax, 0x1c7
mov edx, 0x5e7040
mov edi, dword [ebp - 0x450]
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
call fcn.00560ed0
push 0x10
push dword [ebp - 0x34]
push str.forrtl
call fcn.0058e2d0
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x5e7040
lea ecx, [ebp - 0x34]
call fcn.00560ed0
push 0x40
push dword [ebp - 0x34]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0058e2d0
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x5dce60], 0x1f4
je 0x560e39
inc edx
cmp edx, 0x1d0
jl 0x560dd8
push edi
push 0x5cb3c8
lea eax, [ebp - 0x217]
push eax
call fcn.0058e246
add esp, 0xc
lea edi, [ebp - 0x217]
jmp 0x56020c
cmp byte [edi + eax - 1], 0xa
jne 0x560c89
mov byte [edi + eax - 2], 0
jmp 0x560c89
cmp dword [0x5de424], 0
je 0x560d09
jmp 0x560dd6
mov ecx, dword [eax + edx*4 + 0x5dce64]
mov dword [ebp - 4], ecx
cmp dword [0x5de424], 0
je 0x560e55
mov edi, dword [eax + edx*4 + 0x5dce68]
jmp 0x560df5
push 0
mov edi, dword [eax + edx*4 + 0x5dce68]
lea eax, [ebp - 0x3c]
push 0x200
push eax
push 0x409
push 0x800001f4
push dword [0x5f1538]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x560df5
mov edi, dword [ebp - 0x3c]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x560ea6
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x560e91
dec eax
cmp eax, 1
jbe 0x560df5
cmp byte [edi + eax - 2], 0xd
jne 0x560df5
cmp byte [edi + eax - 1], 0xa
jne 0x560df5
mov byte [edi + eax - 2], 0
jmp 0x560df5