Function at 0x45efd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x48f400]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x491750
push eax
mov dword [esp + 0x1c], ecx
call fcn.0045dc60
mov edi, dword [sym.imp.MSVCR90.dll_fscanf]
lea edx, [esp + 0x58]
push edx
mov esi, eax
push 0x491754
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x45f04a
mov bl, 0x43
cmp byte [esp + 0x50], 0x41
jne 0x45f035
cmp byte [esp + 0x51], 0x52
jne 0x45f035
cmp byte [esp + 0x52], bl
je 0x45f0a5
lea eax, [esp + 0x50]
push eax
push 0x491754
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45f021
lea edx, [esp + 0x10]
push edx
push 0x4917cc
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45f115
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x4917d0
push 0x4917f8
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x491808
push 0x491830
jmp 0x45f0fa
lea ecx, [esp + 0x40]
push ecx
push 0x491758
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45f04a
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x49175c
push 0x491784
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x491794
push 0x4917bc
call esi
add eax, 0x40
push eax
call edi
call esi
add eax, 0x40
push eax
call ebx
add esp, 0x10
push 2
call dword [sym.imp.MSVCR90.dll_exit]
cmp dword [esp + 0x10], 0xffffffff
je 0x45f20f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x60]
push edx
push str._d__d__d__d__d__d
push esi
call edi
add esp, 0x20
cmp eax, 0xffffffff
je 0x45f235
mov ebx, 2
cmp dword [esp + 0xc], ebx
jl 0x45f27a
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x491934
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
je 0x45f2bf
cmp dword [esp + 0xc], ebx
jl 0x45f1eb
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x4919a4
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
je 0x45f304
mov ecx, dword [0x48b3c4]
fld qword [esp + 0x30]
push ecx
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [esp + 0x4c]
fstp qword [esp + 0x10]
fld qword [esp + 0x3c]
fstp qword [esp + 8]
fld qword [esp + 0x44]
fstp qword [esp]
call fcn.0045b120
fld qword [esp + 0x4c]
inc ebx
fstp qword [esp + 0x44]
add esp, 0x24
cmp ebx, dword [esp + 0xc]
fld qword [esp + 0x30]
fstp qword [esp + 0x18]
jle 0x45f185
lea edx, [esp + 0x10]
push edx
push 0x491a14
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x45f349
cmp dword [esp + 0x10], 0xffffffff
jne 0x45f120
mov eax, dword [esp + 0x14]
push esi
mov byte [eax], 1
call dword [sym.imp.MSVCR90.dll_fclose]
mov ecx, dword [esp + 0xc0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042809b
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491854
push 0x49187c
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x49188c
push 0x4918b4
jmp 0x45f0fa
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x4918c4
push 0x4918ec
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4918fc
push 0x491924
jmp 0x45f0fa
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x49193c
push 0x491960
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x491970
push 0x491994
jmp 0x45f0fa
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x4919ac
push 0x4919d0
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadE00_____premature_end_of_file__n
push 0x491a04
jmp 0x45f0fa
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491a18
push 0x491a40
mov byte [0x49a922], 1
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadE00_____unexepected_data_format__n
push 0x491a78
jmp 0x45f0fa