Function at 0x416ed0
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 0x416f17
push str.FOR__IS_DEBUGGER_PRESENT
call fcn.0042bc00
add esp, 4
test eax, eax
jne 0x416f17
push str.FOR_DEBUGGER_IS_PRESENT
call fcn.0042bc00
add esp, 4
test eax, eax
je 0x416f1e
mov esi, 1
jmp 0x416f20
xor esi, esi
push str.FOR_DISABLE_STACK_TRACE
call fcn.0042bc00
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.004245d0
add esp, 0x10
xor ebx, ebx
test eax, eax
movzx eax, word [ebp - 0x3f0]
mov dword [ebp - 8], eax
sete bl
cmp dword [0x4fd4e0], 0
je 0x417075
mov dword [0x4fd4e0], 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.0046b530
add esp, 0x10
lea eax, [ebp - 0x8e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x2d62f24], eax
test eax, eax
je 0x41744a
mov dword [0x4fd4e4], 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, 0x2d585a0
lea ecx, [ebp - 0x1c]
call fcn.00417d60
mov ecx, dword [ebp - 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x416ff4
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x416fdf
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x4fd4e8]
push edx
push 0
inc esi
push esi
call fcn.004245d0
push esi
push dword [ebp - 0x1c]
push dword [ebx*4 + 0x4fd4e8]
call fcn.0046b400
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x416fcb
mov eax, 0x1c7
mov edx, 0x2d585a0
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x448]
call fcn.00417d60
push 0x10
push dword [ebp - 0x1c]
push str.forrtl
call fcn.0046b400
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x2d585a0
lea ecx, [ebp - 0x1c]
call fcn.00417d60
push 0x40
push dword [ebp - 0x1c]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0046b400
add esp, 0xc
mov ecx, dword [ebp - 8]
xor edx, edx
lea eax, [edx*8]
cmp ecx, dword [eax + edx*4 + 0x4fbf20]
je 0x417a9b
inc edx
cmp edx, 0x1d0
jl 0x41707a
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 0
jle 0x4170bc
lea eax, [ebp + 0x10]
push eax
push edi
lea edx, [ebp - 0x3a0]
push edx
call fcn.0046ba60
add esp, 0xc
lea edi, [ebp - 0x3a0]
mov eax, dword [0x2d585b8]
test eax, eax
mov dword [ebp - 0x3ec], eax
je 0x41713d
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4170e4
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4170cf
dec eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x3ec]
jb 0x417109
push dword [ebp - 0x3ec]
push edi
push dword [0x2d585b4]
call fcn.004b5ac0
add esp, 0xc
jmp 0x41713d
push dword [ebp - 0x450]
push edi
push dword [0x2d585b4]
call fcn.004b5ac0
mov eax, dword [ebp - 0x450]
mov edx, dword [0x2d585b8]
sub edx, eax
push edx
mov ecx, dword [0x2d585b4]
push 0x20
add ecx, eax
push ecx
call fcn.004b5b20
add esp, 0x18
push 0x2d585a8
call fcn.0041a6f0
add esp, 4
mov eax, dword [0x2d585ac]
test eax, eax
jne 0x417195
push str.FORT0
mov dword [0x2d585ac], 1
call fcn.0046bbe0
mov dword [ebp - 0x450], eax
add esp, 4
cmp dword [ebp - 0x450], 0
je 0x417195
call fcn.0046c330
add eax, 0x40
push eax
push 0x4d5980
push dword [ebp - 0x450]
call fcn.0046c8b0
add esp, 0xc
mov eax, dword [ebp - 4]
test ebx, ebx
mov dword [0x2d585a8], 0
mov edx, dword [eax*4 + 0x4fd4e8]
mov dword [ebp - 0x3ec], edx
je 0x4171e1
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x2d583a0
call fcn.0046b530
push edi
push 0x2d583a0
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.0046b530
add esp, 0x1c
jmp 0x417402
mov ecx, edx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4171fa
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4171e5
dec eax
mov ecx, edi
mov dword [ebp - 0x450], eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x417219
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417204
dec eax
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea eax, [edx + eax + 0x15]
push eax
call fcn.004245d0
add esp, 0xc
test eax, eax
je 0x4173d4
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x30], 0x1f6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
cmp dword [0x4fd4e0], 0
je 0x41736b
mov dword [0x4fd4e0], 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.0046b530
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x2d62f24], eax
test eax, eax
je 0x41745c
mov dword [0x4fd4e4], 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, 0x2d585a0
lea ecx, [ebp - 0x24]
call fcn.00417d60
mov ecx, dword [ebp - 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4172ea
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4172d5
dec eax
mov esi, eax
lea edx, [ebx*4 + 0x4fd4e8]
push edx
push 0
inc esi
push esi
call fcn.004245d0
push esi
push dword [ebp - 0x24]
push dword [ebx*4 + 0x4fd4e8]
call fcn.0046b400
add esp, 0x18
inc ebx
inc edi
cmp ebx, 5
jl 0x4172c1
mov eax, 0x1c7
mov edx, 0x2d585a0
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x448]
call fcn.00417d60
push 0x10
push dword [ebp - 0x24]
push str.forrtl
call fcn.0046b400
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x2d585a0
lea ecx, [ebp - 0x24]
call fcn.00417d60
push 0x40
push dword [ebp - 0x24]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0046b400
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x4fbf20], 0x1f6
je 0x417488
inc edx
cmp edx, 0x1d0
jl 0x41736d
xor eax, eax
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x2c], 0
jle 0x41746e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x450]
push 0x2d584a0
call fcn.0046ba60
add esp, 0xc
call fcn.0046c330
push 0x2d584a0
push 0x4d58e8
add eax, 0x40
push eax
call fcn.0046c910
add esp, 0xc
jmp 0x417402
push dword [ebp - 8]
push dword [ebp - 0x3ec]
push 0x2d583a0
call fcn.0046b530
push edi
push 0x2d583a0
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.0046b530
add esp, 0x1c
mov ebx, 2
cmp dword [ebp - 4], 4
je 0x4177b1
mov eax, dword [0x2d62f20]
test eax, eax
je 0x417427
cmp dword [ebp - 0x444], 0
jne 0x417427
cmp ebx, 1
je 0x41753a
test ebx, ebx
jne 0x417577
test esi, esi
je 0x41743d
cmp dword [ebp - 4], 3
je 0x41779c
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp dword [0x4fd4e4], 0
je 0x416fb6
jmp 0x417075
cmp dword [0x4fd4e4], 0
je 0x4172ac
jmp 0x41736b
push 0x100
push dword [ebp - 0x450]
push 0x2d584a0
call fcn.0046b400
jmp 0x4173b4
mov ecx, dword [eax + edx*4 + 0x4fbf24]
mov dword [0x2d585a0], ecx
cmp dword [0x4fd4e4], 0
je 0x4174b0
mov eax, dword [eax + edx*4 + 0x4fbf28]
mov dword [ebp - 0x450], eax
jmp 0x417396
push 0
mov eax, dword [eax + edx*4 + 0x4fbf28]
lea edx, [ebp - 0x38]
push 0x200
push edx
push 0x409
mov dword [ebp - 0x450], eax
push 0x800001f6
push dword [0x2d62f24]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x417396
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x450], ecx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41750b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4174f6
dec eax
cmp eax, 1
jbe 0x417396
mov edx, dword [ebp - 0x450]
cmp byte [edx + eax - 2], 0xd
jne 0x417396
cmp byte [edx + eax - 1], 0xa
jne 0x417396
mov byte [edx + eax - 2], 0
jmp 0x417396
cmp dword [eax + 4], 0
jne 0x41756a
cmp dword [ebp - 4], 3
je 0x41756a
cmp dword [ebp - 8], 0x197
je 0x41756a
cmp dword [ebp - 8], 0x196
je 0x41756a
cmp dword [ebp - 8], 0x195
je 0x41756a
cmp dword [ebp - 8], 0x194
jne 0x417577
push dword [ebp - 0x18]
push dword [eax]
call fcn.0042c0a0
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0046bbe0
add esp, 4
test eax, eax
je 0x4175bc
cmp dword [ebp - 8], 0xaa
je 0x417735
push 0x4d5980
push eax
call fcn.0046ceb0
add esp, 8
mov edi, eax
test edi, edi
je 0x4175bc
push edi
push ebx
call fcn.0046cf70
push edi
call fcn.0046d210
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.0042bc00
add esp, 4
test eax, eax
jne 0x41761e
cmp dword [0x2d62c40], 0
je 0x4175eb
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004bfb00
add esp, 0xc
jmp 0x41761e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x417665
cmp dword [ebp - 8], 0xaa
je 0x41762e
call fcn.0046c330
add eax, 0x40
push eax
push ebx
call fcn.0046cf70
add esp, 8
push dword [ebp - 0x18]
call fcn.00424690
add esp, 4
jmp 0x41742f
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 0x417651
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41763c
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41761e
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x417603
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4176b3
push 0x4d5984
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4176b3
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x41761e
cmp dword [ebp - 8], 0xaa
je 0x4176c1
jmp 0x41760c
cmp dword [ebp - 8], 0xaa
je 0x4176fb
jmp 0x41760c
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 0x4176e4
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4176cf
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41761e
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 0x41771e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417709
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41761e
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 0x4175bc
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 0x41777e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417769
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 0x4175bc
mov eax, dword [0x2d62f20]
cmp dword [eax + 4], 0
jne 0x41743d
int3
cmp dword [ebp - 0x444], 0
jne 0x4177c8
mov eax, dword [0x2d62f20]
test eax, eax
je 0x4177c8
cmp ebx, 1
je 0x4177f0
test ebx, ebx
jne 0x4177fd
mov eax, dword [0x2d62f20]
test eax, eax
je 0x417a22
cmp dword [eax + 4], 0
je 0x417a22
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.0042c0a0
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.0046bbe0
add esp, 4
test eax, eax
je 0x417842
cmp dword [ebp - 8], 0xaa
je 0x4179bb
push 0x4d5980
push eax
call fcn.0046ceb0
add esp, 8
mov edi, eax
test edi, edi
je 0x417842
push edi
push ebx
call fcn.0046cf70
push edi
call fcn.0046d210
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.0042bc00
add esp, 4
test eax, eax
jne 0x4178a4
cmp dword [0x2d62c40], 0
je 0x417871
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004bfb00
add esp, 0xc
jmp 0x4178a4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x4178eb
cmp dword [ebp - 8], 0xaa
je 0x4178b4
call fcn.0046c330
add eax, 0x40
push eax
push ebx
call fcn.0046cf70
add esp, 8
push dword [ebp - 0x18]
call fcn.00424690
add esp, 4
jmp 0x4177cc
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 0x4178d7
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4178c2
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4178a4
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x417889
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x417939
push 0x4d5984
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417939
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x4178a4
cmp dword [ebp - 8], 0xaa
je 0x417947
jmp 0x417892
cmp dword [ebp - 8], 0xaa
je 0x417981
jmp 0x417892
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 0x41796a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417955
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4178a4
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 0x4179a4
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41798f
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4178a4
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 0x417842
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 0x417a04
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4179ef
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 0x417842
call fcn.0042c340
mov eax, dword [0x2d62f20]
test eax, eax
je 0x417a43
push eax
call fcn.00424690
add esp, 4
mov dword [0x2d62f20], 0
test esi, esi
je 0x417a48
int3
push str.f77_dump_flag
call fcn.0042bc00
add esp, 4
test eax, eax
jne 0x417a96
push str.decfort_dump_flag
call fcn.0042bc00
add esp, 4
test eax, eax
jne 0x417a96
cmp dword [0x2d585b0], 0
jne 0x417a96
cmp dword [0x2d62c40], 0
je 0x417a8b
push 1
call fcn.004bfc40
add esp, 4
jmp 0x41743d
push dword [ebp - 8]
call fcn.0046d4c0
add esp, 4
call fcn.0046dc00
mov ecx, dword [eax + edx*4 + 0x4fbf24]
mov dword [ebp - 4], ecx
cmp dword [0x4fd4e4], 0
je 0x417ab7
mov edi, dword [eax + edx*4 + 0x4fbf28]
jmp 0x417b19
push 0
mov edi, dword [eax + edx*4 + 0x4fbf28]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
push 0x200
push edx
push 0x409
lea ecx, [eax - 0x80000000]
push ecx
push dword [0x2d62f24]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x417b19
mov edi, dword [ebp - 0x20]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x417b09
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417af4
dec eax
cmp eax, 1
jbe 0x417b19
cmp byte [edi + eax - 2], 0xd
je 0x417ca5
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 0x41709c
cmp dword [0x4fd4e0], 0
je 0x417c66
mov dword [0x4fd4e0], 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.0046b530
add esp, 0x10
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x2d62f24], eax
test eax, eax
je 0x417cba
mov dword [0x4fd4e4], 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, 0x2d585a0
lea ecx, [ebp - 0x34]
call fcn.00417d60
mov ecx, dword [ebp - 0x34]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x417bdf
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417bca
dec eax
mov ebx, eax
lea ecx, [esi*4 + 0x4fd4e8]
push ecx
push 0
inc ebx
push ebx
call fcn.004245d0
push ebx
push dword [ebp - 0x34]
push dword [esi*4 + 0x4fd4e8]
call fcn.0046b400
add esp, 0x18
inc esi
inc edi
cmp esi, 5
jl 0x417bb6
mov eax, 0x1c7
mov edx, 0x2d585a0
mov edi, dword [ebp - 0x450]
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
call fcn.00417d60
push 0x10
push dword [ebp - 0x34]
push str.forrtl
call fcn.0046b400
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x2d585a0
lea ecx, [ebp - 0x34]
call fcn.00417d60
push 0x40
push dword [ebp - 0x34]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.0046b400
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x4fbf20], 0x1f4
je 0x417cc9
inc edx
cmp edx, 0x1d0
jl 0x417c68
push edi
push 0x4d58e8
lea eax, [ebp - 0x217]
push eax
call fcn.0046b530
add esp, 0xc
lea edi, [ebp - 0x217]
jmp 0x41709c
cmp byte [edi + eax - 1], 0xa
jne 0x417b19
mov byte [edi + eax - 2], 0
jmp 0x417b19
cmp dword [0x4fd4e4], 0
je 0x417b99
jmp 0x417c66
mov ecx, dword [eax + edx*4 + 0x4fbf24]
mov dword [ebp - 4], ecx
cmp dword [0x4fd4e4], 0
je 0x417ce5
mov edi, dword [eax + edx*4 + 0x4fbf28]
jmp 0x417c85
push 0
mov edi, dword [eax + edx*4 + 0x4fbf28]
lea eax, [ebp - 0x3c]
push 0x200
push eax
push 0x409
push 0x800001f4
push dword [0x2d62f24]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x417c85
mov edi, dword [ebp - 0x3c]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x417d36
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x417d21
dec eax
cmp eax, 1
jbe 0x417c85
cmp byte [edi + eax - 2], 0xd
jne 0x417c85
cmp byte [edi + eax - 1], 0xa
jne 0x417c85
mov byte [edi + eax - 2], 0
jmp 0x417c85