Function at 0x45eba0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.MSVCR90.dll_fscanf]
lea eax, [esp + 0x20]
push eax
push 0x491420
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45ec25
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491424
push 0x49144c
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 0x49145c
push 0x491484
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]
push 0x5b
push 0x28
push esi
call fcn.0045e9f0
add esp, 0xc
cmp al, 0x5b
jne 0x45ef05
lea ecx, [esp + 0x30]
push ecx
push 0x491494
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45ec94
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491498
push 0x4914c0
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 0x4914d0
push 0x4914f8
jmp 0x45ec0a
push 0x2c
push esi
call fcn.0045e960
lea edx, [esp + 0x30]
push edx
push 0x491508
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45ecf6
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x49150c
push 0x491534
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 0x491544
push 0x49156c
jmp 0x45ec0a
push 0x2c
push esi
call fcn.0045e960
lea eax, [esp + 0x40]
push eax
push 0x49157c
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45ed58
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491580
push 0x4915a8
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 0x4915b8
push 0x4915e0
jmp 0x45ec0a
mov ecx, dword [0x48b3c0]
fld qword [esp + 0x28]
push ecx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x44]
fstp qword [esp]
call fcn.0045b100
mov ebx, 1
add esp, 0x14
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
jle 0x45ef29
lea esp, [esp]
push 0x5b
push esi
call fcn.0045e960
lea edx, [esp + 0x38]
push edx
push 0x4915f0
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x45ee36
push 0x2c
push esi
call fcn.0045e960
lea eax, [esp + 0x30]
push eax
push 0x491664
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x45ee7b
push 0x2c
push esi
call fcn.0045e960
lea ecx, [esp + 0x40]
push ecx
push 0x4916d8
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x45eec0
mov edx, dword [0x48b3c4]
fld qword [esp + 0x28]
push edx
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x38]
fld qword [esp + 0x44]
fstp qword [esp]
push eax
call fcn.0045b180
inc ebx
add esp, 0x18
cmp ebx, dword [esp + 0x20]
jl 0x45ed90
push 0x29
push esi
call fcn.0045e960
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x4915f4
push 0x49161c
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 0x49162c
push 0x491654
jmp 0x45ec0a
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x491668
push 0x491690
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 0x4916a0
push 0x4916c8
jmp 0x45ec0a
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x4916dc
push 0x491704
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.ReadXDRFile_____premature_end_of_file__n
push 0x49173c
jmp 0x45ec0a
cmp al, 0x28
jne 0x45ef29
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x45ef29
push 0x3c
push esi
call fcn.0045e960
push esi
call fcn.0045eba0
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x20]
jl 0x45ef11
push 0x29
push esi
call fcn.0045e960
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret