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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x264], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x413d67
push str.FOR__IS_DEBUGGER_PRESENT
call fcn.00431890
add esp, 4
test eax, eax
jne 0x413d67
push str.FOR_DEBUGGER_IS_PRESENT
call fcn.00431890
add esp, 4
test eax, eax
je 0x413d70
mov dword [ebp - 0x14], 1
jmp 0x413d77
mov dword [ebp - 0x14], 0
push str.FOR_DISABLE_STACK_TRACE
call fcn.00431890
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.00429b50
add esp, 0x10
xor ebx, ebx
test eax, eax
movzx eax, word [ebp - 0x264]
mov dword [ebp - 4], eax
sete bl
cmp dword [0x504758], 0
je 0x413eb3
mov dword [0x504758], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.ifcore_msg.dll
push eax
push str._lu__s
lea esi, [ebp - 0x8e]
push esi
call fcn.00473880
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5119c4], eax
test eax, eax
je 0x414388
mov dword [0x50475c], 0
xor edi, edi
cmp edi, 5
je 0x414371
mov edx, 0x506f40
lea eax, [edi + 0x1c2]
lea ecx, [ebp - 0x1c]
call fcn.00414cb0
mov ecx, dword [ebp - 0x1c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x413e3f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x413e2a
dec eax
mov esi, eax
lea eax, [edi*4 + 0x504760]
push eax
push 0
inc esi
push esi
call fcn.00429b50
push esi
push dword [ebp - 0x1c]
push dword [edi*4 + 0x504760]
call fcn.00473750
add esp, 0x18
inc edi
cmp edi, 6
jl 0x413e09
mov eax, 0x1c7
mov edx, 0x506f40
lea ecx, [ebp - 0x1c]
call fcn.00414cb0
push 0x10
push dword [ebp - 0x1c]
push str.forrtl
call fcn.00473750
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x506f40
lea ecx, [ebp - 0x1c]
call fcn.00414cb0
push 0x40
push dword [ebp - 0x1c]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.00473750
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
lea eax, [edx*8]
cmp ecx, dword [eax + edx*4 + 0x503180]
je 0x4149d6
inc edx
cmp edx, 0x1d2
jl 0x413eb8
cmp dword [ebp + 0xc], 0
jle 0x413ef5
lea eax, [ebp + 0x10]
push eax
push edi
lea edx, [ebp - 0x3f0]
push edx
call fcn.00473db0
add esp, 0xc
lea edi, [ebp - 0x3f0]
mov eax, dword [0x506f58]
test eax, eax
mov dword [ebp - 0x448], eax
je 0x413f76
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x413f1d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x413f08
dec eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x448]
jb 0x413f42
push dword [ebp - 0x448]
push edi
push dword [0x506f54]
call fcn.004c9010
add esp, 0xc
jmp 0x413f76
push dword [ebp - 0x450]
push edi
push dword [0x506f54]
call fcn.004c9010
mov eax, dword [ebp - 0x450]
mov edx, dword [0x506f58]
sub edx, eax
push edx
mov ecx, dword [0x506f54]
push 0x20
add ecx, eax
push ecx
call fcn.004c9070
add esp, 0x18
push 0x506f48
call fcn.004173f0
add esp, 4
mov eax, dword [0x506f4c]
test eax, eax
jne 0x413fce
push str.FORT0
mov dword [0x506f4c], 1
call fcn.00473f30
mov dword [ebp - 0x450], eax
add esp, 4
cmp dword [ebp - 0x450], 0
je 0x413fce
call fcn.00474680
add eax, 0x40
push eax
push 0x4e3018
push dword [ebp - 0x450]
call fcn.00474c00
add esp, 0xc
mov eax, dword [esi*4 + 0x504760]
mov dword [0x506f48], 0
mov dword [ebp - 0x260], eax
cmp dword [0x503120], 0
jne 0x413ffb
mov eax, dword [0x506d20]
mov dword [ebp - 0x258], eax
jmp 0x41404a
push str.libicaf.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x41401d
push str.for_rtl_THIS_IMAGE
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x506d24], eax
jmp 0x414022
mov eax, dword [0x506d24]
test eax, eax
je 0x414035
call eax
mov dword [ebp - 0x258], eax
mov dword [0x506d20], eax
jmp 0x414040
mov eax, dword [0x506d20]
mov dword [ebp - 0x258], eax
mov dword [0x503120], 0
cmp dword [ebp - 0x258], 0
je 0x414060
mov eax, dword [str.In_coarray_image__d_n]
mov dword [ebp - 0x25c], eax
jmp 0x414068
xor eax, eax
mov dword [ebp - 0x25c], eax
test ebx, ebx
jne 0x4142dd
mov ecx, dword [ebp - 0x260]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41408d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414078
dec eax
mov ecx, edi
mov dword [ebp - 0x450], eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4140ac
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414097
dec eax
mov edx, dword [ebp - 0x450]
cmp dword [ebp - 0x258], 0
lea ecx, [edx + eax + 0x15]
mov dword [ebp - 0x448], ecx
je 0x4140e8
mov ecx, dword [ebp - 0x25c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4140e2
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4140cd
dec eax
add dword [ebp - 0x448], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x448]
call fcn.00429b50
add esp, 0xc
test eax, eax
je 0x414283
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
cmp dword [0x504758], 0
je 0x414227
mov dword [0x504758], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.ifcore_msg.dll
push eax
push str._lu__s
lea edx, [ebp - 0x267]
push edx
call fcn.00473880
add esp, 0x10
lea eax, [ebp - 0x267]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5119c4], eax
test eax, eax
je 0x4143b1
mov dword [0x50475c], 0
mov dword [ebp - 0x44c], ebx
xor edi, edi
cmp edi, 5
je 0x41439a
mov edx, 0x506f40
lea eax, [edi + 0x1c2]
lea ecx, [ebp - 0x24]
call fcn.00414cb0
mov ecx, dword [ebp - 0x24]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4141ad
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414198
dec eax
mov ebx, eax
lea eax, [edi*4 + 0x504760]
push eax
push 0
inc ebx
push ebx
call fcn.00429b50
push ebx
push dword [ebp - 0x24]
push dword [edi*4 + 0x504760]
call fcn.00473750
add esp, 0x18
inc edi
cmp edi, 6
jl 0x414177
mov eax, 0x1c7
mov edx, 0x506f40
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x24]
call fcn.00414cb0
push 0x10
push dword [ebp - 0x24]
push str.forrtl
call fcn.00473750
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x506f40
lea ecx, [ebp - 0x24]
call fcn.00414cb0
push 0x40
push dword [ebp - 0x24]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.00473750
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x503180], 0x1f6
je 0x4143d8
inc edx
cmp edx, 0x1d2
jl 0x414229
cmp dword [ebp - 0x30], 0
jle 0x4143c3
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x506e40
call fcn.00473db0
add esp, 0xc
call fcn.00474680
push 0x506e40
push 0x4e2f80
add eax, 0x40
push eax
call fcn.00474c60
jmp 0x414326
push dword [ebp - 4]
push dword [ebp - 0x260]
push 0x506d40
call fcn.00473880
push edi
push 0x506d40
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.00473880
add esp, 0x1c
cmp dword [ebp - 0x258], 0
jne 0x4142bc
mov ebx, 2
jmp 0x414329
push dword [ebp - 0x258]
push dword [ebp - 0x25c]
mov edx, dword [ebp - 0x18]
add edx, eax
push edx
call fcn.00473880
add esp, 0xc
mov ebx, 2
jmp 0x414329
push dword [ebp - 4]
push dword [ebp - 0x260]
push 0x506d40
call fcn.00473880
push edi
push 0x506d40
push str._s_s_r_n
push dword [ebp - 0x18]
call fcn.00473880
add esp, 0x1c
cmp dword [ebp - 0x258], 0
je 0x414329
push dword [ebp - 0x258]
push dword [0x504774]
mov edx, dword [ebp - 0x18]
add edx, eax
push edx
call fcn.00473880
add esp, 0xc
cmp esi, 4
je 0x4146ea
mov eax, dword [0x5119c0]
test eax, eax
je 0x41434d
cmp dword [ebp - 0x444], 0
jne 0x41434d
cmp ebx, 1
je 0x414474
test ebx, ebx
jne 0x4144b0
cmp dword [ebp - 0x14], 0
je 0x414364
cmp esi, 3
je 0x4146d5
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x30b
mov edx, 0x506f40
lea ecx, [ebp - 0x1c]
call fcn.00414cb0
jmp 0x413e25
cmp dword [0x50475c], 0
je 0x413e07
jmp 0x413eb3
mov eax, 0x30b
mov edx, 0x506f40
lea ecx, [ebp - 0x24]
call fcn.00414cb0
jmp 0x414193
cmp dword [0x50475c], 0
je 0x41416f
jmp 0x414227
push 0x100
push edi
push 0x506e40
call fcn.00473750
jmp 0x414263
mov ecx, dword [eax + edx*4 + 0x503184]
mov dword [0x506f40], ecx
cmp dword [0x50475c], 0
je 0x4143fa
mov edi, dword [eax + edx*4 + 0x503188]
jmp 0x41424a
push 0
mov edi, dword [eax + edx*4 + 0x503188]
lea eax, [ebp - 0x38]
push 0x200
push eax
push 0x409
push 0x800001f6
push dword [0x5119c4]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x41424a
mov edi, dword [ebp - 0x38]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41444b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414436
dec eax
cmp eax, 1
jbe 0x41424a
cmp byte [edi + eax - 2], 0xd
jne 0x41424a
cmp byte [edi + eax - 1], 0xa
jne 0x41424a
mov byte [edi + eax - 2], 0
jmp 0x41424a
cmp dword [eax + 4], 0
jne 0x4144a3
cmp esi, 3
je 0x4144a3
cmp dword [ebp - 4], 0x197
je 0x4144a3
cmp dword [ebp - 4], 0x196
je 0x4144a3
cmp dword [ebp - 4], 0x195
je 0x4144a3
cmp dword [ebp - 4], 0x194
jne 0x4144b0
push dword [ebp - 0x18]
push dword [eax]
call fcn.00431930
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.00473f30
add esp, 4
test eax, eax
je 0x4144f5
cmp dword [ebp - 4], 0xaa
je 0x41466e
push 0x4e3018
push eax
call fcn.00475210
add esp, 8
mov edi, eax
test edi, edi
je 0x4144f5
push edi
push ebx
call fcn.004752d0
push edi
call fcn.00475570
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.00431890
add esp, 4
test eax, eax
jne 0x414557
cmp dword [0x5115c0], 0
je 0x414524
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004cd8d0
add esp, 0xc
jmp 0x414557
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x41459e
cmp dword [ebp - 4], 0xaa
je 0x414567
call fcn.00474680
add eax, 0x40
push eax
push ebx
call fcn.004752d0
add esp, 8
push dword [ebp - 0x18]
call fcn.00429c10
add esp, 4
jmp 0x414355
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 0x41458a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414575
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x414557
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x41453c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4145ec
push 0x4e301c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4145ec
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x414557
cmp dword [ebp - 4], 0xaa
je 0x4145fa
jmp 0x414545
cmp dword [ebp - 4], 0xaa
je 0x414634
jmp 0x414545
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 0x41461d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414608
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x414557
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 0x414657
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414642
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x414557
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 0x4144f5
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 0x4146b7
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4146a2
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 0x4144f5
mov eax, dword [0x5119c0]
cmp dword [eax + 4], 0
jne 0x414364
int3
cmp dword [ebp - 0x444], 0
jne 0x414701
mov eax, dword [0x5119c0]
test eax, eax
je 0x414701
cmp ebx, 1
je 0x414729
test ebx, ebx
jne 0x414736
mov eax, dword [0x5119c0]
test eax, eax
je 0x41495b
cmp dword [eax + 4], 0
je 0x41495b
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
push dword [eax]
call fcn.00431930
add esp, 8
push str.FOR_DIAGNOSTIC_LOG_FILE
mov ebx, dword [ebp - 0x18]
call fcn.00473f30
add esp, 4
test eax, eax
je 0x41477b
cmp dword [ebp - 4], 0xaa
je 0x4148f4
push 0x4e3018
push eax
call fcn.00475210
add esp, 8
mov esi, eax
test esi, esi
je 0x41477b
push esi
push ebx
call fcn.004752d0
push esi
call fcn.00475570
add esp, 0xc
push str.FOR_DISABLE_DIAGNOSTIC_DISPLAY
call fcn.00431890
add esp, 4
test eax, eax
jne 0x4147dd
cmp dword [0x5115c0], 0
je 0x4147aa
push 0x2010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
call fcn.004cd8d0
add esp, 0xc
jmp 0x4147dd
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
cmp edx, 0x10b
je 0x414824
cmp dword [ebp - 4], 0xaa
je 0x4147ed
call fcn.00474680
add eax, 0x40
push eax
push ebx
call fcn.004752d0
add esp, 8
push dword [ebp - 0x18]
call fcn.00429c10
add esp, 4
jmp 0x414705
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x414810
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4147fb
dec eax
push 0
lea edx, [ebp - 0x448]
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4147dd
movzx eax, word [ecx + eax + 0x5c]
cmp eax, 2
jne 0x4147c2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x414872
push 0x4e301c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414872
push 0x12010
push str.Intel_r__Visual_Fortran_run_time_error
push ebx
push 0
call eax
test eax, eax
jne 0x4147dd
cmp dword [ebp - 4], 0xaa
je 0x414880
jmp 0x4147cb
cmp dword [ebp - 4], 0xaa
je 0x4148ba
jmp 0x4147cb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4148a3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41488e
dec eax
push 0
lea edx, [ebp - 0x450]
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4147dd
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4148dd
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4148c8
dec eax
push 0
lea edx, [ebp - 0x44c]
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4147dd
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 esi, eax
cmp esi, 0xffffffff
je 0x41477b
push 2
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41493d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414928
dec eax
push 0
lea edx, [ebp - 0x444]
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41477b
call fcn.00431fc0
mov eax, dword [0x5119c0]
test eax, eax
je 0x41497c
push eax
call fcn.00429c10
add esp, 4
mov dword [0x5119c0], 0
cmp dword [ebp - 0x14], 0
je 0x414983
int3
push str.f77_dump_flag
call fcn.00431890
add esp, 4
test eax, eax
jne 0x4149d1
push str.decfort_dump_flag
call fcn.00431890
add esp, 4
test eax, eax
jne 0x4149d1
cmp dword [0x506f50], 0
jne 0x4149d1
cmp dword [0x5115c0], 0
je 0x4149c6
push 1
call fcn.004cda10
add esp, 4
jmp 0x414364
push dword [ebp - 4]
call fcn.00475820
add esp, 4
call fcn.00475f60
mov esi, dword [eax + edx*4 + 0x503184]
cmp dword [0x50475c], 0
je 0x4149ef
mov edi, dword [eax + edx*4 + 0x503188]
jmp 0x414a51
push 0
mov edi, dword [eax + edx*4 + 0x503188]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
push 0x200
push edx
push 0x409
lea ecx, [eax - 0x80000000]
push ecx
push dword [0x5119c4]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x414a51
mov edi, dword [ebp - 0x20]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x414a41
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414a2c
dec eax
cmp eax, 1
jbe 0x414a51
cmp byte [edi + eax - 2], 0xd
je 0x414bd6
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 0x413ed5
cmp dword [0x504758], 0
je 0x414b97
mov dword [0x504758], 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.00473880
add esp, 0x10
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5119c4], eax
test eax, eax
je 0x414c02
mov dword [0x50475c], 0
xor eax, eax
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x450], esi
mov esi, eax
cmp esi, 5
je 0x414beb
mov edx, 0x506f40
lea eax, [esi + 0x1c2]
lea ecx, [ebp - 0x34]
call fcn.00414cb0
mov ecx, dword [ebp - 0x34]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x414b17
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414b02
dec eax
mov ebx, eax
lea edx, [esi*4 + 0x504760]
push edx
push 0
inc ebx
push ebx
call fcn.00429b50
push ebx
push dword [ebp - 0x34]
push dword [esi*4 + 0x504760]
call fcn.00473750
add esp, 0x18
inc esi
cmp esi, 6
jl 0x414ae1
mov eax, 0x1c7
mov edx, 0x506f40
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x450]
call fcn.00414cb0
push 0x10
push dword [ebp - 0x34]
push str.forrtl
call fcn.00473750
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x506f40
lea ecx, [ebp - 0x34]
call fcn.00414cb0
push 0x40
push dword [ebp - 0x34]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.00473750
add esp, 0xc
xor edx, edx
lea eax, [edx*8]
cmp dword [eax + edx*4 + 0x503180], 0x1f4
je 0x414c11
inc edx
cmp edx, 0x1d2
jl 0x414b99
push edi
push 0x4e2f80
lea eax, [ebp - 0x217]
push eax
call fcn.00473880
add esp, 0xc
lea edi, [ebp - 0x217]
jmp 0x413ed5
cmp byte [edi + eax - 1], 0xa
jne 0x414a51
mov byte [edi + eax - 2], 0
jmp 0x414a51
mov eax, 0x30b
mov edx, 0x506f40
lea ecx, [ebp - 0x34]
call fcn.00414cb0
jmp 0x414afd
cmp dword [0x50475c], 0
je 0x414ad1
jmp 0x414b97
mov esi, dword [eax + edx*4 + 0x503184]
cmp dword [0x50475c], 0
je 0x414c2a
mov edi, dword [eax + edx*4 + 0x503188]
jmp 0x414bb6
push 0
mov edi, dword [eax + edx*4 + 0x503188]
lea eax, [ebp - 0x3c]
push 0x200
push eax
push 0x409
push 0x800001f4
push dword [0x5119c4]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x414bb6
mov edi, dword [ebp - 0x3c]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x414c7b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x414c66
dec eax
cmp eax, 1
jbe 0x414bb6
cmp byte [edi + eax - 2], 0xd
jne 0x414bb6
cmp byte [edi + eax - 1], 0xa
jne 0x414bb6
mov byte [edi + eax - 2], 0
jmp 0x414bb6