Function at 0x52cf40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x59ad00]
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 0x597080
push eax
mov dword [esp + 0x1c], ecx
call fcn.0051c620
mov edi, dword [sym.imp.MSVCR100.dll_fscanf]
lea edx, [esp + 0x58]
push edx
mov esi, eax
push 0x597084
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x52cfba
mov bl, 0x43
cmp byte [esp + 0x50], 0x41
jne 0x52cfa5
cmp byte [esp + 0x51], 0x52
jne 0x52cfa5
cmp byte [esp + 0x52], bl
je 0x52d015
lea eax, [esp + 0x50]
push eax
push 0x597084
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52cf91
lea edx, [esp + 0x10]
push edx
push 0x5970fc
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52d085
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x597100
push 0x597128
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 0x597138
push 0x597160
jmp 0x52d06a
lea ecx, [esp + 0x40]
push ecx
push 0x597088
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x52cfba
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x59708c
push 0x5970b4
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 0x5970c4
push 0x5970ec
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]
cmp dword [esp + 0x10], 0xffffffff
je 0x52d17f
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 0x52d1a5
mov ebx, 2
cmp dword [esp + 0xc], ebx
jl 0x52d1ea
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x597264
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
je 0x52d22f
cmp dword [esp + 0xc], ebx
jl 0x52d15b
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x5972d4
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
je 0x52d274
mov ecx, dword [0x583f70]
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.00510dc0
fld qword [esp + 0x4c]
inc ebx
fstp qword [esp + 0x44]
add esp, 0x24
fld qword [esp + 0x30]
fstp qword [esp + 0x18]
cmp ebx, dword [esp + 0xc]
jle 0x52d0f5
lea edx, [esp + 0x10]
push edx
push 0x597344
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x52d2b9
cmp dword [esp + 0x10], 0xffffffff
jne 0x52d090
mov eax, dword [esp + 0x14]
push esi
mov byte [eax], 1
call dword [sym.imp.MSVCR100.dll_fclose]
mov ecx, dword [esp + 0xc0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x597184
push 0x5971ac
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 0x5971bc
push 0x5971e4
jmp 0x52d06a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x5971f4
push 0x59721c
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 0x59722c
push 0x597254
jmp 0x52d06a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x59726c
push 0x597290
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 0x5972a0
push 0x5972c4
jmp 0x52d06a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x5972dc
push 0x597300
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.ReadE00_____premature_end_of_file__n
push 0x597334
jmp 0x52d06a
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x597348
push 0x597370
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.ReadE00_____unexepected_data_format__n
push str._nerror_in__s_n
jmp 0x52d06a