Function at 0x449310
Capabilities:
Delete file

Disassembly:
push esi
push ebx
sub esp, 0x74
mov ebx, dword [esp + 0x80]
mov esi, dword [ebx]
mov dword [esp], ebx
call sym.__gfortrani_library_start
mov eax, esi
and eax, 0x1000000
je 0x449335
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x6c], eax
mov eax, 4
test esi, 0x400
jne 0x449910
mov dword [esp + 0x24], eax
mov eax, 3
test esi, 0x4000
jne 0x4498e2
mov dword [esp + 0x28], eax
mov eax, 3
test esi, 0x2000000
jne 0x4498b1
mov dword [esp + 0x68], eax
mov eax, 2
test esi, 0x4000000
jne 0x449880
mov dword [esp + 0x64], eax
mov eax, 2
test esi, 0x1000
jne 0x449850
mov dword [esp + 0x2c], eax
mov eax, 3
test esi, 0x8000
jne 0x449820
mov dword [esp + 0x30], eax
mov eax, 2
test esi, 0x10000
jne 0x4497f0
mov dword [esp + 0x44], eax
mov eax, 2
test esi, 0x40000
jne 0x4497c4
mov dword [esp + 0x50], eax
mov eax, 2
test esi, 0x80000
jne 0x449793
mov dword [esp + 0x54], eax
mov eax, 2
test esi, 0x400000
jne 0x449762
mov dword [esp + 0x60], eax
mov eax, 0xc
test esi, 0x100000
jne 0x449731
mov dword [esp + 0x58], eax
mov eax, 3
test esi, 0x200000
jne 0x449700
mov dword [esp + 0x5c], eax
mov eax, 2
test esi, 0x800
jne 0x4496a0
mov dword [esp + 0x34], eax
mov eax, 3
test esi, 0x2000
jne 0x449673
mov dword [esp + 0x3c], eax
mov eax, 5
test esi, 0x200
jne 0x4496d0
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.__gfortrani_get_unformatted_convert
cmp eax, 0xffffffff
je 0x4495e0
cmp eax, 2
je 0x449620
jg 0x4495d0
test eax, eax
js 0x449a28
cmp dword [esp + 0x3c], 3
mov dword [esp + 0x48], eax
je 0x4494b5
cmp dword [esp + 0x24], 1
je 0x4499a0
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x4494d0
mov eax, dword [esp + 0x28]
cmp eax, 3
je 0x4494d0
test eax, eax
jne 0x449960
nop
cmp dword [esp + 0x24], 2
mov eax, dword [esp + 0x3c]
je 0x449630
cmp eax, 3
jne 0x4494ec
mov dword [esp + 0x3c], 0
mov eax, dword [ebx]
test al, 3
jne 0x4495b0
test eax, 0x800000
jne 0x449992
mov eax, dword [ebx + 4]
test eax, eax
js 0x4499c0
mov dword [esp], eax
call sym.__gfortrani_find_or_create_unit
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x449588
test dword [ebx], 0x100
je 0x449980
mov eax, dword [ebx + 0x28]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.__gfortrani_compare_file_filename
test eax, eax
jne 0x449980
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x1c]
cmp eax, 0xffffffff
je 0x4499f0
mov eax, dword [esi + 0xd8]
mov dword [esi + 4], 0
test eax, eax
je 0x449576
cmp dword [esi + 0x48], 3
je 0x449a15
mov dword [esp], eax
call sym._free
mov dword [esi + 0xd8], 0
lea eax, [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym.__gfortrani_new_unit
test eax, eax
je 0x4495b0
mov dword [esp], eax
call sym.__gfortrani_unlock_unit
nop
lea esi, [esi]
mov eax, dword [ebx]
and eax, 0x800003
cmp eax, 0x800000
jne 0x4495c9
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xa0]
mov dword [eax], edx
add esp, 0x74
pop ebx
pop esi
ret
cmp eax, 3
jne 0x449a28
xor eax, eax
jmp 0x44949f
and esi, 0x20000
mov eax, dword [0x1377146c]
je 0x449488
mov dword [esp + 0x10], str.Bad_CONVERT_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473fc0
mov eax, dword [ebx + 0x74]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
cmp eax, 2
jne 0x449491
mov eax, 1
jmp 0x44949f
sub eax, 2
cmp eax, 1
ja 0x449940
mov dword [esp + 8], str.Extension:_APPEND_as_a_value_for_ACCESS_in_OPEN_statement
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call sym.__gfortrani_notify_std
mov eax, dword [ebx]
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 2
test al, 3
jne 0x4495b0
jmp 0x4494f6
mov dword [esp + 0x10], str.Bad_POSITION_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474260
mov eax, dword [ebx + 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x50]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x44945b
mov dword [esp + 0x10], str.Bad_FORM_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x47409c
mov eax, dword [ebx + 0x44]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449446
mov dword [esp + 0x10], str.Bad_STATUS_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474400
mov eax, dword [ebx + 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449470
mov dword [esp + 0x10], str.Bad_SIGN_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x4743a0
mov eax, dword [ebx + 0x94]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x90]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449431
mov dword [esp + 0x10], str.Bad_ROUND_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474300
mov eax, dword [ebx + 0x88]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x44941c
mov dword [esp + 0x10], str.Bad_ASYNCHRONOUS_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473e38
mov eax, dword [ebx + 0x98]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449407
mov dword [esp + 0x10], str.Bad_ENCODING_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474080
mov eax, dword [ebx + 0x84]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x4493f2
mov dword [esp + 0x10], str.Bad_DECIMAL_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474000
mov eax, dword [ebx + 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x4493dd
mov dword [esp + 0x10], str.Bad_PAD_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x4741c0
mov eax, dword [ebx + 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x4493c8
mov dword [esp + 0x10], str.Bad_DELIM_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474040
mov eax, dword [ebx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x4493b3
mov dword [esp + 0x10], str.Bad_BLANK_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473ee0
mov eax, dword [ebx + 0x48]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x44939e
mov dword [esp + 0x10], str.Bad_SHARE_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x474380
mov eax, dword [ebx + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xb0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449389
mov dword [esp + 0x10], str.Bad_CARRIAGECONTROL_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473f60
mov eax, dword [ebx + 0xa8]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xac]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x449374
mov dword [esp + 0x10], str.Bad_ACTION_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473e00
mov eax, dword [ebx + 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x44935f
mov dword [esp + 0x10], str.Bad_ACCESS_parameter_in_OPEN_statement
mov dword [esp + 0xc], 0x473dc0
mov eax, dword [ebx + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_find_option
jmp 0x44934a
mov dword [esp + 8], str.Conflicting_ACCESS_and_POSITION_flags_in_OPEN_statement
mov dword [esp + 4], 0x138a
mov dword [esp], ebx
call sym.__gfortran_generate_error
jmp 0x44963c
mov dword [esp + 8], str.ACTION_conflicts_with_READONLY_in_OPEN_statement
mov dword [esp + 4], 0x138a
mov dword [esp], ebx
call sym.__gfortran_generate_error
jmp 0x4494d0
lea ecx, [esp + 0x24]
mov edx, esi
mov eax, ebx
call sym._edit_modes
jmp 0x4495b0
call sym.__gfortrani_newunit_alloc
mov dword [ebx + 4], eax
jmp 0x44950c
mov dword [esp + 8], str.Cannot_use_POSITION_with_direct_access_files
mov dword [esp + 4], 0x138a
mov dword [esp], ebx
call sym.__gfortran_generate_error
jmp 0x4494b5
mov dword [esp], eax
call sym.__gfortrani_find_unit
mov esi, eax
test eax, eax
jne 0x449516
mov dword [esp + 8], str.Bad_unit_number_in_OPEN_statement
mov dword [esp + 4], 0x138a
mov dword [esp], ebx
call sym.__gfortran_generate_error
jmp 0x4495c9
mov dword [esp], esi
call sym.__gfortrani_unlock_unit
mov dword [esp + 8], str.Error_closing_file_in_OPEN_statement
mov dword [esp + 4], 0x1388
mov dword [esp], ebx
call sym.__gfortran_generate_error
jmp 0x4495b0
mov dword [esp], eax
call sym._remove
mov eax, dword [esi + 0xd8]
jmp 0x449576
mov dword [esp + 4], 0x46b178
mov dword [esp], ebx
call sym.__gfortrani_internal_error
nop
nop
nop
nop
nop
nop
nop
nop