Function at 0x41f110
Capabilities:
Terminate process

Disassembly:
sub esp, 0x394
lea ecx, [esp + 0x104]
mov dword [0x5265e0], 0
mov dword [0x5265e4], 0xc0c38800
push ebp
push esi
mov dword [0x52e2f0], 0
mov dword [0x52e2f4], 0x40c38800
call fcn.0041f370
lea ecx, [esp + 0x128]
call fcn.0047d600
mov ebp, dword [esp + 0x3a0]
cmp ebp, 1
jne 0x41f191
mov esi, dword [sym.imp.MSVCRT.dll__cputs]
push str.____n_nSyntax:__fea__filename__n_n
call esi
push str._The_filename_is_the_name_of_the_PHASE2_.fea_file_created_n
call esi
push str._by_the_PHASE2_interface._The_.fea_extension_is_automatically_n
call esi
push str._appended_to_the_filename__so_it_is_not_required._n
call esi
add esp, 0x10
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [str.01_06_01]
mov ecx, dword [str.__Version_5.00]
push ebx
push edi
push eax
push ecx
call fcn.00483020
mov edi, str.STANDARD_INPUT
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov ebx, dword [sym.imp.MSVCRT.dll__iob]
mov dword [0x5265c0], 1
not ecx
sub edi, ecx
mov dword [0x52659c], ebx
mov edx, ecx
mov esi, edi
mov edi, 0x526498
mov dword [0x52e610], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp ebp, 1
rep movsb byte es:[edi], byte [esi]
jle 0x41f309
mov ebp, dword [esp + 0x3ac]
or ecx, 0xffffffff
add ebp, 4
lea edx, [esp + 0x10]
push 0x4eae68
mov edi, dword [ebp]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41f28e
mov edi, str..fea
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push 0x4eae68
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41f28e
mov ecx, dword [ebp]
push ecx
push str.cannot_open___s_
call fcn.0043dcb0
add esp, 8
jmp 0x41f309
mov eax, dword [0x52e614]
mov dword [0x52e618], 1
lea edx, [eax + eax*4]
lea ecx, [eax + edx*8]
mov edx, 0x526498
mov esi, edx
inc eax
lea edi, [ecx*8 + 0x525720]
mov ecx, 0x52
rep movsd dword es:[edi], dword [esi]
mov dword [0x52e614], eax
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x531a24], edx
mov dword [0x52e610], edx
mov dword [0x52659c], ebx
call fcn.00483020
push 0x526498
push str.Input_File:__s
push 1
call fcn.0047f450
add esp, 0xc
push ebx
mov dword [0x5316c8], 0x7d0
mov dword [0x5316b8], 0x52f6f8
call fcn.0046db70
xor eax, eax
add esp, 4
mov dword [0x4f3c88], 4
mov dword [0x5316c0], eax
mov dword [0x5316bc], eax
call fcn.0041f7f0
mov eax, dword [0x4f3c58]
mov esi, dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ofstream::close_void_]
inc eax
mov ecx, 0x52e2f8
mov dword [0x4f3c58], eax
call esi
mov ecx, 0x526440
call esi
pop edi
pop ebx
pop esi
mov eax, 0xa
pop ebp
add esp, 0x394
ret