Function at 0x52c9a0
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.MSVCR100.dll_fscanf]
lea eax, [esp + 0x20]
push eax
push 0x596d50
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52ca25
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596d54
push 0x596d7c
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596d8c
push 0x596db4
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.MSVCR100.dll_exit]
push 0x5b
push 0x28
push esi
call fcn.0052c7f0
add esp, 0xc
cmp al, 0x5b
jne 0x52cd6c
lea ecx, [esp + 0x30]
push ecx
push 0x596dc4
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52ca94
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596dc8
push 0x596df0
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596e00
push 0x596e28
jmp 0x52ca0a
lea edx, [esp + 0x1f]
push edx
push 0x596b7c
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52cb0e
cmp byte [esp + 0x1f], 0x2c
jne 0x52ca94
lea eax, [esp + 0x28]
push eax
push 0x596e38
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52cb53
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596e3c
push 0x596e64
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596e74
push 0x596e9c
jmp 0x52ca0a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596b80
push 0x596ba8
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596bb8
push 0x596be0
jmp 0x52ca0a
push 0x2c
push esi
call fcn.0052c760
lea ecx, [esp + 0x40]
push ecx
push 0x596eac
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
jne 0x52cbb5
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596eb0
push 0x596ed8
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596ee8
push 0x596f10
jmp 0x52ca0a
mov edx, dword [0x583f6c]
fld qword [esp + 0x28]
push edx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x44]
fstp qword [esp]
call fcn.00510da0
mov ebx, 1
add esp, 0x14
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], ebx
jle 0x52cdb0
lea esp, [esp]
lea eax, [esp + 0x1f]
push eax
push 0x596b7c
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52cb0e
cmp byte [esp + 0x1f], 0x5b
jne 0x52cbf0
lea ecx, [esp + 0x30]
push ecx
push 0x596f20
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52cc9d
push 0x2c
push esi
call fcn.0052c760
lea edx, [esp + 0x30]
push edx
push 0x596f94
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x52cce2
push 0x2c
push esi
call fcn.0052c760
lea eax, [esp + 0x40]
push eax
push 0x597008
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x52cd27
mov ecx, dword [0x583f70]
fld qword [esp + 0x28]
push ecx
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x38]
fld qword [esp + 0x44]
fstp qword [esp]
push edx
call fcn.00510e20
inc ebx
add esp, 0x18
cmp ebx, dword [esp + 0x20]
jl 0x52cbf0
jmp 0x52cdb0
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596f24
push 0x596f4c
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596f5c
push 0x596f84
jmp 0x52ca0a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x596f98
push 0x596fc0
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x596fd0
push 0x596ff8
jmp 0x52ca0a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x59700c
push 0x597034
mov byte [0x77af32], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadXDRFile_____premature_end_of_file__n
push 0x59706c
jmp 0x52ca0a
cmp al, 0x28
jne 0x52cdb0
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x52cdb0
jmp 0x52cd80
lea eax, [esp + 0x1f]
push eax
push 0x596b7c
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52cb0e
cmp byte [esp + 0x1f], 0x3c
jne 0x52cd80
push esi
call fcn.0052c9a0
inc ebx
add esp, 4
cmp ebx, dword [esp + 0x20]
jl 0x52cd80
mov bl, 0x29
lea ecx, [esp + 0x1f]
push ecx
push 0x596b7c
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52cb0e
cmp byte [esp + 0x1f], bl
jne 0x52cdb2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret