Function at 0x40a2d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4405c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::CStdioFile
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x254]
mov byte [esp + 0x38], 2
cmp eax, edi
jle 0x40a377
mov ebx, dword [sym.imp.MSVCRT.dll_atol]
lea ebp, [esi + 0x988]
mov eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fadd qword [0x442de0]
add esp, 4
call sub.MSVCRT.dll__ftol
cmp dword [esi + 0xbe4], eax
jne 0x40a369
mov eax, dword [ebp]
push eax
call ebx
mov ecx, dword [esi + 0xbe8]
add esp, 4
cmp ecx, eax
je 0x40a401
mov eax, dword [esi + 0x254]
inc edi
add ebp, 4
cmp edi, eax
jl 0x40a32f
lea eax, [esi + 0x200]
push str.profileStandard_s_d__d.CRM
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esi + 0xbe8]
mov ecx, dword [esi + 0xbe4]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0x14c]
push ecx
push edx
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x48], 4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
call fcn.00422b90
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40a460
fld qword [esi + 0x1c78]
fstp dword [esi + 0xc00]
fld qword [esi + 0x1c68]
fstp dword [esi + 0xc08]
fld qword [esi + 0x1c70]
fstp dword [esi + 0xc04]
jmp 0x40a6c4
test edi, edi
jl 0x40a377
lea eax, [esi + 0x200]
push str.profileStandard_s_d_s_d.CRM
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esi + 0xbe8]
mov ecx, dword [esi + edi*4 + 0x8bc]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0xbe4]
push ecx
mov ecx, dword [esi + edi*4 + 0x724]
push edx
push ecx
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
jmp 0x40a3c0
mov edx, dword [esp + 0x14]
push 0
push 0x20
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x40a4b8
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00422b90
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422d28
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x10]
push 0x4633b8
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a51a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc08]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push 0x4633b4
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a55e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc0c]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push 0x4633b0
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a5a2
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc04]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push str.Vpp:
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a5e6
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc00]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push str.highlight_expected:
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a627
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc10]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push str.solid_expected:
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a664
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc14]
add esp, 4
jmp 0x40a69f
mov ecx, dword [esp + 0x10]
push str.TongGou_Expected:
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40a69f
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x40a6bb
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esi + 0xc18]
add esp, 4
test edi, edi
je 0x40a6bb
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
jne 0x40a4d6
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00422b90
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422d28
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret